lean2/library/data
Jeremy Avigad 92af727daf fix(library/data/real/{basic,division,order}: use notation for 0 and 1
These changes were needed because e.g. real.add_zero was "x + zero = x", and rewrite
would not match it to a goal "t + 0".

The fix was a lot harder than I expected. At first, migrate failed with resource
errors. In the end, what worked was this: I defined the coercion from num to real
directly (rather than infer num -> nat -> int -> rat -> real).

I still don't understand what the issues are, though. There are subtle issues with
numerals and coercions and migrate.

(We are not alone. Isabelle also suffers from the fact that there are too many
"zero"s and "one"s.)
2015-09-01 14:47:19 -07:00
..
examples refactor(library/data): rename fixed_list -> tuple 2015-08-13 16:45:34 -07:00
finset fix(library/data/finset,library/data/list): fixes #799 2015-08-15 09:49:40 -07:00
fintype refactor(library/algebra/group_power,library/*): change definition of pow 2015-08-14 18:49:57 -07:00
int refactor(library/data/int/basic): cleanup proof 2015-08-31 16:53:11 -10:00
list fix(library/data/finset,library/data/list): fixes #799 2015-08-15 09:49:40 -07:00
nat feat/refactor(library/theories/number_theory/irrational_roots,library/*): show nth roots irrational, and add lots of missing theorems 2015-08-16 23:23:23 -04:00
quotient refactor(library/logic): move logic/choice.lean to init/classical.lean 2015-08-12 18:37:33 -07:00
rat fix(library/data/real/{basic,division,order}: use notation for 0 and 1 2015-09-01 14:47:19 -07:00
real fix(library/data/real/{basic,division,order}: use notation for 0 and 1 2015-09-01 14:47:19 -07:00
set refactor(library/data/set/finite): make proof more robust 2015-08-31 17:26:24 -10:00
bag.lean refactor(library/logic): move logic/choice.lean to init/classical.lean 2015-08-12 18:37:33 -07:00
bool.lean refactor(library/data): cleanup proofs using new features 2015-07-21 09:57:10 -07:00
countable.lean refactor(library/algebra/function): move function.lean to init folder 2015-07-06 07:29:56 -07:00
data.md chore(library/data): update data.md 2015-06-25 17:30:12 -07:00
default.lean refactor(library/logic): move logic/choice.lean to init/classical.lean 2015-08-12 18:37:33 -07:00
empty.lean feaf(library): make sure basic standard library can be compiled with option "--to_axiom" 2015-07-29 16:11:23 -07:00
encodable.lean feat(library/data/encodable): show that the quotient A/R is encodable if A is encodable and R is decidable 2015-08-12 21:31:24 -07:00
equiv.lean feat(library/data): define perm as a special kind of equiv 2015-08-27 06:06:02 -10:00
fin.lean feat(library/data): define perm as a special kind of equiv 2015-08-27 06:06:02 -10:00
hf.lean refactor(library/data/hf): add local attribute to make proofs more robust 2015-08-31 17:06:54 -10:00
hlist.lean feat(frontends/lean): allow anonymous 'have'-expressions in tactic mode 2015-07-23 18:52:59 -07:00
matrix.lean feat(library/data/matrix): add basic matrix module 2015-08-01 19:33:31 +01:00
num.lean feat(library/data/num): show that num has decidable equality 2015-08-31 17:47:07 -10:00
option.lean refactor(library): simplify theorems using improved tactics 2015-05-25 10:43:28 -07:00
pnat.lean refactor(library/data/nat/sub,*): get rid of diff, tidy some max and min theorems 2015-08-03 22:41:56 -04:00
prod.lean refactor(library): use new 'suppose'-expression 2015-07-19 21:15:20 -07:00
sigma.lean refactor(library/*): do various renamings 2015-05-25 16:50:42 -07:00
squash.lean refactor(library/*): remove 'Module:' lines 2015-05-23 20:52:23 +10:00
stream.lean refactor(library/data): cleanup proofs using new features 2015-07-21 09:57:10 -07:00
string.lean refactor(library): simplify theorems using improved tactics 2015-05-25 10:43:28 -07:00
sum.lean refactor(library): simplify theorems using improved tactics 2015-05-25 10:43:28 -07:00
tuple.lean refactor(library/data): rename fixed_list -> tuple 2015-08-13 16:45:34 -07:00
unit.lean refactor(library/*): do various renamings 2015-05-25 16:50:42 -07:00
uprod.lean refactor(library/algebra/function): move function.lean to init folder 2015-07-06 07:29:56 -07:00