Leonardo de Moura
c21555240a
chore(library/tactic): remove more stuff
2018-08-23 15:20:07 -07:00
Leonardo de Moura
646cdfdf40
chore(library/init/meta): remove well_founded_tactics
2018-08-23 15:14:22 -07:00
Leonardo de Moura
5f65b3a6f1
chore(library/tactic): remove unused bindings
2018-08-23 15:04:23 -07:00
Leonardo de Moura
e2b912237d
chore(library/native_compiler): remove leftovers
2018-08-23 14:58:57 -07:00
Leonardo de Moura
a7f6d1d38d
chore(library/tactic): remove tactic/eval.cpp and tactic/gexpr.cpp
2018-08-23 14:54:41 -07:00
Leonardo de Moura
22101a2c55
chore(library/tactic): remove assert_tactic and change_tactic
2018-08-23 14:50:55 -07:00
Leonardo de Moura
05a6d8a791
chore(library/tactic): remove destruct_tactic, generalize_tactic and fun_info_tactics
2018-08-23 14:47:51 -07:00
Leonardo de Moura
8434f43146
chore(library/init/meta): remove interactive.lean
2018-08-23 14:41:47 -07:00
Leonardo de Moura
973eb89e40
chore(library/init/meta/lean): remove old parser support
2018-08-23 14:39:10 -07:00
Leonardo de Moura
d405e54a6f
chore(library/init/meta/tactic): reduce tactic.lean
2018-08-23 14:37:40 -07:00
Leonardo de Moura
ed5d884d8f
chore(library/tactic): remove app_builder_tactics
2018-08-23 14:22:00 -07:00
Leonardo de Moura
a6604dcf56
chore(library/tactic): remove rewrite and apply and interactive tactics
2018-08-23 14:18:16 -07:00
Leonardo de Moura
7a47406c4c
chore(library/tactic): remove simp_lemmas
2018-08-23 14:10:36 -07:00
Leonardo de Moura
88c8c560a9
chore(library/equations_compiler): do not generate equation lemmas
2018-08-23 14:04:37 -07:00
Leonardo de Moura
3abcd0c9e8
chore(frontends/lean/elaborator): remove invoke_tactic
2018-08-23 13:49:47 -07:00
Leonardo de Moura
69734dfb3a
chore(tests/lean): fix tests
2018-08-23 13:49:07 -07:00
Leonardo de Moura
e5c3f04937
chore(frontends/lean): remove tactic notation
2018-08-23 13:44:52 -07:00
Leonardo de Moura
d27ef3d3b0
chore(frontends/lean/builtin_cmds): remove tactic framework dependency
2018-08-23 13:34:38 -07:00
Leonardo de Moura
d0f6bbdf02
chore(tests/lean): replace run_cmd with #eval
2018-08-23 13:32:25 -07:00
Leonardo de Moura
a1fffb2c9d
chore(tests/lean/fail/run_command): obsolete test
2018-08-23 13:30:07 -07:00
Leonardo de Moura
22ba0a1155
chore(library): remove inverse.cpp
...
We used this module to implement inductive_compiler pack/unpack functions
2018-08-23 13:16:27 -07:00
Leonardo de Moura
8e351d46a1
chore(library/equations_compiler): remove support for pack/unpack
...
We don't need it anymore because we removed inductive_compiler/nested.cpp
2018-08-23 13:16:27 -07:00
Leonardo de Moura
7fb763c50f
chore(library/tactic): remove dsimp and unfold tactics
2018-08-23 11:57:38 -07:00
Leonardo de Moura
a10e81e6a6
chore(frontends/lean/elaborator): remove unfold tactic dependency
2018-08-23 11:57:38 -07:00
Leonardo de Moura
ef27df8907
chore(library/tactic): remove simp
2018-08-23 11:57:38 -07:00
Leonardo de Moura
9b4f59e511
chore(library/inductive_compiler): remove simp references
2018-08-23 11:57:38 -07:00
Leonardo de Moura
fc96c335fb
chore(library/constructions): remove has_sizeof
...
This will be implemented in Lean in the future.
2018-08-23 11:57:38 -07:00
Leonardo de Moura
dc479c6837
chore(library/inductive_compiler): remove mutual.cpp
2018-08-23 11:57:38 -07:00
Sebastian Ullrich
fd1aa589cf
chore(tests/lean/reader1): fix test
2018-08-23 11:03:40 -07:00
Leonardo de Moura
c7cf75508d
feat(init/control/coroutine): avoid mutual inductive
...
Reason: we want to delete the inductive compiler.
2018-08-23 10:49:40 -07:00
Leonardo de Moura
252a017445
chore(library/inductive_compiler): remove nested.cpp
...
We added a temporary hack in the old inductive datatype module: we
accept nested inductive declarations.
2018-08-23 10:49:40 -07:00
Sebastian Ullrich
5c066b6e84
fix(library/derive_attribute): pass options to type_context
2018-08-23 10:48:38 -07:00
Sebastian Ullrich
61f8ebf4ef
refactor(library/init/lean/parser/reader): destructure reader into monad and has_tokens typeclass
2018-08-23 10:38:59 -07:00
Sebastian Ullrich
adfc8c9e62
chore(tests/lean/run/deriv): fix test
2018-08-23 10:38:59 -07:00
Leonardo de Moura
82095cc018
refactor(kernel): split declaration into declaration and constant_info
...
This is just another step towards the design described at commit 16598391a07d4a
2018-08-22 17:53:11 -07:00
Leonardo de Moura
fdcbf3fe9e
chore(runtime/object): "section comments"
2018-08-22 17:53:11 -07:00
Sebastian Ullrich
666c431982
chore(library/init/io): hide/remove io.put_str/put_str_ln
2018-08-22 17:48:02 -07:00
Sebastian Ullrich
6009279ab3
fix(library/compiler/cse): deactivate CSE for constructor applications
...
Fixes 1968
2018-08-22 14:32:03 -07:00
Sebastian Ullrich
762259a96f
chore(library/init/lean/parser/reader): cleanup
2018-08-22 14:32:03 -07:00
Sebastian Ullrich
14a5246695
fix(frontends/lean/elaborator): nested parser should reset imports
2018-08-22 14:32:03 -07:00
Sebastian Ullrich
287fdce45b
refactor(library/init/lean/parser/reader): remove reader.has_view default instance
2018-08-22 14:32:03 -07:00
Sebastian Ullrich
6384d118a8
fix(frontends/lean/builtin_cmds,library/vm/vm): fix debug build
2018-08-22 14:32:03 -07:00
Sebastian Ullrich
c69cc61292
feat(frontends/lean,library/init/lean/parser/reader/module): add node_choice! macro
...
Creates an inductive type from an ordered choice reader
2018-08-22 14:32:03 -07:00
Sebastian Ullrich
1b8e74123c
feat(frontends/lean/{builtin_exprs,elaborator}): special-case try inside of node!
2018-08-22 14:32:03 -07:00
Sebastian Ullrich
26d696a937
feat(frontends/lean,library/init/lean/parser/reader/module): basic node! macro
2018-08-22 14:32:03 -07:00
Leonardo de Moura
f3e99286bb
chore(kernel): remove certified_declaration
2018-08-22 12:11:34 -07:00
Leonardo de Moura
d64a49a7da
feat(library/init/lean/declaration): use task at theorem and definition declaration objects
2018-08-22 10:31:50 -07:00
Leonardo de Moura
d0dc998873
chore(library/init/core): remove opaque comments
...
We don't need to use `opaque` for `thunk` and `task`. Their recursor and
projections can be implemented in constant time. We just need to create
a closure which uses the runtime thunk_get/task_get primitive.
2018-08-22 10:27:04 -07:00
Leonardo de Moura
a968b68942
chore(tests/lean/trace1): fix test
...
@kha: `trace_root` and `trace_ctx` will probably have to be macros that add
`thunk.mk` for us. The coercion is not applied because the types contain metavariables.
The alternative is to implement a more robust coercion resolution procedure.
2018-08-21 16:21:31 -07:00
Leonardo de Moura
3ab1ebcb3f
feat(init/core): add task
2018-08-21 16:10:07 -07:00