The setting
In a finite directed graph without loops or opposite arcs, one compares the number of vertices reachable from a given vertex in one step with the number of vertices at directed distance exactly two. Seymour’s second-neighborhood conjecture concerns the existence of a vertex for which the second count is at least the first, and the set-valued out-image operator expresses both neighborhoods in terms of vertex subsets.
Oriented graphs and out-neighborhoods
Let be a directed graph on a finite vertex set with arc relation written when there is an arc from to . The directed graph is an oriented graph if its arc relation is irreflexive, meaning for every , and asymmetric, meaning that whenever we have .✦
For a vertex , the first out-neighborhood is the set of vertices reached from by a single arc, defined by (1): (1)✦ The second out-neighborhood is the set of vertices outside reached from by a directed path of length two, defined by (2): (2)✦ A vertex is a Seymour vertex of if .✦
For a vertex subset , the one-step out-image is the set of out-neighbors of vertices in , defined by (3): (3)✦ Its two-step iterate is .
The claim
Definition. A directed graph on a finite vertex set satisfies Seymour’s second-neighborhood conjecture if has a Seymour vertex, that is, there exists a vertex such that (4)✦
Theorem. Let be an oriented graph on a finite vertex set . For every vertex , (5)✦
What is checked
In the Lean library, Seymour’s second-neighborhood conjecture (4) is stated as a property of an arbitrary directed graph on a finite vertex set , built from its first and second out-neighborhoods and and the notion of a Seymour vertex. The identity (5) is stated for every vertex of an oriented graph on a finite vertex set , using the irreflexive and asymmetric arc relation and the one-step out-image operator .