FormalConjectures/OEIS/300997.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: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
7 declarations, 1 contain sorry, 0 declared as axioms
Step difference bound $a(n+1) - a(n) \in \{1, 2\}$ in mass-redistribution cellular automata
$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.
References:
- A300997
- arxiv/2605.22763 Advancing Mathematics Research with AI-Driven Formal Proof Search by George Tsoukalas et al.
Imports (1)
- def
OeisA300997.aDocumented declaration: a line 46 sourceSource documentation
$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,Set.ofPredand 1 more9 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := …
- lemma
OeisA300997.a_1line 78 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA300997.a,OfNat.ofNatProof uses:
of_eq_true,Eq.trans,Or,Membership.mem,Set,Set.ofPred,List,List.foldl,List.reverse,List.dropWhile,Decidable.decide,List.zipWith,Nat.add,HAppend.hAppend,List.map,HDiv.hDiv,HAdd.hAdd,List.cons,List.nil,List.rangeand 9 more18 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA300997.a_2line 81 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA300997.a,OfNat.ofNatProof uses:
id,Eq.mpr,HDiv.hDiv,HAdd.hAdd,List,List.reverse,List.dropWhile,Decidable.decide,HAppend.hAppend,List.map,List.cons,List.nil,List.zipWith,Nat.add,ite,List.replicate,List.foldl,List.range,Set,Set.ofPredand 29 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 17 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA300997.a_3line 94 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA300997.a,OfNat.ofNatProof uses:
Eq.mpr,InfSet.sInf,Set.ofPred,List,List.foldl,List.reverse,List.dropWhile,Decidable.decide,List.zipWith,Nat.add,HAppend.hAppend,List.map,HDiv.hDiv,HAdd.hAdd,List.cons,List.nil,List.range,List.replicate,id,congrFun'and 30 more32 instances, coercions and auxiliary constants left out.
Tactic trace: 13 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA300997.a_4line 106 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA300997.a,OfNat.ofNatProof uses:
Eq.mpr,InfSet.sInf,Set.ofPred,List,List.foldl,List.reverse,List.dropWhile,Decidable.decide,List.zipWith,Nat.add,HAppend.hAppend,List.map,HDiv.hDiv,HAdd.hAdd,List.cons,List.nil,List.range,List.replicate,id,congrFun'and 30 more32 instances, coercions and auxiliary constants left out.
Tactic trace: 20 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA300997.a_5line 123 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA300997.a,OfNat.ofNatProof uses:
Set,Membership.mem,LT.lt,Not,InfSet.sInf,le_antisymm,Nat.sInf_le,Decidable.byContradiction,LE.le,Eq.mp,Nat.sInf_mem,Exists.intro,id,Eq.mpr,HDiv.hDiv,HAdd.hAdd,List,List.reverse,List.dropWhile,Decidable.decideand 30 more27 instances, coercions and auxiliary constants left out.
Tactic trace: 17 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA300997.a_succ_eqsorry line 148 sourcedepends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Or,Eq, OeisA300997.a,HAdd.hAddProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous8 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.