lean-fidelity
Use when checking that Lean declarations represent a manuscript or natural-language claim, especially before formalization completion or after definition changes.
- License 许可
- GPL-3.0
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- lean-fidelity
- description
- Use when checking that Lean declarations represent a manuscript or natural-language claim, especially before formalization completion or after definition changes.
03 SKILL.md 正文
Review source correspondence
Input: source map, current source/Lean snapshot and compiler evidence. Output: per-claim MATCH, MISMATCH, UNRESOLVED or STALE, with reasons. This is a read-only semantic review.
Read source mapping and the full current source statement/definitions. Inspect the entire elaborated Lean type, implicit binders, instances, coercions and custom definition bodies. Explain the Lean assertion in ordinary mathematics before comparing it with the source.
Check quantifier order, domains, missing directions, shared witnesses, boundary cases, extra finiteness/nonzero/nonempty assumptions and circular hypotheses. A weaker specialization does not certify a stronger manuscript theorem. Conversely, a checked generalization may certify the source via a checked specialization. Follow dependencies where their meaning is load-bearing.
Verify the evidence snapshot is current. Distinguish a manually reconstructed dependency graph from compiler-derived evidence. A rebuild cannot renew a semantic review after relevant definitions change. Report ambiguity or missing source explicitly; do not edit the manuscript to make a mismatch disappear.
Return discrepancies to the coordinator: lean-align-statement for encoding,
mathpowers for mathematical gaps, latexpowers for authorized manuscript changes.
Only a current MATCH plus passing lean-verify permits FORMALIZED status under
the evidence contract.
04 同仓库更多 Skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
verification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
using-superpowers
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
using-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code