Cofinal SAFE chains need infinitely many genuinely mixed-parity batches (tree orders)
ProvedErdos195.mixed_batches_recurA tree witness is a function on the nodes , , of the binary tree of residues. For distinct integers with , put iff . 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; is SAFE if it is -safe for some tree witness .
Theorem (cofinal SAFE chains need infinitely many genuinely mixed batches). Let be duplicate-free SAFE words, each a prefix of the next (each stage may use its own witness), whose union is all of . Then for every there is such that the batch of letters of not in contains integers of both parities.
In other words, an exhaustive construction of a permutation of through SAFE stages can never eventually proceed by single-parity batches; equivalently it cannot eventually factor into finitely many monochromatic SAFE sub-batches per step. This is a necessary condition on any successful stagewise construction for Erdős Problem 195 in the tree-witness framework, not a construction or an impossibility proof. Theorem of GPT 6 Astra.
import Mathlib import Definitions.Def_Erdos195_tree
namespace Erdos195
theorem mixed_batches_recur (Q : ℕ → List ℤ)
(hS : ∀ j, ∃ θ : ℕ → ℤ → Bool, Safe (treeLt θ) (Q j))
(hnd : ∀ j, (Q j).Nodup) (hpre : ∀ j, Q j <+: Q (j + 1))
(hcov : ∀ x : ℤ, ∃ j, x ∈ Q j) :
∀ J, ∃ j ≥ J, ∃ x ∈ Q (j + 1), ∃ x' ∈ Q (j + 1), x ∉ Q j ∧ x' ∉ Q j ∧ x % 2 ≠ x' % 2 := by sorry
end Erdos195