MIL/C01_Introduction/S02_Overview.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 Mathematics in Lean documentation, Pinned Mathematics in Lean textbook

9 declarations, 1 contain sorry, 0 declared as axioms

Imports (1)
Imported by 1 file
  1. def f line 8 source

    no axioms what this means

    Statement uses: Nat

    Proof uses: HAdd.hAdd, OfNat.ofNat

    3 instances, coercions and auxiliary constants left out.

  2. def FermatLastTheorem line 16 source

    standard axioms: propext what this means

    Proof uses: Nat, And, GT.gt, OfNat.ofNat, Ne, HMul.hMul, HAdd.hAdd, HPow.hPow

    9 instances, coercions and auxiliary constants left out.

  3. theorem easy These are proofs of propositions line 22 source

    Source comment

    These are proofs of propositions.

    no axioms what this means

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

    Proof uses: rfl

    6 instances, coercions and auxiliary constants left out.

    theorem easy : 2 + 2 = 4 :=
    …
  4. theorem hard sorry line 27 source

    depends on sorry what this means

    Statement uses: FermatLastTheorem

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

    1 instances, coercions and auxiliary constants left out.

    Tactic trace: 12 steps

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

  5. example (example at line 33) line 33 source

    Source comment

    Here are some proofs.
    example : ∀ m n : Nat, Even n → Even (m * n) := fun m n ⟨k, (hk : n = k + k)⟩ ↦
    …
  6. example (example at line 37) line 37 source
  7. example (example at line 40) line 40 source
  8. example (example at line 50) line 50 source
  9. example (example at line 53) line 53 source