aboutsummaryrefslogtreecommitdiff
path: root/spartan/core/rewrite.ML
diff options
context:
space:
mode:
authorJosh Chen2020-08-03 13:34:53 +0200
committerJosh Chen2020-08-03 13:34:53 +0200
commit710f314a9ccb84cdd9df9bc8bf52482b8d1f5a56 (patch)
treeabbc3d847e17b9659b11eb8e4e2eda3430ba007a /spartan/core/rewrite.ML
parent70fd3f72ef8f9cc01a071250d94e8c25ecb04c1d (diff)
(FEAT) SIDE_CONDS tactical has additional argument specifying how many initial subgoals to skip applying the side condition solver to.
(FEAT) `intro`, `intros` methods for "logical introduction rules" (as opposed to typechecking `intr` attribute), only works on conclusions with rigid type. (FEAT) CREPEAT_N bounded repetition tactical, used in `intros n` method.
Diffstat (limited to 'spartan/core/rewrite.ML')
-rw-r--r--spartan/core/rewrite.ML2
1 files changed, 1 insertions, 1 deletions
diff --git a/spartan/core/rewrite.ML b/spartan/core/rewrite.ML
index eba0e81..99c21b5 100644
--- a/spartan/core/rewrite.ML
+++ b/spartan/core/rewrite.ML
@@ -458,7 +458,7 @@ val _ =
"single-step rewriting, allowing subterm selection via patterns" #>
Method.setup \<^binding>\<open>rewrite\<close> (subst_parser >>
(fn (pattern, inthms, (to, pat_ctxt)) => K (CONTEXT_METHOD (
- CHEADGOAL o SIDE_CONDS
+ CHEADGOAL o SIDE_CONDS 0
(rewrite_export_ctac ((pattern, to), SOME pat_ctxt) inthms)))))
"single-step rewriting with auto-typechecking"
end