FormalConjecturesUtil/Linters/CategoryDocstringLinterTest.lean

GitHub source file

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.

Imports (1)
  1. theorem CategoryDocstringLinter.flagged_open_missing_docstring line 39 source

    no axioms what this means

    Statement uses: True

    Proof uses: True.intro

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

  2. theorem CategoryDocstringLinter.flagged_solved_missing_docstring line 49 source

    no axioms what this means

    Statement uses: True

    Proof uses: True.intro

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

  3. theorem CategoryDocstringLinter.not_flagged_with_docstring A documented open problem statement should not be flagged line 55 source

    Source documentation

    A documented open problem statement should not be flagged.

    no axioms what this means

    Statement uses: True

    Proof uses: True.intro

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

    theorem not_flagged_with_docstring : True := by
    …
  4. theorem CategoryDocstringLinter.not_flagged_test_without_docstring line 60 source

    no axioms what this means

    Statement uses: True

    Proof uses: True.intro

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

  5. theorem CategoryDocstringLinter.flagged_textbook_missing_docstring line 70 source

    no axioms what this means

    Statement uses: True

    Proof uses: True.intro

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.