Leonardo de Moura
e5ba0d7733
chore(*): cleanup
2016-09-27 17:30: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
3c71d7eda2
feat(frontends/lean,library/tactic/tactic_state): improve error localization
2016-09-25 18:40:41 -07:00
Leonardo de Moura
8b132c758a
feat(frontends/lean/begin_end_block): add basic auto-quotation
2016-09-25 17:03:12 -07:00
Leonardo de Moura
6a49b2e18b
chore(library/vm,library/tactic): fix warnings produced by the new clang++
2016-09-25 11:14:28 -07:00
Leonardo de Moura
5e5285ee67
refactor(library): rename pr1/pr2 ==> fst/snd
2016-09-21 09:48:39 -07:00
Leonardo de Moura
bbd10b99f7
chore(library): remove old type class resolution procedure
2016-09-19 21:22:02 -07:00
Gabriel Ebner
3ef9149902
feat(library/tactic/tactic_state): add get_unused_name
2016-09-19 16:38:03 -07:00
Gabriel Ebner
8d06a88840
feat(library/tactic/intro_tactic): use get_unused_name
2016-09-19 16:38:03 -07:00
Leonardo de Moura
0a6f571f07
fix(library/tactic/simplifier/simplifier): assertion
2016-09-19 11:29:03 -07:00
Daniel Selsam
52f87760d8
feat(src/library/inductive_compiler): support for nested inductive types
2016-09-16 12:50:59 -07:00
Leonardo de Moura
cf30d31024
fix(library/tactic/cases_tactic): missing case
2016-09-12 17:41:22 -07:00
Leonardo de Moura
d980aa3724
feat(library/rfl_lemmas): move rfl lemma rewrite procedure to library
2016-09-12 12:42:14 -07:00
Leonardo de Moura
af78fd0a3c
fix(library/tactic/user_attribute): make sure it compiles when using older versions of g++
2016-09-12 10:51:25 -07:00
Sebastian Ullrich
5e3e54e208
feat(library/tactic/user_attribute): Support pure function caching for user-defined attributes
2016-09-12 10:38:48 -07:00
Leonardo de Moura
d43764b6fb
refactor(library/tactic/defeq_simplifier): move defeq_simp_lemmas to library
...
This commit also renames them to "rfl_lemmas".
Reason: these lemmas will be used at type_context::is_def_eq and type_context::whnf
2016-09-12 10:36:11 -07:00
Daniel Selsam
b0c5744eea
feat(inductive_compiler): support for mutually inductive types
2016-09-10 14:22:27 -07:00
Daniel Selsam
39683fd1de
fix(simplifier): was calling is_def_eq on open term
2016-09-08 19:28:05 -07:00
Leonardo de Moura
75155c3824
fix(library/tactic/cases_tactic): missing normalization
2016-09-06 18:46:14 -07:00
Leonardo de Moura
f3d2a9f1e4
feat(library/tactic/induction_tactic): improve error messages
2016-09-06 18:39:42 -07:00
Leonardo de Moura
41a958fdf4
chore(library/tactic/simplifier/util): warning in release mode
2016-09-05 08:20:59 -07:00
Leonardo de Moura
e8397681a5
fix(library/tactic/induction_tactic): normalize type in the induction tactic
2016-09-04 17:36:26 -07:00
Leonardo de Moura
6c80f7b75c
feat(library/tactic/cases_tactic): normalize type
2016-09-04 17:18:50 -07:00
Leonardo de Moura
7c535a53d6
chore(*): fix warnings messages
2016-09-04 09:20:19 -07:00
Leonardo de Moura
0afef31be6
feat(library/tactic/defeq_simplifier): reimplement defeq simp lemma cache
2016-09-02 09:10:09 -07:00
Leonardo de Moura
39dc336310
feat(library/tactic/user_attribute): add set_basic_attribute and unset_attribute tactics
2016-09-01 14:17:05 -07:00
Leonardo de Moura
cc6d764c6c
refactor(library/tactic/defeq_simplifier): use new type_context
2016-08-31 17:52:47 -07:00
Leonardo de Moura
3384139d38
chore(library/tactic/defeq_simplifier): improve error messages
2016-08-31 17:52:36 -07:00
Leonardo de Moura
4e33ca472d
feat(library/tactic/defeq_simplifier): add helper function
2016-08-31 15:12:19 -07:00
Leonardo de Moura
78f81034c6
feat(library): add helper methods
2016-08-29 08:31:33 -07:00
Leonardo de Moura
b317d4bc58
refactor(library/tactic): add hsubstitution module
2016-08-29 08:19:05 -07:00
Leonardo de Moura
1a675d69fc
refactor(library/tactic/induction_tactic,library/tactic/cases_tactic): replace name_map<name> with substitutions at induction_tactic
...
This commit also removes dead code from cases_tactic
2016-08-28 14:09:22 -07:00
Leonardo de Moura
206bf613d5
feat(library/tactic/subst_tactic): use substitutions instead of name_map<name> in the subst_tactic (low level) API
2016-08-28 13:29:44 -07:00
Leonardo de Moura
f0f9880ece
refactor(library/equations_compiler/elim_match,library/tactic/cases_tactic):
...
new design for elim_match
I still need to fix lemma generation, and refactor induction/subst tactics
2016-08-28 13:15:10 -07:00
Leonardo de Moura
af7060b46e
chore(library/tactic/cases_tactic): add trace
2016-08-28 07:57:20 -07:00
Leonardo de Moura
19a6005f7e
refactor(library): move user_attribute to tactic folder
...
It depends on tactic_state.
2016-08-26 09:28:42 -07:00
Leonardo de Moura
95e8228e8a
refactor(library/tactic/cases_tactic): improve low-level API
2016-08-25 16:34:40 -07:00
Leonardo de Moura
98aefca014
fix(library/local_context): depends_on should take into account assigned metavariables
2016-08-25 13:49:54 -07:00
Leonardo de Moura
c032505023
chore(library/tactic/subst_tactic): missing '\n' in trace msg
2016-08-25 13:45:04 -07:00
Leonardo de Moura
20ae4200e4
feat(library/tactic/tactic_state): add option for instantiating mvars before printing goal (default is true)
2016-08-25 11:11:52 -07:00
Sebastian Ullrich
441a219a66
feat(library/attribute_manager): make attributes with side-effect free callbacks removable
2016-08-23 21:52:52 -07:00
Leonardo de Moura
a93eada058
feat(library/type_context): improved (and simplified) cache management for type_context
2016-08-23 17:56:58 -07:00
Leonardo de Moura
871d78fbf8
fix(library/tactic/simplifier/simplifier): memory leaks at simplifier
2016-08-23 15:34:58 -07:00
Sebastian Ullrich
6e2f7c107c
refactor(library/attribute_manager): rename on_set and move up into attribute base class
2016-08-23 14:09:35 -07:00
Leonardo de Moura
199decea51
fix(library/tactic/tactic_state): remove problematic get_tactic_vm_state
2016-08-23 07:38:44 -07:00
Leonardo de Moura
8e63769413
chore(library/tactic/subst_tactic): remove 'static' to avoid warning in release mode
2016-08-22 09:23:18 -07:00
Leonardo de Moura
440d30300f
fix(library/tactic/simplifier/simp_lemmas): typo
2016-08-21 22:30:16 -07:00
Leonardo de Moura
1ea3bc1683
fix(library/tactic/cases_tactic): lowlevel interface that gives access to renamed/introduced hypotheses
2016-08-21 15:55:56 -07:00
Leonardo de Moura
f7b9702438
fix(library/tactic/subst_tactic): typo
2016-08-21 15:55:56 -07:00