Commit 2026-11-04 01:08 12b8ea78
View on Github →refactor(Combinatorics/SimpleGraph): reuse leaf connectivity proof (#45091) While reviewing the graph API, I noticed that the proof of
Connected.induce_compl_singleton_of_degree_eq_one
can be shortened using
Preconnected.induce_of_degree_eq_one (s := {v}ᶜ)
The unique neighbor handles nonemptiness. This removes the duplicate proof and moves the lemma from Acyclic to Connectivity.Connected. No API changes required, and the lemma can be imported without Acyclic.