AFTD Auto-Formalizing Theoretical Domains

even_linked_double_star_broom_polarized_reduction

theoremverified

For n≥m≥2, p≥2 and n≤p+2, assume the exact broom Ramsey formula for the linked double star with arms n+m−1 and one. In a host of at least the conjectured Ramsey order avoiding the linked star with arms n,m in both colors, one color has a 2p-vertex path whose last endpoint has fewer than m neighbors outside it. At least n+1 vertices off the path join its first and last endpoints in opposite colors.

Statement

theorem even_linked_double_star_broom_polarized_reduction (p n m : ℕ) (hp : 2 ≤ p)
    (hm : 2 ≤ m) (hn : m ≤ n) (hsmall : n ≤ p+2)
    (hbroom : simple_graph_ramsey_number (even_linked_double_star p (n+m-1) 1)
      (even_linked_double_star p (n+m-1) 1) = max (2*(n+m-1)+2*p-1) (n+m-1+3*p+1))
    (N : ℕ) (hN : max (2*n+2*p-1) (n+2*m+3*p-1) ≤ N)
    (G : SimpleGraph (Fin N)) (hred : ¬(even_linked_double_star p n m).IsContained G)
    (hblue : ¬(even_linked_double_star p n m).IsContained Gᶜ) :
    ∃ H : SimpleGraph (Fin N), (H=G ∨ H=Gᶜ) ∧ ∃ P : Fin (2*p) ↪ Fin N,
      (∀ i j, i.val+1=j.val → H.Adj (P i) (P j)) ∧
      (∃ B : Finset (Fin N), B.card < m ∧ ∀ v, v ∉ Set.range P → H.Adj (P ⟨2*p-1,by omega⟩) v → v ∈ B) ∧
      ∃ A : Finset (Fin N), n+1 ≤ A.card ∧ ∀ v ∈ A, v ∉ Set.range P ∧
        H.Adj (P ⟨0,by omega⟩) v ∧ Hᶜ.Adj (P ⟨2*p-1,by omega⟩) v
Source
https://www.combinatorics.org/ojs/index.php/eljc/article/view/v23i3p29 and https://arxiv.org/abs/2611.19632; conditional on the explicit broom formula.
Verified
29 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 5
  • even_linked_double_starFor natural numbers p, n, and m, the even-linked double star S_{2p}(n, m) is the simple graph on vertex set Fin(2p) ⊕ Fin(n) ⊕ Fin(m)…
  • even_linked_double_star_broom_tip_obstructionGiven a copy of a linked double star with arms n+m−1 and one, with p≥1 and m≥1, suppose the host contains no copy with arms n,m. On the…
  • simple_graph_ramsey_numberThe Ramsey number R(F, H) is the smallest positive integer N such that every graph on N vertices contains F or its complement contains H.
  • simple_graph_ramsey_propertysimple_graph_ramsey_property F H N holds if every simple graph G on N vertices contains a copy of F or its complement Gᶜ contains a copy…
  • cFor a group $G$ and an element $s \in G$, the local count $c_G(s)$ is the cardinality of the set of elements $g \in G$ such that…

The proof, explained

