aboutsummaryrefslogtreecommitdiff
path: root/spartan/core/elimination.ML
diff options
context:
space:
mode:
authorJosh Chen2020-08-14 11:07:17 +0200
committerJosh Chen2020-08-14 11:07:17 +0200
commitbd2efacaf67ae84c41377e7af38dacc5aa64f405 (patch)
tree7f213a432b28fc40cb8554bf13bb576f056f2bb7 /spartan/core/elimination.ML
parent8f4ff41d24dd8fa6844312456d47cad4be6cb239 (diff)
(FEAT) Context data slots for known types and conditional type rules, as well as a separate one for judgmental equality rules.
(REF) Goal statement assumptions are now put into the new context data slots. (FEAT) `assuming` Isar keyword—like `assume` but puts assumptions into context data. (REF) Typechecking and all other tactics refactored to use type information from the context data, as opposed to looking at all facts visible in context. MINOR INCOMPATIBILITY: facts that were implicitly used in proofs now have to be annotated with [type] to make them visible throughout the context, else explicitly passed to methods via `using`, or declared with `assuming`. (REF) Fixed incompatibilities in theories.
Diffstat (limited to '')
-rw-r--r--spartan/core/elimination.ML2
1 files changed, 1 insertions, 1 deletions
diff --git a/spartan/core/elimination.ML b/spartan/core/elimination.ML
index cd4e414..cf9d21e 100644
--- a/spartan/core/elimination.ML
+++ b/spartan/core/elimination.ML
@@ -41,7 +41,7 @@ val _ = Theory.setup (
(Thm.declaration_attribute o register_rule))
""
#> Global_Theory.add_thms_dynamic (\<^binding>\<open>elim\<close>,
- fn context => (map #1 (rules (Context.proof_of context))))
+ fn context => map #1 (rules (Context.proof_of context)))
)