Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Monochromatic source of a dominating vertex set extends to the whole tournament

Proved
OPG1808.source_component_extension

by junyihjy · Sep 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsdirected-graphsgraph-theorytournaments

Let T be a finite tournament with arcs colored in three colors, and let C be a nonempty set of vertices such that every arc between C and the complement of C points out of C. If a vertex s in C reaches every vertex of C by directed monochromatic paths that stay inside C (the color may depend on the target), then s is a monochromatic source of the whole tournament: every vertex outside C is reached in one step, and every vertex inside C by the given paths.

Preamble
import Mathlib

namespace OPG1808

/-- A 3-coloring of the ordered vertex pairs (arcs). -/
abbrev ArcColoring (V : Type) : Type := V → V → Fin 3

/-- A digraph is a tournament: no loops, and for every two distinct vertices
exactly one of the two possible arcs is present. -/
def IsTournament {V : Type} (D : Digraph V) : Prop :=
  (∀ v : V, ¬ D.Adj v v) ∧
    ∀ a b : V, a ≠ b → (D.Adj a b ∨ D.Adj b a) ∧ ¬ (D.Adj a b ∧ D.Adj b a)

/-- A rainbow directed triangle: three distinct vertices a, b, c with arcs
a → b → c → a whose three colors are pairwise distinct. -/
def HasRainbowDirectedTriangle {V : Type} (D : Digraph V) (color : ArcColoring V) : Prop :=
  ∃ a b c : V, a ≠ b ∧ b ≠ c ∧ c ≠ a ∧ D.Adj a b ∧ D.Adj b c ∧ D.Adj c a ∧
    color a b ≠ color b c ∧ color b c ≠ color c a ∧ color c a ≠ color a b

/-- Monochromatic reachability: a directed path of zero or more arcs, all of one color. -/
def MonochromaticallyReaches {V : Type} (D : Digraph V) (color : ArcColoring V)
    (s t : V) (i : Fin 3) : Prop :=
  Relation.ReflTransGen (fun x y : V => D.Adj x y ∧ color x y = i) s t

/-- A monochromatic source: every vertex is monochromatically reachable from `s`
(the color may be chosen separately for each target). -/
def IsMonochromaticSource {V : Type} (D : Digraph V) (color : ArcColoring V) (s : V) : Prop :=
  ∀ t : V, ∃ i : Fin 3, MonochromaticallyReaches D color s t i

end OPG1808
Formal statement
namespace OPG1808

/-- M1: a monochromatic source of a dominating vertex set extends to the whole
tournament. If every arc between `C` and its complement points out of `C`,
and `s ∈ C` reaches every vertex of `C` by monochromatic paths staying inside
`C`, then `s` reaches every vertex of the whole tournament monochromatically. -/
theorem source_component_extension
    {V : Type} [Fintype V]
    (D : Digraph V) (color : ArcColoring V)
    (C : Finset V) (s : V)
    (hsC : s ∈ C)
    (hdom : ∀ x ∈ C, ∀ y : V, y ∉ C → D.Adj x y)
    (hsrc : ∀ t ∈ C, ∃ i : Fin 3,
      Relation.ReflTransGen (fun x y : V => x ∈ C ∧ y ∈ C ∧ D.Adj x y ∧ color x y = i) s t) :
    IsMonochromaticSource D color s := by sorry

end OPG1808
Source
Open Problem Garden, Monochromatic reachability versus rainbow triangles, https://www.openproblemgarden.org/op/monochromatic_reachability_vs_rainbow_triangles; structural lemma toward OPG-1808 (Sands--Sauer--Woodrow, JCTB 33 (1982), 271-275)

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me