FormalConjectures/Wikipedia/BrocardConjecture.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

2 declarations, 2 contain sorry, 0 declared as axioms

Brocard's Conjecture

References:

Imports (1)
  1. theorem Brocard.brocard_conjecture Brocard's Conjecture For every n ≥ 2, between the squares of the n-th and (n+1)-th primes, there are at least four prime numbers sorry line 40 source

    Source documentation

    Brocard's Conjecture For every n ≥ 2, between the squares of the n-th and (n+1)-th primes, there are at least four prime numbers.

    depends on sorry what this means

    Statement uses: Nat, LE.le, OfNat.ofNat, Finset.card, Finset.filter, Nat.Prime, Finset.Ioo, HPow.hPow, Nat.nth, HAdd.hAdd

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

    22 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem brocard_conjecture (n : ℕ) (hn : 1 ≤ n) :
        letI prev := n.nth Nat.Prime;
    …
  2. theorem Brocard.brocard_conjecture.ferreira_large_n Ferreira proved that Brocard's conjecture is true for sufficiently large n sorry line 50 source

    Source documentation

    Ferreira proved that Brocard's conjecture is true for sufficiently large n.

    depends on sorry what this means

    Statement uses: Filter.Eventually, Nat, LE.le, OfNat.ofNat, Finset.card, Finset.filter, Nat.Prime, Finset.Ioo, HPow.hPow, Nat.nth, HAdd.hAdd, Filter.atTop

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

    22 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem brocard_conjecture.ferreira_large_n : ∀ᶠ n in atTop,
        letI prev := n.nth Nat.Prime;
    …