From bd2efacaf67ae84c41377e7af38dacc5aa64f405 Mon Sep 17 00:00:00 2001
From: Josh Chen
Date: Fri, 14 Aug 2020 11:07:17 +0200
Subject: (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.
---
 spartan/lib/List.thy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'spartan/lib/List.thy')

diff --git a/spartan/lib/List.thy b/spartan/lib/List.thy
index dd51582..83e5149 100644
--- a/spartan/lib/List.thy
+++ b/spartan/lib/List.thy
@@ -149,7 +149,7 @@ Definition map:
 proof (elim xs)
   show "[]: List B" by intro
   next fix x ys
-    assume "x: A" "ys: List B"
+  assuming "x: A" "ys: List B"
   show "f x # ys: List B" by typechk
 qed
 
-- 
cgit v1.2.3

