FormalConjecturesUtil/Linters/LatexDocstringLinterTest.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 LaTeX docstring linter
This file contains test cases for the LatexDocstringLinter, verifying that
docstrings with backslash-bracket, backslash-parenthesis, or legacy URL links are flagged.
- theorem
LatexDocstringLinter.flagged_with_bracket_mathThis is a bad docstring with \[ math \] line 39 sourceSource documentation
This is a bad docstring with \[ math \].
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 flagged_with_bracket_math : True := by …
- theorem
LatexDocstringLinter.flagged_with_paren_mathThis is a bad docstring with \( math \) line 49 sourceSource documentation
This is a bad docstring with \( math \).
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 flagged_with_paren_math : True := by …
- theorem
LatexDocstringLinter.not_flagged_with_good_mathThis is a good docstring with $$ math $$ line 54 sourceSource documentation
This is a good docstring with $$ math $$.
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_good_math : True := by …
- theorem
LatexDocstringLinter.flagged_with_legacy_url_linkThis is a bad link: [example][https://example.com] line 64 sourceSource documentation
This is a bad link: [example][https://example.com].
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 flagged_with_legacy_url_link : True := by …
- theorem
LatexDocstringLinter.not_flagged_with_inline_url_linkThis is a good link: example line 69 sourceSource documentation
This is a good link: example.
L4DEL explanation
This is a good link: example.
Sources and attribution: Pinned Lean source (1646ca16afd6)
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_inline_url_link : True := by …