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

Imports (2)
Imported by 1 file
  1. def SimpleGraph.johnson The Johnson graph $J(n, k)$ has as vertices the $k$-subsets of an $n$-set line 33 source

    Source documentation

    The Johnson graph $J(n, k)$ has as vertices the $k$-subsets of an $n$-set. Two vertices are adjacent if their intersection has size $k - 1$.

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

    Statement uses: Nat, SimpleGraph, Subtype, Finset, Fin, Eq, Finset.card

    Proof uses: SimpleGraph.mk, HAdd.hAdd, Inter.inter, OfNat.ofNat

    8 instances, coercions and auxiliary constants left out.

    Tactic trace: 2 steps

    Open to load the checked before-and-after goal states.

    def johnson (n k : ℕ) : SimpleGraph {s : Finset (Fin n) // #s = k} where
    …
  2. lemma SimpleGraph.johnson_adj_iff_ge line 40 source

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

    Statement uses: Nat, Subtype, Finset, Fin, Eq, Finset.card, Iff, SimpleGraph.Adj, SimpleGraph.johnson, And, Ne, LE.le, HAdd.hAdd, Inter.inter, OfNat.ofNat

    Proof uses: Subtype.mk, Eq.mpr, Not, id, Eq.trans, congr, congrArg, SimpleGraph.johnson_adj, propext, le_antisymm_iff, congrFun', Subtype.mk.injEq, Iff.intro, False, Eq.mp, Finset.inter_self, LT.lt, Nat.add_one_le_iff, Eq.symm, Finset.card_lt_card_iff_of_subset and 5 more

    27 instances, coercions and auxiliary constants left out.

    Tactic trace: 16 steps

    Open to load the checked before-and-after goal states.

  3. lemma SimpleGraph.not_johnson_adj_iff_lt line 56 source

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

    Statement uses: Nat, Subtype, Finset, Fin, Eq, Finset.card, Iff, Not, SimpleGraph.Adj, SimpleGraph.johnson, Or, LT.lt, HAdd.hAdd, Inter.inter, OfNat.ofNat

    Proof uses: Eq.mpr, id, congrFun', congrArg, Eq.trans, LE.le, And, implies_congr, Eq.refl, Iff.intro, Decidable.not_or_of_imp, Iff.mpr, Classical.or_iff_not_imp_left, False.elim, Decidable.of_not_not

    27 instances, coercions and auxiliary constants left out.

    Tactic trace: 2 steps

    Open to load the checked before-and-after goal states.