FormalConjectures/OEIS/53000.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

7 declarations, 1 contain sorry, 0 declared as axioms

$a(n) = (\text{smallest prime} > n^2) - n^2$

The difference between the smallest prime strictly greater than $n^2$ and $n^2$.

References:

Imports (1)
  1. def OeisA53000.a $a(n) = (\text{smallest prime} > n^2) - n^2$ line 33 source

    Source documentation

    $a(n) = (\text{smallest prime} > n^2) - n^2$.

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

    Statement uses: Nat

    Proof uses: HSub.hSub, InfSet.sInf, Set.ofPred, And, Nat.Prime, LT.lt, HPow.hPow, OfNat.ofNat

    9 instances, coercions and auxiliary constants left out.

    noncomputable def a (n : ℕ) : ℕ :=
    …
  2. theorem OeisA53000.a_0 line 37 source

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

    Statement uses: Eq, Nat, OeisA53000.a, OfNat.ofNat

    Proof uses: tsub_eq_of_eq_add, InfSet.sInf, Set.ofPred, And, Nat.Prime, LT.lt, HPow.hPow, HAdd.hAdd, IsLeast.csInf_eq, of_decide_eq_true, IsLeast, id, Bool, Decidable.decide, Bool.true, Eq.refl

    38 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

  3. theorem OeisA53000.a_1 line 40 source

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

    Statement uses: Eq, Nat, OeisA53000.a, OfNat.ofNat

    Proof uses: tsub_eq_of_eq_add, InfSet.sInf, Set.ofPred, And, Nat.Prime, LT.lt, HPow.hPow, HAdd.hAdd, IsLeast.csInf_eq, of_decide_eq_true, IsLeast, id, Bool, Decidable.decide, Bool.true, Eq.refl

    38 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

  4. theorem OeisA53000.a_2 line 43 source

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

    Statement uses: Eq, Nat, OeisA53000.a, OfNat.ofNat

    Proof uses: tsub_eq_of_eq_add, InfSet.sInf, Set.ofPred, And, Nat.Prime, LT.lt, HPow.hPow, HAdd.hAdd, IsLeast.csInf_eq, of_decide_eq_true, IsLeast, id, Bool, Decidable.decide, Bool.true, Eq.refl

    38 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

  5. theorem OeisA53000.a_3 line 46 source

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

    Statement uses: Eq, Nat, OeisA53000.a, OfNat.ofNat

    Proof uses: tsub_eq_of_eq_add, InfSet.sInf, Set.ofPred, And, Nat.Prime, LT.lt, HPow.hPow, HAdd.hAdd, IsLeast.csInf_eq, of_decide_eq_true, IsLeast, id, Bool, Decidable.decide, Bool.true, Eq.refl

    38 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

  6. theorem OeisA53000.a_4 line 49 source

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

    Statement uses: Eq, Nat, OeisA53000.a, OfNat.ofNat

    Proof uses: tsub_eq_of_eq_add, InfSet.sInf, Set.ofPred, And, Nat.Prime, LT.lt, HPow.hPow, HAdd.hAdd, IsLeast.csInf_eq, of_decide_eq_true, IsLeast, id, Bool, Decidable.decide, Bool.true, Eq.refl

    38 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

  7. theorem OeisA53000.conjecture Conjecture: $a(n) \le 1 + \phi(n)$ for $n > 0$ sorry line 57 source

    Source documentation

    Conjecture: $a(n) \le 1 + \phi(n)$ for $n > 0$. This improves on Oppermann's conjecture, which says $a(n) < n$.

    • Thomas Ordowski, Dec 17 2014

    depends on sorry what this means

    Statement uses: Nat, LT.lt, OfNat.ofNat, LE.le, OeisA53000.a, HAdd.hAdd, Nat.totient

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

    10 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem conjecture (n : ℕ) (hn : 0 < n) : a n ≤ 1 + n.totient := by
    …

    Mentions: OeisA53000.a