simple_graph_maxDegree_le_succ
If a finite simple graph G has maximum degree at most k, then its maximum degree is at most k + 1.
Statement
theorem simple_graph_maxDegree_le_succ {V : Type*} [Fintype V] (G : SimpleGraph V) [DecidableRel G.Adj] {k : ℕ} (h : G.maxDegree ≤ k) : G.maxDegree ≤ k + 1
- Source
- folklore
- Verified
- 19 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext
Read back from the Lean
For every finite type V, every simple graph G on V with decidable adjacency, and every natural number k, if the maximum degree of G is at most k, then the maximum degree of G is at most k + 1.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
The proof, explained
The claim follows directly from the transitivity/monotonicity of the order on natural numbers: since the maximum degree of G is at most k, it is also at most k + 1 by Nat.le_succ_of_le.
The maximum degree of G is at most k + 1.
Applying the monotonicity of the successor function on natural numbers (`Nat.le_succ_of_le`) to the hypothesis `h : G.maxDegree ≤ k` directly yields `G.maxDegree ≤ k + 1`.
uses
Nat.le_succ_of_le{k : ℕ} (h : G.maxDegree ≤ k) : G.maxDegree ≤ k + 1 := Nat.le_succ_of_le h
Nat.le_succ_of_le- If n ≤ m for natural numbers n and m, then n ≤ m + 1 (the successor of m).
Written by a model (gemini-3.8-flash) from the Lean source alone (no goal states were available). Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
/-- A graph with maxDegree ≤ k also satisfies maxDegree ≤ k + 1. -/theorem simple_graph_maxDegree_le_succ {V : Type*} [Fintype V] (G : SimpleGraph V) [DecidableRel G.Adj] {k : ℕ} (h : G.maxDegree ≤ k) : G.maxDegree ≤ k + 1 := Nat.le_succ_of_le h