FormalConjecturesForMathlib/Combinatorics/SimpleGraph/Cvetkovic.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 (4)
Imported by 1 file
  1. def SimpleGraph.cvetkovic Documented declaration: cvetkovic line 35 source

    Source documentation

    Given a simple graph G with adjacency matrix A, this is the number n₀ + min n₊ n₋ where:

    • n₀ is the multiplicity of zero as an eigenvalue of A
    • n₊ is the number of positive eigenvalues of A (counting multiplicities)
    • n₋ is the number of negative eigenvalues of A (counting multiplicities)

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

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

    Proof uses: HAdd.hAdd, Multiset.countP, Real, Eq, OfNat.ofNat, Polynomial.roots, Matrix.charpoly, SimpleGraph.adjMatrix, Min.min, LT.lt, GT.gt

    11 instances, coercions and auxiliary constants left out.

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