ComparatorChallenges/EgyptianFractions.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

20 declarations, 9 contain sorry, 0 declared as axioms

  1. def OAI.Problem337.IsEgyptianExpansion line 11

    Also declared: OAI/NumberTheory/EgyptianFractions/Defs.lean:10 (same declaration text).

  2. def OAI.Problem337.egyptianLengths line 15

    Also declared: OAI/NumberTheory/EgyptianFractions/Defs.lean:14 (same declaration text).

  3. def OAI.Problem337.egyptianLength line 19

    Also declared: OAI/NumberTheory/EgyptianFractions/Defs.lean:18 (same declaration text).

  4. def OAI.Problem337.maxEgyptianLength line 22

    Also declared: OAI/NumberTheory/EgyptianFractions/Defs.lean:21 (same declaration text).

  5. def OAI.Problem337.IsOneExpansion line 25

    Also declared: OAI/NumberTheory/EgyptianFractions/Defs.lean:24 (same declaration text).

  6. def OAI.Problem337.OneExpansions line 29

    Also declared: OAI/NumberTheory/EgyptianFractions/Defs.lean:28 (same declaration text).

  7. def OAI.Problem337.F line 32

    Also declared: OAI/NumberTheory/EgyptianFractions/Defs.lean:31 (same declaration text).

  8. def OAI.Problem337.D line 35

    Also declared: OAI/NumberTheory/EgyptianFractions/Defs.lean:34 (same declaration text).

  9. def OAI.Problem337.missingDenominators line 39

    Also declared: OAI/NumberTheory/EgyptianFractions/Defs.lean:38 (same declaration text).

  10. def OAI.Problem337.v line 42

    Also declared: OAI/NumberTheory/EgyptianFractions/Defs.lean:41 (same declaration text).

  11. def OAI.Problem337.prescribedSlope line 45

    Also declared: OAI/NumberTheory/EgyptianFractions/Defs.lean:44 (same declaration text).

  12. theorem OAI.Problem337.egyptian_length_is_minimum Challenge statement: Short expansions, counting, and prescribed denominators sorry line 48

    L4DEL explanation

    This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.

    1. The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. The repository's comparator configuration selects OAI.NumberTheory.EgyptianFractions.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/NumberTheory/EgyptianFractions/Main.lean:27 (same statement text; different proof or body). Qualify references as OAI.Problem337.egyptian_length_is_minimum@path.

    Checked implications (found by the pipeline and checked by Lean's kernel when it ran; a recorded result, not checked again in this build: what these are)

    Gives

    • together with OAI.BinPackingGap.TypeConfiguration.count_lt_bound, gives ∀ {I : OAI.BinPackingGap.Instance} (c : OAI.BinPackingGap.TypeConfiguration I) (s : OAI.BinPackingGap.NumericalSize I), 1 ≤ ↑c s → (∃ n, OAI.Problem337.IsEgyptianExpansion (↑(↑c s) / ↑s.capacityBound) n) ∧ ∀ (k : ℕ), (∃… (short composition) checked derivation
    theorem egyptian_length_is_minimum :
        ∀ a b : ℕ, 1 ≤ a → a < b →
      (∃ n : Fin (egyptianLength a b) → ℕ,
        IsEgyptianExpansion ((a : ℚ) / (b : ℚ)) n) ∧
      (∀ k : ℕ, (∃ n : Fin k → ℕ,
        IsEgyptianExpansion ((a : ℚ) / (b : ℚ)) n) →
        egyptianLength a b ≤ k) := by
    …

    Mentions: OAI.Problem337.egyptianLength, OAI.Problem337.IsEgyptianExpansion

  13. theorem OAI.Problem337.main_double_log_order Challenge statement: Short expansions, counting, and prescribed denominators sorry line 57

    L4DEL explanation

    This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.

    1. The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. The repository's comparator configuration selects OAI.NumberTheory.EgyptianFractions.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/NumberTheory/EgyptianFractions/Main.lean:40 (same statement text; different proof or body). Qualify references as OAI.Problem337.main_double_log_order@path.

    theorem main_double_log_order :
        ∃ c1 c2 : ℝ, 0 < c1 ∧ 0 < c2 ∧ ∃ b0 : ℕ,
      ∀ b : ℕ, b0 ≤ b →
        c1 * Real.log (Real.log (b : ℝ)) ≤ (maxEgyptianLength b : ℝ) ∧
        (maxEgyptianLength b : ℝ) ≤ c2 * Real.log (Real.log (b : ℝ)) := by
    …

    Mentions: OAI.Problem337.maxEgyptianLength

  14. theorem OAI.Problem337.one_expansions_finite_and_bounded Challenge statement: Short expansions, counting, and prescribed denominators sorry line 64

    L4DEL explanation

    This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.

    1. The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. The repository's comparator configuration selects OAI.NumberTheory.EgyptianFractions.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/NumberTheory/EgyptianFractions/Main.lean:61 (same statement text; different proof or body). Qualify references as OAI.Problem337.one_expansions_finite_and_bounded@path.

    theorem one_expansions_finite_and_bounded :
        (∀ k : ℕ, Set.Finite (OneExpansions k) ∧
        F k ≤ k ^ (2 ^ k - 1)) ∧
      (∀ k : ℕ, ∀ n : Fin k → ℕ, IsOneExpansion n →
        ∀ i : Fin k, n i ≤ k ^ (2 ^ i.val)) := by
    …

    Mentions: OAI.Problem337.OneExpansions, OAI.Problem337.F, OAI.Problem337.IsOneExpansion

  15. theorem OAI.Problem337.counting_double_log_order Challenge statement: Short expansions, counting, and prescribed denominators sorry line 71

    L4DEL explanation

    This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.

    1. The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. The repository's comparator configuration selects OAI.NumberTheory.EgyptianFractions.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/NumberTheory/EgyptianFractions/Main.lean:120 (same statement text; different proof or body). Qualify references as OAI.Problem337.counting_double_log_order@path.

    theorem counting_double_log_order :
        ∃ c C : ℝ, 0 < c ∧ 0 < C ∧ ∃ k0 : ℕ,
      ∀ k : ℕ, k0 ≤ k →
        c * (k : ℝ) ≤ Real.log (Real.log (F k : ℝ)) ∧
        Real.log (Real.log (F k : ℝ)) ≤ C * (k : ℝ) := by
    …

    Mentions: OAI.Problem337.F

  16. theorem OAI.Problem337.exact_marker_padding Challenge statement: Short expansions, counting, and prescribed denominators sorry line 78

    L4DEL explanation

    This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.

    1. The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. The repository's comparator configuration selects OAI.NumberTheory.EgyptianFractions.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/NumberTheory/EgyptianFractions/Main.lean:73 (same statement text; different proof or body). Qualify references as OAI.Problem337.exact_marker_padding@path.

    theorem exact_marker_padding :
        ∀ r : ℕ, 3 ≤ r → ∀ n : Fin r → ℕ, IsOneExpansion n →
      ∀ m : ℕ, (∃ i : Fin r, n i = m) →
        ∃ n' : Fin (r + 1) → ℕ,
          IsOneExpansion n' ∧ ∃ i : Fin (r + 1), n' i = m := by
    …

    Mentions: OAI.Problem337.IsOneExpansion

  17. theorem OAI.Problem337.every_exact_marker_occurs Challenge statement: Short expansions, counting, and prescribed denominators sorry line 85

    L4DEL explanation

    This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.

    1. The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. The repository's comparator configuration selects OAI.NumberTheory.EgyptianFractions.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/NumberTheory/EgyptianFractions/Main.lean:80 (same statement text; different proof or body). Qualify references as OAI.Problem337.every_exact_marker_occurs@path.

    theorem every_exact_marker_occurs :
        ∀ m : ℕ, 2 ≤ m → ∃ k : ℕ, m ∈ D k := by
    …

    Mentions: OAI.Problem337.D

  18. theorem OAI.Problem337.quantitative_marked_length Challenge statement: Short expansions, counting, and prescribed denominators sorry line 89

    L4DEL explanation

    This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.

    1. The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. The repository's comparator configuration selects OAI.NumberTheory.EgyptianFractions.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/NumberTheory/EgyptianFractions/Main.lean:84 (same statement text; different proof or body). Qualify references as OAI.Problem337.quantitative_marked_length@path.

    theorem quantitative_marked_length :
        ∀ ε : ℝ, 0 < ε → ∃ mε : ℕ, 2 ≤ mε ∧
      ∀ m : ℕ, mε ≤ m →
        ∃ k : ℕ, ∃ n : Fin k → ℕ,
          IsOneExpansion n ∧
          (∃ i : Fin k, n i = m) ∧
          (k : ℝ) ≤ (257 / Real.log 2 + ε) * Real.log (Real.log (m : ℝ)) := by
    …

    Mentions: OAI.Problem337.IsOneExpansion

  19. theorem OAI.Problem337.missing_denominator_semantics Challenge statement: Short expansions, counting, and prescribed denominators sorry line 98

    L4DEL explanation

    This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.

    1. The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. The repository's comparator configuration selects OAI.NumberTheory.EgyptianFractions.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/NumberTheory/EgyptianFractions/Main.lean:93 (same statement text; different proof or body). Qualify references as OAI.Problem337.missing_denominator_semantics@path.

    theorem missing_denominator_semantics :
        ∀ k : ℕ,
      Set.Finite (D k) ∧
      (∃ m : ℕ, m ∈ missingDenominators k) ∧
      2 ≤ v k ∧ v k ∉ D k ∧
      (∀ m : ℕ, 2 ≤ m → m < v k → m ∈ D k) ∧
      (1 ≤ k → v k ≤ 1 + k ^ (2 ^ (k - 1))) := by
    …

    Mentions: OAI.Problem337.D, OAI.Problem337.missingDenominators, OAI.Problem337.v

  20. theorem OAI.Problem337.prescribed_denominator_corollary Challenge statement: Short expansions, counting, and prescribed denominators sorry line 107

    L4DEL explanation

    This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.

    1. The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. The repository's comparator configuration selects OAI.NumberTheory.EgyptianFractions.Main as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/NumberTheory/EgyptianFractions/Main.lean:103 (same statement text; different proof or body). Qualify references as OAI.Problem337.prescribed_denominator_corollary@path.

    theorem prescribed_denominator_corollary :
        (∃ k0 : ℕ, ∀ k : ℕ, k0 ≤ k →
        Real.exp (Real.exp ((k : ℝ) / 600)) ≤ (v k : ℝ) ∧
        v k ≤ 1 + k ^ (2 ^ (k - 1))) ∧
      (Real.log 2 / 257 ≤ Filter.liminf prescribedSlope Filter.atTop ∧
        Filter.liminf prescribedSlope Filter.atTop ≤
          Filter.limsup prescribedSlope Filter.atTop ∧
        Filter.limsup prescribedSlope Filter.atTop ≤ Real.log 2) ∧
      (∀ c : ℝ, c < Real.log 2 / 257 → ∃ k0 : ℕ,
        ∀ k : ℕ, k0 ≤ k →
          Real.exp (Real.exp (c * (k : ℝ))) ≤ (v k : ℝ)) := by
    …

    Mentions: OAI.Problem337.v, OAI.Problem337.prescribedSlope