Adding 2 to needs at least four auxiliary letters
ProvedErdos195.pstar_two_four_auxarithmetic-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 . Let be -safe, beginning with and containing . (A) If meets both and , then and meets . (B) Otherwise meets and , forces to meet , and forces to meet . In all cases
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_two_four_aux (θ : ℕ → ℤ → Bool) (Q : List ℤ) (hS : Safe (treeLt θ) Q)
(hpre : [0, 1, -1, -5] <+: Q) (h2 : (2 : ℤ) ∈ Q) :
(((-2 ∈ Q ∨ -3 ∈ Q) ∧ (-10 ∈ Q ∨ -15 ∈ Q)) →
-3 ∈ Q ∧ -15 ∈ Q ∧ (-11 ∈ Q ∨ -17 ∈ Q ∨ -29 ∈ Q ∨ -43 ∈ Q)) ∧
(¬ ((-2 ∈ Q ∨ -3 ∈ Q) ∧ (-10 ∈ Q ∨ -15 ∈ Q)) →
((5 ∈ Q ∨ 8 ∈ Q) ∧ (9 ∈ Q ∨ 16 ∈ Q)) ∧ (8 ∈ Q → 17 ∈ Q ∨ 26 ∈ Q) ∧
(5 ∈ Q → -11 ∈ Q ∨ -17 ∈ Q ∨ 15 ∈ Q ∨ 25 ∈ Q)) ∧
∃ x ∈ Q, ∃ y ∈ Q, ∃ z ∈ Q, ∃ w ∈ Q, [x, y, z, w].Nodup ∧
∀ e ∈ [x, y, z, w], e ∉ [-5, -1, 0, 1, 2] := 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