Extending by one even target with forces and odd letters
ProvedErdos195.prop3_mod4_two_rigidFix and the -adic total order on given by iff and the -th two's-complement digit of equals , where . A finite word of integers is -safe if the sequence "the letters of in order, then all remaining integers in -order" contains no monotone -term arithmetic progression. Let with , and let be an -safe word that begins with , contains , and whose only even letters are and . If , then there is with
Thus, outside the very thin family , extending the safe word by one even target forces , and even in that family the odd letters are completely determined. This complements the case , where is always forced (Ho-style constructions of -AP-free permutations of , Erdős Problem 195).
Formalization note: Safe, epsLt are from Definitions.Def_Erdos195_defs; "begins with " is [0, 1] <+: Q; is ε 0 = false; the set equality is stated as membership of all () plus every odd letter being some with .
import Mathlib import Definitions.Def_Erdos195_defs
namespace Erdos195
theorem prop3_mod4_two_rigid (ε : ℕ → Bool) (Q : List ℤ) (hS : Safe (epsLt ε) Q)
(hpre : [0, 1] <+: Q) (t : ℤ) (ht0 : 0 < t) (ht2 : t % 4 = 2) (htQ : t ∈ Q)
(hev : ∀ x ∈ Q, x % 2 = 0 → x = 0 ∨ x = t) (hε : ε 0 = false) :
∃ n : ℕ, t = 2 * 3 ^ n ∧ (∀ i ≤ n, (3:ℤ) ^ i ∈ Q) ∧
∀ y ∈ Q, y % 2 = 1 → ∃ i ≤ n, y = 3 ^ i := by sorry
end Erdos195