lean-pedagogical-exposition
Skill3 starsChanged 24 days agoApache-2.0View on GitHub
USE FOR: translating Lean 4 formal proofs into human-readable textbook-grade mathematical descriptions. DO NOT USE FOR: closing open goals in Lean (@lean-proof). TRIGGERS: pedagogical-math, math-exposition, proof-narrative.
In this repository65 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-guard-judge-evalSkill
- applied-data-information-securitySkill
- applied-engineering-disciplinesSkill
- applied-legal-reasoningSkill
- epistemic-discovery-engineSkill
- epistemic-mappingSkill
- hol-metamath-adapterSkill
- isabelle-isar-adapterSkill
- itp-cross-portingSkill
- lean-ai-formalizationSkill
- lean-applied-reasoningSkill
- lean-axiom-closureSkill
- lean-bigraph-modelingSkill
- lean-bisectSkill
- lean-blueprintSkill
- lean-buildSkill
- lean-causal-reasoningSkill
- lean-competitive-mathSkill
- lean-convergence-verificationSkill
- lean-core-onlySkill
- lean-dag-visualizerSkill
- lean-deep-auditSkill
- lean-doc-feedbackSkill
- lean-doc-improvementSkill
- lean-doc-requirementsSkill
- lean-enforcementSkill
- lean-formalization-breakdownSkill
- lean-gatewaySkill
- lean-integration-protocolSkill
- lean-knowledge-formalizationSkill
- lean-math-analysisSkill
- lean-math-discreteSkill
- lean-math-dynamicalSkill
- lean-math-foundationsSkill
- lean-math-optimizationSkill
- lean-math-stochasticSkill
- lean-mweSkill
- lean-nested-learningSkill
- lean-package-researchSkill
- lean-proof-refactorSkill
- lean-proof-repairSkill
- lean-proof-reviewSkill
- lean-proofSkill
- lean-prSkill
- lean-quality-engineSkill
- lean-replay-verificationSkill
- lean-reportSkill
- lean-researchSkill
- lean-retroactive-auditSkill
- lean-retro-methodologySkill
- lean-review-councilSkill
- lean-security-formalizationSkill
- lean-setupSkill
- lean-specificationSkill
- lean-tautology-triageSkill
- lean-upstream-portingSkill
- lean-vendor-substrateSkill
- lean-zettelkastenSkill
- math-product-managementSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 42
Format Blueprint Block: Write the LaTeX snippet with \begin{theorem}[Name] \label{...} \lean{...} \uses{...} \leanok ...
- Very specific: line 47
If an informal translation appears weaker or stronger than the formal Lean signature, re-check the exact binder and hypothesis types via …
- Very specific: line 51
If dependency extraction is incomplete because .ilean artifacts are missing, run a targeted build via @lean-build first.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
lean-pedagogical-exposition
Protocol for translating Lean 4 formalizations into clear, beautiful, textbook-quality mathematical exposition, interactive Lean Blueprint chapters, and pedagogical learning materials.
Routing
- USE FOR:
- De-formalizing Lean 4 definitions and theorems into intuitive, elegant standard mathematical prose.
- Converting proof scripts (towers of
have,calc,obtain,rcases) into structured narrative proofs with clear motivation. - Authoring Lean Blueprint LaTeX chapters with
\begin{theorem},\uses,\lean,\leanok, and informal proof sketches. - Designing pedagogical diagrams, flowcharts, and intuition pumps for complex formal proofs.
- Producing learning zettels and concept cards for the knowledge garden.
- DO NOT USE FOR:
Workflow
- Select Landmark: Identify target theorem or definition from
@lean-formalization-breakdown. - Extract Dependencies: Query
lean-lsp-mcpordep_graph.shto obtain the transitive premise set. - Draft Math Formulation: Translate Lean types and hypotheses into standard mathematical notation ($L^2$, $H^s$, $\nabla \times u$).
- Decompose Proof Skeleton: Identify the major intermediate lemmas (
havemilestones) and draft the narrative proof. - Format Blueprint Block: Write the LaTeX snippet with
\begin{theorem}[Name] \label{...} \lean{...} \uses{...} \leanok ... \end{theorem}. - Synthesize Zettel: Emit permanent concept note or reference zettel for the knowledge garden.
Recovery & STOP
- If an informal translation appears weaker or stronger than the formal Lean signature, re-check the exact
binder and hypothesis
types via
@lean-proof-reviewbefore publishing the exposition. - If dependency extraction is incomplete because
.ileanartifacts are missing, run a targeted build via@lean-buildfirst.
Handoffs
- Predecessors:
skill:lean-formalization-breakdown,skill:lean-blueprint - Successors:
skill:lean-zettelkasten(saving to knowledge graph),skill:lean-doc-improvement(documentation polishing). - Reference Catalog:
references/lean_to_math_exposition_patterns.md
Detailed reference
Full encyclopedic reference, decision trees, and lookup tables live in
references/lean-pedagogical-exposition-handbook.md
.
See also
Complete../../references/lean-pedagogical-exposition-handbook.mdlean-pedagogical-expositionHandbook../lean-gateway/SKILL.md-- Top-level skill router
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