Assume the 2-color Ramsey number for the broom graph $T = \mathrm{even\_linked\_double\_star}(p, n+m-1, 1)$ matches the conjectured formula, which is at most $N$. By monotonicity of the Ramsey property, any 2-edge-colored complete graph on $N$ vertices contains a monochromatic copy of $T$. Since neither color contains the linked double star with arms $n, m$, the color $H \in \{G, G^c\}$ containing $T$ must avoid that target graph. Restricting $T$ to its central $2p$-vertex path and applying the tip obstruction theorem (`even_linked_double_star_broom_tip_obstruction`) guarantees that the path endpoint has fewer than $m$ external neighbors, while at least $n+1$ vertices connect the path endpoints in opposite colors.

  1. Consecutive vertices on the central path of the linked double star graph are adjacent.

    The graph `even_linked_double_star p n m` is defined by the symmetric relation connecting vertices along a central path and to star leaves, requiring distinct vertices. For two path vertices `Sum.inl i` and `Sum.inl j` with $i.val + 1 = j.val$, the relation holds by the path clause (`Or.inl`). The vertices are distinct because an equality `Sum.inl i = Sum.inl j` would imply $i = j$ by injectivity of `Sum.inl` (`Sum.inl.inj`) and equality of values via `congrArg Fin.val`, which contradicts $i.val + 1 = j.val$.

    lines 4–8

    uses Or.inl, congrArg, Sum.inl.inj

    private theorem ds1310_broom_polarized_reduction_src_path {p n m : ℕ} (i j : Fin (2*p)) (hij : i.val+1=j.val) :
        (even_linked_double_star p n m).Adj (.inl i) (.inl j) := by
      refine ⟨?_,Or.inl (Or.inl ⟨i,j,rfl,rfl,Or.inl hij⟩)⟩
      intro h; have := congrArg Fin.val (Sum.inl.inj h); omega
    
  2. The diagonal Ramsey property for any graph is monotone in the number of host vertices.

    Given $s \le N$ and a 2-edge-coloring of the complete graph on $N$ vertices (a graph $G$ on $\mathrm{Fin}(N)$ and its complement $G^c$), we embed $\mathrm{Fin}(s)$ into $\mathrm{Fin}(N)$ via the canonical inclusion `e` (using `Fin.ext` and `congrArg`). Pulling back $G$ via `e` yields an induced subgraph $H = G.\mathrm{comap}(e)$ on $s$ vertices. The embeddings guarantee that $H$ is a subgraph copy of $G$, and $H^c$ is a copy of $G^c$. Applying the Ramsey property on $s$ vertices gives a monochromatic copy of $T$ in $H$ or $H^c$, which composes with the embedding to give a copy of $T$ in $G$ or $G^c$.

    lines 9–16

    uses Fin.ext, congrArg

    private theorem ds1310_broom_polarized_reduction_ramsey_up {U : Type*} (T : SimpleGraph U) {s N : ℕ} (hle : s ≤ N)
        (h : simple_graph_ramsey_property T T s) : simple_graph_ramsey_property T T N := by
      intro G
      let e : Fin s ↪ Fin N := ⟨fun i => i.castLE hle,fun i j he => Fin.ext (congrArg (fun i : Fin N => i.val) he)⟩
      let H := G.comap e
      have c : H.Copy G := ⟨⟨e,fun h => h⟩,e.injective⟩
      have cc : Hᶜ.Copy Gᶜ := ⟨⟨e,fun {a b} h => ⟨fun he => h.ne (e.injective he),h.2⟩⟩,e.injective⟩
      exact (h H).imp (fun t => t.trans ⟨c⟩) (fun t => t.trans ⟨cc⟩)
  3. Any 2-coloring of $K_N$ contains a monochromatic copy of the broom graph $T = \mathrm{even\_linked\_double\_star}(p, n+m-1, 1)$.

    Let $S$ be the set of positive integers $r$ for which the Ramsey property holds for the broom graph $T$. By hypothesis `hbroom`, the infimum $\inf S$ equals $\max(2(n+m-1)+2p-1, n+m-1+3p+1)$. If $S$ were empty, its infimum in $\mathbb{N}$ would be 0 by `Nat.sInf_empty`, contradicting that the maximum is strictly positive; hence $S$ is nonempty by `Set.not_nonempty_iff_eq_empty.mp`. Thus $\inf S \in S$ by `Nat.sInf_mem`, meaning $T$ satisfies the Ramsey property on $\inf S$ vertices. The condition $\max(2n+2p-1, n+2m+3p-1) \le N$, along with $m \le n$ and $n \le p+2$, implies $\inf S \le N$. Applying the monotonicity lemma `ds1310_broom_polarized_reduction_ramsey_up` establishes that the host graph $G$ on $N$ vertices satisfies the Ramsey property, so $T$ embeds into $G$ or $G^c$.

    lines 18–38

    uses Set.not_nonempty_iff_eq_empty.mp, Nat.sInf_empty, Nat.sInf_mem, ds1310_broom_polarized_reduction_ramsey_up

    theorem even_linked_double_star_broom_polarized_reduction (p n m : ℕ) (hp : 2 ≤ p)
        (hm : 2 ≤ m) (hn : m ≤ n) (hsmall : n ≤ p+2)
        (hbroom : simple_graph_ramsey_number (even_linked_double_star p (n+m-1) 1)
          (even_linked_double_star p (n+m-1) 1) = max (2*(n+m-1)+2*p-1) (n+m-1+3*p+1))
        (N : ℕ) (hN : max (2*n+2*p-1) (n+2*m+3*p-1) ≤ N)
        (G : SimpleGraph (Fin N)) (hred : ¬(even_linked_double_star p n m).IsContained G)
        (hblue : ¬(even_linked_double_star p n m).IsContained Gᶜ) :
        ∃ H : SimpleGraph (Fin N), (H=G ∨ H=Gᶜ) ∧ ∃ P : Fin (2*p) ↪ Fin N,
          (∀ i j, i.val+1=j.val → H.Adj (P i) (P j)) ∧
          (∃ B : Finset (Fin N), B.card < m ∧ ∀ v, v ∉ Set.range P → H.Adj (P ⟨2*p-1,by omega⟩) v → v ∈ B) ∧
          ∃ A : Finset (Fin N), n+1 ≤ A.card ∧ ∀ v ∈ A, v ∉ Set.range P ∧
            H.Adj (P ⟨0,by omega⟩) v ∧ Hᶜ.Adj (P ⟨2*p-1,by omega⟩) v := by
      let T := even_linked_double_star p (n+m-1) 1
      let S := {r : ℕ | 0 < r ∧ simple_graph_ramsey_property T T r}
      have hmin : sInf S=max (2*(n+m-1)+2*p-1) (n+m-1+3*p+1) := hbroom
      have hs : S.Nonempty := by
        by_contra h
        rw [Set.not_nonempty_iff_eq_empty.mp h,Nat.sInf_empty] at hmin
        omega
      have hmem := (Nat.sInf_mem hs).2
      have hforce := ds1310_broom_polarized_reduction_ramsey_up T (by omega : sInf S ≤ N) hmem G
  4. There exists a color $H \in \{G, G^c\}$ such that $H$ contains the broom graph $T$ and avoids the linked double star with arms $n, m$.

    From the previous step, either $G$ contains $T$ or $G^c$ contains $T$. In the first case, we set $H = G$, which contains $T$ and avoids the target linked double star by the hypothesis `hred` (`Or.inl`). In the second case, we set $H = G^c$, which contains $T$ and avoids it by `hblue` (`Or.inr`).

    lines 39–42

    uses Or.inl, Or.inr

      have hcol : ∃ H : SimpleGraph (Fin N), (H=G ∨ H=Gᶜ) ∧ T.IsContained H ∧ ¬(even_linked_double_star p n m).IsContained H := by
        rcases hforce with h|h
        · exact ⟨G,Or.inl rfl,h,hred⟩
        · exact ⟨Gᶜ,Or.inr rfl,h,hblue⟩
  5. The host graph $H$ contains a $2p$-vertex path $P$ formed by the central path of the broom graph $T$.

    Let $f$ be the embedding of the broom graph $T$ into $H$, with $H$ avoiding the linked double star. We define the path $P : \mathrm{Fin}(2p) \hookrightarrow \mathrm{Fin}(N)$ by restricting $f$ to the central path vertices `Sum.inl i`. Injectivity of $P$ follows from injectivity of $f$ and `Sum.inl.inj`. For any consecutive indices $i$ and $j$ with $i.val + 1 = j.val$, the vertices are adjacent in $T$ by `ds1310_broom_polarized_reduction_src_path`, and because $f$ preserves adjacency, their images $P(i)$ and $P(j)$ are adjacent in $H$.

    lines 43–45

    uses Sum.inl.inj, ds1310_broom_polarized_reduction_src_path

      obtain ⟨H,h,⟨f⟩,ha⟩ := hcol
      let P : Fin (2*p) ↪ Fin N := ⟨fun i => f (.inl i),fun _ _ he => Sum.inl.inj (f.injective he)⟩
      refine ⟨H,h,P,fun i j hij => f.toHom.map_rel' (ds1310_broom_polarized_reduction_src_path i j hij),?_⟩
  6. The endpoint of $P$ has fewer than $m$ neighbors outside $P$ in $H$, and at least $n+1$ external vertices connect to the start in $H$ and to the end in $H^c$.

    We apply the tip obstruction theorem `even_linked_double_star_broom_tip_obstruction` to $H$, parameters $p, n, m$, the embedding $f$ of $T$, and the hypothesis that $H$ avoids the linked double star with arms $n, m$. The arithmetic preconditions $0 < p$ and $1 \le m$ are satisfied since $2 \le p$ and $2 \le m$. This directly provides the desired set $B$ of size $|B| < m$ covering all external $H$-neighbors of the endpoint $P(2p-1)$, and the set $A$ of at least $n+1$ vertices outside the path that are adjacent to $P(0)$ in $H$ and to $P(2p-1)$ in $H^c$.

    line 46

    uses even_linked_double_star_broom_tip_obstruction

      exact even_linked_double_star_broom_tip_obstruction H p n m (by omega) (by omega) f ha
