You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the revival of an old PR in former repository.
We add two axioms in NatInt to restrict the models to exactly the
integers and the natural numbers (with `pred 0 = 0`). This allows
us to prove lemmas such as `sub_succ` and then prove many properties of
`sub` which are shared between the natural numbers and the integers.
The Natural and Integer parts of Numbers are modified in consequence.
The result should be completely compatible except for `mul_sub_distr_l`
which had different variable names in Integers and Natural (we chose to
keep it as it was in Integers).
We also remove references to old NZAxiomsSig modules.
This needs more polishing, so still a draft:
- the case of `mul_sub_distr_l` should be decided
- removing some `Private_` lemmas is possible (e.g. with `Let`), this
would result in a cleaner PR
- check exactly the before/after for a user importing PeanoNat, etc
0 commit comments