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
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
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
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
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
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
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
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
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
Leonardo de Moura
a0283bf2a0
fix(library/constructions/cases_on): bugs
2018-09-04 10:33:56 -07:00
Leonardo de Moura
10a7eccecd
feat(library/constructions/cases_on): add cases_on for new inductive datatype module
2018-09-04 09:26:16 -07:00
Leonardo de Moura
5972a3038d
chore(library): remove defeq_canonizer
2018-09-03 17:48:01 -07:00
Leonardo de Moura
b1fb1b069e
chore(library/constructions): remove constructor (dead code)
2018-09-03 17:41:19 -07:00
Leonardo de Moura
af8f3c7bb4
chore(library/constructions): remove injective
...
It was mainly used to perform dependent elimination with nested
inductive datatypes produced by the inductive compiler.
2018-09-03 17:38:13 -07:00
Leonardo de Moura
cc748c0b17
chore(library/constructions): remove drec (dead code)
2018-09-03 17:32:16 -07:00
Leonardo de Moura
0285579893
fix(kernel/inductive): bug at inductive_reduce_rec
2018-09-03 17:05:13 -07:00
Leonardo de Moura
d325a4dd1d
feat(library/type_context, kernel/type_checker): use inductive_reduce_rec
2018-09-03 16:52:53 -07:00
Leonardo de Moura
ccfcd8279f
fix(kernel/inductive): bug
2018-09-03 16:41:51 -07:00
Leonardo de Moura
d54b86d16b
chore(library/type_context): remove reduce_large_elim_recursor
2018-09-03 16:21:00 -07:00
Leonardo de Moura
799c133326
feat(kernel/inductive): add inductive_is_stuck
2018-09-03 16:06:29 -07:00
Leonardo de Moura
59fa70616a
feat(kernel/inductive): add reduce
2018-09-03 15:22:15 -07:00
Leonardo de Moura
dd03747d22
chore(kernel): univ_param vs lparam, level_param_names ==> names, and other inconsistencies
2018-09-03 13:05:42 -07:00