src/HOL/UNITY/UNITY_Main.thy
author wenzelm
Sun, 11 Jul 2004 20:33:22 +0200
changeset 15032 02aed07e01bf
parent 13853 89131afa9f01
child 16184 80617b8d33c5
permissions -rw-r--r--
local_cla/simpset_of;

(*  Title:      HOL/UNITY/UNITY_Main.thy
    ID:         $Id$
    Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
    Copyright   2003  University of Cambridge
*)

header{*Comprehensive UNITY Theory*}

theory UNITY_Main = Detects + PPROD + Follows + ProgressSets
files "UNITY_tactics.ML":

method_setup constrains = {*
    Method.ctxt_args (fn ctxt =>
        Method.METHOD (fn facts => 
            gen_constrains_tac (local_clasimpset_of ctxt) 1)) *}
    "for proving safety properties"

method_setup ensures_tac = {*
    fn args => fn ctxt =>
        Method.goal_args' (Scan.lift Args.name) 
           (gen_ensures_tac (local_clasimpset_of ctxt))
           args ctxt *}
    "for proving progress properties"

end