digraph_out_boundary
def
For a finite directed graph G and a vertex subset X, the out-boundary ∂^+ X is the set difference between the closed out-neighborhood N_G^+[X] and X.
Statement
def digraph_out_boundary {V : Type*} [Fintype V] [DecidableEq V] (G : Digraph V) [DecidableRel G.Adj] (X : Finset V) : Finset V
- Defined in
- arXiv:2611.32872 p. 3
- Verified
- 25 Nov 2026
- Axioms
- none listed
- Built on 1
- 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…
- Used by 2
- digraph_residual_total_expansion_le_of_tournamentFor a finite type V with decidable equality and directed graphs G and H of type Digraph V with decidable adjacency relations, if G is…
- digraph_expansionFor a finite directed graph G and a vertex subset X, the expansion b(X) is the cardinality of the out-boundary ∂^+ X.
Read back from the Lean
digraph_out_boundary defines a function that, given a type V with [Fintype V] and [DecidableEq V], a directed graph G : Digraph V with decidable adjacency relation [DecidableRel G.Adj], and a finite subset X : Finset V, returns the finite set digraph_closed_out_nbr G X \ X (the set difference of the closed out-neighborhood of X and X itself).
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 out-boundary ∂⁺ X = N_G⁺[X] \ X of a vertex subset X in a digraph G. -/ def digraph_out_boundary {V : Type*} [Fintype V] [DecidableEq V] (G : Digraph V) [DecidableRel G.Adj] (X : Finset V) : Finset V := digraph_closed_out_nbr G X \ X