aboutsummaryrefslogtreecommitdiff
path: root/spartan/core/elimination.ML
diff options
context:
space:
mode:
authorJosh Chen2020-07-21 02:09:44 +0200
committerJosh Chen2020-07-21 02:09:44 +0200
commit12eed8685674b7d5ff7bc45a44a061e01f99ce5f (patch)
tree44b8c1a3f1de9c22e41f583595005bf85681cd8c /spartan/core/elimination.ML
parent3bcaf5d1c40b513f8e4590f7d38d3eef8393092e (diff)
1. Type-checking/inference now more principled, and the implementation is better. 2. Changed most tactics to context tactics.
Diffstat (limited to '')
-rw-r--r--spartan/core/elimination.ML6
1 files changed, 3 insertions, 3 deletions
diff --git a/spartan/core/elimination.ML b/spartan/core/elimination.ML
index 11b3af9..cd4e414 100644
--- a/spartan/core/elimination.ML
+++ b/spartan/core/elimination.ML
@@ -34,13 +34,13 @@ fun register_rule tms rl =
in Rules.map (Termtab.update (hd, (rl, map (#1 o dest_Var) tms))) end
-(* [elims] attribute *)
+(* [elim] attribute *)
val _ = Theory.setup (
- Attrib.setup \<^binding>\<open>elims\<close>
+ Attrib.setup \<^binding>\<open>elim\<close>
(Scan.repeat Args.term_pattern >>
(Thm.declaration_attribute o register_rule))
""
- #> Global_Theory.add_thms_dynamic (\<^binding>\<open>elims\<close>,
+ #> Global_Theory.add_thms_dynamic (\<^binding>\<open>elim\<close>,
fn context => (map #1 (rules (Context.proof_of context))))
)