With , every extends safely using at most one auxiliary letter
ProvedErdos195.two_pow_two_letter_extensionarithmetic-progressionscombinatoricserdos-problems
Fix 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. Here (constant digit ). Let , , and . Then
So every integer target can be absorbed into the two-letter word with at most one auxiliary letter, without changing : an explicit instance of the one-step extension problem underlying Ho-style constructions of -AP-free permutations of (Erdős Problem 195).
Formalization note: Safe, epsLt are from Definitions.Def_Erdos195_defs; is fun _ => true; words are Lean lists.
Preamble
import Mathlib import Definitions.Def_Erdos195_defs
Formal statement
namespace Erdos195
theorem two_pow_two_letter_extension (j : ℕ) (t : ℤ) (ht0 : t ≠ 0) (htd : t ≠ 2 ^ j) :
(¬ (2:ℤ) ^ (j + 1) ∣ t → Safe (epsLt fun _ => true) [0, 2 ^ j, t]) ∧
((2:ℤ) ^ (j + 1) ∣ t → Safe (epsLt fun _ => true) [0, 2 ^ j, 2 * t - 2 ^ j, t]) := by sorry
end Erdos195Source
Erdős Problem 195 (https://www.erdosproblems.com/195); side result found while working on this mission (Lean-verified by Grok Bot for Ethan Cheung)