Leonardo de Moura
|
b02b3d362f
|
feat(library/simplifier): add simplifier procedure skeleton
|
2015-07-21 15:08:56 -07:00 |
|
Leonardo de Moura
|
0b7859f387
|
feat(library,frontends/lean): add support for projections in the elaborator
The idea is to simulate the computation rules such as
pr1 (mk a b) ==> a
in the elaborator
|
2015-06-26 17:18:29 -07:00 |
|
Leonardo de Moura
|
b1ece388a6
|
feat(frontends/lean,library/tactic/induction_tactic): improve induction tactic notation, expand induction tactic implementation
|
2015-05-18 09:25:07 -07:00 |
|
Leonardo de Moura
|
6c958a25e7
|
refactor(library/tactic/expr_to_tactic): make sure builtin tactics don't need to be marked opaque
This modification is needed since we will remove opaque definitions from
the kernel.
see issue #576
|
2015-05-08 16:06:16 -07:00 |
|
Leonardo de Moura
|
061e26157e
|
fix(kernel,library): make sure macros check relevant arguments when kernel is performing full type checking
|
2015-05-08 12:41:23 -07:00 |
|
Leonardo de Moura
|
616f49c2e4
|
feat(frontends/lean): improved 'obtains' expression
|
2015-05-05 18:30:16 -07:00 |
|
Leonardo de Moura
|
e379034b95
|
feat(library/tactic): improve 'assumption' tactic
- It uses the unifier in "conservative" mode
- It only affects the current goal
closes #570
|
2015-05-02 17:33:54 -07:00 |
|
Leonardo de Moura
|
2d9c950144
|
feat(library/tactic/constructor_tactic): allow 'constructor' tactic without index
see issue #500
|
2015-04-30 21:15:07 -07:00 |
|
Leonardo de Moura
|
d152f38518
|
feat(library/tactic): add 'constructor', 'split', 'left', 'right' and 'existsi' tactics
see issue #500
|
2015-04-30 17:52:29 -07:00 |
|
Leonardo de Moura
|
2613e7c444
|
fix(frontends/lean): bug when handling identifiers in tactics
This bug was reported by Jeremy in the Lean Google group:
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/lean-discuss/ZKJ8WPPEVJA/n05x6rPRzvMJ
|
2015-04-22 16:03:22 -07:00 |
|
Leonardo de Moura
|
b9e3c474c9
|
feat(library/tactic): add all_goals tactic
closes #501
|
2015-03-25 17:42:34 -07:00 |
|
Leonardo de Moura
|
4c6b0dc0e5
|
fix(library/tactic/expr_to_tactic): tactic_expr_to_id did not take as_atomic annotation into account
fixes #466
|
2015-03-11 08:49:59 -07:00 |
|
Leonardo de Moura
|
fdb169b8f3
|
feat(library/tactic): improve error localization when compiling tactics
|
2015-03-02 12:21:02 -08:00 |
|
Leonardo de Moura
|
cf56935b01
|
feat(frontends/lean): improve support for user defined tactics
|
2015-02-27 16:58:25 -08:00 |
|
Leonardo de Moura
|
b4dd2cc729
|
refactor(library/tactic/rewrite_tactic): more general rewrite step
The rule can be an arbitrary expression.
Allow user to provide a pattern that restricts the application of the rule.
|
2015-02-04 11:51:39 -08:00 |
|
Leonardo de Moura
|
27f6bfd3f0
|
refactor(*): add file constants.txt with all constants used by the Lean binary
|
2015-01-23 16:50:32 -08:00 |
|
Leonardo de Moura
|
61f333d2c2
|
chore(library/tactic/expr_to_tactic): fix compilation warning
|
2014-10-29 19:47:47 -07:00 |
|
Leonardo de Moura
|
9547e2d077
|
feat(library/tactic): add rotate_left/rotate_right tactics, closes #278
|
2014-10-29 19:13:55 -07:00 |
|
Leonardo de Moura
|
83e4c0fcec
|
feat(frontends/lean): hide tactic "types"
it is not very useful to display the type of tactics (e.g., apply,
intros, ...)
|
2014-10-28 22:38:10 -07:00 |
|
Leonardo de Moura
|
aaad9633fb
|
fix(library/tactic/expr_to_tactic): memory leak
|
2014-10-24 14:40:36 -07:00 |
|
Leonardo de Moura
|
e750c9b67a
|
feat(frontends/lean): add 'info' tactic for producing PROOF_STATE info for emacs mode
|
2014-10-23 13:18:30 -07:00 |
|
Leonardo de Moura
|
6fcba192b2
|
refactor(library/tactic): move 'unfold' tactic to separate module
|
2014-10-23 10:26:19 -07:00 |
|
Leonardo de Moura
|
60132912a4
|
refactor(library/tactic): remove unnecessary hack
It is not needed anymore.
We had to use this hack when we had tactic_macro_definition_cell.
|
2014-10-22 17:41:19 -07:00 |
|
Leonardo de Moura
|
7c62446023
|
refactor(frontends/lean): remove dead code
|
2014-10-22 17:39:06 -07:00 |
|
Leonardo de Moura
|
e95c7c5f70
|
refactor(library/tactic/rename_tactic): use new 'tactic.expr' to implement 'intro/intros' tactic
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-10-22 17:29:50 -07:00 |
|
Leonardo de Moura
|
5e15ac0c92
|
feat(library/tactic): add new approach for embedding non-elaborated expressions into tactics
|
2014-10-22 17:29:50 -07:00 |
|
Leonardo de Moura
|
7c617955d0
|
refactor(library/tactic): move 'exact' tactic to separate module
|
2014-10-22 17:29:44 -07:00 |
|
Leonardo de Moura
|
323715e951
|
refactor(library/tactic): move 'tracing' tactics to separate module
|
2014-10-22 14:12:45 -07:00 |
|
Leonardo de Moura
|
815dc9b63d
|
chore(library/tactic/expr_to_tactic): remove dead code
|
2014-10-20 18:59:57 -07:00 |
|
Leonardo de Moura
|
53a64ac767
|
refactor(library/tactic): move intros_tactic initialization to intros_tactic module
|
2014-10-20 17:47:52 -07:00 |
|
Leonardo de Moura
|
3c4419ff23
|
refactor(library/tactic): move rename_tactic to separate module
|
2014-10-20 17:41:40 -07:00 |
|
Leonardo de Moura
|
ac9397816f
|
refactor(library/tactic): move apply_tactic initialization to apply_tactic module
|
2014-10-20 17:32:32 -07:00 |
|
Leonardo de Moura
|
7d0100a340
|
feat(library/tactic): add 'intros' tactic
|
2014-10-20 15:26:16 -07:00 |
|
Leonardo de Moura
|
5cba7244ce
|
fix(library/tactic/expr_to_tactic): argument evaluation order is not part of the standard
|
2014-10-20 15:16:38 -07:00 |
|
Leonardo de Moura
|
e6606ef2ac
|
feat(library/tactic): add 'rename' hypothesis tactic
|
2014-10-14 18:19:34 -07:00 |
|
Leonardo de Moura
|
58c9421bab
|
refactor(library/tactic): elaborate expressions nested in tactics with respect to current goal, save postponed constraints (e.g., flex-flex constraints) closes #44, fixes #70
|
2014-10-14 17:18:40 -07:00 |
|
Leonardo de Moura
|
516c0c73b9
|
refactor(*): remove dependency to thread_local C++11 keyword, the
current compilers have several bugs associated with it
We use the simpler __thread (gcc and clang) and
__declspec(thread) (visual studio).
|
2014-09-24 12:51:04 -07:00 |
|
Leonardo de Moura
|
b6781711b1
|
refactor(*): explicit initialization/finalization for serialization
modules, expression annotations, and tactics
|
2014-09-22 15:26:41 -07:00 |
|
Leonardo de Moura
|
baf4c01de8
|
feat(frontends/lean): definitions are opaque by default
|
2014-09-19 15:54:32 -07:00 |
|
Leonardo de Moura
|
364bba2129
|
feat(frontends/lean/inductive_cmd): prefix introduction rules with the name of the inductive datatype
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-09-04 17:26:36 -07:00 |
|
Leonardo de Moura
|
d4ac482d76
|
refactor(kernel): move annotation to library
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-22 10:38:10 -07:00 |
|
Leonardo de Moura
|
9588336c15
|
refactor(kernel/type_checker): remove "global" constraint buffer from type_checker, and use constraint_seq instead
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-20 16:46:19 -07:00 |
|
Leonardo de Moura
|
2869d9059f
|
feat(frontends/lean): change 'proof-qed' semantics: no backtracking
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-12 17:40:30 -07:00 |
|
Leonardo de Moura
|
f896771987
|
refactor(library/tactic/expr_to_tactic): use annotations for implementing 'by'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-10 11:16:46 -07:00 |
|
Leonardo de Moura
|
8bd36dabce
|
refactor(kernel/pos_info_provider): get_pos_info return none if position is not available
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-08-01 20:17:26 -07:00 |
|
Leonardo de Moura
|
91b0dcad0f
|
fix(library/tactic): avoid 'unknown' message in trace_tac when position information is not available
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-08 17:48:41 -07:00 |
|
Leonardo de Moura
|
a3be63af73
|
feat(frontends/lean): add tactic_hint command
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-08 15:08:13 -07:00 |
|
Leonardo de Moura
|
e0501104e2
|
feat(library/tactic): add 'fixpoint' tactic
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-04 01:30:28 -07:00 |
|
Leonardo de Moura
|
abbd054b51
|
feat(library/tactic): add eassumption tactic, and remove redundant 'subgoals' from apply tactic
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-03 13:04:46 -07:00 |
|
Leonardo de Moura
|
0ff145e59b
|
feat(library/tactic): add apply tactic
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
|
2014-07-03 09:20:01 -07:00 |
|