FormalConjectures/ErdosProblems/1058.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

3 declarations, 2 contain sorry, 0 declared as axioms

Erdős Problem 1058

References:

Imports (1)
  1. def Erdos1058.IsSolution n is a solution if n ∈ [p_{k-1}, p_k) for some k (with the convention p_0 = 1, where p_1 = 2 < p_2 < ⋯ are the primes) and the only primes dividing `n! line 40 source

    Source documentation

    n is a solution if n ∈ [p_{k-1}, p_k) for some k (with the convention p_0 = 1, where p_1 = 2 < p_2 < ⋯ are the primes) and the only primes dividing n! + 1 are p_k and p_{k+1}. Primes are indexed from 0 by Nat.nth Nat.Prime.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat

    Proof uses: And, LT.lt, OfNat.ofNat, Exists, LE.le, ite, Eq, Nat.nth, Nat.Prime, HSub.hSub, Dvd.dvd, HAdd.hAdd, Nat.factorial, Or

    9 instances, coercions and auxiliary constants left out.

    def IsSolution (n : ℕ) : Prop :=
    …
  2. theorem Erdos1058.erdos_1058 sorry line 54 source

    depends on sorry what this means

    Statement uses: Iff, True, Set.Finite, Nat, Set.ofPred, Erdos1058.IsSolution

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

    1 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

  3. theorem Erdos1058.erdos_1058.variants.luca sorry line 60 source

    depends on sorry what this means

    Statement uses: Eq, Set, Nat, Set.ofPred, Erdos1058.IsSolution, Insert.insert, OfNat.ofNat, Singleton.singleton

    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.