CategoryTheory.ObjectProperty.IsStableUnderRetracts.containsZero → CategoryTheory.ObjectProperty.IsStableUnderRetracts.instContainsZeroOfHasZeroObjectOfNonempty

CategoryTheory.ObjectProperty.IsStableUnderRetracts.containsZero is now CategoryTheory.ObjectProperty.IsStableUnderRetracts.instContainsZeroOfHasZeroObjectOfNonempty: Mathlib deprecated on 2026-04-03 (first seen in v4.30.0).

Mathlib removed the deprecated alias in v4.36.0, so code that still uses it fails to compile from that release on. The replacement was read from the deprecation message, not from a declaration the parser could confirm, so check its type before you rely on it.

Old name
CategoryTheory.ObjectProperty.IsStableUnderRetracts.containsZero
Use instead
CategoryTheory.ObjectProperty.IsStableUnderRetracts.instContainsZeroOfHasZeroObjectOfNonempty
Module
Mathlib.CategoryTheory.ObjectProperty.Retract
Deprecated
2026-04-03 (v4.30.0)
Alias removed
v4.36.0
Type changed?
not checked in this map: confirm with lake build
Answer from
Mathlib's @[deprecated] attribute (read from the notice text, confidence 0.7), source in Mathlib v4.35.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.