Finset.empty_diffs → Finset.empty_sdiffs
Finset.empty_diffs was deprecated on 2026-06-03 (first seen in v4.31.0), with Finset.empty_sdiffs as the replacement, and it is a Mathlib declaration again from v4.36.0.
Mathlib dropped the deprecated alias in v4.36.0, but the name still resolves in v4.36.0, so code that uses it compiles. It is a declaration of its own, not the old alias: check its statement and whether Finset.empty_sdiffs is what you want.
- Old name
- Finset.empty_diffs
- Use instead
- Finset.empty_sdiffs
- Module
- Mathlib.Data.Finset.Sups
- Deprecated
- 2026-06-03 (v4.31.0)
- Alias removed
- v4.36.0; the name is a declaration 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.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.