Commit graph

10090 commits

Author SHA1 Message Date
Leonardo de Moura
8730def4f9 feat(library/init): add basic algebra 2016-09-30 20:51:22 -07:00
Leonardo de Moura
93692d01af feat(library/init/binary): add basic binary properties 2016-09-30 20:26:22 -07:00
Leonardo de Moura
c0022253a7 feat(frontends/lean/tactic_notation): allow lemmas to be removed 2016-09-30 19:53:51 -07:00
Leonardo de Moura
fd6dc8154a feat(library/init/meta/interactive): add interactive tactics 2016-09-30 19:02:45 -07:00
Leonardo de Moura
d627011786 feat(frontends/lean/tactic_notation): do is tactic unit in begin end blocks. 2016-09-30 16:35:45 -07:00
Leonardo de Moura
051b6bd026 feat(frontends/lean/tactic_notation): add notation for entering auto-quotation mode 2016-09-30 16:18:52 -07:00
Leonardo de Moura
9ea858e6fe feat(frontends/lean/tactic_notation): nested interactive tactics 2016-09-30 14:53:07 -07:00
Leonardo de Moura
23ce2b0587 feat(frontends/lean/tactic_notation, library/init/meta/interactive): add "interactive" versions of define/assert/definev/assertv/note tactics 2016-09-29 18:48:32 -07:00
Leonardo de Moura
572751c56e feat(frontends/lean): force user to use meta keyword on meta inductive/structure/class
Before this commit, we were inferring whether an
inductive/structure/class were meta or not. This was bad since the user
had no clue whether the type was trusted (non meta) or not.
Moreover, users could get confused by this behavior and assume the
kernel was allowing trusted code to rely on untrusted one.
2016-09-29 17:56:35 -07:00
Sebastian Ullrich
515da8bbb7 fix(emacs): don't pass --lean option 2016-09-29 15:29:19 -07:00
Sebastian Ullrich
ecb6f56e3f chore(emacs): update README 2016-09-29 15:29:19 -07:00
Sebastian Ullrich
76566adeb5 feat(emacs): integrate lean-next-error-mode 2016-09-29 15:29:19 -07:00
Soonho Kong
b7a95bf16c feat(emacs/lean-input.el): add exclude-list to lean-input-export-translations 2016-09-29 15:29:19 -07:00
Sebastian Ullrich
220fdbe7c6 fix(emacs): set pp.width to column width instead of buffer width of flycheck error list 2016-09-29 15:29:19 -07:00
Jeremy Avigad
2c72bd2dfb chore(README.md): add link to Emacs mode information. Closes #1046. 2016-09-29 15:29:19 -07:00
Jeremy Avigad
66969328a2 feat(src/emacs/README.md): add more information about key bindings and commands 2016-09-29 15:29:18 -07:00
Sebastian Ullrich
e3e4f6d648 fix(emacs/lean-mode.el): invoke lean from project root if existent 2016-09-29 15:29:18 -07:00
Leonardo de Moura
5726d45e7f fix(frontends/lean/elaborator): bad error msg 2016-09-29 15:23:20 -07:00
Leonardo de Moura
f97e238b8e feat(frontends/lean/elaborator): decorate error messages when overloads are used 2016-09-29 15:00:45 -07:00
Leonardo de Moura
f2e8b8794c feat(frontends/lean/elaborator): display error when failed to elaborate using expected type 2016-09-29 11:55:05 -07:00
Leonardo de Moura
ceeebb7e40 feat(frontends/lean/elaborator): improve error messages for eliminators 2016-09-29 11:29:59 -07:00
Leonardo de Moura
c8a720212b feat(frontends/lean): 'by' is now also using interactive mode syntax 2016-09-29 01:57:40 -07:00
Leonardo de Moura
cb248bddb5 feat(library/init/meta/interactive): improve rewrite tactic interface in "interactive" mode 2016-09-28 21:56:11 -07:00
Leonardo de Moura
018d73ce84 feat(library/tactic/rewrite_tactic): improve error message 2016-09-28 21:17:57 -07:00
Leonardo de Moura
84b45b010a feat(frontends/lean/elaborator): improve overloading support 2016-09-28 20:54:11 -07:00
Leonardo de Moura
1f07e87bc2 refactor(frontends/lean/elaborator): add first_pass_info struct 2016-09-28 20:54:10 -07:00
Leonardo de Moura
01aebdf818 fix(tests/lean/ctx_error_msgs): avoid internal ids 2016-09-28 20:54:10 -07:00
Leonardo de Moura
4a5d881c50 feat(library/type_context): better error messages 2016-09-28 15:59:43 -07:00
Leonardo de Moura
92373bb749 feat(library/type_context): universe constraint postponement 2016-09-28 15:30:14 -07:00
Leonardo de Moura
978f1d1bea feat(library/init/logic): add universe lifting operation 2016-09-28 11:37:05 -07:00
Leonardo de Moura
0ab46c2506 chore(library/type_context): simplify 2016-09-28 11:33:15 -07:00
Leonardo de Moura
3a3c43f381 refactor(library/init): move unification_hint structure to init folder 2016-09-28 09:35:19 -07:00
Leonardo de Moura
0ba92e4885 feat(tests/lean/run/dep_coe_to_fn3): another dep fn coe test 2016-09-28 09:34:51 -07:00
Leonardo de Moura
fa252019f6 chore(library/print): clang++ compilation warning 2016-09-28 09:11:37 -07:00
Leonardo de Moura
e5ba0d7733 chore(*): cleanup 2016-09-27 17:30:57 -07:00
Leonardo de Moura
16c9fd8c9d chore(doc/bin/README): update doc 2016-09-27 17:20:57 -07:00
Leonardo de Moura
d59410cc41 refactor(kernel): support only proof irrelevant mode 2016-09-27 17:18:52 -07:00
Leonardo de Moura
d0d75c0923 refactor(kernel): reduce number of configurations supported in the kernel
Now, eta and impredicativity are assumed to be always true.

