APNOutputs/OEIS/oeis_341254_conjecture_0.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: Google DeepMind published the AlphaProof Nexus proof artifacts. The pinned repository identifies the mathematical sources and collaborators, including OEIS, Erdős Problems, Gergely Bérczi, and Mario Krenn; those source records remain the authority for individual credit.

Project sources: Pinned AlphaProof Nexus results documentation, AlphaProof Nexus paper, Pinned human-written natural-language proof companions

17 declarations, 0 contain sorry, 0 declared as axioms

Imports (1)
  1. def r_const The constant $r = (2 + \sqrt{5})/2$ line 43 source

    Source documentation

    The constant $r = (2 + \sqrt{5})/2$.

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

    Statement uses: Real

    Proof uses: HDiv.hDiv, HAdd.hAdd, OfNat.ofNat, Real.sqrt

    9 instances, coercions and auxiliary constants left out.

    noncomputable def r_const : ℝ := (2 + sqrt 5) / 2
  2. def r_sq The constant $r^2$ line 46 source

    Source documentation

    The constant $r^2$.

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

    Statement uses: Real

    Proof uses: HMul.hMul, r_const

    2 instances, coercions and auxiliary constants left out.

    noncomputable def r_sq : ℝ := r_const * r_const

    Mentions: r_const

  3. def a A341254: $a(n) = \lfloor r \cdot \lfloor r \cdot n \rfloor \rfloor$, where $r = (2 + \sqrt{5})/2$ line 52 source

    Source documentation

    A341254: $a(n) = \lfloor r \cdot \lfloor r \cdot n \rfloor \rfloor$, where $r = (2 + \sqrt{5})/2$. Note: The original OEIS definition has $n$ starting at 1. We define $a(n)$ for all $\mathbb{N}$.

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

    Statement uses: Nat

    Proof uses: Real, r_const, Int, Int.floor, HMul.hMul, Int.toNat

    9 instances, coercions and auxiliary constants left out.

    Distinct definitions of this name: APNOutputs/OEIS/A309132_conjecture_carmichael.lean:45 (same statement text; different proof or body), APNOutputs/OEIS/a091669_conjecture_primitive_root.lean:46 (same statement text; different proof or body), APNOutputs/OEIS/a325046_odd_terms_at_k_times_k_plus_1.lean:52 (different declaration text), APNOutputs/OEIS/oeis_103311_conjecture_0.lean:47 (different declaration text), APNOutputs/OEIS/oeis_108_conjecture_2.lean:45 (different declaration text), APNOutputs/OEIS/oeis_113254_conjecture_0.lean:48 (different declaration text), APNOutputs/OEIS/oeis_175386_conjecture_0.lean:46 (different declaration text), APNOutputs/OEIS/oeis_194806_conjecture_0.lean:50 (same statement text; different proof or body), APNOutputs/OEIS/oeis_227582_conjecture_0.lean:60 (same statement text; different proof or body), APNOutputs/OEIS/oeis_228143_conjecture_1.lean:54 (same statement text; different proof or body), APNOutputs/OEIS/oeis_243106_conjecture_0.lean:47 (different declaration text), APNOutputs/OEIS/oeis_248802_conjecture_0.lean:43 (different declaration text), APNOutputs/OEIS/oeis_248802_conjecture_4.lean:43 (different declaration text), APNOutputs/OEIS/oeis_267581_conjecture_0.lean:71 (same statement text; different proof or body), APNOutputs/OEIS/oeis_271591_conjecture_0.lean:57 (different declaration text), APNOutputs/OEIS/oeis_2897_conjecture_0.lean:46 (different declaration text), APNOutputs/OEIS/oeis_306424_conjecture_0.lean:52 (same statement text; different proof or body), APNOutputs/OEIS/oeis_307865_conjecture_0.lean:46 (different declaration text), APNOutputs/OEIS/oeis_323557_conjecture_0.lean:48 (different declaration text), APNOutputs/OEIS/oeis_372761_conjecture_2.lean:83 (same statement text; different proof or body), APNOutputs/OEIS/oeis_62567_conjecture_0.lean:49 (same statement text; different proof or body), APNOutputs/OEIS/oeis_A028859_conjecture_1.lean:43 (different declaration text), APNOutputs/OEIS/oeis_a211417_conjecture_specific.lean:44 (different declaration text), APNOutputs/OEIS/oeis_a237271_conjecture_2.lean:49 (different declaration text), APNOutputs/OEIS/oeis_a300997_finite_difference_is_one_or_two.lean:46 (same statement text; different proof or body), APNOutputs/OEIS/oeis_a363102_conjecture_1.lean:56 (different declaration text), APNOutputs/OEIS/oeis_a368692_conjecture_integrality.lean:47 (different declaration text). Qualify references as a@path.

    noncomputable def a (n : ℕ) : ℕ :=
    …
  4. def m_val line 92 source

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

    Statement uses: Nat, Int

    Proof uses: Int.floor, Real, HMul.hMul, r_const

    7 instances, coercions and auxiliary constants left out.

  5. def eps line 93 source

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

    Statement uses: Nat, Real

    Proof uses: HSub.hSub, HMul.hMul, r_const, m_val

    8 instances, coercions and auxiliary constants left out.

  6. def I_val line 94 source

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

    Statement uses: Nat, Int

    Proof uses: HAdd.hAdd, HMul.hMul, OfNat.ofNat, m_val, HDiv.hDiv

    10 instances, coercions and auxiliary constants left out.

  7. lemma r_sq_eq line 96 source

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

    Statement uses: Eq, Real, r_sq, HAdd.hAdd, HMul.hMul, OfNat.ofNat, Nat, r_const, HDiv.hDiv

    Proof uses: Eq.mpr, Real.sqrt, Mathlib.Meta.NormNum.instAtLeastTwo, id, Eq.trans, congrArg, Mathlib.Meta.NormNum.IsNNRat.to_eq, Mathlib.Meta.NormNum.isNNRat_div, Mathlib.Meta.NormNum.isNNRat_mul, Inv.inv, Eq.refl, Mathlib.Meta.NormNum.IsNat.to_isNNRat, Mathlib.Meta.NormNum.isNat_ofNat, Nat.cast_one, Mathlib.Meta.NormNum.isNNRat_inv_pos, Nat.mul, Mathlib.Tactic.LinearCombination.eq_of_eq, Mathlib.Tactic.LinearCombination.div_eq_const, Real.mul_self_sqrt, Nat.cast_nonneg and 68 more

    85 instances, coercions and auxiliary constants left out.

    Tactic trace: 2 steps

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

  8. lemma a_val line 100 source

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

    Statement uses: Nat, LE.le, OfNat.ofNat, Eq, Real, a, Int.floor, HMul.hMul, r_const, m_val

    Proof uses: id, Eq.trans, HDiv.hDiv, HAdd.hAdd, Real.sqrt, Int, Int.toNat, Eq.symm, Int.cast_natCast, Eq.mpr, congrArg, Int.toNat_of_nonneg, Mathlib.Meta.Positivity.int_floor_nonneg, mul_nonneg, inferInstance, PartialOrder, le_of_lt, Zero, div_pos, add_pos' and 15 more

    96 instances, coercions and auxiliary constants left out.

    Distinct definitions of this name: APNOutputs/OEIS/oeis_227582_conjecture_0.lean:101 (different declaration text), APNOutputs/OEIS/oeis_372761_conjecture_2.lean:281 (different declaration text). Qualify references as a_val@path.

    Tactic trace: 4 steps

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

  9. lemma eps_bounds line 104 source

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

    Statement uses: Nat, LE.le, OfNat.ofNat, And, LT.lt, Real, eps

    Proof uses: id, HSub.hSub, HMul.hMul, r_const, m_val, And.intro, Int.fract, HDiv.hDiv, HAdd.hAdd, Real.sqrt, Iff.mpr, Ne, Int.floor, Int.fract_pos, Eq, Nat.Prime.irrational_sqrt, Nat.prime_five, Exists.intro, Rat, of_eq_true and 24 more

    92 instances, coercions and auxiliary constants left out.

    Tactic trace: 4 steps

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

  10. lemma r_bound line 109 source

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

    Statement uses: And, LT.lt, Real, HDiv.hDiv, Neg.neg, OfNat.ofNat, Nat, HSub.hSub, r_const

    Proof uses: Eq.mpr, Mathlib.Meta.NormNum.instAtLeastTwo, HAdd.hAdd, Real.sqrt, id, Eq, Eq.trans, congr, congrArg, Mathlib.Meta.NormNum.IsRat.neg_to_eq, Mathlib.Meta.NormNum.isRat_div, Int.negOfNat, Mathlib.Meta.NormNum.isRat_mul, HMul.hMul, Inv.inv, Int.ofNat, Eq.refl, Mathlib.Meta.NormNum.IsInt.to_isRat, Mathlib.Meta.NormNum.isInt_neg, Mathlib.Meta.NormNum.IsNat.to_isInt and 42 more

    142 instances, coercions and auxiliary constants left out.

    Tactic trace: 2 steps

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

  11. lemma n_div_4 line 113 source

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

    Statement uses: Nat, Eq, Real, HDiv.hDiv, OfNat.ofNat, HAdd.hAdd, HMod.hMod

    Proof uses: Eq.trans, HMul.hMul, Eq.mpr, id, congrArg, Eq.symm, Nat.div_add_mod, Nat.cast_add, Nat.cast_mul, Eq.refl, Mathlib.Tactic.Ring.of_eq, HPow.hPow, Nat.rawCast, Mathlib.Tactic.Ring.instCommSemiringNat, Mathlib.Meta.NormNum.instAddMonoidWithOne', NNRat.rawCast, Mathlib.Tactic.Ring.div_congr, Mathlib.Tactic.Ring.add_congr, Mathlib.Tactic.Ring.mul_congr, Mathlib.Tactic.Ring.cast_pos and 28 more

    67 instances, coercions and auxiliary constants left out.

    Tactic trace: 4 steps

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

  12. lemma r_m_eq line 116 source

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

    Statement uses: Nat, Eq, Real, HMul.hMul, r_const, m_val, HAdd.hAdd, I_val, HDiv.hDiv, HMod.hMod, OfNat.ofNat, HSub.hSub, eps

    Proof uses: Eq.mpr, Real.sqrt, Int.floor, Mathlib.Meta.NormNum.instAtLeastTwo, Int, Int.fract, id, congrArg, congr, Eq.trans, Mathlib.Meta.NormNum.IsNat.to_eq, Mathlib.Meta.NormNum.isNat_natCast, Mathlib.Meta.NormNum.isNat_ofNat, Eq.refl, Int.cast_add, Int.cast_mul, Mathlib.Meta.NormNum.isNat_intCast, sub_mul, symm, Nat.mod_def and 89 more

    122 instances, coercions and auxiliary constants left out.

    Tactic trace: 5 steps

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

  13. lemma n_r_sq_eq line 120 source

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

    Statement uses: Nat, Eq, Real, HMul.hMul, r_sq, HAdd.hAdd, I_val, HDiv.hDiv, HMod.hMod, OfNat.ofNat, eps

    Proof uses: Eq.mpr, r_const, Mathlib.Meta.NormNum.instAtLeastTwo, m_val, Int, HSub.hSub, id, congrArg, congr, Eq.trans, Mathlib.Meta.NormNum.IsNat.to_eq, Mathlib.Meta.NormNum.isNat_natCast, Mathlib.Meta.NormNum.isNat_ofNat, Eq.refl, Int.cast_add, Int.cast_mul, Mathlib.Meta.NormNum.isNat_intCast, Nat.mod_def, HPow.hPow, Real.sqrt and 102 more

    132 instances, coercions and auxiliary constants left out.

    Tactic trace: 4 steps

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

  14. lemma floor_case_0 line 125 source

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

    Statement uses: Real, LT.lt, HDiv.hDiv, Neg.neg, OfNat.ofNat, Nat, Eq, Int.floor

    Proof uses: cast, Int, Int.negSucc, Eq.symm, Eq.trans, congrArg, Nat.cast_one, HAdd.hAdd, of_eq_true, And, LE.le, True, congr, Int.cast_negSucc, Mathlib.Meta.NormNum.IsInt.neg_to_eq, Mathlib.Meta.NormNum.isInt_neg, Int.ofNat, Int.negOfNat, Eq.refl, Mathlib.Meta.NormNum.IsNat.to_isInt and 22 more

    103 instances, coercions and auxiliary constants left out.

    Tactic trace: 2 steps

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

  15. lemma floor_case_1 line 128 source

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

    Statement uses: Real, LE.le, OfNat.ofNat, LT.lt, Eq, Int.floor

    Proof uses: of_eq_true, Eq.trans, True, congrArg, Int, Iff.mpr, Membership.mem, Set, Set.Ico, Int.floor_eq_zero_iff, And.intro, Int.cast_zero, eq_self

    44 instances, coercions and auxiliary constants left out.

    Tactic trace: 2 steps

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

  16. lemma int_add_floor line 131 source

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

    Statement uses: Int, Real, Eq, Int.floor, HAdd.hAdd

    Proof uses: of_eq_true, Eq.trans, True, congrArg, Int.floor_intCast_add, Int.cast_add, eq_self

    27 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

  17. theorem target_theorem_0 line 136 source

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

    Statement uses: Nat, LE.le, OfNat.ofNat, And, LT.lt, Real, HDiv.hDiv, HSub.hSub, HMul.hMul, r_sq, a

    Proof uses: eps, eps_bounds, Neg.neg, r_const, r_bound, Eq, Int.floor, m_val, a_val, HAdd.hAdd, I_val, HMod.hMod, r_m_eq, n_r_sq_eq, int_add_floor, Eq.mpr, id, congrArg, add_assoc, Or and 161 more

    172 instances, coercions and auxiliary constants left out.

    Distinct definitions of this name: APNOutputs/OEIS/A224515_conjecture_existence.lean:269 (different declaration text), APNOutputs/OEIS/A309132_conjecture_carmichael.lean:375 (different declaration text), APNOutputs/OEIS/A382590_conjecture_kth_prime_factor_is_eventually_periodic.lean:303 (different declaration text), APNOutputs/OEIS/a091669_conjecture_primitive_root.lean:275 (different declaration text), APNOutputs/OEIS/a325046_odd_terms_at_k_times_k_plus_1.lean:187 (different declaration text), APNOutputs/OEIS/oeis_103311_conjecture_0.lean:240 (different declaration text), APNOutputs/OEIS/oeis_108_conjecture_2.lean:281 (different declaration text), APNOutputs/OEIS/oeis_113254_conjecture_0.lean:153 (different declaration text), APNOutputs/OEIS/oeis_175386_conjecture_0.lean:326 (different declaration text), APNOutputs/OEIS/oeis_194806_conjecture_0.lean:495 (different declaration text), APNOutputs/OEIS/oeis_227582_conjecture_0.lean:306 (different declaration text), APNOutputs/OEIS/oeis_228143_conjecture_1.lean:730 (different declaration text), APNOutputs/OEIS/oeis_243106_conjecture_0.lean:164 (different declaration text), APNOutputs/OEIS/oeis_248802_conjecture_0.lean:223 (different declaration text), APNOutputs/OEIS/oeis_248802_conjecture_4.lean:841 (different declaration text), APNOutputs/OEIS/oeis_256012_conjecture_0.lean:116 (different declaration text), APNOutputs/OEIS/oeis_267581_conjecture_0.lean:212 (different declaration text), APNOutputs/OEIS/oeis_271591_conjecture_0.lean:518 (different declaration text), APNOutputs/OEIS/oeis_278070_conjecture_0.lean:91 (different declaration text), APNOutputs/OEIS/oeis_282779_conjecture_0.lean:141 (different declaration text), APNOutputs/OEIS/oeis_289411_conjecture_0.lean:189 (different declaration text), APNOutputs/OEIS/oeis_2897_conjecture_0.lean:427 (different declaration text), APNOutputs/OEIS/oeis_306424_conjecture_0.lean:300 (different declaration text), APNOutputs/OEIS/oeis_307865_conjecture_0.lean:212 (different declaration text), APNOutputs/OEIS/oeis_323557_conjecture_0.lean:214 (different declaration text), APNOutputs/OEIS/oeis_340737_conjecture_0.lean:456 (different declaration text), APNOutputs/OEIS/oeis_363347_conjecture_2.lean:848 (different declaration text), APNOutputs/OEIS/oeis_372761_conjecture_2.lean:756 (different declaration text), APNOutputs/OEIS/oeis_51293_conjecture_0.lean:517 (different declaration text), APNOutputs/OEIS/oeis_62567_conjecture_0.lean:329 (different declaration text), APNOutputs/OEIS/oeis_A028859_conjecture_1.lean:432 (different declaration text), APNOutputs/OEIS/oeis_A258667_conjecture_0.lean:446 (different declaration text), APNOutputs/OEIS/oeis_a211417_conjecture_specific.lean:264 (different declaration text), APNOutputs/OEIS/oeis_a237271_conjecture_2.lean:124 (different declaration text), APNOutputs/OEIS/oeis_a300997_finite_difference_is_one_or_two.lean:1111 (different declaration text), APNOutputs/OEIS/oeis_a363102_conjecture_1.lean:302 (different declaration text), APNOutputs/OEIS/oeis_a368692_conjecture_integrality.lean:182 (different declaration text). Qualify references as target_theorem_0@path.

    Tactic trace: 52 steps

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