Leonardo de Moura
|
c4953cac43
|
feat(frontends/lean/elaborator): only use eliminator elaboration is function is fully applied
|
2016-07-25 17:24:57 -07:00 |
|
Leonardo de Moura
|
1ed24a7237
|
feat(frontends/lean/elaborator): restrict use of 'eliminator' elaboration, approximate is_def_eq in the default function application elaborator
|
2016-07-25 16:25:54 -07:00 |
|
Leonardo de Moura
|
05a0061c09
|
feat(frontends/lean/elaborator): default elaboration for function applications
|
2016-07-25 15:50:16 -07:00 |
|
Leonardo de Moura
|
01283512a6
|
feat(frontends/lean/elaborator): add code for deciding which function application elaboration procedure should be used
|
2016-07-25 12:55:28 -07:00 |
|
Leonardo de Moura
|
9ca065e7ee
|
chore(tests/lean/run/measurable): remove obsolete test
|
2016-07-23 19:05:22 -07:00 |
|
Leonardo de Moura
|
461b5f289c
|
feat(frontends/lean/elaborator): new elaborator skeleton
|
2016-07-23 19:02:17 -07:00 |
|
Leonardo de Moura
|
14ac5fb25a
|
fix(library/init/meta/mk_measurable_instance) : add 1 for each constructor
|
2016-07-23 13:01:09 -07:00 |
|
Leonardo de Moura
|
e0e5a84f84
|
chore(tests/lean): adjust tests
|
2016-07-23 12:48:35 -07:00 |
|
Leonardo de Moura
|
212d222047
|
feat(frontends/lean): quoted names
|
2016-07-22 19:06:57 -07:00 |
|
Leonardo de Moura
|
2bcd5c8379
|
feat(library/init): add state monad and stateT monad transformer
|
2016-07-22 15:42:29 -07:00 |
|
Leonardo de Moura
|
eb526be99f
|
chore(tests/lean): adjust tests
|
2016-07-22 11:34:58 -07:00 |
|
Leonardo de Moura
|
90eb79a295
|
feat(library/init/meta): add mk_inhabited_instance tactic
|
2016-07-20 21:01:50 -04:00 |
|
Leonardo de Moura
|
40b3410ede
|
feat(library/init/meta): add tactic mk_dec_eq_instance
|
2016-07-20 19:57:12 -04:00 |
|
Leonardo de Moura
|
cda29ea107
|
fix(library/tactic/cases_tactic): incorrect mk_app
|
2016-07-20 09:32:12 -04:00 |
|
Leonardo de Moura
|
3dccaa8e39
|
feat(library/init/string): add utf8_length
|
2016-07-19 14:22:37 -04:00 |
|
Leonardo de Moura
|
d8e6915366
|
fix(frontends/lean/builtin_cmds): fail if expression contain metavars
|
2016-07-19 13:22:10 -04:00 |
|
Leonardo de Moura
|
59ff0eef5c
|
feat(frontends/lean/scanner): hexadecimal numerals
|
2016-07-19 13:04:27 -04:00 |
|
Leonardo de Moura
|
492c90ed1d
|
feat(frontends/lean/scanner): hex scape in character literal
|
2016-07-19 12:38:20 -04:00 |
|
Leonardo de Moura
|
ceba74f24e
|
feat(library/tactic/unfold_tactic): improve fold failure detection
|
2016-07-18 20:17:40 -04:00 |
|
Leonardo de Moura
|
ff712dd78d
|
test(tests/lean/run/unfold_crash): add Jared's repro
|
2016-07-18 20:00:30 -04:00 |
|
Leonardo de Moura
|
16ab639f56
|
fix(library/tactic/unfold_crash): crash when constant is not a definition
|
2016-07-18 19:59:17 -04:00 |
|
Leonardo de Moura
|
7597952bad
|
fix(library/tactic/unfold_tactic): should use type_context locals
|
2016-07-18 19:08:31 -04:00 |
|
Leonardo de Moura
|
0d8213cf92
|
feat(library/tactic): add unfold tactic
|
2016-07-18 15:46:56 -04:00 |
|
Leonardo de Moura
|
3218f91e35
|
feat(frontends/lean): add support for character literals
|
2016-07-18 14:07:10 -04:00 |
|
Leonardo de Moura
|
a20abd61e8
|
feat(library/tactic): implement rewrite and kabstract using occurrences object
|
2016-07-18 10:10:37 -04:00 |
|
Leonardo de Moura
|
7ffcee0cb8
|
fix(library/type_context): bug at complete_instance
|
2016-07-17 18:31:04 -04:00 |
|
Leonardo de Moura
|
1ae6ec2ce2
|
fix(tests/lean/rewrite1): add repeat
|
2016-07-17 18:19:42 -04:00 |
|
Leonardo de Moura
|
7f0276f592
|
feat(library/tactic): add 'rewrite' tactic and variants
|
2016-07-17 16:08:11 -04:00 |
|
Leonardo de Moura
|
f5b99b33ae
|
fix(tests/lean/perf): fix tests, simp now invokes 'try triv'
|
2016-07-17 15:34:20 -04:00 |
|
Leonardo de Moura
|
26177995c2
|
feat(library/tactic): add 'generalize' tactic
|
2016-07-16 15:41:32 -04:00 |
|
Leonardo de Moura
|
fbefda9b1c
|
feat(frontends/lean): add commands 'add_key_equivalence' and 'print key_equivalences'
|
2016-07-16 15:41:32 -04:00 |
|
Leonardo de Moura
|
031dbcd380
|
feat(library/tactic/cases_tactic): add missing case
|
2016-07-15 13:56:16 -04:00 |
|
Leonardo de Moura
|
5f2591b3a3
|
feat(library/init/meta/backward): expose back_lemmas (index)
Motivation: the user can create the index once and use it many times.
|
2016-07-10 17:11:24 -07:00 |
|
Leonardo de Moura
|
e48fa15b71
|
feat(library/tactic/backward/backward_chaining): add 'pre_tactic' to backward_chaining_core
|
2016-07-10 16:11:13 -07:00 |
|
Leonardo de Moura
|
7c8d0f444f
|
feat(library/tactic/backward): finish backward chaining tactic
|
2016-07-10 13:49:28 -07:00 |
|
Leonardo de Moura
|
aacd812cc8
|
feat(library/init/meta/tactic): add 'by_contradiction' tactic
|
2016-07-09 19:14:36 -07:00 |
|
Leonardo de Moura
|
f81daab596
|
feat(library/init): add 'has_andthen' type class, and ';' notation
|
2016-07-09 18:39:27 -07:00 |
|
Leonardo de Moura
|
6b30b89c89
|
feat(library/init/meta/tactic): add 'simp_at' tactics
|
2016-07-09 17:23:45 -07:00 |
|
Leonardo de Moura
|
d5a648a12a
|
feat(library/init/meta/tactic): add 'simp_using' and 'simp_using_hs', add 'try triv' after 'simp'
|
2016-07-09 16:37:55 -07:00 |
|
Leonardo de Moura
|
021347b757
|
chore(library/init/reserved_notation): add <= and >=
|
2016-07-09 14:03:05 -07:00 |
|
Daniel Selsam
|
ea19bb40dd
|
feat(simplifier): detect refl proofs from simp extensions
|
2016-07-09 10:11:58 -07:00 |
|
Daniel Selsam
|
c3d44249bc
|
feat(simplifier): take list of lemmas and tactic as args to simplify
|
2016-07-09 10:10:59 -07:00 |
|
Leonardo de Moura
|
519f47c9a7
|
fix(library/type_context): ignore assigned variables
|
2016-07-08 16:50:25 -07:00 |
|
Leonardo de Moura
|
f34e84dacb
|
feat(frontends/lean/parser): cute binders
|
2016-07-08 07:50:58 -07:00 |
|
Leonardo de Moura
|
9565a464ea
|
chore(tests/lean): fix tests
|
2016-07-07 07:39:26 -07:00 |
|
Leonardo de Moura
|
dce8776cfd
|
refactor(library/fun_info): separate subsingleton information from general param_info
|
2016-07-07 07:39:26 -07:00 |
|
Leonardo de Moura
|
b390521b30
|
feat(library/tactic/induction_tactic): clear major premise
|
2016-07-07 07:39:25 -07:00 |
|
Leonardo de Moura
|
02fb2c9c8a
|
feat(library/init): add 'guard' and helper typeclasses
|
2016-07-07 00:52:52 -07:00 |
|
Daniel Selsam
|
e8a0abe45e
|
test(tests/lean/run): add three perf tests
|
2016-07-05 19:48:20 -07:00 |
|
Sebastian Ullrich
|
c5a8fe02ac
|
feat(frontends/lean): add parent classes to local context in struct definitions
Fixes #1066
|
2016-07-05 19:22:08 -07:00 |
|