Motivation: the rest of the system assumes eta.
Regarding impredicativity, we decided to support only the standard library.
2016-09-27 17:07:01 -07:00
Leonardo de Moura
fb6651adb1 chore(doc/intro): delete old doc 2016-09-27 16:35:54 -07:00
Leonardo de Moura
9ef3ebbd5b refactor(*): delete HoTT support 2016-09-27 16:33:39 -07:00
Leonardo de Moura
1d83939cc8 test(tests/lean/run): add more tests for coercion to function 2016-09-27 16:10:50 -07:00
Leonardo de Moura
d4ed8baf3c chore(util/thread): mark global as static 2016-09-27 15:53:49 -07:00
Leonardo de Moura
d7c3fce8a3 feat(library/init/coe,frontends/lean): more general coercions to fun
The new test dep_coe_to_fn.lean motivates the change.
2016-09-27 15:41:06 -07:00
Leonardo de Moura
09bf8921fe chore(library/init/meta/interactive): improve error message 2016-09-27 14:55:10 -07:00
Gabriel Ebner
d0ab6065c3 fix(frontends/lean): type check examples 2016-09-27 14:39:55 -07:00
Leonardo de Moura
c6ec659bf5 feat(frontends/lean): improve 'begin...end' blocks 2016-09-27 13:34:11 -07:00
Leonardo de Moura
6207dd0346 refactor(library/init): simplify has_emptyc type class 2016-09-27 10:03:57 -07:00
Leonardo de Moura
c6609543d0 chore(library/init): minor changes 2016-09-27 07:23:51 -07:00
Leonardo de Moura
6e6609f2aa fix(frontends/lean): use coercions to sort at elaborate_type 2016-09-26 16:47:31 -07:00
Leonardo de Moura
8b110dec8d fix(library/type_context): use scope_trace_env in trace msgs 2016-09-26 16:25:30 -07:00