src/HOL/UNITY/UNITY_Main.thy
author haftmann
Tue, 11 May 2010 08:36:02 +0200
changeset 36811 4ab4aa5bee1c
parent 32689 860e1a2317bd
child 42767 e6d920bea7a6
permissions -rw-r--r--
renamed former Int.int_induct to Int.int_of_nat_induct, former Presburger.int_induct to Int.int_induct: is more conservative and more natural than the intermediate solution

(*  Title:      HOL/UNITY/UNITY_Main.thy
    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 = {*
    Scan.succeed (fn ctxt =>
        SIMPLE_METHOD' (constrains_tac (clasimpset_of ctxt))) *}
    "for proving safety properties"

method_setup ensures_tac = {*
  Args.goal_spec -- Scan.lift Args.name_source >>
  (fn (quant, s) => fn ctxt => SIMPLE_METHOD'' quant (ensures_tac (clasimpset_of ctxt) s))
*} "for proving progress properties"

end