edge_max_clique_order
def
For a finite simple graph G and an edge e represented as an unordered pair in Sym2 V, edge_max_clique_order G e is the maximum cardinality of a clique in G containing both endpoints of e.
Statement
noncomputable def edge_max_clique_order {V : Type*} [Fintype V] [DecidableEq V] (G : SimpleGraph V) (e : Sym2 V) : ℕ
- Defined in
- arXiv:2611.30029, Section 1.1
- Verified
- 25 Nov 2026
- Axioms
- none listed
- Used by 4
- edge_max_clique_order_le_cardFor every edge e ∈ G.edgeSet of a finite simple graph G on vertex type V, the maximum order of a clique containing e is at most the…
- op_2282_exact_edge_localization_triangle_freeLet G be a finite simple graph on vertex type V with at least two vertices and nonempty edgeFinset which is triangle-free (G.CliqueFree…
- op_2282_turan_graph_sum_eq_oneFor any natural numbers n and s with 2 ≤ s ≤ n, the Turán graph T_s(n) satisfies the equality that the sum over all its edges e of 1 /…
- edge_max_clique_order_ge_twoFor every edge e in the edge finset of a finite simple graph G, the maximum order of a clique containing e is at least two.
Read back from the Lean
For a finite type V with decidable equality, a simple graph G on V, and an unordered pair of vertices e : Sym2 V, edge_max_clique_order G e is defined as the maximum (or 0 if the set is empty) of Finset.card s over all s : Finset V such that s is a clique in G (G.IsClique (s : Set V)) and s contains all vertices in e (e.toFinset ⊆ s).
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
/-- The maximum order of a clique in G containing an edge e. -/ noncomputable def edge_max_clique_order {V : Type*} [Fintype V] [DecidableEq V] (G : SimpleGraph V) (e : Sym2 V) : ℕ := open Classical in Finset.sup (Finset.univ.filter fun (s : Finset V) => G.IsClique (s : Set V) ∧ e.toFinset ⊆ s) Finset.card