FormalConjecturesUtil/Linters/CategoryDocstringLinterTest.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
5 declarations, 0 contain sorry, 0 declared as axioms
Tests for the category docstring linter
This file contains test cases for the CategoryDocstringLinter, verifying that
research-open, research-solved, and textbook declarations without docstrings are flagged,
while declarations with docstrings or other categories are accepted.
- theorem
CategoryDocstringLinter.flagged_open_missing_docstringline 39 sourceno axioms what this means
Statement uses:
TrueProof uses:
True.introTactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
CategoryDocstringLinter.flagged_solved_missing_docstringline 49 sourceno axioms what this means
Statement uses:
TrueProof uses:
True.introTactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
CategoryDocstringLinter.not_flagged_with_docstringA documented open problem statement should not be flagged line 55 sourceSource documentation
A documented open problem statement should not be flagged.
no axioms what this means
Statement uses:
TrueProof uses:
True.introTactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem not_flagged_with_docstring : True := by …
- theorem
CategoryDocstringLinter.not_flagged_test_without_docstringline 60 sourceno axioms what this means
Statement uses:
TrueProof uses:
True.introTactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
CategoryDocstringLinter.flagged_textbook_missing_docstringline 70 sourceno axioms what this means
Statement uses:
TrueProof uses:
True.introTactic trace: 1 steps
Open to load the checked before-and-after goal states.