Adding 2 to needs at least three auxiliary letters
ProvedErdos195.pstar_two_three_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 . If is -safe, begins with and contains , then precedes , and either meets both and , or meets both and . Consequently has at least three distinct letters outside .
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_three_aux (θ : ℕ → ℤ → Bool) (Q : List ℤ) (hS : Safe (treeLt θ) Q)
(hpre : [0, 1, -1, -5] <+: Q) (h2 : (2 : ℤ) ∈ Q) :
(3 ∈ Q ∧ Q.idxOf 3 < Q.idxOf 2) ∧
(((5 ∈ Q ∨ 8 ∈ Q) ∧ (9 ∈ Q ∨ 16 ∈ Q)) ∨ ((-2 ∈ Q ∨ -3 ∈ Q) ∧ (-10 ∈ Q ∨ -15 ∈ Q))) ∧
∃ x ∈ Q, ∃ y ∈ Q, ∃ z ∈ Q, x ≠ y ∧ x ≠ z ∧ y ≠ z ∧
x ∉ [-5, -1, 0, 1, 2] ∧ y ∉ [-5, -1, 0, 1, 2] ∧ z ∉ [-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