Documentation

FormalConjecturesForMathlib.Combinatorics.SimpleGraph.Johnson

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$.

Equations
Instances For
    theorem SimpleGraph.johnson_adj (n k : ) (s t : { s : Finset (Fin n) // s.card = k }) :
    (johnson n k).Adj s t = ((s t).card + 1 = k)
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem SimpleGraph.johnson_adj_iff_ge {n k : } {s t : { s : Finset (Fin n) // s.card = k }} :
      (johnson n k).Adj s t s t k (s t).card + 1
      theorem SimpleGraph.not_johnson_adj_iff_lt {n k : } {s t : { s : Finset (Fin n) // s.card = k }} :
      ¬(johnson n k).Adj s t s = t (s t).card + 1 < k