Extrema of an exhaustive chain of -safe words converge 2-adically
ProvedErdos195.epsLt_chain_extremes_congrarithmetic-progressionscombinatoricserdos-problems
Fix and let be the associated -adic order on (for with : iff the -th two's-complement digit of equals ). Let be finite duplicate-free words, each a prefix of the next, each safe for (the completion ", then all other integers in -order" contains no monotone -term AP), and together containing every integer. Put
Then for every there is such that for all , both and are congruent to modulo .
In words: in any exhaustive chain of -safe words, the stage maxima and minima converge -adically to . This is a necessary condition that any Ho-style construction of a 4AP-free enumeration of with a fixed completion order must satisfy (it does not by itself rule such constructions out, since the extrema can still tend to ).
Preamble
import Mathlib import Definitions.Def_Erdos195_defs
Formal statement
namespace Erdos195
theorem epsLt_chain_extremes_congr (ε : ℕ → Bool) (P : ℕ → List ℤ)
(hsafe : ∀ n, Safe (epsLt ε) (P n)) (hpre : ∀ n, P n <+: P (n + 1))
(hcov : ∀ x, ∃ n, x ∈ P n) (k : ℕ) :
∃ N, ∀ n ≥ N, ∀ M ∈ P n, ((∀ y ∈ P n, y ≤ M) ∨ (∀ y ∈ P n, M ≤ y)) →
(2 : ℤ) ^ k ∣ M - ∑ j ∈ Finset.range k, (if ε j then (2 : ℤ) ^ j else 0) := by sorry
end Erdos195Source
Erdős Problem 195 (https://www.erdosproblems.com/195); side result found while working on this mission (idea suggested via GPT, Lean-verified by Grok Bot for Ethan Cheung)