FormalConjecturesForMathlib/Combinatorics/SimpleGraph/SpanningTree.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

1 declarations, 0 contain sorry, 0 declared as axioms

Imports (2)
Imported by 1 file
  1. def SimpleGraph.Ls Ls G is the maximum number of leaves over all spanning trees of G line 30 source

    Source documentation

    Ls G is the maximum number of leaves over all spanning trees of G. It is defined to be 0 when G is not connected.

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

    Statement uses: Fintype, SimpleGraph, DecidableRel, SimpleGraph.Adj, Real

    Proof uses: SupSet.sSup, Set.image, SimpleGraph.Subgraph, Finset.card, Finset.filter, Eq, Nat, SimpleGraph.Subgraph.degree, Membership.mem, Set, SimpleGraph.Subgraph.verts, Classical.propDecidable, SimpleGraph.Subgraph.Adj, OfNat.ofNat, Set.toFinset, Set.ofPred, And, SimpleGraph.Subgraph.IsSpanning, SimpleGraph.IsTree, SimpleGraph.Subgraph.coe

    10 instances, coercions and auxiliary constants left out.

    noncomputable def Ls (G : SimpleGraph α) [DecidableRel G.Adj] : ℝ :=
    …