OctoInform Beta

OpenAI preprint, September 2026 · §1. Introduction

§1 (Setting): Definitions of N1+(v)N_1^+(v), N2+(v)N_2^+(v), Seymour vertices, and FD(S)F_D(S), with N2+(v)=FD2({v})\FD({v})N_2^+(v) = F_D^2(\{v\}) \setminus F_D(\{v\}) for oriented graphs

Oriented graphs, out-neighborhoods, and Seymour’s second-neighborhood conjecture.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

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 DD be a directed graph on a finite vertex set V(D)V(D) with arc relation written u→vu \to v when there is an arc from uu to vv. The directed graph DD is an oriented graph if its arc relation is irreflexive, meaning v↛vv \not\to v for every v∈V(D)v \in V(D), and asymmetric, meaning that whenever u→vu \to v we have v↛uv \not\to u.✦

For a vertex v∈V(D)v \in V(D), the first out-neighborhood N1+(v)⊆V(D)N_1^+(v) \subseteq V(D) is the set of vertices reached from vv by a single arc, defined by (1): N1+(v)={u∈V(D):v→u}.N_1^+(v) = \{u \in V(D) : v \to u\}.(1)✦ The second out-neighborhood N2+(v)⊆V(D)N_2^+(v) \subseteq V(D) is the set of vertices outside {v}∪N1+(v)\{v\} \cup N_1^+(v) reached from vv by a directed path of length two, defined by (2): N2+(v)={w∈V(D):w∉{v}∪N1+(v)and ∃u∈V(D),v→u→w}.\begin{aligned} N_2^+(v) = \{\, w \in V(D) :\ &w \notin \{v\} \cup N_1^+(v) \\ &\text{and } \exists u \in V(D),\, v \to u \to w \,\}. \end{aligned}(2)✦ A vertex v∈V(D)v \in V(D) is a Seymour vertex of DD if |N1+(v)|≤|N2+(v)||N_1^+(v)| \le |N_2^+(v)|.✦

For a vertex subset S⊆V(D)S \subseteq V(D), the one-step out-image FD(S)⊆V(D)F_D(S) \subseteq V(D) is the set of out-neighbors of vertices in SS, defined by (3): FD(S)={y∈V(D):∃x∈S,x→y}.F_D(S) = \{y \in V(D) : \exists x \in S,\, x \to y\}.(3)✦ Its two-step iterate is FD2(S)=FD(FD(S))F_D^2(S) = F_D(F_D(S)).

The claim

Definition. A directed graph DD on a finite vertex set V(D)V(D) satisfies Seymour’s second-neighborhood conjecture if DD has a Seymour vertex, that is, there exists a vertex v∈V(D)v \in V(D) such that |N1+(v)|≤|N2+(v)|.|N_1^+(v)| \le |N_2^+(v)|.(4)✦

Theorem. Let DD be an oriented graph on a finite vertex set V(D)V(D). For every vertex v∈V(D)v \in V(D), N2+(v)=FD2({v})\FD({v}).N_2^+(v) = F_D^2(\{v\}) \setminus F_D(\{v\}).(5)✦

What is checked

In the Lean library, Seymour’s second-neighborhood conjecture (4) is stated as a property of an arbitrary directed graph DD on a finite vertex set V(D)V(D), built from its first and second out-neighborhoods N1+(v)N_1^+(v) and N2+(v)N_2^+(v) and the notion of a Seymour vertex. The identity (5) is stated for every vertex vv of an oriented graph DD on a finite vertex set V(D)V(D), using the irreflexive and asymmetric arc relation and the one-step out-image operator FDF_D.