APNOutputs/OEIS/oeis_341254_conjecture_0.lean
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)
FormalConjectures.Util.ProblemImports
- def
r_constThe constant $r = (2 + \sqrt{5})/2$ line 43 sourceSource documentation
The constant $r = (2 + \sqrt{5})/2$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
RealProof uses:
HDiv.hDiv,HAdd.hAdd,OfNat.ofNat,Real.sqrt9 instances, coercions and auxiliary constants left out.
noncomputable def r_const : ℝ := (2 + sqrt 5) / 2
- def
r_sqThe constant $r^2$ line 46 sourceSource documentation
The constant $r^2$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
RealProof uses:
HMul.hMul, r_const2 instances, coercions and auxiliary constants left out.
noncomputable def r_sq : ℝ := r_const * r_const
Mentions: r_const
- def
aA341254: $a(n) = \lfloor r \cdot \lfloor r \cdot n \rfloor \rfloor$, where $r = (2 + \sqrt{5})/2$ line 52 sourceSource 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:
NatProof uses:
Real, r_const,Int,Int.floor,HMul.hMul,Int.toNat9 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 : ℕ) : ℕ := …
- def
m_valline 92 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,IntProof uses:
Int.floor,Real,HMul.hMul, r_const7 instances, coercions and auxiliary constants left out.
- def
epsline 93 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RealProof uses:
HSub.hSub,HMul.hMul, r_const, m_val8 instances, coercions and auxiliary constants left out.
- def
I_valline 94 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,IntProof uses:
HAdd.hAdd,HMul.hMul,OfNat.ofNat, m_val,HDiv.hDiv10 instances, coercions and auxiliary constants left out.
- lemma
r_sq_eqline 96 sourcestandard 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.hDivProof 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_nonnegand 68 more85 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
a_valline 100 sourcestandard 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_valProof 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 more96 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.
- lemma
eps_boundsline 104 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,And,LT.lt,Real, epsProof 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_trueand 24 more92 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
r_boundline 109 sourcestandard 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_constProof 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_isIntand 42 more142 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
n_div_4line 113 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq,Real,HDiv.hDiv,OfNat.ofNat,HAdd.hAdd,HMod.hModProof 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_posand 28 more67 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
r_m_eqline 116 sourcestandard 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, epsProof 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_defand 89 more122 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- lemma
n_r_sq_eqline 120 sourcestandard 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, epsProof 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.sqrtand 102 more132 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
floor_case_0line 125 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,LT.lt,HDiv.hDiv,Neg.neg,OfNat.ofNat,Nat,Eq,Int.floorProof 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_isIntand 22 more103 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
floor_case_1line 128 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,LE.le,OfNat.ofNat,LT.lt,Eq,Int.floorProof 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_self44 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
int_add_floorline 131 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Int,Real,Eq,Int.floor,HAdd.hAddProof uses:
of_eq_true,Eq.trans,True,congrArg,Int.floor_intCast_add,Int.cast_add,eq_self27 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
target_theorem_0line 136 sourcestandard 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,aProof 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,Orand 161 more172 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.