AFTD Auto-Formalizing Theoretical Domains

is_unique_extremal_for_even_cycles

def

For integers $n, k, \ell$, $H_{n,k}$ is the unique $n$-vertex $C_{2k}$-free graph maximizing the number of unlabeled copies of $C_{2\ell}$.

Statement

def is_unique_extremal_for_even_cycles (n k l : ℕ) : Prop
Defined in
arXiv:2611.24238 Sec. 1, Theorem 1.1
Verified
19 Nov 2026
Axioms
none listed
Built on 1
  • even_cycle_extremal_graphThe graph $H_{n,k}$ on $n$ vertices is the graph join of $K_{k-1}$ with the disjoint union of an edge $K_2$ and an independent set…
Used by 1
  • even_cycle_order_thresholdThe order threshold $n_0(k, \\ell)$ is the smallest integer such that for every integer $n \\ge n_0(k, \\ell)$, $H_{n,k}$ is the unique…

Read back from the Lean

Given natural numbers n, k, and l, is_unique_extremal_for_even_cycles n k l defines the proposition that: Let H be even_cycle_extremal_graph n k. 1. (SimpleGraph.cycleGraph (2 * k)).Free H holds (i.e. SimpleGraph.Free applied to cycleGraph (2 * k) and H). 2. For every simple graph G on vertex set Fin n, if (SimpleGraph.cycleGraph (2 * k)).Free G holds, then: a. The copy count of cycleGraph (2 * l) in G is less than or equal to the copy count of cycleGraph (2 * l) in H (G.copyCount (SimpleGraph.cycleGraph (2 * l)) ≤ H.copyCount (SimpleGraph.cycleGraph (2 * l))), and b. If the copy count of cycleGraph (2 * l) in G equals that in H, then G is isomorphic to H (Nonempty (G ≃g H)).

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- Predicate asserting that H_{n,k} is the unique C_{2k}-free graph on n vertices maximizing the number of C_{2l} copies. -/
def is_unique_extremal_for_even_cycles (n k l : ℕ) : Prop :=
  let H := even_cycle_extremal_graph n k
  (SimpleGraph.cycleGraph (2 * k)).Free H ∧
  ∀ (G : SimpleGraph (Fin n)), (SimpleGraph.cycleGraph (2 * k)).Free G →
    G.copyCount (SimpleGraph.cycleGraph (2 * l)) ≤ H.copyCount (SimpleGraph.cycleGraph (2 * l)) ∧
    (G.copyCount (SimpleGraph.cycleGraph (2 * l)) = H.copyCount (SimpleGraph.cycleGraph (2 * l)) → Nonempty (G ≃g H))
See it in the graphDiscuss this resultChallenge it