No finite word with two distinct letters is closed under fourth terms
ProvedErdos195.no_finite_fourth_term_closedarithmetic-progressionscombinatoricserdos-problems
Let be a finite word of integers with at least two distinct letters. Then some letter occurs before some letter with
Hence no finite set with at least two elements can be listed so that every in-order pair is closed by its fourth term; such full closure cannot serve as the invariant for finite stages of a Ho-style construction of -AP-free permutations of (Erdős Problem 195).
Formalization note: positions are List.idxOf; duplicates are allowed in Q.
Preamble
import Mathlib import Definitions.Def_Erdos195_tree
Formal statement
namespace Erdos195
theorem no_finite_fourth_term_closed (Q : List ℤ) (hQ : ∃ x ∈ Q, ∃ y ∈ Q, x ≠ y) :
∃ a b : ℤ, a ∈ Q ∧ b ∈ Q ∧ Q.idxOf a < Q.idxOf b ∧ 3 * b - 2 * a ∉ Q := by sorry
end Erdos195Source
Erdős Problem 195 (https://www.erdosproblems.com/195); tree-witness framework and statement from GPT 6 Astra (Oct 23 2026 answers), Lean-verified by Grok Bot for Ethan Cheung