FormalConjecturesTest/Util/Linters/AMSLinter.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
12 declarations, 0 contain sorry, 0 declared as axioms
Imports (1)
- def
AMSLinter.fooline 29 sourceno axioms what this means
Statement uses:
NatProof uses:
OfNat.ofNat1 instances, coercions and auxiliary constants left out.
- theorem
AMSLinter.test_theoremA highly non-trivial theorem line 38 sourceSource documentation
A highly non-trivial theorem
no axioms what this means
Statement uses:
Eq,Nat,HAdd.hAdd,OfNat.ofNatProof uses:
Eq.refl6 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem test_theorem : 1 + 1 = 2 := by …
- theorem
AMSLinter.test_theorem_with_hypothesisA highly non-trivial theorem with a helpful hypothesis line 48 sourceSource documentation
A highly non-trivial theorem with a helpful hypothesis
no axioms what this means
Statement uses:
True,Eq,Nat,HAdd.hAdd,OfNat.ofNatProof uses:
Eq.refl6 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem test_theorem_with_hypothesis (_ : True) : 1 + 1 = 2 := by …
- theorem
AMSLinter.test_theorem_with_hypothesesA highly non-trivial theorem with two helpful hypotheses line 58 sourceSource documentation
A highly non-trivial theorem with two helpful hypotheses
no axioms what this means
Statement uses:
True,False,Eq,Nat,HAdd.hAdd,OfNat.ofNatProof uses:
Eq.refl6 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem test_theorem_with_hypotheses (_ : True) (_ : False): 1 + 1 = 2 := by …
- lemma
AMSLinter.test_lemmaline 68 sourceno axioms what this means
Statement uses:
Eq,Nat,HAdd.hAdd,OfNat.ofNatProof uses:
Eq.refl6 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- example
AMSLinter.(example at line 77)line 77 source - theorem
AMSLinter.test_theorem_with_docstringA highly non-trivial theorem with a helpful hypothesis line 88 sourceSource documentation
A highly non-trivial theorem with a helpful hypothesis
no axioms what this means
Statement uses:
Eq,Nat,HAdd.hAdd,OfNat.ofNatProof uses:
Eq.refl6 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem test_theorem_with_docstring : 1 + 1 = 2 := by …
- example
AMSLinter.(example at line 94)line 94 sourceSource documentation
A highly non-trivial theorem with a helpful hypothesis
example: 1 + 1 = 2 := by …
- theorem
AMSLinter.test_1line 100 sourceno axioms what this means
Statement uses:
Eq,Nat,HAdd.hAdd,OfNat.ofNatProof uses:
Eq.refl6 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
AMSLinter.test_3line 106 sourceno axioms what this means
Statement uses:
Eq,Nat,HAdd.hAdd,OfNat.ofNatProof uses:
Eq.refl6 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
AMSLinter.test_out_of_orderline 116 sourceno axioms what this means
Statement uses:
Eq,Nat,HAdd.hAdd,OfNat.ofNatProof uses:
Eq.refl6 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
AMSLinter.test_dupline 126 sourceno axioms what this means
Statement uses:
Eq,Nat,HAdd.hAdd,OfNat.ofNatProof uses:
Eq.refl6 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.