and are tree-safe
ProvedErdos195.pstar_tree_safearithmetic-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 . With , both
are -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 pstar_tree_safe :
Safe (treeLt fun k _ => decide (k ≤ 1)) [0, 1, -1, -5] ∧
Safe (treeLt fun k _ => decide (k ≤ 1)) [0, 1, -1, -5, 3] := 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