lean4-htt/src/library/tactic
Leonardo de Moura 36c7d46c34 feat(library/tactic): add options trace.rewrite and trace.kabstract for debugging rewrite tactic
See #1480

@semorrison We can now use the following commands to trace the rewrite
tactic
```lean
set_option trace.rewrite true
set_option trace.kabstract true
```

When these options are used, Lean will pretty print the subterm selected
by the rewrite tactic. That is, the subterm that will be rewritten.
This option may help you diagnose what is going on.
2017-03-27 18:18:20 -07:00
..
backward chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
smt fix(library): fix various leaks 2017-03-23 09:00:59 +01:00
ac_tactics.cpp fix(library/tactic/ac_tactics): allow nested ac_app macros in perm_ac macro 2017-03-08 13:46:49 -08:00
ac_tactics.h
app_builder_tactics.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
app_builder_tactics.h
apply_tactic.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
apply_tactic.h
assert_tactic.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
assert_tactic.h feat(library/init/meta/smt_tactic): add assert/assertv/define/definev/pose/note for smt_tactic 2017-01-03 17:12:00 -08:00
cases_tactic.cpp fix(library/tactic): we should preserve names when using the revert/do_something/intro idiom 2017-03-11 12:20:39 -08:00
cases_tactic.h fix(library/equations_compiler/elim_match): skip nonvar + inaccessible 2017-03-21 08:08:36 -07:00
change_tactic.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
change_tactic.h
clear_tactic.cpp fix(library/tactic/subst_tactic): fixes #1467 2017-03-17 19:54:35 -07:00
clear_tactic.h
CMakeLists.txt fix(frontends/lean, library/tactic): error position in auto quoted terms 2017-02-09 18:03:04 -08:00
congr_lemma_tactics.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
congr_lemma_tactics.h
destruct_tactic.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
destruct_tactic.h
dsimplify.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
dsimplify.h fix(library/tactic/smt/hinst_lemmas): pattern normalization issue 2017-01-08 23:35:39 -08:00
elaborate.cpp feat(library/tactic/elaborator_exception): show context of failed placeholders 2017-03-27 13:42:08 -07:00
elaborate.h feat(library/tactic): store name of current declaration in tactic_state 2017-01-28 08:27:19 +01:00
elaborator_exception.cpp feat(library/tactic/elaborator_exception): show context of failed placeholders 2017-03-27 13:42:08 -07:00
elaborator_exception.h feat(library/tactic/elaborator_exception): show context of failed placeholders 2017-03-27 13:42:08 -07:00
eqn_lemmas.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
eqn_lemmas.h feat(library/tactic/smt/smt_state): add tactic for adding equational lemmas for a definition 2017-01-05 15:47:58 -08:00
eval.cpp fix(library/tactic/eval,kernel/kernel_exception): hide internal definition name on eval_expr type error 2017-03-27 13:42:08 -07:00
eval.h
exact_tactic.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
exact_tactic.h
fun_info_tactics.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
fun_info_tactics.h
generalize_tactic.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
generalize_tactic.h
gexpr.cpp
gexpr.h
hsubstitution.cpp
hsubstitution.h
induction_tactic.cpp fix(library/tactic): we should preserve names when using the revert/do_something/intro idiom 2017-03-11 12:20:39 -08:00
induction_tactic.h
init_module.cpp
init_module.h
intro_tactic.cpp fix(library/tactic): we should preserve names when using the revert/do_something/intro idiom 2017-03-11 12:20:39 -08:00
intro_tactic.h fix(library/tactic): we should preserve names when using the revert/do_something/intro idiom 2017-03-11 12:20:39 -08:00
kabstract.cpp feat(library/tactic): add options trace.rewrite and trace.kabstract for debugging rewrite tactic 2017-03-27 18:18:20 -07:00
kabstract.h
match_tactic.cpp feat(library/tactic/match_tactic): return also assignments for universe meta-variables 2017-02-17 20:08:09 -08:00
match_tactic.h
norm_num_tactic.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
norm_num_tactic.h
occurrences.cpp
occurrences.h
rename_tactic.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
rename_tactic.h
revert_tactic.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
revert_tactic.h
rewrite_tactic.cpp feat(library/tactic): add options trace.rewrite and trace.kabstract for debugging rewrite tactic 2017-03-27 18:18:20 -07:00
rewrite_tactic.h
simp_lemmas.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
simp_lemmas.h feat(library/init/meta/smt_tactic): allow user to select simp attribute to be used during SMT preprocessing, use preprocessing at intros too 2017-01-01 22:26:26 -08:00
simp_result.cpp
simp_result.h
simplify.cpp fix(library/tactic/simplify): assertion violation 2017-03-27 18:04:57 -07:00
simplify.h feat(library/tactic/simplify): add eta := tt to simp 2017-03-27 17:38:40 -07:00
subst_tactic.cpp fix(library/tactic/subst_tactic): fixes #1467 2017-03-17 19:54:35 -07:00
subst_tactic.h feat(inductive_compiler): generate injectivity lemmas 2017-03-10 22:27:18 -08:00
tactic_state.cpp feat(library/tactic/tactic_state): add tactic.run_io 2017-03-23 18:17:53 -07:00
tactic_state.h chore(util,kernel,library): clang warnings 2017-02-17 20:01:34 -08:00
unfold_tactic.cpp chore(frontends/lean,library/tactic): remove old tactic_state functions 2017-02-17 15:41:58 +01:00
unfold_tactic.h refactor(library/tactic/unfold_tactic): add dunfold C++ function 2017-02-04 16:33:12 -08:00
user_attribute.cpp refactor(library/tactic/user_attribute): use attribute for registering attributes. naturally. 2017-03-15 14:06:34 -07:00
user_attribute.h feat(library/init/meta/smt_tactic): allow user to select simp attribute to be used during SMT preprocessing, use preprocessing at intros too 2017-01-01 22:26:26 -08:00
vm_monitor.cpp fix(library/tactic/vm_monitor): compilation warning 2017-03-22 07:40:16 -07:00
vm_monitor.h