lean2/library/data/nat
Leonardo de Moura 3657d4c3ab feat(frontends/lean): coercion num -> int even when nat is not open, closes #219
I also had to mark the coercions as reducible.
Otherwise, given the constraint

          ?M (int.of_num 0) =?= (int.of_nat (nat.to_nat 0))

the unifier will not generate the solution

          ?M := fun x, x
2014-10-01 11:09:10 -07:00
..
basic.lean feat(frontends/lean): coercion num -> int even when nat is not open, closes #219 2014-10-01 11:09:10 -07:00
default.lean refactor(library): remove unnecessary 'standard' subdirectory 2014-08-23 18:08:09 -07:00
div.lean feat(frontends/lean): add 'reducible' modifier for controlling which 2014-09-19 15:54:32 -07:00
nat.md refactor(library): remove unnecessary 'standard' subdirectory 2014-08-23 18:08:09 -07:00
order.lean refactor(library): mark 'decidable' theorems as definitions 2014-09-30 09:02:37 -07:00
sub.lean feat(frontends/lean): add 'irreducible' as syntax sugar for 'reducible [off]' 2014-09-19 15:54:32 -07:00