-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(data/real/cardinality): cardinalities of intervals of reals (#3252)
Use the existing result `mk_real` to deduce corresponding results for all eight kinds of intervals of reals. It's convenient for this result to add a new lemma to `data.set.intervals.image_preimage` about the image of an interval under `inv`. Just as there are only a few results there about images of intervals under multiplication rather than a full set, so I just added the result I needed rather than all the possible variants. (I think there are something like 36 reasonable variants of that lemma that could be stated, for (image or preimage - the same thing in this case, but still separate statements) x (interval in positive or negative reals) x (end closer to 0 is 0 (open), nonzero (open) or nonzero (closed)) x (other end is open, closed or infinite).)
- Loading branch information
Showing
3 changed files
with
93 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters