Mathlib Map

Theorems · Theorem · combinatorics

SimpleGraph.sum_degrees_eq_twice_card_edges

∀ {V : Type u} (G : SimpleGraph V) [inst : Fintype V] [inst_1 : DecidableRel G.Adj],
  ∑ v, G.degree v = 2 * G.edgeFinset.card

The degree-sum formula. This is also known as the handshaking lemma, which might more specifically refer to SimpleGraph.even_card_odd_degree_vertices.

Defined in
Mathlib.Combinatorics.SimpleGraph.DegreeSum
Cited by
4 results in Mathlib
Foundations
Depth 80 from the axioms · uses propext, Classical.choice, Quot.sound
Assumes
FintypeDecidableRel

Around this declaration

Dashed lines are statement dependencies; solid lines are citations in proofs.

Cites13

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

Cited by4

Results whose statement or proof uses this declaration.