FormalConjecturesTest/Util/Linters/FormalProofLinter.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

9 declarations, 3 contain sorry, 0 declared as axioms

Imports (1)
  1. theorem FormalProofLinter.an_open_assumption An assumption that is still open, which is the ordinary case sorry line 27 source

    Source documentation

    An assumption that is still open, which is the ordinary case.

    depends on sorry (Lean reported 2 error(s) in this file) what this means

    Statement uses: Eq, Nat, OfNat.ofNat

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    2 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem an_open_assumption : 0 = 0 := by
    …
  2. theorem FormalProofLinter.conditional_on_an_open_assumption line 35 source
  3. theorem FormalProofLinter.a_proved_assumption An assumption that has since been proved line 39 source

    Source documentation

    An assumption that has since been proved.

    theorem a_proved_assumption : 2 = 2 := by
    …
  4. theorem FormalProofLinter.conditional_on_a_proved_assumption line 52 source
  5. theorem a_formal_proof_with_sorry sorry line 61 source

    depends on sorry (Lean reported 2 error(s) in this file) what this means

    Statement uses: Eq, Nat, HAdd.hAdd, OfNat.ofNat

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    6 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

  6. theorem a_formal_proof_with_rfl line 73 source
  7. theorem a_formal_proof_with_partial_proof sorry line 85 source

    depends on sorry (Lean reported 2 error(s) in this file) what this means

    Statement uses: Nat, Eq

    Proof uses: Nat.casesAuxOn, OfNat.ofNat, sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous, Eq.symm, HAdd.hAdd, Eq.refl

    4 instances, coercions and auxiliary constants left out.

    Tactic trace: 2 steps

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

  8. theorem mixed_conditional_and_unconditional_proofs line 99 source
  9. theorem multiple_conditional_proofs line 114 source