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

Decidable adjacency in box products

Adjacency in G □ H is decidable when adjacency in G and H is and the vertex types have decidable equality. This lets decide handle finite questions about box products.

Imports (1)
Imported by 1 file
  1. instance SimpleGraph.boxProd.decidableRel Adjacency in a box product of graphs with decidable adjacency is decidable line 34 source

    Source documentation

    Adjacency in a box product of graphs with decidable adjacency is decidable.

    standard axioms: Quot.sound, propext what this means

    Statement uses: DecidableEq, SimpleGraph, DecidableRel, SimpleGraph.Adj, Prod, SimpleGraph.boxProd

    Proof uses: decidable_of_iff, Or, And, Prod.fst, Eq, Prod.snd

    3 instances, coercions and auxiliary constants left out.

    instance boxProd.decidableRel [DecidableRel G.Adj] [DecidableRel H.Adj] :
        DecidableRel (G □ H).Adj :=
    …