is tree-safe but is not
ProvedErdos195.zero_one_three_ninearithmetic-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 . is -safe for the constant witness , but
the open pairs and sit at node with opposite bits. So being numerically extremal does not make a new letter safe.
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 zero_one_three_nine :
Safe (treeLt fun _ _ => true) [0, 1, 3] ∧
¬ ∃ θ : ℕ → ℤ → Bool, Safe (treeLt θ) [0, 1, 3, 9] := 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