Mathlib Map

Theorems · Theorem · combinatorics

SimpleGraph.connected_iff_diam_ne_zero

∀ {α : Type u_1} {G : SimpleGraph α} [Finite α] [Nontrivial α], G.Connected ↔ G.diam ≠ 0

A finite and nontrivial graph is connected if and only if its diameter is not zero. See also connected_iff_ediam_ne_top for the extended diameter version.

Defined in
Mathlib.Combinatorics.SimpleGraph.Diam
Cited by
0 results in Mathlib
Foundations
Depth 83 from the axioms · uses propext, Classical.choice, Quot.sound
Assumes
FiniteNontrivial

Around this declaration

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

Cites10

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

Cited by0

Results whose statement or proof uses this declaration.

Nothing cites this yet.