APNOutputs/OEIS/oeis_267581_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
13 declarations, 0 contain sorry, 0 declared as axioms
Imports (1)
FormalConjectures.Util.ProblemImports
- def
ca_rule_167The rule function for Rule 167 line 43 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.hPow12 instances, coercions and auxiliary constants left out.
def ca_rule_167 (c_L c_C c_R : ℕ) : ℕ := …
- def
ca_stateThe state of the Rule 167 elementary cellular automaton at time $t$ and position $x$ line 54 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,IntProof uses:
ca_state.match_1,Unit,OfNat.ofNat,ite,Eq,Nat.succ, ca_rule_167,HSub.hSub,HAdd.hAdd9 instances, coercions and auxiliary constants left out.
def ca_state (t : ℕ) (x : ℤ) : ℕ := …
- def
middle_column_bitThe sequence of bits forming the middle column of the CA pattern, $C_{t, 0}$ line 62 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: ca_state,
OfNat.ofNat,Int1 instances, coercions and auxiliary constants left out.
def middle_column_bit (t : ℕ) : ℕ := ca_state t 0
Mentions: ca_state
- def
aA267581: Decimal representation of the middle column of the "Rule 167" elementary cellular automaton starting with a single ON (black) cell line 71 sourceSource documentation
A267581: 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, middle_column_bit,HPow.hPow,HSub.hSub11 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_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_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
oeis_floor_termThe floor term in the conjectured recurrence relation for A267581 line 78 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.hAdd9 instances, coercions and auxiliary constants left out.
def oeis_floor_term (n : ℕ) : ℕ := …
- def
int_chooseline 117 sourceno axioms what this means
Statement uses:
Nat,IntProof uses:
ite,And,LE.le,OfNat.ofNat,Nat.choose,Int.toNat7 instances, coercions and auxiliary constants left out.
- def
expected_stateline 120 sourceno axioms what this means
Statement uses:
Nat,IntProof uses:
ite,Eq,HMod.hMod,HAdd.hAdd,OfNat.ofNat,HSub.hSub, int_choose,HDiv.hDiv15 instances, coercions and auxiliary constants left out.
- lemma
int_choose_pascal_mod2line 125 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Int,Eq,HMod.hMod,HAdd.hAdd, int_choose,OfNat.ofNatProof uses:
Eq.mpr,ite,And,LE.le,Nat.choose,Int.toNat,LT.lt,id,congr,congrArg,Eq.trans,ite_congr,Eq.refl,Not,Nat.add_mod_mod,Nat.mod_add_mod,Nat.cast_add,Mathlib.Meta.NormNum.IsNat.to_eq,Mathlib.Meta.NormNum.isNat_natCast,Mathlib.Meta.NormNum.isNat_ofNatand 35 more83 instances, coercions and auxiliary constants left out.
Tactic trace: 24 steps
Open to load the checked before-and-after goal states.
- lemma
ca_rule_167_casesline 138 sourcestandard axioms: propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq, ca_rule_167,ite,AndProof uses:
ca_rule_167_cases.match_1,ca_rule_167_cases.match_2,of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl9 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
ca_state_eq_expectedline 149 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Int,LE.le,OfNat.ofNat,Eq, ca_state, expected_stateProof uses:
Nat.recAux,Decidable.byContradiction,Not,HAdd.hAdd,LT.lt,Or,eq_or_lt_of_le,Iff.mp,Nat.succ,Nat.succ_le_succ_iff,Eq.mpr, ca_rule_167,ite,HSub.hSub,Dvd.dvd,HMod.hMod, int_choose,HDiv.hDiv,id,congrArgand 119 more195 instances, coercions and auxiliary constants left out.
Tactic trace: 66 steps
Open to load the checked before-and-after goal states.
- lemma
expected_state_zero_eqline 183 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq, expected_state,Int,HSub.hSub, oeis_floor_termProof uses:
Eq.mpr,ite,Dvd.dvd,HMod.hMod, int_choose,HDiv.hDiv,HPow.hPow,HAdd.hAdd,id,congrArg,ite_congr,Eq.trans,zero_add,Not,Eq.refl,Even,And,Nat.choose,Int.toNat,Existsand 113 more133 instances, coercions and auxiliary constants left out.
Tactic trace: 47 steps
Open to load the checked before-and-after goal states.
- lemma
a_recline 205 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq,a,HAdd.hAdd,HMul.hMul,HSub.hSub, middle_column_bitProof uses:
id,Eq.trans,Finset.sum,Finset.range,HPow.hPow,Finset.sum_range_succ,a_rec.match_1,of_eq_true,True,congr,congrArg,Finset.sum_congr,Eq.refl,Finset,Membership.mem,Nat.succ,Nat.succ_sub,eq_true,Nat.pow_succ',Nat.Simproc.add_sub_add_leand 10 more41 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
target_theorem_0line 212 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Eq,a,HSub.hSub,HAdd.hAdd,HMul.hMul, oeis_floor_termProof uses:
Decidable.byContradiction,Not, middle_column_bit, a_rec, expected_state,Int,id,Eq.mpr, ca_state,congrArg, ca_state_eq_expected,Eq.refl, expected_state_zero_eq,Decidable,ite,HMod.hMod,HPow.hPow,if_neg,Nat.zero_le,if_posand 1 more27 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_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_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: 19 steps
Open to load the checked before-and-after goal states.