FormalConjecturesForMathlib/Combinatorics/SimpleGraph/Circumference.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: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.

Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1

3 declarations, 0 contain sorry, 0 declared as axioms

Cycle lengths and circumference

The cycle lengths and the longest cycle length of a graph.

Imports (3)
Imported by 1 file
  1. def SimpleGraph.cycleLengths G.cycleLengths is the set of lengths of the cycles in G line 33 source

    Source documentation

    G.cycleLengths is the set of lengths of the cycles in G.

    no axioms what this means

    Statement uses: SimpleGraph, Set, Nat

    Proof uses: Set.ofPred, Exists, SimpleGraph.Walk, And, SimpleGraph.Walk.IsCycle, Eq, SimpleGraph.Walk.length

    def cycleLengths {α : Type*} (G : SimpleGraph α) : Set ℕ :=
    …
  2. def SimpleGraph.oddCycleLengths G.oddCycleLengths is the set of lengths of odd cycles in G line 37 source

    Source documentation

    G.oddCycleLengths is the set of lengths of odd cycles in G.

    standard axioms: propext what this means

    Statement uses: SimpleGraph, Set, Nat

    Proof uses: Set.ofPred, And, Membership.mem, SimpleGraph.cycleLengths, Odd

    2 instances, coercions and auxiliary constants left out.

    def oddCycleLengths {α : Type*} (G : SimpleGraph α) : Set ℕ :=
    …
  3. def SimpleGraph.circumference circumference G is the length of the longest cycle in G line 44 source

    Source documentation

    circumference G is the length of the longest cycle in G. It is 0 when G is acyclic.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: SimpleGraph, DecidableRel, SimpleGraph.Adj, Nat

    Proof uses: SupSet.sSup, SimpleGraph.cycleLengths

    1 instances, coercions and auxiliary constants left out.

    noncomputable def circumference (G : SimpleGraph α) [DecidableRel G.Adj] : ℕ :=
    …