Or.inl
Disjunction introduction from the left: if $A$ holds, then $A \lor B$ holds.
Or.inr
Disjunction introduction from the right: if $B$ holds, then $A \lor B$ holds.
congrArg
Equality is preserved under function application: if $x = y$, then $f(x) = f(y)$.
Sum.inl.inj
The left canonical injection `Sum.inl` of a disjoint sum is injective.
Fin.ext
Two elements of Fin n are equal if their underlying natural numbers are equal.
Set.not_nonempty_iff_eq_empty.mp
If a set is not nonempty, then it is empty.
Nat.sInf_empty
The infimum of the empty set of natural numbers is 0.
Nat.sInf_mem
Any nonempty set of natural numbers contains its infimum.
ds1310_broom_polarized_reduction_ramsey_up
The diagonal two-color Ramsey property for a graph is monotone in the host graph size: if $s \le N$ and every 2-coloring of $K_s$ has a monochromatic copy of $T$, then every 2-coloring of $K_N$ does as well.
ds1310_broom_polarized_reduction_src_path
Consecutive vertices $i$ and $j$ with $i + 1 = j$ on the central path of the linked double star are adjacent.
even_linked_double_star_broom_tip_obstruction
In a host graph containing a copy of the broom graph with arms $n+m-1$ and 1 but avoiding the linked double star with arms $n, m$, the terminal vertex of the central path has fewer than $m$ external neighbors, while at least $n+1$ external vertices are adjacent to the initial vertex in the graph and to the terminal vertex in its complement.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

