ComparatorChallenges/PrimeGaps.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: OpenAI's pinned repository says an unreleased internal model produced the manuscripts and supporting proof artifacts. The collection builds on the mathematics community's accumulated problems, results, language, and formal libraries; each manuscript's BibTeX and bibliography are the authority for individual scholarly credit.

Project sources: Pinned openai/math documentation, Pinned formalization catalogue

7 declarations, 1 contain sorry, 0 declared as axioms

  1. def OAI.LargePrimeGaps.prime line 7

    Also declared: OAI/NumberTheory/PrimeGaps/Indices.lean:7 (same declaration text).

  2. def OAI.LargePrimeGaps.largeGapIndices line 9

    Also declared: OAI/NumberTheory/PrimeGaps/Indices.lean:9 (same declaration text).

  3. def OAI.Problem344.primeAt line 20

    Also declared: OAI/NumberTheory/PrimeGaps/Density.lean:9 (same declaration text).

  4. def OAI.Problem344.initialCount line 23

    Also declared: OAI/NumberTheory/PrimeGaps/Density.lean:12 (same declaration text).

  5. def OAI.Problem344.lowerAsymptoticDensity line 27

    Also declared: OAI/NumberTheory/PrimeGaps/Density.lean:16 (same declaration text).

  6. def OAI.Problem344.ratioIncreaseIndices line 31

    Also declared: OAI/NumberTheory/PrimeGaps/Density.lean:25 (same declaration text).

  7. theorem OAI.Problem344.large_gaps_and_ratio_density Challenge statement: Positive lower density of large prime gaps sorry line 36

    L4DEL explanation

    The formalized supplement proves that the indices $n$ for which $p_n/n<p_{n+1}/(n+1)$ have positive lower asymptotic density, where $p_n$ is the $n$th prime. Thus the normalized prime sequence has a positive-density set of increases. This is the prime-ratio corollary associated with the paper's theorem on a positive lower density of large prime gaps.

    1. This is an exact comparator target linked by the pinned repository's formalization note for this result.
    2. The repository's comparator configuration selects OAI.NumberTheory.PrimeGaps.RatioCorollary as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/NumberTheory/PrimeGaps/RatioCorollary.lean:30 (same statement text; different proof or body). Qualify references as OAI.Problem344.large_gaps_and_ratio_density@path.

    theorem large_gaps_and_ratio_density :
        (∀ C : ℝ, 0 < C →
          ∃ c : ℝ, 0 < c ∧ ∃ N₀ : ℕ, ∀ N : ℕ, N₀ ≤ N →
            c * (N : ℝ) ≤ ((LargePrimeGaps.largeGapIndices C N).card : ℝ)) ∧
        0 < lowerAsymptoticDensity ratioIncreaseIndices := by
    …

    Mentions: OAI.LargePrimeGaps.largeGapIndices, OAI.Problem344.lowerAsymptoticDensity, OAI.Problem344.ratioIncreaseIndices