FormalConjecturesForMathlib/Combinatorics/SimpleGraph/Johnson.lean
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
Imported by 1 file
- def
SimpleGraph.johnsonThe Johnson graph $J(n, k)$ has as vertices the $k$-subsets of an $n$-set line 33 sourceSource 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.cardProof uses:
SimpleGraph.mk,HAdd.hAdd,Inter.inter,OfNat.ofNat8 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 … - lemma
SimpleGraph.johnson_adj_iff_geline 40 sourcestandard 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.ofNatProof 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 more27 instances, coercions and auxiliary constants left out.
Tactic trace: 16 steps
Open to load the checked before-and-after goal states.
- lemma
SimpleGraph.not_johnson_adj_iff_ltline 56 sourcestandard 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.ofNatProof 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_not27 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.