SimpleGraph.set_walk_length_succ_eq → SimpleGraph.Walk.setOfPred_length_eq_add_one

SimpleGraph.set_walk_length_succ_eq is now SimpleGraph.Walk.setOfPred_length_eq_add_one: Mathlib deprecated on 2026-05-12 (first seen in v4.30.0).

The deprecated alias is still present in v4.36.0, so code that uses it compiles with a warning.

Old name
SimpleGraph.set_walk_length_succ_eq
Use instead
SimpleGraph.Walk.setOfPred_length_eq_add_one
Module
Mathlib.Combinatorics.SimpleGraph.Walk.Counting
Deprecated
2026-05-12 (v4.30.0)
Alias removed
still present in v4.36.0
Type changed?
not checked in this map: confirm with lake build
Answer from
Mathlib's @[deprecated] attribute (confidence 1), source in Mathlib v4.36.0

Scan your project for deprecated names

Look up another

19,673 deprecated Mathlib names, v4.0.0 to v4.36.0, each with the replacement, the module and the Mathlib commit it comes from (data at fc4f59e577). Scan a project to see which of them it uses.