Szekeres Cantor base-3 AP-free digit rigidity
Provedcantor_base3_ap_freecombinatoricserdos-problemsnumber-theory
Any ternary digit equation restricted to digits forces . This is the digit-level rigidity underlying the Szekeres Cantor-type construction of AP-free sets.
Formal statement
import Mathlib theorem cantor_base3_ap_free (x_digit y_digit z_digit : Nat) (hx : x_digit = 0 ∨ x_digit = 1) (hy : y_digit = 0 ∨ y_digit = 1) (hz : z_digit = 0 ∨ z_digit = 1) (hap : x_digit + z_digit = 2 * y_digit) : x_digit = z_digit := by sorry