-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rat is countable #435
rat is countable #435
Conversation
0155b21
to
4fbf02a
Compare
(* nat_of_rat == injection from rat to nat *) | ||
(* rat_of_nat == cancel function for nat_of_rat *) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that pickle
and unpickle
already do that...
https://github.com/math-comp/math-comp/blob/6c66f38e8312624d866050284ec2591e85c96c11/mathcomp/ssreflect/choice.v#L14-L15
@@ -57,7 +58,7 @@ Unset Printing Implicit Defensive. | |||
Reserved Notation "'`I_' n" (at level 8, n at level 2, format "'`I_' n"). | |||
Reserved Notation "A '#<=' B" (at level 79, format "A '#<=' B"). | |||
|
|||
Import Order.TTheory. | |||
Import Order.TTheory GRing.Theory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This import does not have to be in the begining, it can be contained in a section.
@@ -45,6 +45,9 @@ | |||
- in `normedtype.v`: | |||
+ lemmas `ereal_is_cvgN`, `ereal_cvgZr`, `ereal_is_cvgZr`, `ereal_cvgZl`, `ereal_is_cvgZl`, | |||
`ereal_limZr`, `ereal_limZl`, `ereal_limN` | |||
- in `cardinality.v`: | |||
+ definitions `pair_of_nat`, `nat_of_rat`, `rat_of_nat` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+ definitions `pair_of_nat`, `nat_of_rat`, `rat_of_nat` | |
+ definitions `nat_of_pair`, `nat_of_rat`, `rat_of_nat` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will disappear anyway
4fbf02a
to
4f74c31
Compare
f9b5f0f
to
107c6b3
Compare
b6361a9
to
3e2e42b
Compare
- remove lemmas from documentation - replace cases on boolP with eqVneq when possible - replace O with 0%N
3e2e42b
to
2295676
Compare
Closed by #543 |
The functions between nat and rat are used to establish measurability of a (countable) union over the set of rationals
in the formalization of measure theory.