Commit 2026-07-20 01:34 169c26b5

View on Github →

refactor: rename restrict to domRestrict (#25980) Update the documentation for consistency, and to contrast with codRestrict which is prevalent.

Estimated changes

deleted theorem Set.codRestrict_restrict
added def Set.domRestrict
added theorem Set.domRestrict_apply
added theorem Set.domRestrict_def
added theorem Set.domRestrict_dite
added theorem Set.domRestrict_eq
added theorem Set.domRestrict_eq_iff
added theorem Set.domRestrict_id
added theorem Set.domRestrict_ite
added theorem Set.domRestrict₂_def
added theorem Set.eq_domRestrict_iff
deleted theorem Set.eq_restrict_iff
added theorem Set.image_domRestrict
deleted theorem Set.image_restrict
modified theorem Set.injOn_iff_injective
added theorem Set.range_domRestrict
deleted theorem Set.range_restrict
deleted def Set.restrict
deleted theorem Set.restrict_apply
deleted theorem Set.restrict_def
deleted theorem Set.restrict_dite
deleted theorem Set.restrict_dite_compl
deleted theorem Set.restrict_eq
deleted theorem Set.restrict_eq_iff
deleted theorem Set.restrict_extend_range
deleted theorem Set.restrict_id
deleted theorem Set.restrict_ite
deleted theorem Set.restrict_ite_compl
deleted theorem Set.restrict_piecewise
deleted def Set.restrict₂
deleted theorem Set.restrict₂_def
modified theorem Set.surjOn_iff_surjective