src/HOL/UNITY/UNITY_Main.thy
author wenzelm
Wed, 06 Aug 2008 00:12:26 +0200
changeset 27756 24d0e890b432
parent 24147 edc90be09ac1
child 27882 eaa9fef9f4c1
permissions -rw-r--r--
T.end_position_of; tuned;

(*  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 imports Detects PPROD Follows ProgressSets
uses "UNITY_tactics.ML" begin

method_setup safety = {*
    Method.ctxt_args (fn ctxt =>
        Method.SIMPLE_METHOD' (constrains_tac (local_clasimpset_of ctxt))) *}
    "for proving safety properties"

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

end