FormalConjectures/OEIS/267581.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
11 declarations, 1 contain sorry, 0 declared as axioms
Recurrence for Rule 167 cellular automaton sequence
Decimal representation of the middle column of the "Rule 167" elementary cellular automaton starting with a single ON (black) cell.
References:
- A267581
- arxiv/2605.22763 Advancing Mathematics Research with AI-Driven Formal Proof Search by George Tsoukalas et al.
Imports (1)
- def
OeisA267581.caRule167The rule function for Rule 167 line 39 sourceSource documentation
The rule function for Rule 167. Inputs must be 0 or 1.
standard axioms: propext what this means
Statement uses:
NatProof uses:
OfNat.ofNat,HAdd.hAdd,HMul.hMul,HMod.hMod,HDiv.hDiv,HPow.hPow13 instances, coercions and auxiliary constants left out.
def caRule167 (c_L c_C c_R : ℕ) : ℕ := …
- def
OeisA267581.caStateThe state of the Rule 167 elementary cellular automaton at time $t$ and position $x$ line 50 sourceSource documentation
The state of the Rule 167 elementary cellular automaton at time $t$ and position $x$. The initial condition is a single ON cell at $x=0$. $C(t, x)$ is structurally recursive on $t$.
standard axioms: propext what this means
Statement uses:
Nat,Int2 instances, coercions and auxiliary constants left out.
def caState (t : ℕ) (x : ℤ) : ℕ := …
- def
OeisA267581.middleColumnBitThe sequence of bits forming the middle column of the CA pattern, $C_{t, 0}$ line 58 sourceSource documentation
The sequence of bits forming the middle column of the CA pattern, $C_{t, 0}$.
standard axioms: propext what this means
Statement uses:
NatProof uses: OeisA267581.caState,
OfNat.ofNat,Int1 instances, coercions and auxiliary constants left out.
def middleColumnBit (t : ℕ) : ℕ := caState t 0
Mentions: OeisA267581.caState
- def
OeisA267581.aDecimal representation of the middle column of the "Rule 167" elementary cellular automaton starting with a single ON (black) cell line 67 sourceSource documentation
Decimal representation of the middle column of the "Rule 167" elementary cellular automaton starting with a single ON (black) cell. The term $a(n)$ is the decimal value of the binary number $C_{0, 0} C_{1, 0} \dots C_{n, 0}$, where $C_{i, 0}$ is the state of the center cell at time $i$. $$a(n) = \sum_{k=0}^n C_{k, 0} \cdot 2^{n-k}$$
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Finset.sum,Finset.range,HAdd.hAdd,OfNat.ofNat,HMul.hMul, OeisA267581.middleColumnBit,HPow.hPow,HSub.hSub12 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := …
- def
OeisA267581.oeisFloorTermThe floor term in the conjectured recurrence relation for A267581 line 75 sourceSource documentation
The floor term in the conjectured recurrence relation for A267581. This term, $\lfloor (1/2)^{(2^{n+1} \bmod n)} \rfloor$, simplifies to 1 if $(2^{n+1} \bmod n) = 0$ (i.e., $n \mid 2^{n+1}$), and 0 otherwise. Since the recurrence is only stated for $n \ge 2$, the $n=0$ case is irrelevant to the conjecture.
standard axioms: propext what this means
Statement uses:
NatProof uses:
ite,Eq,OfNat.ofNat,HMod.hMod,HPow.hPow,HAdd.hAdd10 instances, coercions and auxiliary constants left out.
def oeisFloorTerm (n : ℕ) : ℕ := …
- lemma
OeisA267581.a_0line 81 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA267581.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA267581.a_1line 84 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA267581.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA267581.a_2line 87 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA267581.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA267581.a_3line 90 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA267581.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA267581.a_4line 93 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA267581.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA267581.a_recurrencesorry line 104 sourcedepends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq, OeisA267581.a,HSub.hSub,HAdd.hAdd,HMul.hMul, OeisA267581.oeisFloorTermProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous16 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.