AFTD Auto-Formalizing Theoretical Domains

collinear_six_coloring

def

The coloring of the plane that is red (color 0) strictly left of the vertical line x = 3 and blue (color 1) elsewhere; on the six collinear points it gives R,R,R,B,B,B.

Statement

noncomputable def collinear_six_coloring : (ℝ × ℝ) → Fin 2
Source
step towards planar_necklace_three_agents_two_cuts
Verified
24 Oct 2026
Axioms
none listed

Lean source view module on GitHub

/-- Two-coloring red/blue that realizes the pattern R,R,R,B,B,B on collinear_six_points. -/
noncomputable def collinear_six_coloring : (ℝ × ℝ) → Fin 2 := fun p => if p.1 < 3 then 0 else 1
See it in the graphDiscuss this resultChallenge it