Mathlib Map

Theorems · Theorem · combinatorics

SimpleGraph.connected_iff_ediam_ne_top

∀ {α : Type u_1} {G : SimpleGraph α} [Nonempty α] [Finite α], G.Connected ↔ G.ediam ≠ ⊤

In a finite graph with nontrivial vertex set, the graph is connected if and only if the extended diameter is not . See connected_of_ediam_ne_top for one of the implications without the finiteness assumptions

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

Around this declaration

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

Cites11

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

Cited by1

Results whose statement or proof uses this declaration.