Leonardo de Moura
deb2bb92b2
feat(library/tactic/simp_lemmas_tactics): add dunfold_expr tactic based on equational lemmas
2016-10-12 13:18:10 -07:00
Leonardo de Moura
f66aec2309
feat(library/tactic/simp_lemmas_tactics): add simp_lemmas.drewrite
2016-10-12 09:01:47 -07:00
Leonardo de Moura
1a4ac3a102
fix(library/tactic/dsimplify): bugs and implement dsimp using new dsimplify
2016-10-12 08:33:40 -07:00
Leonardo de Moura
4e71013aa4
refactor(library/tactic/dsimplify): expose classes
2016-10-12 07:44:53 -07:00
Leonardo de Moura
e37207e8a9
feat(library/tactic): expose new dsimplify in Lean
2016-10-12 07:25:09 -07:00
Leonardo de Moura
239cd9c543
feat(library/tactic): start new defeq simplifier
2016-10-11 16:37:50 -07:00
Leonardo de Moura
d655310ecf
feat(library/init/meta): rename rsimp* back to dsimp*
2016-10-11 16:37:08 -07:00
Leonardo de Moura
231c124be8
feat(library/init/meta): rename dsimp => rsimp, and add primitive tactic that takes an arbitrary simp_lemmas
2016-10-09 10:02:26 -07:00
Leonardo de Moura
a78e8fb11a
refactor(library/tactic/simp_lemmas_tactics): consistent naming
2016-10-09 09:37:20 -07:00
Leonardo de Moura
df9a93c44d
refactor(library/tactic/simp_lemmas_tactics): rename function
2016-10-09 09:00:15 -07:00
Leonardo de Moura
476684a284
refactor(library,library/tactic/defeq_simplifier): use simp_lemmas in the defeq_simplifier
2016-10-08 22:15:27 -07:00
Leonardo de Moura
a796bda14e
refactor(library/tactic): use new simp_lemmas module in the simplifier
2016-10-08 21:54:34 -07:00
Leonardo de Moura
531a437d1f
chore(library/tactic/simplifier): remove dead code
2016-10-06 20:56:30 -07:00
Leonardo de Moura
3fbdb71f3e
feat(library/tactic/simplifier): remove simp_extensions
2016-10-06 20:50:23 -07:00
Leonardo de Moura
d747fcb17c
refactor(library/tactic/simp_lemmas): new caching mechanism
2016-10-06 20:20:01 -07:00
Leonardo de Moura
1e93c2c235
refactor(library/rfl_lemmas): simplify
2016-10-06 16:49:20 -07:00
Leonardo de Moura
7f30844348
feat(library/tactic/simplifier/simp_lemmas): add tactic for applying one simplification step form a simp_lemmas set
2016-10-04 19:51:33 -07:00
Leonardo de Moura
4516d1b046
feat(library/init/meta/attribute, library/tactic/user_attribute): make sure caching_user_attribute is in (Type 1)
2016-10-04 02:05:34 -07:00
Leonardo de Moura
bd4c77d414
fix(library/tactic/user_attribute): anonymous attribute names are now allowed
2016-10-04 01:11:33 -07:00
Gabriel Ebner
93cf15391c
fix(library/tactic/simplifier/util): fix deserialization of flat macros
2016-10-03 22:20:15 -07:00
Leonardo de Moura
629cfa6ba1
feat(library/tactic/simplifier): disable broken theory_simplifiers
2016-10-03 22:06:44 -07:00
Leonardo de Moura
d549044d27
feat(library/init/meta,library/tactic/simplifier): user defined simp attributes
2016-10-03 21:39:17 -07:00
Leonardo de Moura
88c6177a4c
fix(library/tactic/simplifier/simp_lemmas): incorrect binding
2016-10-03 20:46:22 -07:00
Leonardo de Moura
7be74a6c0c
feat(library/init/meta/simp_tactic): add command for creating simp attributes
2016-10-03 20:38:15 -07:00
Leonardo de Moura
4a2946f5dd
feat(library/tactic/eval): eval_expr for arbitrary expressions
2016-10-03 19:01:22 -07:00
Leonardo de Moura
e6fbbbbc2d
feat(util/rb_map): add unsigned_map
2016-10-03 16:26:58 -07:00
Leonardo de Moura
7465529445
feat(library/tactic): 'eval_expr' tactic skeleton
2016-10-03 16:26:28 -07:00
Leonardo de Moura
ee9ba1e5cb
feat(library/init/meta/simp_tactic): add tactic for adding universe polymorphic lemma to simp set
2016-10-03 14:41:36 -07:00
Leonardo de Moura
7c07d269f9
refactor(library/tactic/user_attribute): cache builder must be a tactic
2016-10-03 14:20:37 -07:00
Leonardo de Moura
7ab12ed57f
feat(library/init/algebra): improve transport_to_additive (copy attributes)
2016-10-01 12:55:17 -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
018d73ce84
feat(library/tactic/rewrite_tactic): improve error message
2016-09-28 21:17:57 -07:00
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