digraph_is_saturated_extension
For a finite type V with decidable equality and directed graphs G and H on V with decidable adjacency relations, H is a saturated extension of G (digraph_is_saturated_extension G H) if H is an extension of G (digraph_is_extension G H) and for every extension H' of G with decidable adjacency relation such that H is a subgraph of H' (H ≤ H'), the total expansion of H with respect to G, given by the sum over all v : V of digraph_expansion G (digraph_closed_out_nbr H {v}), is at most the total expansion of H' with respect to G, given by the sum over all v : V of digraph_expansion G (digraph_closed_out_nbr H' {v}).
Statement
def digraph_is_saturated_extension {V : Type*} [Fintype V] [DecidableEq V] (G H : Digraph V) [DecidableRel G.Adj] [DecidableRel H.Adj] : Prop
- Defined in
- scout/2611-32872-a-short-proof-of-seymour-s-second-neighborhood-conjecture.md:182
- Verified
- 25 Nov 2026
- Axioms
- none listed
- Built on 3
- digraph_is_extensionA directed graph H is an extension of a directed graph G if H is oriented and G is a subgraph of H.
- digraph_expansionFor a finite directed graph G and a vertex subset X, the expansion b(X) is the cardinality of the out-boundary ∂^+ X.
- digraph_closed_out_nbrFor a finite directed graph G and a vertex subset X, the closed out-neighborhood N_G^+[X] is the union of X and all vertices y such that…
Read back from the Lean
Let V be a finite type with decidable equality, and let G and H be directed graphs on V with decidable adjacency relations.
digraph_is_saturated_extension G H asserts that:
1. H is an extension of G (that is, H is oriented and G ≤ H).
2. For every directed graph H' on V with a decidable adjacency relation, if H' is an extension of G and H ≤ H', then:
The sum over all v : V of the expansion in G of the closed out-neighborhood of {v} in H is less than or equal to the sum over all v : V of the expansion in G of the closed out-neighborhood of {v} in 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
/-- An extension H of G is saturated if no extension H' containing H has strictly smaller total expansion. -/ def digraph_is_saturated_extension {V : Type*} [Fintype V] [DecidableEq V] (G H : Digraph V) [DecidableRel G.Adj] [DecidableRel H.Adj] : Prop := digraph_is_extension G H ∧ ∀ (H' : Digraph V) [DecidableRel H'.Adj], digraph_is_extension G H' → H ≤ H' → (∑ v : V, digraph_expansion G (digraph_closed_out_nbr H {v})) ≤ (∑ v : V, digraph_expansion G (digraph_closed_out_nbr H' {v}))