AFTD Auto-Formalizing Theoretical Domains

even_linked_double_star_dense_core_upper

theoremverified

Let the host have at least the conjectured Ramsey order, with p≥2, m<p and 1≤s≤min(n,m+1). If a vertex set of size at least n+m+2p−s has maximum missing degree at most p−2 in the first color, one color contains the full linked double star with arms n,m.

Statement

theorem even_linked_double_star_dense_core_upper {V : Type*} [Fintype V] [DecidableEq V]
    (G : SimpleGraph V) (p n m s : ℕ) (hp : 2 ≤ p) (hmp : m < p)
    (hs : 1 ≤ s) (hsn : s ≤ n) (hsm : s ≤ m+1)
    (hN : max (2*n+2*p-1) (n+2*m+3*p-1) ≤ Fintype.card V)
    (C : Finset V) (hcard : n+m+2*p-s ≤ C.card)
    (hMiss : ∀ x ∈ C, (C.filter (Gᶜ.Adj x)).card ≤ p-2) :
    (even_linked_double_star p n m).IsContained G ∨ (even_linked_double_star p n m).IsContained Gᶜ
Source
https://arxiv.org/abs/2611.19632; structural lemma for OP-1853.
Verified
29 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
  • even_linked_double_star_flexible_coreLet p≥1, 1≤s≤n, s≤m+1, and let a finite host have at least max(2n+2p−1,n+2m+3p−1) vertices. In a set C of n+m+2p−s vertices suppose at…
  • 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_dense_spanningIn a host graph take a set C of exactly 2p+n+m vertices, p≥2, such that every vertex of C misses at most p−2 edges to other vertices of C.…

The proof, explained

The proof reduces the Ramsey containment problem to the flexible core theorem (even_linked_double_star_flexible_core), which guarantees the full linked double star if a core subset D of size n+m+2p-s allows every vertex to root a smaller linked double star with arms n-s and m. First, a subset D ⊆ C of exact size n+m+2p-s is selected. To show every x ∈ D serves as a root, an arbitrary second vertex y ∈ D \ {x} is picked. Since D inherits the maximum missing degree bound p-2 from C and has order 2p+(n-s)+m, the dense spanning theorem (even_linked_double_star_dense_spanning) embeds the smaller linked double star spanning D with linking path endpoints at x and y.

  1. There exists a subset D ⊆ C of exact size n + m + 2p - s.

    Since the core set C has cardinality at least n + m + 2p - s, Finset.exists_subset_card_eq provides a subset D ⊆ C with exactly n + m + 2p - s vertices.

    lines 11–12

    uses Finset.exists_subset_card_eq

      classical
      obtain ⟨D,hDC,hDc⟩ := Finset.exists_subset_card_eq hcard
  2. It suffices to show that every vertex of D roots an embedding of the linked double star with parameters (p, n-s, m) inside D.

    By even_linked_double_star_flexible_core, if the host graph has at least the conjectured Ramsey order, it contains the full linked double star (or its complement does) provided a core subset of size n+m+2p-s contains a sufficiently large subset X (here chosen to be D itself, using Finset.Subset.refl) where each vertex x ∈ X roots an embedding of the linked double star with arms n-s and m entirely within D. The arithmetic requirements 0 < p and n + max p (2s - 1) ≤ |D| hold by linear arithmetic.

    line 13

    uses even_linked_double_star_flexible_core, Finset.Subset.refl

      apply even_linked_double_star_flexible_core G p n m s (by omega) hs hsn hsm hN D D hDc (Finset.Subset.refl _) (by omega)
  3. Given any vertex x ∈ D, there exists another vertex y ∈ D distinct from x.

    Since |D| = n + m + 2p - s ≥ 2, removing x from D leaves a subset of cardinality |D| - 1 > 0 by Finset.card_erase_of_mem. By Finset.card_pos.mp, this erased set is nonempty, so there exists some y ∈ D \ {x}. By Finset.mem_erase.mp, y lies in D and y ≠ x.

    lines 14–16

    uses Finset.card_pos.mp, Finset.card_erase_of_mem, Finset.mem_erase.mp

      intro x hx
      obtain ⟨y,hy⟩ := Finset.card_pos.mp (show 0 < (D.erase x).card by rw [Finset.card_erase_of_mem hx]; omega)
      obtain ⟨hne,hyD⟩ := Finset.mem_erase.mp hy
  4. There is an embedding of the linked double star with arms n-s and m into G contained in D with root x.

    The subset D has size |D| = 2p + (n-s) + m. Because D ⊆ C, the missing neighbors of any vertex z ∈ D within D are a subset of its missing neighbors within C by Finset.filter_subset_filter, so the missing degree in D is bounded by that in C (at most p-2) by Finset.card_le_card. Applying even_linked_double_star_dense_spanning to the two distinct vertices x, y ∈ D yields a spanning copy of the linked double star with arms n-s and m whose linking path connects x to y. In particular, this copy is contained in D and maps the root to x.

    lines 17–20

    uses even_linked_double_star_dense_spanning, Finset.card_le_card, Finset.filter_subset_filter

      obtain ⟨f,hf,h1,_⟩ := even_linked_double_star_dense_spanning G p (n-s) m hp D (by omega)
        (fun z hz => (Finset.card_le_card (Finset.filter_subset_filter _ hDC)).trans (hMiss z (hDC hz)))
        x y hx hyD hne.symm
      exact ⟨f,hf,h1⟩