open SimpleGraph Classicalopen scoped BigOperatorsprivate theorem ds1310_broom_polarized_reduction_src_path {p n m : ℕ} (i j : Fin (2*p)) (hij : i.val+1=j.val) :    (even_linked_double_star p n m).Adj (.inl i) (.inl j) := by  refine ⟨?_,Or.inl (Or.inl ⟨i,j,rfl,rfl,Or.inl hij⟩)⟩  intro h; have := congrArg Fin.val (Sum.inl.inj h); omegaprivate theorem ds1310_broom_polarized_reduction_ramsey_up {U : Type*} (T : SimpleGraph U) {s N : ℕ} (hle : s ≤ N)    (h : simple_graph_ramsey_property T T s) : simple_graph_ramsey_property T T N := by  intro G  let e : Fin s ↪ Fin N := ⟨fun i => i.castLE hle,fun i j he => Fin.ext (congrArg (fun i : Fin N => i.val) he)⟩  let H := G.comap e  have c : H.Copy G := ⟨⟨e,fun h => h⟩,e.injective⟩  have cc : Hᶜ.Copy Gᶜ := ⟨⟨e,fun {a b} h => ⟨fun he => h.ne (e.injective he),h.2⟩⟩,e.injective⟩  exact (h H).imp (fun t => t.trans ⟨c⟩) (fun t => t.trans ⟨cc⟩)theorem even_linked_double_star_broom_polarized_reduction (p n m : ℕ) (hp : 2 ≤ p)    (hm : 2 ≤ m) (hn : m ≤ n) (hsmall : n ≤ p+2)    (hbroom : simple_graph_ramsey_number (even_linked_double_star p (n+m-1) 1)      (even_linked_double_star p (n+m-1) 1) = max (2*(n+m-1)+2*p-1) (n+m-1+3*p+1))    (N : ℕ) (hN : max (2*n+2*p-1) (n+2*m+3*p-1) ≤ N)    (G : SimpleGraph (Fin N)) (hred : ¬(even_linked_double_star p n m).IsContained G)    (hblue : ¬(even_linked_double_star p n m).IsContained Gᶜ) :    ∃ H : SimpleGraph (Fin N), (H=G ∨ H=Gᶜ) ∧ ∃ P : Fin (2*p) ↪ Fin N,      (∀ i j, i.val+1=j.val → H.Adj (P i) (P j)) ∧      (∃ B : Finset (Fin N), B.card < m ∧ ∀ v, v ∉ Set.range P → H.Adj (P ⟨2*p-1,by omega⟩) v → v ∈ B) ∧      ∃ A : Finset (Fin N), n+1 ≤ A.card ∧ ∀ v ∈ A, v ∉ Set.range P ∧        H.Adj (P ⟨0,by omega⟩) v ∧ Hᶜ.Adj (P ⟨2*p-1,by omega⟩) v := by  let T := even_linked_double_star p (n+m-1) 1  let S := {r : ℕ | 0 < r ∧ simple_graph_ramsey_property T T r}  have hmin : sInf S=max (2*(n+m-1)+2*p-1) (n+m-1+3*p+1) := hbroom  have hs : S.Nonempty := by    by_contra h    rw [Set.not_nonempty_iff_eq_empty.mp h,Nat.sInf_empty] at hmin    omega  have hmem := (Nat.sInf_mem hs).2  have hforce := ds1310_broom_polarized_reduction_ramsey_up T (by omega : sInf S ≤ N) hmem G  have hcol : ∃ H : SimpleGraph (Fin N), (H=G ∨ H=Gᶜ) ∧ T.IsContained H ∧ ¬(even_linked_double_star p n m).IsContained H := by    rcases hforce with h|h    · exact ⟨G,Or.inl rfl,h,hred⟩    · exact ⟨Gᶜ,Or.inr rfl,h,hblue⟩  obtain ⟨H,h,⟨f⟩,ha⟩ := hcol  let P : Fin (2*p) ↪ Fin N := ⟨fun i => f (.inl i),fun _ _ he => Sum.inl.inj (f.injective he)⟩  refine ⟨H,h,P,fun i j hij => f.toHom.map_rel' (ds1310_broom_polarized_reduction_src_path i j hij),?_⟩  exact even_linked_double_star_broom_tip_obstruction H p n m (by omega) (by omega) f ha
See it in the graphDiscuss this resultChallenge it