The max-rule cascade never becomes tree-safe
ProvedErdos195.max_rule_cascadearithmetic-progressionscombinatoricserdos-problems
Tree orders: for a tree witness and distinct integers with , iff . A finite word is -safe if " in order, then all other integers in -order" has no monotone -term arithmetic progression; it is tree-safe if it is -safe for some . An in-order pair before in is open if . Let . For let and (note ). Then every in-order -AP of has before ; the pairs and are open, at the same node , with opposite bits; hence
and the fourth term of is . So the rule "close the conflict at the maximum by its fourth term" runs forever.
Formalization note: treeLt is from Definitions.Def_Erdos195_tree; Safe, bitOne from Definitions.Def_Erdos195_defs; positions are List.idxOf, is padicValInt 2, L <+: Q means is a prefix of .
Preamble
import Mathlib import Definitions.Def_Erdos195_tree
Formal statement
namespace Erdos195
theorem max_rule_cascade (m : ℕ) (R : List ℤ)
(hR : R = [0, 1, -1, 5, 3, 2] ++ (List.range m).map (fun j : ℕ => (2 : ℤ) * 3 ^ (j + 2) - 1))
(w : ℤ) (hw : w = 2 * 3 ^ (m + 1) - 1) :
(∀ a b : ℤ, a ∈ R → b ∈ R → 2 * b - a ∈ R → R.idxOf a < R.idxOf b →
R.idxOf b < R.idxOf (2 * b - a) →
3 * b - 2 * a ∈ R ∧ R.idxOf (3 * b - 2 * a) < R.idxOf (2 * b - a)) ∧
w ∈ R ∧ R.idxOf 1 < R.idxOf (-1) ∧ R.idxOf (-1) < R.idxOf w ∧
2 * (-1) - 1 ∉ R ∧ 3 * (-1) - 2 * 1 ∉ R ∧ 2 * w - (-1) ∉ R ∧ 3 * w - 2 * (-1) ∉ R ∧
padicValInt 2 (-1 - 1) = 1 ∧ padicValInt 2 (w - (-1)) = 1 ∧
(1 : ℤ) % 2 ^ 1 = (-1) % 2 ^ 1 ∧ ¬ (bitOne (-1) 1 ↔ bitOne w 1) ∧
(¬ ∃ θ : ℕ → ℤ → Bool, Safe (treeLt θ) R) ∧
3 * w - 2 * (-1) = 2 * 3 ^ (m + 2) - 1 ∧ ∀ x ∈ R, x < 3 * w - 2 * (-1) := by sorry
end Erdos195Source
Erdős Problem 195 (https://www.erdosproblems.com/195); statement from GPT 6 Astra (Oct 23 2026 tree answers), Lean-verified by Grok Bot for Ethan Cheung