From 720da0f918118388d114e09664b129d2b29be2b1 Mon Sep 17 00:00:00 2001 From: Josh Chen Date: Fri, 22 May 2020 15:43:14 +0200 Subject: some tweaks and comments, in preparation for general inductive type elimination --- spartan/theories/Spartan.thy | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'spartan/theories/Spartan.thy') diff --git a/spartan/theories/Spartan.thy b/spartan/theories/Spartan.thy index a79f209..5274ea2 100644 --- a/spartan/theories/Spartan.thy +++ b/spartan/theories/Spartan.thy @@ -8,7 +8,7 @@ imports keywords "Theorem" "Lemma" "Corollary" "Proposition" :: thy_goal_stmt and "focus" "\" "\<^item>" "\<^enum>" "~" :: prf_script_goal % "proof" and - "derive" "vars":: quasi_command and + "derive" "prems" "vars":: quasi_command and "print_coercions" :: thy_decl begin @@ -138,9 +138,6 @@ axiomatization where \ \ \x: A. B x \ \x: A. B' x" - - - section \Proof commands\ named_theorems typechk @@ -152,6 +149,7 @@ ML_file \../lib/focus.ML\ section \Congruence automation\ +(*Work in progress*) ML_file \../lib/congruence.ML\ @@ -188,6 +186,7 @@ method_setup elim = method elims = elim+ +(*This could possibly use additional simplification hints via a simp: modifier*) method_setup typechk = \Scan.succeed (fn ctxt => SIMPLE_METHOD ( CHANGED (ALLGOALS (TRY o typechk_tac ctxt))))\ -- cgit v1.2.3