Leonardo de Moura
5ae63ea1f2
chore(library/init/data/list/basic): remove unnecessary workaround
2018-09-07 17:10:23 -07:00
Leonardo de Moura
6b673d1ca9
chore(util,kernel): consistent constructors for object_ref-like wrappers
2018-09-07 17:06:41 -07:00
Leonardo de Moura
71dd8653bc
feat(library/init/core): decidable_eq is a proper class
...
We need this to take advantage of the new indexing structure we are
going to add to improve performance.
2018-09-07 16:38:11 -07:00
Leonardo de Moura
85465885f3
chore(library/type_context): remove "frozen local instances"
...
We will re-implement the type class resolution algorithm, and the new
implementation will not rely on a persistent cache. We will improve
performance by:
1) Using better indexing data-structures.
2) Using a local cache during the search.
2018-09-07 13:17:37 -07:00
Leonardo de Moura
425a1cea8b
fix(CMakeLists): clean-olean
2018-09-07 12:55:55 -07:00
Leonardo de Moura
49b5216604
chore(library): remove fingerprint
2018-09-07 12:54:19 -07:00
Leonardo de Moura
c48eaed9a4
chore(library): remove relation_manager
2018-09-07 12:35:04 -07:00
Leonardo de Moura
373e979a2a
chore(library): remove dead code
2018-09-07 12:23:43 -07:00
Leonardo de Moura
2315bc4653
chore(library): remove documentation environment extension
2018-09-07 12:09:41 -07:00
Leonardo de Moura
e689d82797
chore(library): remove unique_id
2018-09-07 12:00:13 -07:00
Leonardo de Moura
135b7ef015
chore(library): remove persistent_context_cache
2018-09-07 11:58:52 -07:00
Leonardo de Moura
127dd70220
chore(library/tactic/tactic_state): remove dead code
2018-09-07 11:56:41 -07:00
Leonardo de Moura
080c2dabde
chore(*): cleanup
2018-09-07 09:01:48 -07:00
Leonardo de Moura
2946174c1e
chore(kernel): remove old_type_checker
2018-09-07 08:55:37 -07:00
Leonardo de Moura
a3d886f1e8
chore(kernel/type_checker): remove leftover
2018-09-07 08:51:21 -07:00
Leonardo de Moura
5d00936a8f
chore(*): remove some old_type_checker dependencies
2018-09-07 08:48:21 -07:00
Leonardo de Moura
130b419371
chore(frontends/lean): remove break_at_pos support
...
We have already removed auto-completion support.
This change allowed me to remove another old_type_checker dependency.
2018-09-07 08:34:19 -07:00
Leonardo de Moura
81bf600973
chore(kernel/type_checker): fix style
2018-09-06 18:12:20 -07:00
Leonardo de Moura
ab9e812ac5
chore(tests/lean): fix tests
2018-09-06 18:09:32 -07:00
Leonardo de Moura
da2de33245
fix(library/init/io): move coroutine_io implementation to io
2018-09-06 18:09:32 -07:00
Leonardo de Moura
9ac56cd2a9
fix(library/compiler/preprocess): prevent auxiliary recursors from being expanded accidentally
2018-09-06 18:09:32 -07:00
Leonardo de Moura
f6a9bfd1c8
fix(library/type_context): whnf_head_pred should not unfold auxiliary recursor applications that do not satisfy the given predicate
2018-09-06 18:09:32 -07:00
Leonardo de Moura
58e91559d0
feat(*): use new inductive datatype module
2018-09-06 18:09:22 -07:00
Sebastian Ullrich
387cd25942
feat(library/init/lean/parser/term): implement Pratt parser
2018-09-06 17:17:50 -07:00
Sebastian Ullrich
c7d8271c84
feat(library/init/lean/parser/token): save lbp in token_config
2018-09-06 17:16:57 -07:00
Sebastian Ullrich
1a53d4444b
feat(library/init/lean/parser): parameterize recursive term parser with rbp
2018-09-06 17:16:22 -07:00
Sebastian Ullrich
149dd2a5e3
refactor(library/init/lean/parser): move command parsers into separate file
2018-09-06 10:46:29 -07:00
Leonardo de Moura
3c521960c8
chore(library/class): remove attribute tracking symbols
2018-09-05 18:42:19 -07:00
Leonardo de Moura
208b932583
feat(library/constructions/brec_on): add brec_on and binduction_on for new inductive datatype module
...
We don't support these constructions for nested inductive types, but we
do for mutual inductives.
2018-09-05 14:46:03 -07:00
Leonardo de Moura
f335623530
feat(library/constructions/brec_on): add below and ibelow for new inductive datatype module
2018-09-05 14:46:03 -07:00
Leonardo de Moura
afb9584a63
feat(kernel): store at inductive_val whether the type is reflexive or not
2018-09-05 14:46:03 -07:00
Leonardo de Moura
92c4b2ee0d
chore(library/util): minor
2018-09-05 14:46:03 -07:00
Sebastian Ullrich
d4105e1e16
chore(library/init/lean/parser/basic): avoid nesting rbnode in trie
...
The new two-layer rbnode/list structure is a little faster
2018-09-05 10:37:03 -07:00
Leonardo de Moura
4964ad660f
feat(library/constructions/no_confusion): add no_confusion for new inductive datatype module
2018-09-05 10:27:49 -07:00
Leonardo de Moura
6114e00cea
chore(frontends/lean/decl_cmds): dead var
2018-09-05 10:22:07 -07:00
Sebastian Ullrich
3a4a052167
fix(frontends/lean/inductive_cmds): expand inductive fix to mutual inductives
2018-09-05 09:58:49 -07:00
Sebastian Ullrich
9c96aec3dc
perf(library/init/lean/parser/parsec): inline pure, bind, and left_over
2018-09-05 09:58:49 -07:00
Sebastian Ullrich
df725c1f41
perf(frontends/lean/builtin_exprs): fix regression from position refactoring
...
Even atomic do patterns were compiled into match expressions
2018-09-05 09:58:49 -07:00
Leonardo de Moura
4773a3be5f
feat(library/constructions/no_confusion): add no_confusion_type for new inductive datatype module
2018-09-05 09:55:13 -07:00
Leonardo de Moura
9970019f76
fix(kernel/inductive): incorrect assertion
...
It fails on non parametric datatypes with nullary constructors.
2018-09-05 09:52:25 -07:00
Leonardo de Moura
cc5f60c28d
test(tests/lean/run/new_inductive): add new tests
2018-09-04 18:17:13 -07:00
Leonardo de Moura
176e0a3ed3
fix(kernel/inductive): typo
2018-09-04 17:32:18 -07:00
Leonardo de Moura
00032a7d37
chore(tests/shell/shell_test): fix output
...
BTW, we should probably temporarily delete this test.
2018-09-04 17:22:16 -07:00
Leonardo de Moura
78f4edaf57
chore(frontends/lean): remove info_manager and interactive modules
2018-09-04 17:22:16 -07:00
Leonardo de Moura
c121bcf263
chore(tests/lean/smart_unfolding): remove test since it depends on #reduce
2018-09-04 17:22:16 -07:00
Leonardo de Moura
d8e7941116
feat(library/constructions/rec_on): add rec_on for new inductive datatype module
2018-09-04 17:22:16 -07:00
Leonardo de Moura
4da40f5d0e
chore(kernel/quot): remove unnecessary include
2018-09-04 17:22:16 -07:00
Sebastian Ullrich
66ebd5d7d6
feat(library/init/lean/parser): implement new tokenizer using trie
...
test execution went down from 3.5s to 1.5s
2018-09-04 14:06:43 -07:00
Leonardo de Moura
8ed89c6ac3
chore(library): remove normalize.cpp
...
The command `#reduce` was also temporarily removed.
2018-09-04 10:51:14 -07:00
Leonardo de Moura
1dfcea58f9
chore(*): remove some references to old inductive datatype module
2018-09-04 10:45:17 -07:00