cycle_power_eight_zero_phase_half_no_defects
Every zero-phase defective exponent-three model has no defects.
Statement
theorem cycle_power_eight_zero_phase_half_no_defects (x : ℤ → ℕ → Bool) (e : ℤ → Bool)
(hm : cycle_power_dyadic_defective_half_model 3 x e 0) : ∀ p : ℤ, e p = false- Source
- RT-1 / OP-205, arXiv:2610.15635; finite computations 29006, 29007 and 29023.
- Verified
- 19 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 5
- cycle_power_dyadic_defective_half_modelA dyadic half model with a Boolean defect: lower ranks have unique owners, top-rank ownership and the active count each lose one at a…
- cycle_power_eight_defective_boundary_period_twoThe first inner class bit of every zero-phase defective exponent-three model is two-periodic.
- cycle_power_eight_defective_boundary_not_constantIn a zero-phase defective exponent-three model, the first inner bit cannot be constant false and cannot be constant true.
- cycle_power_eight_alternating_true_phase_no_defectIf the first inner bit alternates in a zero-phase defective exponent-three model, no defect can occur at a root where that bit is true.
- cycle_power_eight_alternating_false_phase_no_defectIf the first inner bit alternates in a zero-phase defective exponent-three model, no defect can occur at a root where that bit is false.
- Used by 1
- cycle_power_eight_defective_halves_no_defectsExponent-three dyadic defective half models have no defects in either phase: with shift 0 or shift 2^(3-1) = 4, every defect bit is false.
The proof, explained
The argument first shows that the boundary values x(·, 1) strictly alternate between true and false at successive integer positions. If alternation failed anywhere, the known period-2 property would force the sequence to be constant everywhere, contradicting its established non-constancy. With alternation in hand, a case split on x(p, 1) applies the corresponding alternating-phase lemmas to conclude that every defect indicator e(p) must be false.
The boundary sequence x(·, 1) has period 2, and is neither identically false nor identically true.
From prior characterizations of exponent-three defective half-models, cycle_power_eight_defective_boundary_period_two establishes the two-periodicity x(p, 1) = x(p - 2, 1) for all p ∈ ℤ, and cycle_power_eight_defective_boundary_not_constant establishes that x(·, 1) is not constant.
uses
cycle_power_eight_defective_boundary_period_two,cycle_power_eight_defective_boundary_not_constanthave hper := cycle_power_eight_defective_boundary_period_two x e hm have hnc := cycle_power_eight_defective_boundary_not_constant x e hm
If x(·, 1) fails to strictly alternate, then adjacent values coincide at some point: x(p + 1, 1) = x(p, 1).
To prove alternation by contradiction, assume there is a failure of alternation. By not_forall.mp, this provides an index p such that x(p + 1, 1) ≠ ¬x(p, 1). Since boolean variables admit only two values, evaluating all four truth-value assignments confirms that x(p + 1, 1) = x(p, 1).
uses
not_forall.mphave halt : ∀ p : ℤ, x (p + 1) 1 = !(x p 1) := by by_contra hne obtain ⟨p, hp⟩ := not_forall.mp hne have heq : x (p + 1) 1 = x p 1 := by revert hp cases x (p + 1) 1 <;> cases x p 1 <;> decide
For all integers k, both x(p + 2k, 1) and x(p + 1 + 2k, 1) equal x(p, 1).
This is proven by integer induction on k using Int.induction_on. The base case k = 0 follows from the equality of adjacent values at p. For the inductive steps in both positive and negative directions, shifting by multiples of 2 preserves values by the period-2 property of x(·, 1), propagating the value x(p, 1) across all even and odd offsets.
uses
Int.induction_onhave hk : ∀ k : ℤ, x (p + 2 * k) 1 = x p 1 ∧ x (p + 1 + 2 * k) 1 = x p 1 := by intro k induction k using Int.induction_on with | zero => simpa using heq | succ k ih => have h1 := hper (p + 2 * (k + 1)) have h2 := hper (p + 1 + 2 * (k + 1)) have e1 : p + 2 * (k + 1) - 2 = p + 2 * k := by ring have e2 : p + 1 + 2 * (k + 1) - 2 = p + 1 + 2 * k := by ring rw [e1] at h1; rw [e2] at h2 exact ⟨h1.trans ih.1, h2.trans ih.2⟩ | pred k ih => have h1 := hper (p + 2 * (-(k : ℤ))) have h2 := hper (p + 1 + 2 * (-(k : ℤ))) have e1 : p + 2 * (-(k : ℤ)) - 2 = p + 2 * (-(k : ℤ) - 1) := by ring have e2 : p + 1 + 2 * (-(k : ℤ)) - 2 = p + 1 + 2 * (-(k : ℤ) - 1) := by ring rw [e1] at h1; rw [e2] at h2 exact ⟨h1.symm.trans ih.1, h2.symm.trans ih.2⟩
The sequence x(·, 1) is globally constant: x(q, 1) = x(p, 1) for every integer q.
By Int.even_or_odd', every integer difference q - p is either even (q - p = 2k) or odd (q - p = 2k + 1). In the even case, q = p + 2k, so x(q, 1) = x(p, 1). In the odd case, q = p + 1 + 2k, so x(q, 1) = x(p, 1). Thus x(q, 1) has the same value for every q ∈ ℤ.
uses
Int.even_or_odd'have hall : ∀ q : ℤ, x q 1 = x p 1 := by intro q obtain ⟨k, hk'⟩ := Int.even_or_odd' (q - p) rcases hk' with hk' | hk' · have : q = p + 2 * k := by omega rw [this]; exact (hk k).1 · have : q = p + 1 + 2 * k := by omega rw [this]; exact (hk k).2
The boundary sequence x(·, 1) strictly alternates: x(p + 1, 1) = ¬x(p, 1) for all integers p.
If x(p, 1) were false, x(·, 1) would be identically false, contradicting the first conjunct of non-constancy. If x(p, 1) were true, x(·, 1) would be identically true, contradicting the second conjunct. This contradiction refutes the assumption that alternation fails, completing the proof of strict alternation.
cases hpv : x p 1 · exact hnc.1 (fun q => (hall q).trans hpv) · exact hnc.2 (fun q => (hall q).trans hpv)
No defects occur at any position: e(p) = false for all integers p.
For an arbitrary integer p, case analysis on the boolean value x(p, 1) resolves the goal: if x(p, 1) = false, cycle_power_eight_alternating_false_phase_no_defect yields e(p) = false; if x(p, 1) = true, cycle_power_eight_alternating_true_phase_no_defect yields e(p) = false.
uses
cycle_power_eight_alternating_false_phase_no_defect,cycle_power_eight_alternating_true_phase_no_defectintro p cases hb : x p 1 · exact cycle_power_eight_alternating_false_phase_no_defect x e hm halt p hb · exact cycle_power_eight_alternating_true_phase_no_defect x e hm halt p hb
cycle_power_eight_defective_boundary_period_two- In an exponent-three zero-phase defective half-model, the boundary sequence satisfies x(p, 1) = x(p - 2, 1) for all integers p.
cycle_power_eight_defective_boundary_not_constant- In an exponent-three zero-phase defective half-model, the boundary sequence x(·, 1) is neither constantly false nor constantly true.
not_forall.mp- If a universal statement ¬(∀ x, P x) fails, there exists some x such that ¬(P x).
Int.induction_on- Integer induction: a property holds for all integers if it holds at 0, steps from non-negative k to k + 1, and steps from non-positive -k to -k - 1.
Int.even_or_odd'- Every integer n can be written in the form 2k or 2k + 1 for some integer k.
cycle_power_eight_alternating_false_phase_no_defect- In an exponent-three zero-phase defective half-model where x(·, 1) strictly alternates, if x(p, 1) is false, then the defect indicator e(p) is false.
cycle_power_eight_alternating_true_phase_no_defect- In an exponent-three zero-phase defective half-model where x(·, 1) strictly alternates, if x(p, 1) is true, then the defect indicator e(p) is false.
- Elementary integer arithmetic relations are discharged by `omega` and `ring`, and exhaustive boolean case evaluations are verified by `decide`.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem cycle_power_eight_zero_phase_half_no_defects (x : ℤ → ℕ → Bool) (e : ℤ → Bool) (hm : cycle_power_dyadic_defective_half_model 3 x e 0) : ∀ p : ℤ, e p = false := by have hper := cycle_power_eight_defective_boundary_period_two x e hm have hnc := cycle_power_eight_defective_boundary_not_constant x e hm have halt : ∀ p : ℤ, x (p + 1) 1 = !(x p 1) := by by_contra hne obtain ⟨p, hp⟩ := not_forall.mp hne have heq : x (p + 1) 1 = x p 1 := by revert hp cases x (p + 1) 1 <;> cases x p 1 <;> decide have hk : ∀ k : ℤ, x (p + 2 * k) 1 = x p 1 ∧ x (p + 1 + 2 * k) 1 = x p 1 := by intro k induction k using Int.induction_on with | zero => simpa using heq | succ k ih => have h1 := hper (p + 2 * (k + 1)) have h2 := hper (p + 1 + 2 * (k + 1)) have e1 : p + 2 * (k + 1) - 2 = p + 2 * k := by ring have e2 : p + 1 + 2 * (k + 1) - 2 = p + 1 + 2 * k := by ring rw [e1] at h1; rw [e2] at h2 exact ⟨h1.trans ih.1, h2.trans ih.2⟩ | pred k ih => have h1 := hper (p + 2 * (-(k : ℤ))) have h2 := hper (p + 1 + 2 * (-(k : ℤ))) have e1 : p + 2 * (-(k : ℤ)) - 2 = p + 2 * (-(k : ℤ) - 1) := by ring have e2 : p + 1 + 2 * (-(k : ℤ)) - 2 = p + 1 + 2 * (-(k : ℤ) - 1) := by ring rw [e1] at h1; rw [e2] at h2 exact ⟨h1.symm.trans ih.1, h2.symm.trans ih.2⟩ have hall : ∀ q : ℤ, x q 1 = x p 1 := by intro q obtain ⟨k, hk'⟩ := Int.even_or_odd' (q - p) rcases hk' with hk' | hk' · have : q = p + 2 * k := by omega rw [this]; exact (hk k).1 · have : q = p + 1 + 2 * k := by omega rw [this]; exact (hk k).2 cases hpv : x p 1 · exact hnc.1 (fun q => (hall q).trans hpv) · exact hnc.2 (fun q => (hall q).trans hpv) intro p cases hb : x p 1 · exact cycle_power_eight_alternating_false_phase_no_defect x e hm halt p hb · exact cycle_power_eight_alternating_true_phase_no_defect x e hm halt p hb