ComparatorChallenges/SeymourSecondNeighborhood.lean

GitHub source file

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

  1. structure OAI.SeymourSecondNeighborhood.IsOriented line 10

    Also declared: OAI/Combinatorics/SecondNeighborhood/Model.lean:10 (same declaration text).

  2. def OAI.SeymourSecondNeighborhood.firstNeighbors line 18

    Also declared: OAI/Combinatorics/SecondNeighborhood/Model.lean:18 (same declaration text).

  3. def OAI.SeymourSecondNeighborhood.secondNeighbors line 22

    Also declared: OAI/Combinatorics/SecondNeighborhood/Model.lean:22 (same declaration text).

  4. def OAI.SeymourSecondNeighborhood.GoodVertex line 27

    Also declared: OAI/Combinatorics/SecondNeighborhood/Model.lean:27 (same declaration text).

  5. theorem OAI.SeymourSecondNeighborhood.exists_goodVertex Challenge statement: Seymour's second-neighborhood conjecture sorry line 34

    L4DEL 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.

    1. IsOriented requires a loopless asymmetric relation. firstNeighbors r v is the set of out-neighbors of v; secondNeighbors r v contains each vertex reached in two steps only when it is neither v nor already a first neighbor.
    2. GoodVertex r v is 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.
    3. 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 is OAI.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