lean2/library/data/nat
Jeremy Avigad 4a36f843f7 refactor(library/algebra/group_power,library/*): change definition of pow
I changed the definition of pow so that a^(succ n) reduces to a * a^n rather than a^n * a.

This has the nice effect that on nat and int, where multiplication is defined by recursion on the right,
a^1 reduces to a, and a^2 reduces to a * a.

The change was a pain in the neck, and in retrospect maybe not worth it, but oh, well.
2015-08-14 18:49:57 -07:00
..
examples feat(library/tactic): use occurrence object in unfold tactic family 2015-07-11 18:53:45 -04:00
basic.lean feat(library): clean up "sorry"s in library 2015-07-24 12:21:33 -04:00
bigops.lean feat(library/data/nat/bigops,library/data/set/card,library/*): add set versions of bigops for nat 2015-08-08 17:20:23 -04:00
bquant.lean refactor(library/logic): move logic/choice.lean to init/classical.lean 2015-08-12 18:37:33 -07:00
default.lean fix(library/data): 'choose' -> 'find' renaming problems 2015-07-25 11:25:04 -07:00
div.lean feat(library/data/finset/equiv): show that (finset nat) is isomorphic to nat 2015-08-11 15:54:14 -07:00
fact.lean feat(library/theories/combinatorics/choose): begin theory of binomial coefficients 2015-07-11 19:01:43 -04:00
find.lean refactor(library/logic): move logic/choice.lean to init/classical.lean 2015-08-12 18:37:33 -07:00
gcd.lean feat(library): clean up "sorry"s in library 2015-07-24 12:21:33 -04:00
nat.md fix(library/data/nat/nat.md): add 'find' to markdown file 2015-07-27 07:46:59 -07:00
order.lean fix(library/data/nat/order): fixes #786 2015-08-09 23:36:07 -07:00
pairing.lean feat(library/data/list/comb): show that (list A) is isomorphic to A if A is isomorphic to nat 2015-08-10 16:04:02 -07:00
parity.lean feat(library/data/nat/parity): add auxiliary lemma 2015-08-11 14:20:58 -07:00
power.lean refactor(library/algebra/group_power,library/*): change definition of pow 2015-08-14 18:49:57 -07:00
sqrt.lean feat(library/data/list/comb): show that (list A) is isomorphic to A if A is isomorphic to nat 2015-08-10 16:04:02 -07:00
sub.lean refactor(library/data/nat/sub,*): get rid of diff, tidy some max and min theorems 2015-08-03 22:41:56 -04:00