Mirror of https://github.com/leanprover/lean2 in case it ever disappears
Find a file
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
bin feat(bin/leanutil): start "compilation server" 2015-08-16 12:20:48 -07:00
doc refactor(library/data): rename fixed_list -> tuple 2015-08-13 16:45:34 -07:00
extras/latex fix(extras/latex/*): fix handling of attributes 2015-05-25 16:50:42 -07:00
hott feat(library,hott): add notation T1 : T2 as syntax sugar for (focus (T1; all_goals T2)) 2015-08-08 10:16:25 -07:00
images chore(CMakeLists.txt): move Lean logo to make sure we can test leanemacs without installing Lean 2015-01-31 17:38:49 -08:00
library fix(library/data/real/{basic,division,order}: use notation for 0 and 1 2015-09-01 14:47:19 -07:00
script feat(script/lib_perf): use gtime if time doesn't work 2015-07-02 11:04:16 -07:00
src fix(api): lean_ios_is_std returned incorrect result 2015-09-01 14:40:39 -07:00
tests fix(frontends/lean/notation_cmd): fixes #808 2015-08-31 18:05:58 -10:00
.gitignore chore(.gitignore): add compile_commands.json 2015-03-28 22:38:13 -04:00
.travis.osx.yml fix(.travis.osx.yml): explicitly turn on multi-thread support 2015-05-06 02:37:31 -04:00
.travis.windows.yml fix(.travis.windows.yml): use cmake-2.8.11.2 2015-05-05 17:17:37 -04:00
.travis.yml fix(.travis.yml): add missing ';'s 2015-05-13 17:52:39 -04:00
LICENSE Add LICENSE file 2013-07-15 18:55:48 -07:00
README.md chore(README): remove coveralls "badge" 2015-08-20 18:00:15 -07:00

logo

LicenseWindowsUbuntuOS XBuilds/Tests

Issue Stats Issue Stats

About

Requirements

Installing required packages at

Windows

Linux

OS X

Build Instructions

Miscellaneous