APNOutputs/OEIS/oeis_a300997_finite_difference_is_one_or_two.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
81 declarations, 0 contain sorry, 0 declared as axioms
Imports (1)
FormalConjectures.Util.ProblemImports
- def
aA300997 line 46 sourceSource documentation
A300997: $a(n)$ is the number of steps needed to reach a stable configuration in the 1D cellular automaton initialized with one cell with mass $n$ and based on the rule "each cell gives half of its mass, rounded down, to its right neighbor". The stable configuration is $n$ cells with mass 1.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
HDiv.hDiv,HAdd.hAdd,OfNat.ofNat,List,List.reverse,List.dropWhile,Decidable.decide,Eq,HAppend.hAppend,List.map,List.cons,List.nil,List.zipWith,Nat.add,ite,List.replicate,List.foldl,List.range,Set,setOfand 1 more9 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_341254_conjecture_0.lean:52 (same statement text; different proof or body), 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_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
half_ceilline 111 sourceno axioms what this means
Statement uses:
NatProof uses:
HDiv.hDiv,HAdd.hAdd,OfNat.ofNat5 instances, coercions and auxiliary constants left out.
- def
half_floorline 112 sourceno axioms what this means
Statement uses:
NatProof uses:
HDiv.hDiv,OfNat.ofNat3 instances, coercions and auxiliary constants left out.
- def
trim_trailing_zerosline 114 sourceno axioms what this means
Statement uses:
List,NatProof uses:
List.reverse,List.dropWhile,Decidable.decide,Eq,OfNat.ofNat2 instances, coercions and auxiliary constants left out.
- def
ca_step_listline 117 sourceno axioms what this means
Statement uses:
List,NatProof uses:
HAppend.hAppend,List.map, half_ceil,List.cons,OfNat.ofNat,List.nil, half_floor,List.zipWith,Nat.add, trim_trailing_zeros3 instances, coercions and auxiliary constants left out.
- def
initial_config_listline 123 sourceno axioms what this means
Statement uses:
Nat,ListProof uses:
List.cons,List.nil - def
target_config_listline 124 sourceno axioms what this means
Statement uses:
Nat,ListProof uses:
List.replicate,OfNat.ofNat1 instances, coercions and auxiliary constants left out.
- def
S_listline 126 sourceno axioms what this means
Statement uses:
Nat,ListProof uses:
List.foldl, ca_step_list, initial_config_list,List.range - def
ca_step_funline 129 sourceno axioms what this means
Statement uses:
NatProof uses:
HAdd.hAdd, half_ceil,ite,Eq,OfNat.ofNat, half_floor,HSub.hSub6 instances, coercions and auxiliary constants left out.
- def
Fline 132 sourceno axioms what this means
Statement uses:
NatProof uses:
F.match_1,Unit,OfNat.ofNat,ite,Eq,Nat.succ, ca_step_fun4 instances, coercions and auxiliary constants left out.
- lemma
a_eq_sInfline 137 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq,a,InfSet.sInf,setOf,List, S_list, target_config_listProof uses:
id,Eq.mpr,Star.star,Decidable.rec,Decidable,Not,List.cons,List.nil,List.replicate,List.foldl,HAppend.hAppend,List.map,HDiv.hDiv,HAdd.hAdd,List.zipWith,Nat.add,List.reverse,List.dropWhile,Decidable.decide,List.rangeand 32 more24 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- def
TargetFline 143 sourceno axioms what this means
Statement uses:
NatProof uses:
ite,LT.lt,OfNat.ofNat3 instances, coercions and auxiliary constants left out.
- def
list_to_funline 146 sourcestandard axioms: propext what this means
Statement uses:
List,NatProof uses:
List.getD,OfNat.ofNat1 instances, coercions and auxiliary constants left out.
- lemma
list_to_fun_initialline 148 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq, list_to_fun, initial_config_list, F,OfNat.ofNatProof uses:
id,funext,List.getD,F.match_1,Unit,ite,Nat.succ, ca_step_fun,Nat.casesAuxOn,Eq.refl,Eq.symm,HAdd.hAdd8 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- lemma
list_to_fun_targetline 152 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq, list_to_fun, target_config_list, TargetFProof uses:
id,funext,List.getD,OfNat.ofNat,ite,LT.lt,List,List.replicate,Eq.mpr,Option.getD,GetElem?.getElem?,List.length,congrArg,List.getD_eq_getElem?_getD,Decidable,Not,if_neg,of_eq_true,Eq.trans,Option.noneand 13 more13 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
trim_trailing_zeros_getDline 156 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
List,Nat,Eq,List.getD, trim_trailing_zeros,OfNat.ofNatProof uses:
Eq.mpr,Option.getD,GetElem?.getElem?,LT.lt,List.length,List.reverse,List.dropWhile,Decidable.decide,id,congr,congrArg,List.getD_eq_getElem?_getD,List.reverseRecOn,Eq.refl,List.nil,HAppend.hAppend,List.cons,ite,Option,HSub.hSuband 53 more84 instances, coercions and auxiliary constants left out.
Tactic trace: 18 steps
Open to load the checked before-and-after goal states.
- lemma
getD_zipWith_addline 165 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
List,Nat,Eq,List.length,List.getD,List.zipWith,Nat.add,OfNat.ofNat,HAdd.hAddProof uses:
Or.rec,GT.gt,Not,Or,of_eq_true,Eq.trans,GetElem.getElem,LT.lt,List.lt_length_right_of_zipWith,True,congrArg,Min.min,List.length_zipWith,min_self,eq_true,id,Eq.mp,Option.getD,Option.some,List.lt_length_left_of_zipWithand 12 more22 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
getD_append_zeroline 169 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
List,Nat,Eq,List.getD,HAppend.hAppend,List.cons,OfNat.ofNat,List.nilProof uses:
LT.lt,List.length,LE.le,Or,lt_or_ge,Eq.mpr,id,congrArg,List.getD_append,Eq.refl,LE.le.eq_or_lt,Or.inl,of_eq_true,Eq.trans,Option.getD,Option.some,GetElem.getElem,HSub.hSub,True,HAdd.hAddand 18 more60 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- lemma
my_getD_cons_zeroline 175 sourcestandard axioms: propext what this means
Statement uses:
List,Nat,Eq,List.getD,List.cons,OfNat.ofNat,ite,HSub.hSubProof uses:
Nat.casesAuxOn,Eq.refl,Eq.symm,HAdd.hAdd11 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
getD_map_half_ceilline 179 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
List,Nat,Eq,List.getD,List.map, half_ceil,OfNat.ofNatProof uses:
dite,LT.lt,List.length,of_eq_true,Eq.trans,Option.getD,Option.some,GetElem.getElem,Eq.rec,True,congrArg,List.length_map,eq_true,congr,GetElem?.getElem?,List.getD_eq_getElem?_getD,Option,getElem?_pos,List.getElem_map,eq_selfand 9 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
getD_map_half_floorline 183 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
List,Nat,Eq,List.getD,List.map, half_floor,OfNat.ofNatProof uses:
Or.rec,LT.lt,List.length,LE.le,Or,of_eq_true,HDiv.hDiv,Eq.trans,True,Option.getD,Option.some,GetElem.getElem,Eq.rec,congrArg,List.length_map,eq_true,True.intro,congr,GetElem?.getElem?,List.getD_eq_getElem?_getDand 9 more15 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
list_to_fun_ca_stepline 187 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
List,Nat,Eq, list_to_fun, ca_step_list, ca_step_funProof uses:
funext,id,List.getD,OfNat.ofNat,Eq.mpr,HAppend.hAppend,List.map, half_ceil,List.cons,List.nil, half_floor,List.zipWith,Nat.add, trim_trailing_zeros,congrArg, trim_trailing_zeros_getD,List.length,of_eq_true,HAdd.hAdd,Eq.transand 14 more15 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- lemma
S_list_zeroline 199 sourcestandard axioms: propext what this means
Statement uses:
Nat,Eq,List, S_list,OfNat.ofNat, initial_config_listProof uses:
of_eq_true,eq_self1 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
S_list_succline 202 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq,List, S_list,HAdd.hAdd,OfNat.ofNat, ca_step_listProof uses:
id,Eq.mpr,List.foldl,HAppend.hAppend,List.map, half_ceil,List.cons,List.nil, half_floor,List.zipWith,Nat.add, trim_trailing_zeros, initial_config_list,List.range,congrArg,Nat.succ,List.range_succ,List.foldl_append,List.foldl_cons,List.foldl_niland 1 more8 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
list_to_fun_S_listline 206 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq, list_to_fun, S_list, FProof uses:
Nat.recAux,Eq.mpr,OfNat.ofNat, initial_config_list,id,congrArg,List, S_list_zero, list_to_fun_initial,HAdd.hAdd, ca_step_list, S_list_succ, ca_step_fun, list_to_fun_ca_step,Eq.refl3 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.
- def
Pline 217 sourceno axioms what this means
Statement uses:
NatProof uses:
F.match_1,Unit,OfNat.ofNat,Nat.succ,HAdd.hAdd,HMod.hMod, F7 instances, coercions and auxiliary constants left out.
Distinct definitions of this name: APNOutputs/OEIS/oeis_103311_conjecture_0.lean:121 (different declaration text). Qualify references as P@path.
- def
DiffByOneFline 222 sourceno axioms what this means
Statement uses:
NatProof uses:
Eq,HAdd.hAdd,ite,OfNat.ofNat4 instances, coercions and auxiliary constants left out.
- lemma
ca_step_fun_DiffByOneFline 225 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, DiffByOneF, ca_step_fun,HAdd.hAdd,HMod.hMod,OfNat.ofNatProof uses:
id,Eq.mpr,Eq, half_ceil,ite, half_floor,HSub.hSub,HDiv.hDiv,forall_congr,congr,congrArg,ite_congr,Eq.refl,Not,add_comm,ca_step_fun_DiffByOneF.match_1,Unit,Or,Nat.mod_two_eq_zero_or_one,Or.inland 38 more71 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.
- lemma
F_DiffByOneFline 231 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, DiffByOneF, F,HAdd.hAdd,OfNat.ofNat,PProof uses:
id,Eq,ite,F.match_1,Unit,Nat.succ,HMod.hMod,Nat.brecOn.go, ca_step_fun,Eq.mpr, half_ceil, half_floor,HSub.hSub,Nat.rec,PUnit,PProd,HDiv.hDiv,forall_congr,congr,congrArgand 7 more17 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- lemma
ca_step_fun_TargetFline 241 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq, ca_step_fun, TargetFProof uses:
Eq.mpr,ite,LT.lt,HAdd.hAdd, half_ceil, half_floor,HSub.hSub,id,Eq.trans,forall_congr,congrArg,ite_congr,Eq.refl,Not,Or,em,Or.inl,of_eq_true,HDiv.hDiv,Trueand 20 more31 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
- lemma
F_n_plus_1_eqline 246 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq, F,HAdd.hAdd,OfNat.ofNat,ite,PProof uses:
funext, F_DiffByOneF8 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
F_zero_and_P_leline 250 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,And,LE.le,Eq, F,OfNat.ofNat,PProof uses:
Nat.recAux,id,dite,ite,Eq.mpr,congrArg,if_pos,Decidable.byContradiction,Not,if_neg,HAdd.hAdd,HSub.hSub,HDiv.hDiv,Eq.refl,And.intro,le_refl,HMod.hMod,congrFun, F_n_plus_1_eq,And.leftand 3 more28 instances, coercions and auxiliary constants left out.
Tactic trace: 59 steps
Open to load the checked before-and-after goal states.
- lemma
F_zero_of_geline 304 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,Eq, F,OfNat.ofNatProof uses:
And.left,P, F_zero_and_P_le4 instances, coercions and auxiliary constants left out.
- lemma
P_le_nline 307 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,PProof uses:
And.right,Eq, F,OfNat.ofNat, F_zero_and_P_le3 instances, coercions and auxiliary constants left out.
- lemma
list_eq_of_fun_eqline 310 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
List,Nat,Ne,Option,List.getLast?,Option.some,OfNat.ofNat,Eq, list_to_funProof uses:
List.ext_get,by_contra,List.length,Not,absurd,List.getD,HSub.hSub,False,congrFun,Function.comp,List.nil,Eq.symm,List.cons,Eq.refl,LT.lt,List.get,Fin.mk,of_eq_true,GetElem.getElem,Fin.isLtand 13 more15 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.
- lemma
S_list_no_trailing_zerosline 316 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Ne,Option,List.getLast?, S_list,Option.someProof uses:
id,Eq.mpr,Not,Eq,List.foldl,List, ca_step_list, initial_config_list,List.range,Nat.iterate, trim_trailing_zeros,List.zipWith,Nat.add,HAppend.hAppend,List.map, half_ceil,List.cons,List.nil, half_floor,congrArgand 101 more88 instances, coercions and auxiliary constants left out.
Tactic trace: 20 steps
Open to load the checked before-and-after goal states.
- lemma
target_config_no_trailing_zerosline 330 sourcestandard axioms: propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Ne,Option,List.getLast?, target_config_list,Option.someProof uses:
id,of_eq_true,List.replicate,Eq.trans,ite,Eq,Option.none,True,congrArg,List.getLast?_replicate,Not,False,And,Option.some.injEq,eq_false,Mathlib.Meta.NormNum.isNat_eq_false,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.falseand 5 more8 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
F_eq_TargetF_iff_S_list_eqline 334 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Iff,Eq, F, TargetF,List, S_list, target_config_listProof uses:
Iff.intro, list_eq_of_fun_eq, S_list_no_trailing_zeros, target_config_no_trailing_zeros, list_to_fun, list_to_fun_S_list, list_to_fun_target,Eq.mpr,id,congrArg,Eq.symm,Eq.refl4 instances, coercions and auxiliary constants left out.
Tactic trace: 19 steps
Open to load the checked before-and-after goal states.
- lemma
a_is_stable_from_existsline 351 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Exists,Eq, F, TargetF,aProof uses:
InfSet.sInf,setOf,List, S_list, target_config_list, a_eq_sInf,Eq.mpr,id,congrArg,propext, F_eq_TargetF_iff_S_list_eq,Set.Nonempty,Exists.intro,Membership.mem,Set,Iff.mp,Nat.sInf_mem7 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- lemma
a_minline 361 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq, F, TargetF,aProof uses:
InfSet.sInf,setOf,List, S_list, target_config_list, a_eq_sInf,Eq.mpr,id,congrArg,Nat.sInf_le,Membership.mem,Set, list_to_fun, list_to_fun_S_list, list_to_fun_target, list_eq_of_fun_eq, S_list_no_trailing_zeros, target_config_no_trailing_zeros,Eq.mp,Eq.symm6 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.
- lemma
P_succline 375 sourceno axioms what this means
Statement uses:
Nat,Eq,P,HAdd.hAdd,OfNat.ofNat,HMod.hMod, FProof uses:
Eq.refl8 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
P_moves_when_stableline 378 sourcestandard axioms: propext what this means
Statement uses:
Nat,Eq, F, TargetF,LT.lt,P,HAdd.hAdd,OfNat.ofNatProof uses:
id,of_eq_true,Nat.rec,PProd,PUnit,PProd.mk,PUnit.unit,HMod.hMod,Nat.brecOn.go,F.match_1,Unit,Eq.trans,True,congrArg,ite,congrFun,ite_cond_eq_true,eq_true,Nat.succ,eq_self13 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
F_stable_forwardline 383 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq, F, TargetF,HAdd.hAddProof uses: ca_step_fun,
rfl,Eq.mpr,id,congrArg, ca_step_fun_TargetF8 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
F_stable_addline 389 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq, F, TargetF,HAdd.hAddProof uses:
id,F.match_1,Unit,ite,Nat.succ, ca_step_fun,LT.lt,Eq.mpr, half_ceil, half_floor,HSub.hSub,Nat.brecOn.go,Nat.rec,PUnit,PProd,HDiv.hDiv,congrArg,Eq.refl,funext,ite_congrand 8 more19 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- lemma
P_add_stableline 396 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq, F, TargetF,HAdd.hAdd,PProof uses:
Nat.rec,Nat.zero,Eq.refl,Nat.succ,Eq.trans,HMod.hMod,Eq.mpr,id,congrArg,Nat.add_succ,P.eq_2,congr,Eq.mp,True,implies_congr,eq_true,le_of_lt,LT.lt,of_eq_true,implies_congr_ctxand 38 more72 instances, coercions and auxiliary constants left out.
Tactic trace: 24 steps
Open to load the checked before-and-after goal states.
- lemma
target_n_plus_1_eqline 413 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq,HAdd.hAdd, TargetF,ite,OfNat.ofNatProof uses:
Eq.mpr,LT.lt,id,Eq.trans,congrArg,funext,ite_congr,Eq.refl,Not,forall_congr13 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
F_n_plus_1_at_Dline 418 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq, F, TargetF,P,HAdd.hAdd,HSub.hSubProof uses: F_stable_add, P_add_stable,
Decidable.byContradiction,Not,ite, F_n_plus_1_eq,Eq.mpr,id,congrArg,Eq.mp, target_n_plus_1_eq16 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
- lemma
stable_at_some_timeline 429 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Exists,Eq, F, TargetFProof uses:
Nat.le_induction,Exists.intro,funext,id,dite,ite,LT.lt,Eq.mpr,congrArg,if_pos,Decidable.byContradiction,Not,False,Eq.trans,if_neg,eq_false',False.elim,noConfusion_of_Nat,Nat.ctorIdx,HAdd.hAddand 4 more16 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- lemma
a_is_stableline 440 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq, F,a, TargetFProof uses: a_is_stable_from_exists, stable_at_some_time
4 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
not_stable_before_Dline 443 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq, F, TargetF,P,LT.lt,HSub.hSub,Ne,HAdd.hAddProof uses:
congrFun, F_stable_add, P_add_stable,Decidable.byContradiction,Not,ite, F_n_plus_1_eq,id,if_neg,if_pos,Eq.mp,congrArg22 instances, coercions and auxiliary constants left out.
Tactic trace: 26 steps
Open to load the checked before-and-after goal states.
- lemma
not_stable_before_aline 469 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,LT.lt,a,Ne, F,HAdd.hAdd, TargetFProof uses:
Eq,congrFun,ite,P, F_n_plus_1_eq,id,if_pos,Decidable.byContradiction,Not, F_zero_of_ge, P_le_n,dite,False,funext,Eq.mpr,congrArg,Eq.mp,if_neg, a_min24 instances, coercions and auxiliary constants left out.
Tactic trace: 51 steps
Open to load the checked before-and-after goal states.
- lemma
not_stable_before_a_plus_Dline 509 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,LT.lt,HAdd.hAdd,a,HSub.hSub,P,Ne, F, TargetFProof uses:
Or,Decidable.byContradiction,Not, not_stable_before_a,Exists,And,Eq,Exists.intro,And.intro,Eq.mpr,id,congrArg, not_stable_before_D, a_is_stable24 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- lemma
coupling_diffline 518 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,P,a,Eq,HAdd.hAdd,HSub.hSubProof uses: F, TargetF, F_n_plus_1_at_D, a_is_stable, a_min,
Decidable.byContradiction,Not,LT.lt,Ne, not_stable_before_a_plus_D17 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- lemma
tail_preservedline 530 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq,HSub.hSub,And, ca_step_funProof uses:
id,Decidable.byContradiction,Not,Ne,And.intro,HAdd.hAdd,HDiv.hDiv,ite,Eq.mpr,congrArg,if_neg,Eq.refl16 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- lemma
F_no_internal_zerosline 543 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Eq, F,OfNat.ofNat,HAdd.hAddProof uses:
Nat.recAux,Eq.refl,id, half_ceil,Decidable.byContradiction,Not,Eq.mpr, half_floor,congrArg9 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
- lemma
F_sum_stepline 556 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge,Eq, F,OfNat.ofNat,Finset.sum,Finset.range,HAdd.hAddProof uses:
id, half_ceil,ite, half_floor,HSub.hSub,Finset.sum_add_distrib,Eq.mpr,congrArg,Finset.sum_range_succ',of_eq_true,Eq.trans,True,congr,Finset.sum_congr,Eq.refl,Finset,Membership.mem,ite_cond_eq_false,And,Falseand 11 more47 instances, coercions and auxiliary constants left out.
Tactic trace: 21 steps
Open to load the checked before-and-after goal states.
- lemma
F_sumline 580 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq,Finset.sum,Finset.range,HAdd.hAdd, FProof uses:
Nat.recAux,id,OfNat.ofNat,ite,Nat.casesAuxOn,of_eq_true,Eq.trans,True,congrArg,EmptyCollection.emptyCollection,Finset,Finset.sum_congr,add_zero,Membership.mem,ite_self,Finset.sum_const_zero,eq_self,Eq.mpr,Finset.sum_eq_single,Neand 14 more55 instances, coercions and auxiliary constants left out.
Tactic trace: 28 steps
Open to load the checked before-and-after goal states.
- lemma
F_n_minus_1_zeroline 605 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,LT.lt,a,Eq, F,HSub.hSubProof uses:
Decidable.byContradiction,Not,GE.ge,Nat.le_induction,HAdd.hAdd, F_no_internal_zeros,Finset.sum,Finset.range,Finset.sum_le_sum,Membership.mem,Finset,Eq.mp,congrArg,propext,Finset.mem_range,of_eq_true,Eq.trans,True,HSMul.hSMul,Finset.cardand 27 more50 instances, coercions and auxiliary constants left out.
Tactic trace: 77 steps
Open to load the checked before-and-after goal states.
- lemma
P_le_n_minus_1line 668 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,a,P,HSub.hSubProof uses:
Nat.recAux,id,Decidable.byContradiction,Not,HAdd.hAdd,LT.lt,dite,HMod.hMod, F,Eq, F_n_minus_1_zero,Eq.mpr,congrArg23 instances, coercions and auxiliary constants left out.
Tactic trace: 19 steps
Open to load the checked before-and-after goal states.
- lemma
P_lt_nline 685 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,LT.lt,P,aProof uses:
HSub.hSub, P_le_n_minus_1,Decidable.byContradiction,Not12 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
F_eq_one_of_ge_oneline 689 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,GE.ge, F,OfNat.ofNat,EqProof uses:
Decidable.byContradiction,Not,Finset.sum,Finset.range,Finset.sum_lt_sum,Membership.mem,Finset,Iff.mp,Finset.mem_range,Exists.intro,And,And.intro,Iff.mpr,HAdd.hAdd, F_sum,Finset.Ico,Eq.symm,Finset.sum_range_add_sum_Ico,LE.le,Finset.sum_eq_zeroand 15 more34 instances, coercions and auxiliary constants left out.
Tactic trace: 29 steps
Open to load the checked before-and-after goal states.
- lemma
F_a_minus_1_val_dummyline 713 sourceno axioms what this means
Statement uses:
Nat,EqProof uses:
rfl - lemma
F_a_minus_1_n_minus_2_valline 715 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Or,Eq, F,HSub.hSub,aProof uses:
GT.gt,Decidable.byContradiction,Not, TargetF, a_is_stable,congrFun,Eq.mp,congrArg,LT.lt,ite,if_pos, ca_step_fun,HAdd.hAdd,rfl,Eq.mpr,id,Eq.symm, F_n_minus_1_zero, half_ceil, half_floor and 4 more31 instances, coercions and auxiliary constants left out.
Tactic trace: 46 steps
Open to load the checked before-and-after goal states.
- lemma
F_a_minus_1_n_minus_2line 753 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq, F,HSub.hSub,aProof uses:
GT.gt,Decidable.byContradiction,Not, TargetF, a_is_stable,congrFun,Eq.mp,congrArg,LT.lt,ite,if_pos,Or, F_a_minus_1_n_minus_2_val,GE.ge,Nat.le_induction,HAdd.hAdd, F_no_internal_zeros,Finset.sum,Finset.range,Finsetand 29 more49 instances, coercions and auxiliary constants left out.
Tactic trace: 70 steps
Open to load the checked before-and-after goal states.
- lemma
F_a_minus_1_ge_oneline 808 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,LT.lt,HSub.hSub,GE.ge, F,aProof uses:
Decidable.byContradiction,Not,Eq,Nat.le_induction,HAdd.hAdd, F_no_internal_zeros, F_a_minus_1_n_minus_219 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.
- lemma
F_a_minus_1_valline 822 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,LT.lt,HSub.hSub,Eq, F,aProof uses:
Decidable.byContradiction,Not,GE.ge, F_a_minus_1_ge_one,Finset.sum,Finset.range,Finset.sum_lt_sum,Membership.mem,Finset,Iff.mp,Finset.mem_range,Exists.intro,And,And.intro,Iff.mpr,of_eq_true,Eq.trans,True,congrArg,HSMul.hSMuland 29 more46 instances, coercions and auxiliary constants left out.
Tactic trace: 62 steps
Open to load the checked before-and-after goal states.
- def
ContiguousGT1line 872 sourceno axioms what this means
Statement uses:
NatProof uses:
LT.lt,GE.ge,OfNat.ofNat3 instances, coercions and auxiliary constants left out.
- lemma
step_ge_2_impliesline 875 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GE.ge, ca_step_fun,OfNat.ofNat,Or,And,GT.gt,HSub.hSubProof uses:
dite,Eq,Decidable.byContradiction,Not,Eq.mp,HAdd.hAdd,HDiv.hDiv,ite,congrArg,if_pos,if_neg21 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
- lemma
ge_2_of_stepline 882 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,GT.gt,OfNat.ofNat,GE.ge,HSub.hSub, ca_step_funProof uses:
id,dite,HAdd.hAdd,HDiv.hDiv,ite,Eq,Eq.mpr,congrArg,if_pos,Decidable.byContradiction,Not,if_neg18 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
- lemma
ContiguousGT1_leline 889 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, ContiguousGT1,LE.le,GE.ge,OfNat.ofNatProof uses:
Eq,LT.lt,Or,eq_or_lt_of_le9 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
- lemma
ContiguousGT1_stepline 896 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, ContiguousGT1, ca_step_funProof uses:
LT.lt,GE.ge,OfNat.ofNat,Or,And,GT.gt,HSub.hSub, step_ge_2_implies,Decidable.byContradiction,Not, ContiguousGT1_le,LE.le,And.right, ge_2_of_step17 instances, coercions and auxiliary constants left out.
Tactic trace: 50 steps
Open to load the checked before-and-after goal states.
- lemma
ContiguousGT1_F_zeroline 920 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat, ContiguousGT1, F,OfNat.ofNatProof uses:
LT.lt,GE.ge,id,dite,ite,Eq,Decidable.byContradiction,Not,Eq.mp,congrArg,if_neg9 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
- lemma
ContiguousGT1_Fline 929 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, ContiguousGT1, FProof uses:
Nat.recAux, ContiguousGT1_F_zero,Eq,HAdd.hAdd,OfNat.ofNat, ca_step_fun,rfl,Eq.mpr,id,congrArg, ContiguousGT1_step3 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- lemma
P_a_minus_1_geline 937 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,GE.ge,P,HSub.hSub,aProof uses:
Decidable.byContradiction,Not, ContiguousGT1, F,HAdd.hAdd, ContiguousGT1_F,Eq,ite, F_n_plus_1_eq, F_a_minus_1_n_minus_2, F_a_minus_1_val,LT.lt,congrFun,Eq.mp,congrArg,if_pos,rfl,Ne,if_neg24 instances, coercions and auxiliary constants left out.
Tactic trace: 32 steps
Open to load the checked before-and-after goal states.
- lemma
P_a_eqline 962 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq,P,a,HAdd.hAdd,HSub.hSub,HMod.hMod, FProof uses: P_succ,
GT.gt,Decidable.byContradiction,Not, TargetF, a_is_stable,congrFun,Eq.mp,congrArg,LT.lt,ite,if_pos,Eq.mpr,id,Eq.symm25 instances, coercions and auxiliary constants left out.
Tactic trace: 18 steps
Open to load the checked before-and-after goal states.
- lemma
chip_pos_ge_4line 979 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Or,Eq,HSub.hSub,P,aProof uses:
GE.ge, P_a_minus_1_ge,LT.lt, P_lt_n,Decidable.byContradiction,Not,HAdd.hAdd,HMod.hMod, F, P_a_eq, F_a_minus_1_n_minus_2, F_a_minus_1_val,GT.gt, TargetF, a_is_stable,congrFun,Eq.mp,congrArg,ite,if_posand 6 more33 instances, coercions and auxiliary constants left out.
Tactic trace: 51 steps
Open to load the checked before-and-after goal states.
- lemma
chip_pos_1line 1017 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Or,Eq,Nat,HSub.hSub,OfNat.ofNat,P,aProof uses: F, TargetF,
funext,id,dite,ite,LT.lt,Eq.mpr,congrArg,if_pos,Decidable.byContradiction,Not,False,Eq.trans,if_neg,eq_false',False.elim,noConfusion_of_Nat,Nat.ctorIdx,LE.leand 1 more19 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- lemma
chip_pos_2line 1029 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Or,Eq,Nat,HSub.hSub,OfNat.ofNat,P,aProof uses: F, TargetF,
funext,GE.ge,Decidable.byContradiction,Not,Eq.refl,Eq.symm, F_zero_of_ge,id,Eq.mpr,ite,LT.lt,congrArg,if_neg,Ne,congrFun,LE.le, a_min, a_is_stable and 1 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 34 steps
Open to load the checked before-and-after goal states.
- lemma
chip_pos_3line 1058 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Or,Eq,Nat,HSub.hSub,OfNat.ofNat,P,aProof uses: F, TargetF,
funext,GE.ge,Decidable.byContradiction,Not,Eq.refl,Eq.symm, F_zero_of_ge,id,Eq.mpr,ite,LT.lt,congrArg,if_neg,Ne,congrFun,LE.le, a_min, a_is_stable and 1 more21 instances, coercions and auxiliary constants left out.
Tactic trace: 58 steps
Open to load the checked before-and-after goal states.
- lemma
chip_posline 1096 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Or,Eq,HSub.hSub,P,aProof uses:
LT.lt,lt_trichotomy,Decidable.byContradiction,Not, chip_pos_1,Eq.symm, chip_pos_2,eq_or_lt_of_le, chip_pos_3, chip_pos_ge_420 instances, coercions and auxiliary constants left out.
Tactic trace: 18 steps
Open to load the checked before-and-after goal states.
- theorem
target_theorem_0line 1111 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Or,Eq,a,HAdd.hAddProof uses:
HSub.hSub,P, chip_pos, coupling_diff,Decidable.byContradiction,Not15 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_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_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: 5 steps
Open to load the checked before-and-after goal states.