APNOutputs/OEIS/oeis_289411_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
14 declarations, 0 contain sorry, 0 declared as axioms
Imports (1)
FormalConjectures.Util.ProblemImports
- def
A289411A289411: $\mathrm{a}(n) = \sum_{k=0}^n \mathrm{sign}(\mathrm{A007953}(5k) - \mathrm{A007953}(k))$ line 49 sourceSource documentation
A289411: $\mathrm{a}(n) = \sum_{k=0}^n \mathrm{sign}(\mathrm{A007953}(5k) - \mathrm{A007953}(k))$. $\mathrm{A007953}(n)$ is the digital sum of $n$ in base 10. The sequence is non-negative, so the sum over $\mathbb{Z}$ is converted to $\mathbb{N}$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
List.sum,Nat.digits,OfNat.ofNat,Int.toNat,Finset.sum,Int,Finset.range,HAdd.hAdd,Int.sign,HSub.hSub,HMul.hMul12 instances, coercions and auxiliary constants left out.
def A289411 (n : ℕ) : ℕ := …
- def
Sline 88 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
List.sum,Nat.digits,OfNat.ofNat4 instances, coercions and auxiliary constants left out.
Distinct definitions of this name: APNOutputs/OEIS/oeis_175386_conjecture_0.lean:55 (different declaration text). Qualify references as S@path.
- lemma
S_zeroline 90 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat,S,OfNat.ofNatProof uses:
of_eq_true,List.sum,Nat.digits,Eq.trans,True,List.nil,congrArg,List,Nat.digits_zero,eq_self,eq_true,True.intro6 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
S_lt_10line 92 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Eq,SProof uses:
Eq.mpr,id,congrArg,Eq.symm,propext,eq_comm,List.sum,Nat.digits,S.eq_1,Or.rec,Not,Or,of_eq_true,Eq.trans,True,List.nil,congr,List,Nat.digits_zero,eq_selfand 17 more11 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
S_stepline 95 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Eq,S,HAdd.hAdd,HMod.hMod,HDiv.hDivProof uses:
id,Eq.rec,List,List.cons,Nat.digits,List.sum,rfl,Eq.symm,Nat.digits_def',of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl19 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
S_comp_9line 98 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq,HAdd.hAdd,OfNat.ofNat,HPow.hPow,S,HMul.hMulProof uses:
Nat.recAux,Decidable.byContradiction,Not,of_eq_true,Eq.trans,True,congrArg,id,Eq.mp,congr,zero_add,pow_zero,eq_self,S_comp_9.match_1,List.sum,Nat.digits,List.nil,List,Nat.digits_zero,add_zeroand 86 more123 instances, coercions and auxiliary constants left out.
Tactic trace: 27 steps
Open to load the checked before-and-after goal states.
- lemma
S_comp_49line 113 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq,HAdd.hAdd,OfNat.ofNat,HMul.hMul,HPow.hPow,SProof uses:
Nat.recAux,of_eq_true,Eq.trans,True,congrArg,id,Eq.mp,HSub.hSub,pow_zero,mul_one,Nat.Simproc.add_eq_le,of_decide_eq_true,LE.le,Eq.refl,Bool,Bool.true,eq_self,LT.lt,Decidable.byContradiction,Notand 48 more66 instances, coercions and auxiliary constants left out.
Tactic trace: 31 steps
Open to load the checked before-and-after goal states.
- lemma
S_comp_5jline 133 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,HPow.hPow,Eq,HAdd.hAdd,S,HMul.hMul,HSub.hSubProof uses:
Exists,Nat.exists_eq_succ_of_ne_zero,Iff.mp,Ne,Nat.pos_iff_ne_zero,Decidable.byContradiction,Not,HMod.hMod,Nat.recAux,HDiv.hDiv,HEq,Eq.refl,HEq.refl,id,Nat.casesAuxOn,List.sum,Nat.digits,of_eq_true,Eq.trans,Trueand 45 more92 instances, coercions and auxiliary constants left out.
Tactic trace: 22 steps
Open to load the checked before-and-after goal states.
- def
fline 146 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,IntProof uses:
HSub.hSub,S,HMul.hMul,OfNat.ofNat7 instances, coercions and auxiliary constants left out.
Distinct definitions of this name: APNOutputs/OEIS/oeis_103311_conjecture_0.lean:89 (different declaration text). Qualify references as f@path.
- lemma
f_symmline 148 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,HPow.hPow,Eq,Int,HAdd.hAdd,f,HSub.hSubProof uses:
S,HMul.hMul, S_comp_5j,Eq.mpr,id,congrArg,Function.comp,LE.le,Nat.add_sub_of_le,Nat.le_sub_one_of_lt,Nat.succ,Nat.sub_add_cancel,LT.lt.pos,Eq.refl, S_comp_9,Decidable.byContradiction,List.sum,Nat.digits,Not38 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- def
sign_fline 158 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,IntProof uses:
Int.sign,f - lemma
sign_f_symmline 160 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,HPow.hPow,Eq,Int,HAdd.hAdd, sign_f,HSub.hSubProof uses:
f,Neg.neg, f_symm,eq_neg_of_add_eq_zero_right,of_eq_true,Int.sign,Eq.trans,True,congrArg,HMul.hMul,Finset.sum,Finset.range,LE.le,id,Eq.mp,Int.sign_neg,add_neg_cancel,eq_self73 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
sum_symm_zeroline 167 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Eq,HDiv.hDiv,HPow.hPow,LE.le,Int,Finset.sum,Finset.Ico,HSub.hSub,HAdd.hAdd, sign_fProof uses:
Nat.recAux,of_eq_true,Eq.trans,True,EmptyCollection.emptyCollection,Finset,congrArg,Finset.sum_congr,congr,tsub_zero,add_zero,Finset.Ico_eq_empty_of_le,eq_true,True.intro,Membership.mem,Eq.refl,eq_self,le_of_lt,Finset.sum_eq_sum_Ico_succ_bot,Decidable.byContradictionand 13 more60 instances, coercions and auxiliary constants left out.
Tactic trace: 22 steps
Open to load the checked before-and-after goal states.
- theorem
target_theorem_0line 189 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,HSub.hSub,HDiv.hDiv,HPow.hPow,LE.le,Eq, A289411,HAdd.hAddProof uses:
Nat.sub_add_cancel,Nat.div_pos,LE.le.trans,Nat.succ,of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,pow_right_monotone,Int,Finset.sum,Finset.Ico, sign_f, sum_symm_zero,le_add_right,Int.toNat,Finset.range,Eq.mprand 30 more66 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_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_341254_conjecture_0.lean:136 (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: 25 steps
Open to load the checked before-and-after goal states.