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

2 declarations, 0 contain sorry, 0 declared as axioms

Imports (2)
Imported by 1 file
  1. def SimpleGraph.IsUniqueSubgraph G is a unique subgraph of H if there is exactly one subgraph of H isomorphic to G line 30 source

    Source documentation

    G is a unique subgraph of H if there is exactly one subgraph of H isomorphic to G. Subgraphs of H are taken in the spanning sense: elements G' ≤ H of the lattice SimpleGraph V, i.e. subsets of the edges of H (not necessarily induced).

    standard axioms: Quot.sound what this means

    Statement uses: SimpleGraph

    Proof uses: ExistsUnique, And, LE.le, Nonempty, SimpleGraph.Iso

    1 instances, coercions and auxiliary constants left out.

    def IsUniqueSubgraph (G H : SimpleGraph V) : Prop :=
    …
  2. def SimpleGraph.uniqueSubgraphCount The number of distinct unique subgraphs of H: the number of isomorphism classes of graphs that occur exactly once as a subgraph of H line 37 source

    Source documentation

    The number of distinct unique subgraphs of H: the number of isomorphism classes of graphs that occur exactly once as a subgraph of H. Each such class contains exactly one subgraph G ≤ H (uniqueness forbids a second isomorphic copy), so counting those representatives counts the classes.

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

    Statement uses: SimpleGraph, Nat

    Proof uses: Set.ncard, Set.ofPred, And, LE.le, SimpleGraph.IsUniqueSubgraph

    1 instances, coercions and auxiliary constants left out.

    noncomputable def uniqueSubgraphCount (H : SimpleGraph V) : ℕ :=
    …