ComparatorChallenges/SeymourSecondNeighborhood.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: OpenAI's pinned repository says an unreleased internal model produced the manuscripts and supporting proof artifacts. The collection builds on the mathematics community's accumulated problems, results, language, and formal libraries; each manuscript's BibTeX and bibliography are the authority for individual scholarly credit.
Project sources: Pinned openai/math documentation, Pinned formalization catalogue
5 declarations, 1 contain sorry, 0 declared as axioms
- structure
OAI.SeymourSecondNeighborhood.IsOrientedline 10Also declared: OAI/Combinatorics/SecondNeighborhood/Model.lean:10 (same declaration text).
- def
OAI.SeymourSecondNeighborhood.firstNeighborsline 18Also declared: OAI/Combinatorics/SecondNeighborhood/Model.lean:18 (same declaration text).
- def
OAI.SeymourSecondNeighborhood.secondNeighborsline 22Also declared: OAI/Combinatorics/SecondNeighborhood/Model.lean:22 (same declaration text).
- def
OAI.SeymourSecondNeighborhood.GoodVertexline 27Also declared: OAI/Combinatorics/SecondNeighborhood/Model.lean:27 (same declaration text).
- theorem
OAI.SeymourSecondNeighborhood.exists_goodVertexChallenge statement: Seymour's second-neighborhood conjecture sorry line 34L4DEL explanation
every nonempty finite oriented graph has a vertex with at least as many vertices at directed distance two as at directed distance one
any tournament has a node whose outdegree is at least doubled in its square
Every nonempty finite oriented graph has a vertex whose second out-neighborhood is at least as large as its first out-neighborhood. Here "second" means directed distance exactly two: the vertex itself and vertices already reached in one step are excluded.
IsOrientedrequires a loopless asymmetric relation.firstNeighbors r vis the set of out-neighbors ofv;secondNeighbors r vcontains each vertex reached in two steps only when it is neithervnor already a first neighbor.GoodVertex r vis the cardinal inequality|N₁⁺(v)| ≤ |N₂⁺(v)|. The theorem assumes only that the finite vertex type is nonempty and the relation is oriented; it adds no connectivity or minimum-degree hypothesis, so a sink is allowed.- The manuscript argues by excluding a minimal counterexample, strengthening the deficit to subsets, passing to a graph product, and applying a pruning lemma. Those are proof ideas from the manuscript, not extra hypotheses encoded in this comparator statement. Its body is
sorry; the paired solution module isOAI.Combinatorics.SecondNeighborhood.Main.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f), OpenAI Seymour second-neighborhood manuscript, Pinned OpenAI formalization note 173, David C. Fisher (1996), tournament special case, abstract
Distinct definitions of this name: OAI/Combinatorics/SecondNeighborhood/Main.lean:11 (same statement text; different proof or body). Qualify references as OAI.SeymourSecondNeighborhood.exists_goodVertex@path.
oriented graph: a directed graph with no loops and no pair of oppositely directed edges
second out-neighborhood: vertices at directed distance exactly two, excluding the starting vertex and its first out-neighbors
theorem exists_goodVertex (r : V → V → Prop) (hr : IsOriented r) : ∃ v, GoodVertex r v := by …Mentions: OAI.SeymourSecondNeighborhood.IsOriented, OAI.SeymourSecondNeighborhood.GoodVertex