mathlib4
mathlib4 copied to clipboard
feat: add `image_restrictPreimage`
trafficstars
- add the theorem
image_restrictPreimage; use it to simplify the proof ofSet.restrictPreimage_isClosedMap - add the equivalent for open maps
Set.restrictPreimage_isOpenMap. - delete
IsClosedMap.restrictPreimage, which duplicatesSet.restrictPreimage_isClosedMap
This PR adds the theorem image_restrictPreimage and uses it to simplify the proof of Set.restrictPreimage_isClosedMap. It also adds the equivalent for open maps Set.restrictPreimage_isOpenMap.
The duplicate IsClosedMap.restrictPreimage of Set.restrictPreimage_isClosedMap has been deleted.