Finset.exists_subset_card_eq
A finite set contains a subset of any cardinality at most its own.
even_linked_double_star_flexible_core
In a host graph of sufficient order, if a subset C of size n+m+2p-s has a large subset X whose vertices each root a copy of the linked double star with arms n-s and m inside C, then G or Gᶜ contains the full linked double star with arms n and m.
Finset.Subset.refl
Every set is a subset of itself.
Finset.card_erase_of_mem
Removing an element from a finite set decreases its cardinality by 1.
Finset.card_pos.mp
A finite set with strictly positive cardinality is nonempty.
Finset.mem_erase.mp
An element belonging to s \ {a} is not equal to a and belongs to s.
even_linked_double_star_dense_spanning
In an induced subgraph on 2p+n+m vertices where every vertex has missing degree at most p-2, any two distinct vertices can serve as the endpoints of the linking path of a spanning linked double star with arms n and m.
Finset.card_le_card
A subset has cardinality at most that of the superset.
Finset.filter_subset_filter
Filtering a subset by a predicate yields a subset of filtering the superset by that predicate.

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 BigOperatorstheorem even_linked_double_star_dense_core_upper {V : Type*} [Fintype V] [DecidableEq V]    (G : SimpleGraph V) (p n m s : ℕ) (hp : 2 ≤ p) (hmp : m < p)    (hs : 1 ≤ s) (hsn : s ≤ n) (hsm : s ≤ m+1)    (hN : max (2*n+2*p-1) (n+2*m+3*p-1) ≤ Fintype.card V)    (C : Finset V) (hcard : n+m+2*p-s ≤ C.card)    (hMiss : ∀ x ∈ C, (C.filter (Gᶜ.Adj x)).card ≤ p-2) :    (even_linked_double_star p n m).IsContained G ∨ (even_linked_double_star p n m).IsContained Gᶜ := by  classical  obtain ⟨D,hDC,hDc⟩ := Finset.exists_subset_card_eq hcard  apply even_linked_double_star_flexible_core G p n m s (by omega) hs hsn hsm hN D D hDc (Finset.Subset.refl _) (by omega)  intro x hx  obtain ⟨y,hy⟩ := Finset.card_pos.mp (show 0 < (D.erase x).card by rw [Finset.card_erase_of_mem hx]; omega)  obtain ⟨hne,hyD⟩ := Finset.mem_erase.mp hy  obtain ⟨f,hf,h1,_⟩ := even_linked_double_star_dense_spanning G p (n-s) m hp D (by omega)    (fun z hz => (Finset.card_le_card (Finset.filter_subset_filter _ hDC)).trans (hMiss z (hDC hz)))    x y hx hyD hne.symm  exact ⟨f,hf,h1⟩
See it in the graphDiscuss this resultChallenge it