src/HOL/UNITY/UNITY_tactics.ML
author paulson
Thu, 30 Jan 2003 10:35:56 +0100
changeset 13796 19f50fa807ae
parent 13792 d1811693899c
child 13797 baefae13ad37
permissions -rw-r--r--
converting more UNITY theories to new-style
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13786
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
     1
(*  Title:      HOL/UNITY/UNITY_tactics.ML
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
     2
    ID:         $Id$
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
     3
    Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
     4
    Copyright   2003  University of Cambridge
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
     5
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
     6
Specialized UNITY tactics, and ML bindings of theorems
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
     7
*)
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
     8
13796
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
     9
(*FP*)
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    10
val stable_FP_Orig_Int = thm "stable_FP_Orig_Int";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    11
val FP_Orig_weakest = thm "FP_Orig_weakest";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    12
val stable_FP_Int = thm "stable_FP_Int";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    13
val FP_equivalence = thm "FP_equivalence";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    14
val FP_weakest = thm "FP_weakest";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    15
val Compl_FP = thm "Compl_FP";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    16
val Diff_FP = thm "Diff_FP";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    17
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    18
(*SubstAx*)
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    19
val LeadsTo_eq_leadsTo = thm "LeadsTo_eq_leadsTo";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    20
val Always_LeadsTo_pre = thm "Always_LeadsTo_pre";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    21
val Always_LeadsTo_post = thm "Always_LeadsTo_post";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    22
val Always_LeadsToI = thm "Always_LeadsToI";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    23
val Always_LeadsToD = thm "Always_LeadsToD";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    24
val leadsTo_imp_LeadsTo = thm "leadsTo_imp_LeadsTo";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    25
val LeadsTo_Trans = thm "LeadsTo_Trans";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    26
val LeadsTo_Union = thm "LeadsTo_Union";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    27
val LeadsTo_UNIV = thm "LeadsTo_UNIV";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    28
val LeadsTo_Un_duplicate = thm "LeadsTo_Un_duplicate";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    29
val LeadsTo_Un_duplicate2 = thm "LeadsTo_Un_duplicate2";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    30
val LeadsTo_UN = thm "LeadsTo_UN";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    31
val LeadsTo_Un = thm "LeadsTo_Un";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    32
val single_LeadsTo_I = thm "single_LeadsTo_I";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    33
val subset_imp_LeadsTo = thm "subset_imp_LeadsTo";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    34
val empty_LeadsTo = thm "empty_LeadsTo";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    35
val LeadsTo_weaken_R = thm "LeadsTo_weaken_R";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    36
val LeadsTo_weaken_L = thm "LeadsTo_weaken_L";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    37
val LeadsTo_weaken = thm "LeadsTo_weaken";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    38
val Always_LeadsTo_weaken = thm "Always_LeadsTo_weaken";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    39
val LeadsTo_Un_post = thm "LeadsTo_Un_post";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    40
val LeadsTo_Trans_Un = thm "LeadsTo_Trans_Un";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    41
val LeadsTo_Un_distrib = thm "LeadsTo_Un_distrib";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    42
val LeadsTo_UN_distrib = thm "LeadsTo_UN_distrib";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    43
val LeadsTo_Union_distrib = thm "LeadsTo_Union_distrib";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    44
val LeadsTo_Basis = thm "LeadsTo_Basis";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    45
val EnsuresI = thm "EnsuresI";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    46
val Always_LeadsTo_Basis = thm "Always_LeadsTo_Basis";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    47
val LeadsTo_Diff = thm "LeadsTo_Diff";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    48
val LeadsTo_UN_UN = thm "LeadsTo_UN_UN";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    49
val LeadsTo_UN_UN_noindex = thm "LeadsTo_UN_UN_noindex";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    50
val all_LeadsTo_UN_UN = thm "all_LeadsTo_UN_UN";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    51
val LeadsTo_Un_Un = thm "LeadsTo_Un_Un";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    52
val LeadsTo_cancel2 = thm "LeadsTo_cancel2";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    53
val LeadsTo_cancel_Diff2 = thm "LeadsTo_cancel_Diff2";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    54
val LeadsTo_cancel1 = thm "LeadsTo_cancel1";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    55
val LeadsTo_cancel_Diff1 = thm "LeadsTo_cancel_Diff1";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    56
val LeadsTo_empty = thm "LeadsTo_empty";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    57
val PSP_Stable = thm "PSP_Stable";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    58
val PSP_Stable2 = thm "PSP_Stable2";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    59
val PSP = thm "PSP";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    60
val PSP2 = thm "PSP2";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    61
val PSP_Unless = thm "PSP_Unless";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    62
val Stable_transient_Always_LeadsTo = thm "Stable_transient_Always_LeadsTo";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    63
val LeadsTo_wf_induct = thm "LeadsTo_wf_induct";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    64
val Bounded_induct = thm "Bounded_induct";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    65
val LessThan_induct = thm "LessThan_induct";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    66
val integ_0_le_induct = thm "integ_0_le_induct";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    67
val LessThan_bounded_induct = thm "LessThan_bounded_induct";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    68
val GreaterThan_bounded_induct = thm "GreaterThan_bounded_induct";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    69
val Completion = thm "Completion";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    70
val Finite_completion_lemma = thm "Finite_completion_lemma";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    71
val Finite_completion = thm "Finite_completion";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    72
val Stable_completion = thm "Stable_completion";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    73
val Finite_stable_completion = thm "Finite_stable_completion";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
    74
13792
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    75
(*Union*)
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    76
val Init_SKIP = thm "Init_SKIP";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    77
val Acts_SKIP = thm "Acts_SKIP";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    78
val AllowedActs_SKIP = thm "AllowedActs_SKIP";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    79
val reachable_SKIP = thm "reachable_SKIP";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    80
val SKIP_in_constrains_iff = thm "SKIP_in_constrains_iff";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    81
val SKIP_in_Constrains_iff = thm "SKIP_in_Constrains_iff";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    82
val SKIP_in_stable = thm "SKIP_in_stable";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    83
val Init_Join = thm "Init_Join";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    84
val Acts_Join = thm "Acts_Join";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    85
val AllowedActs_Join = thm "AllowedActs_Join";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    86
val JN_empty = thm "JN_empty";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    87
val JN_insert = thm "JN_insert";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    88
val Init_JN = thm "Init_JN";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    89
val Acts_JN = thm "Acts_JN";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    90
val AllowedActs_JN = thm "AllowedActs_JN";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    91
val JN_cong = thm "JN_cong";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    92
val Join_commute = thm "Join_commute";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    93
val Join_assoc = thm "Join_assoc";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    94
val Join_left_commute = thm "Join_left_commute";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    95
val Join_SKIP_left = thm "Join_SKIP_left";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    96
val Join_SKIP_right = thm "Join_SKIP_right";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    97
val Join_absorb = thm "Join_absorb";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    98
val Join_left_absorb = thm "Join_left_absorb";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
    99
val Join_ac = thms "Join_ac";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   100
val JN_absorb = thm "JN_absorb";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   101
val JN_Un = thm "JN_Un";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   102
val JN_constant = thm "JN_constant";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   103
val JN_Join_distrib = thm "JN_Join_distrib";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   104
val JN_Join_miniscope = thm "JN_Join_miniscope";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   105
val JN_Join_diff = thm "JN_Join_diff";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   106
val JN_constrains = thm "JN_constrains";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   107
val Join_constrains = thm "Join_constrains";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   108
val Join_unless = thm "Join_unless";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   109
val Join_constrains_weaken = thm "Join_constrains_weaken";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   110
val JN_constrains_weaken = thm "JN_constrains_weaken";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   111
val JN_stable = thm "JN_stable";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   112
val invariant_JN_I = thm "invariant_JN_I";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   113
val Join_stable = thm "Join_stable";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   114
val Join_increasing = thm "Join_increasing";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   115
val invariant_JoinI = thm "invariant_JoinI";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   116
val FP_JN = thm "FP_JN";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   117
val JN_transient = thm "JN_transient";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   118
val Join_transient = thm "Join_transient";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   119
val Join_transient_I1 = thm "Join_transient_I1";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   120
val Join_transient_I2 = thm "Join_transient_I2";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   121
val JN_ensures = thm "JN_ensures";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   122
val Join_ensures = thm "Join_ensures";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   123
val stable_Join_constrains = thm "stable_Join_constrains";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   124
val stable_Join_Always1 = thm "stable_Join_Always1";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   125
val stable_Join_Always2 = thm "stable_Join_Always2";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   126
val stable_Join_ensures1 = thm "stable_Join_ensures1";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   127
val stable_Join_ensures2 = thm "stable_Join_ensures2";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   128
val ok_SKIP1 = thm "ok_SKIP1";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   129
val ok_SKIP2 = thm "ok_SKIP2";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   130
val ok_Join_commute = thm "ok_Join_commute";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   131
val ok_commute = thm "ok_commute";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   132
val ok_sym = thm "ok_sym";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   133
val ok_iff_OK = thm "ok_iff_OK";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   134
val ok_Join_iff1 = thm "ok_Join_iff1";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   135
val ok_Join_iff2 = thm "ok_Join_iff2";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   136
val ok_Join_commute_I = thm "ok_Join_commute_I";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   137
val ok_JN_iff1 = thm "ok_JN_iff1";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   138
val ok_JN_iff2 = thm "ok_JN_iff2";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   139
val OK_iff_ok = thm "OK_iff_ok";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   140
val OK_imp_ok = thm "OK_imp_ok";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   141
val Allowed_SKIP = thm "Allowed_SKIP";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   142
val Allowed_Join = thm "Allowed_Join";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   143
val Allowed_JN = thm "Allowed_JN";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   144
val ok_iff_Allowed = thm "ok_iff_Allowed";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   145
val OK_iff_Allowed = thm "OK_iff_Allowed";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   146
val safety_prop_Acts_iff = thm "safety_prop_Acts_iff";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   147
val safety_prop_AllowedActs_iff_Allowed = thm "safety_prop_AllowedActs_iff_Allowed";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   148
val Allowed_eq = thm "Allowed_eq";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   149
val def_prg_Allowed = thm "def_prg_Allowed";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   150
val safety_prop_constrains = thm "safety_prop_constrains";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   151
val safety_prop_stable = thm "safety_prop_stable";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   152
val safety_prop_Int = thm "safety_prop_Int";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   153
val safety_prop_INTER1 = thm "safety_prop_INTER1";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   154
val safety_prop_INTER = thm "safety_prop_INTER";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   155
val def_UNION_ok_iff = thm "def_UNION_ok_iff";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   156
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   157
(*Comp*)
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   158
val preserves_def = thm "preserves_def";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   159
val funPair_def = thm "funPair_def";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   160
val componentI = thm "componentI";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   161
val component_eq_subset = thm "component_eq_subset";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   162
val component_SKIP = thm "component_SKIP";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   163
val component_refl = thm "component_refl";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   164
val SKIP_minimal = thm "SKIP_minimal";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   165
val component_Join1 = thm "component_Join1";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   166
val component_Join2 = thm "component_Join2";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   167
val Join_absorb1 = thm "Join_absorb1";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   168
val Join_absorb2 = thm "Join_absorb2";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   169
val JN_component_iff = thm "JN_component_iff";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   170
val component_JN = thm "component_JN";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   171
val component_trans = thm "component_trans";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   172
val component_antisym = thm "component_antisym";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   173
val Join_component_iff = thm "Join_component_iff";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   174
val component_constrains = thm "component_constrains";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   175
val program_less_le = thm "program_less_le";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   176
val preservesI = thm "preservesI";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   177
val preserves_imp_eq = thm "preserves_imp_eq";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   178
val Join_preserves = thm "Join_preserves";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   179
val JN_preserves = thm "JN_preserves";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   180
val SKIP_preserves = thm "SKIP_preserves";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   181
val funPair_apply = thm "funPair_apply";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   182
val preserves_funPair = thm "preserves_funPair";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   183
val funPair_o_distrib = thm "funPair_o_distrib";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   184
val fst_o_funPair = thm "fst_o_funPair";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   185
val snd_o_funPair = thm "snd_o_funPair";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   186
val subset_preserves_o = thm "subset_preserves_o";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   187
val preserves_subset_stable = thm "preserves_subset_stable";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   188
val preserves_subset_increasing = thm "preserves_subset_increasing";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   189
val preserves_id_subset_stable = thm "preserves_id_subset_stable";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   190
val safety_prop_preserves = thm "safety_prop_preserves";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   191
val stable_localTo_stable2 = thm "stable_localTo_stable2";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   192
val Increasing_preserves_Stable = thm "Increasing_preserves_Stable";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   193
val component_of_imp_component = thm "component_of_imp_component";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   194
val component_of_refl = thm "component_of_refl";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   195
val component_of_SKIP = thm "component_of_SKIP";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   196
val component_of_trans = thm "component_of_trans";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   197
val strict_component_of_eq = thm "strict_component_of_eq";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   198
val localize_Init_eq = thm "localize_Init_eq";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   199
val localize_Acts_eq = thm "localize_Acts_eq";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   200
val localize_AllowedActs_eq = thm "localize_AllowedActs_eq";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   201
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   202
(*Guar*)
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   203
val guar_def = thm "guar_def";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   204
val OK_insert_iff = thm "OK_insert_iff";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   205
val ex1 = thm "ex1";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   206
val ex2 = thm "ex2";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   207
val ex_prop_finite = thm "ex_prop_finite";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   208
val ex_prop_equiv = thm "ex_prop_equiv";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   209
val uv1 = thm "uv1";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   210
val uv2 = thm "uv2";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   211
val uv_prop_finite = thm "uv_prop_finite";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   212
val guaranteesI = thm "guaranteesI";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   213
val guaranteesD = thm "guaranteesD";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   214
val component_guaranteesD = thm "component_guaranteesD";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   215
val guarantees_weaken = thm "guarantees_weaken";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   216
val subset_imp_guarantees_UNIV = thm "subset_imp_guarantees_UNIV";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   217
val subset_imp_guarantees = thm "subset_imp_guarantees";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   218
val ex_prop_imp = thm "ex_prop_imp";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   219
val guarantees_imp = thm "guarantees_imp";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   220
val ex_prop_equiv2 = thm "ex_prop_equiv2";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   221
val guarantees_UN_left = thm "guarantees_UN_left";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   222
val guarantees_Un_left = thm "guarantees_Un_left";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   223
val guarantees_INT_right = thm "guarantees_INT_right";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   224
val guarantees_Int_right = thm "guarantees_Int_right";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   225
val guarantees_Int_right_I = thm "guarantees_Int_right_I";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   226
val guarantees_INT_right_iff = thm "guarantees_INT_right_iff";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   227
val shunting = thm "shunting";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   228
val contrapositive = thm "contrapositive";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   229
val combining1 = thm "combining1";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   230
val combining2 = thm "combining2";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   231
val all_guarantees = thm "all_guarantees";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   232
val ex_guarantees = thm "ex_guarantees";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   233
val guarantees_Join_Int = thm "guarantees_Join_Int";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   234
val guarantees_Join_Un = thm "guarantees_Join_Un";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   235
val guarantees_JN_INT = thm "guarantees_JN_INT";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   236
val guarantees_JN_UN = thm "guarantees_JN_UN";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   237
val guarantees_Join_I1 = thm "guarantees_Join_I1";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   238
val guarantees_Join_I2 = thm "guarantees_Join_I2";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   239
val guarantees_JN_I = thm "guarantees_JN_I";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   240
val Join_welldef_D1 = thm "Join_welldef_D1";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   241
val Join_welldef_D2 = thm "Join_welldef_D2";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   242
val refines_refl = thm "refines_refl";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   243
val ex_refinement_thm = thm "ex_refinement_thm";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   244
val uv_refinement_thm = thm "uv_refinement_thm";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   245
val guarantees_equiv = thm "guarantees_equiv";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   246
val wg_weakest = thm "wg_weakest";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   247
val wg_guarantees = thm "wg_guarantees";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   248
val wg_equiv = thm "wg_equiv";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   249
val component_of_wg = thm "component_of_wg";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   250
val wg_finite = thm "wg_finite";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   251
val wg_ex_prop = thm "wg_ex_prop";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   252
val wx_subset = thm "wx_subset";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   253
val wx_ex_prop = thm "wx_ex_prop";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   254
val wx_weakest = thm "wx_weakest";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   255
val wx'_ex_prop = thm "wx'_ex_prop";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   256
val wx_equiv = thm "wx_equiv";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   257
val guarantees_wx_eq = thm "guarantees_wx_eq";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   258
val stable_guarantees_Always = thm "stable_guarantees_Always";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   259
val leadsTo_Basis = thm "leadsTo_Basis";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   260
val constrains_guarantees_leadsTo = thm "constrains_guarantees_leadsTo";
d1811693899c converted more UNITY theories to new-style
paulson
parents: 13790
diff changeset
   261
13790
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   262
(*Extend*)
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   263
val Restrict_iff = thm "Restrict_iff";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   264
val Restrict_UNIV = thm "Restrict_UNIV";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   265
val Restrict_empty = thm "Restrict_empty";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   266
val Restrict_Int = thm "Restrict_Int";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   267
val Restrict_triv = thm "Restrict_triv";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   268
val Restrict_subset = thm "Restrict_subset";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   269
val Restrict_eq_mono = thm "Restrict_eq_mono";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   270
val Restrict_imageI = thm "Restrict_imageI";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   271
val Domain_Restrict = thm "Domain_Restrict";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   272
val Image_Restrict = thm "Image_Restrict";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   273
val insert_Id_image_Acts = thm "insert_Id_image_Acts";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   274
val good_mapI = thm "good_mapI";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   275
val good_map_is_surj = thm "good_map_is_surj";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   276
val fst_inv_equalityI = thm "fst_inv_equalityI";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   277
val project_set_iff = thm "project_set_iff";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   278
val extend_set_mono = thm "extend_set_mono";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   279
val extend_set_empty = thm "extend_set_empty";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   280
val project_set_Int_subset = thm "project_set_Int_subset";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   281
val Init_extend = thm "Init_extend";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   282
val Init_project = thm "Init_project";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   283
val Acts_project = thm "Acts_project";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   284
val project_set_UNIV = thm "project_set_UNIV";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   285
val project_set_Union = thm "project_set_Union";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   286
val project_act_mono = thm "project_act_mono";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   287
val project_constrains_project_set = thm "project_constrains_project_set";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   288
val project_stable_project_set = thm "project_stable_project_set";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   289
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   290
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   291
(*Rename*)
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   292
val good_map_bij = thm "good_map_bij";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   293
val fst_o_inv_eq_inv = thm "fst_o_inv_eq_inv";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   294
val mem_rename_set_iff = thm "mem_rename_set_iff";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   295
val extend_set_eq_image = thm "extend_set_eq_image";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   296
val Init_rename = thm "Init_rename";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   297
val extend_set_inv = thm "extend_set_inv";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   298
val bij_extend_act_eq_project_act = thm "bij_extend_act_eq_project_act";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   299
val bij_extend_act = thm "bij_extend_act";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   300
val bij_project_act = thm "bij_project_act";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   301
val bij_inv_project_act_eq = thm "bij_inv_project_act_eq";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   302
val Acts_project = thm "Acts_project";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   303
val extend_inv = thm "extend_inv";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   304
val rename_inv_rename = thm "rename_inv_rename";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   305
val rename_rename_inv = thm "rename_rename_inv";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   306
val rename_inv_eq = thm "rename_inv_eq";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   307
val bij_extend = thm "bij_extend";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   308
val bij_project = thm "bij_project";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   309
val inv_project_eq = thm "inv_project_eq";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   310
val Allowed_rename = thm "Allowed_rename";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   311
val bij_rename = thm "bij_rename";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   312
val surj_rename = thm "surj_rename";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   313
val inj_rename_imp_inj = thm "inj_rename_imp_inj";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   314
val surj_rename_imp_surj = thm "surj_rename_imp_surj";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   315
val bij_rename_imp_bij = thm "bij_rename_imp_bij";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   316
val bij_rename_iff = thm "bij_rename_iff";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   317
val rename_SKIP = thm "rename_SKIP";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   318
val rename_Join = thm "rename_Join";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   319
val rename_JN = thm "rename_JN";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   320
val rename_constrains = thm "rename_constrains";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   321
val rename_stable = thm "rename_stable";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   322
val rename_invariant = thm "rename_invariant";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   323
val rename_increasing = thm "rename_increasing";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   324
val reachable_rename_eq = thm "reachable_rename_eq";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   325
val rename_Constrains = thm "rename_Constrains";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   326
val rename_Stable = thm "rename_Stable";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   327
val rename_Always = thm "rename_Always";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   328
val rename_Increasing = thm "rename_Increasing";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   329
val rename_transient = thm "rename_transient";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   330
val rename_ensures = thm "rename_ensures";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   331
val rename_leadsTo = thm "rename_leadsTo";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   332
val rename_LeadsTo = thm "rename_LeadsTo";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   333
val rename_rename_guarantees_eq = thm "rename_rename_guarantees_eq";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   334
val rename_guarantees_eq_rename_inv = thm "rename_guarantees_eq_rename_inv";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   335
val rename_preserves = thm "rename_preserves";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   336
val ok_rename_iff = thm "ok_rename_iff";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   337
val OK_rename_iff = thm "OK_rename_iff";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   338
val bij_eq_rename = thm "bij_eq_rename";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   339
val rename_image_constrains = thm "rename_image_constrains";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   340
val rename_image_stable = thm "rename_image_stable";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   341
val rename_image_increasing = thm "rename_image_increasing";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   342
val rename_image_invariant = thm "rename_image_invariant";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   343
val rename_image_Constrains = thm "rename_image_Constrains";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   344
val rename_image_preserves = thm "rename_image_preserves";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   345
val rename_image_Stable = thm "rename_image_Stable";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   346
val rename_image_Increasing = thm "rename_image_Increasing";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   347
val rename_image_Always = thm "rename_image_Always";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   348
val rename_image_leadsTo = thm "rename_image_leadsTo";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   349
val rename_image_LeadsTo = thm "rename_image_LeadsTo";
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   350
8d7e9fce8c50 converting UNITY to new-style theories
paulson
parents: 13786
diff changeset
   351
13786
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   352
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   353
(*Lift_prog*)
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   354
val sub_def = thm "sub_def";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   355
val lift_map_def = thm "lift_map_def";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   356
val drop_map_def = thm "drop_map_def";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   357
val insert_map_inverse = thm "insert_map_inverse";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   358
val insert_map_delete_map_eq = thm "insert_map_delete_map_eq";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   359
val insert_map_inject1 = thm "insert_map_inject1";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   360
val insert_map_inject2 = thm "insert_map_inject2";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   361
val insert_map_inject = thm "insert_map_inject";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   362
val insert_map_inject = thm "insert_map_inject";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   363
val lift_map_eq_iff = thm "lift_map_eq_iff";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   364
val drop_map_lift_map_eq = thm "drop_map_lift_map_eq";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   365
val inj_lift_map = thm "inj_lift_map";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   366
val lift_map_drop_map_eq = thm "lift_map_drop_map_eq";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   367
val drop_map_inject = thm "drop_map_inject";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   368
val surj_lift_map = thm "surj_lift_map";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   369
val bij_lift_map = thm "bij_lift_map";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   370
val inv_lift_map_eq = thm "inv_lift_map_eq";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   371
val inv_drop_map_eq = thm "inv_drop_map_eq";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   372
val bij_drop_map = thm "bij_drop_map";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   373
val sub_apply = thm "sub_apply";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   374
val lift_set_empty = thm "lift_set_empty";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   375
val lift_set_iff = thm "lift_set_iff";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   376
val lift_set_iff2 = thm "lift_set_iff2";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   377
val lift_set_mono = thm "lift_set_mono";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   378
val lift_set_Un_distrib = thm "lift_set_Un_distrib";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   379
val lift_set_Diff_distrib = thm "lift_set_Diff_distrib";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   380
val bij_lift = thm "bij_lift";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   381
val lift_SKIP = thm "lift_SKIP";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   382
val lift_Join = thm "lift_Join";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   383
val lift_JN = thm "lift_JN";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   384
val lift_constrains = thm "lift_constrains";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   385
val lift_stable = thm "lift_stable";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   386
val lift_invariant = thm "lift_invariant";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   387
val lift_Constrains = thm "lift_Constrains";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   388
val lift_Stable = thm "lift_Stable";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   389
val lift_Always = thm "lift_Always";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   390
val lift_transient = thm "lift_transient";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   391
val lift_ensures = thm "lift_ensures";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   392
val lift_leadsTo = thm "lift_leadsTo";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   393
val lift_LeadsTo = thm "lift_LeadsTo";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   394
val lift_lift_guarantees_eq = thm "lift_lift_guarantees_eq";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   395
val lift_guarantees_eq_lift_inv = thm "lift_guarantees_eq_lift_inv";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   396
val lift_preserves_snd_I = thm "lift_preserves_snd_I";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   397
val delete_map_eqE = thm "delete_map_eqE";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   398
val delete_map_eqE = thm "delete_map_eqE";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   399
val delete_map_neq_apply = thm "delete_map_neq_apply";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   400
val vimage_o_fst_eq = thm "vimage_o_fst_eq";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   401
val vimage_sub_eq_lift_set = thm "vimage_sub_eq_lift_set";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   402
val mem_lift_act_iff = thm "mem_lift_act_iff";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   403
val preserves_snd_lift_stable = thm "preserves_snd_lift_stable";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   404
val constrains_imp_lift_constrains = thm "constrains_imp_lift_constrains";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   405
val insert_map_upd_same = thm "insert_map_upd_same";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   406
val insert_map_upd = thm "insert_map_upd";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   407
val insert_map_eq_diff = thm "insert_map_eq_diff";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   408
val lift_map_eq_diff = thm "lift_map_eq_diff";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   409
val lift_transient_eq_disj = thm "lift_transient_eq_disj";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   410
val lift_map_image_Times = thm "lift_map_image_Times";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   411
val lift_preserves_eq = thm "lift_preserves_eq";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   412
val lift_preserves_sub = thm "lift_preserves_sub";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   413
val o_equiv_assoc = thm "o_equiv_assoc";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   414
val o_equiv_apply = thm "o_equiv_apply";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   415
val fst_o_lift_map = thm "fst_o_lift_map";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   416
val snd_o_lift_map = thm "snd_o_lift_map";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   417
val extend_act_extend_act = thm "extend_act_extend_act";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   418
val project_act_project_act = thm "project_act_project_act";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   419
val project_act_extend_act = thm "project_act_extend_act";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   420
val act_in_UNION_preserves_fst = thm "act_in_UNION_preserves_fst";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   421
val UNION_OK_lift_I = thm "UNION_OK_lift_I";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   422
val OK_lift_I = thm "OK_lift_I";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   423
val Allowed_lift = thm "Allowed_lift";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   424
val lift_image_preserves = thm "lift_image_preserves";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   425
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   426
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   427
(*PPROD*)
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   428
val Init_PLam = thm "Init_PLam";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   429
val PLam_empty = thm "PLam_empty";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   430
val PLam_SKIP = thm "PLam_SKIP";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   431
val PLam_insert = thm "PLam_insert";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   432
val PLam_component_iff = thm "PLam_component_iff";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   433
val component_PLam = thm "component_PLam";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   434
val PLam_constrains = thm "PLam_constrains";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   435
val PLam_stable = thm "PLam_stable";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   436
val PLam_transient = thm "PLam_transient";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   437
val PLam_ensures = thm "PLam_ensures";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   438
val PLam_leadsTo_Basis = thm "PLam_leadsTo_Basis";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   439
val invariant_imp_PLam_invariant = thm "invariant_imp_PLam_invariant";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   440
val PLam_preserves_fst = thm "PLam_preserves_fst";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   441
val PLam_preserves_snd = thm "PLam_preserves_snd";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   442
val guarantees_PLam_I = thm "guarantees_PLam_I";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   443
val Allowed_PLam = thm "Allowed_PLam";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   444
val PLam_preserves = thm "PLam_preserves";
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   445
13796
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   446
(*Follows*)
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   447
val mono_Always_o = thm "mono_Always_o";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   448
val mono_LeadsTo_o = thm "mono_LeadsTo_o";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   449
val Follows_constant = thm "Follows_constant";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   450
val mono_Follows_o = thm "mono_Follows_o";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   451
val mono_Follows_apply = thm "mono_Follows_apply";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   452
val Follows_trans = thm "Follows_trans";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   453
val Follows_Increasing1 = thm "Follows_Increasing1";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   454
val Follows_Increasing2 = thm "Follows_Increasing2";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   455
val Follows_Bounded = thm "Follows_Bounded";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   456
val Follows_LeadsTo = thm "Follows_LeadsTo";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   457
val Follows_LeadsTo_pfixLe = thm "Follows_LeadsTo_pfixLe";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   458
val Follows_LeadsTo_pfixGe = thm "Follows_LeadsTo_pfixGe";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   459
val Always_Follows1 = thm "Always_Follows1";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   460
val Always_Follows2 = thm "Always_Follows2";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   461
val increasing_Un = thm "increasing_Un";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   462
val Increasing_Un = thm "Increasing_Un";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   463
val Always_Un = thm "Always_Un";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   464
val Follows_Un_lemma = thm "Follows_Un_lemma";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   465
val Follows_Un = thm "Follows_Un";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   466
val increasing_union = thm "increasing_union";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   467
val Increasing_union = thm "Increasing_union";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   468
val Always_union = thm "Always_union";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   469
val Follows_union_lemma = thm "Follows_union_lemma";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   470
val Follows_union = thm "Follows_union";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   471
val Follows_setsum = thm "Follows_setsum";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   472
val Increasing_imp_Stable_pfixGe = thm "Increasing_imp_Stable_pfixGe";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   473
val LeadsTo_le_imp_pfixGe = thm "LeadsTo_le_imp_pfixGe";
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   474
13786
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   475
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   476
(*proves "co" properties when the program is specified*)
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   477
fun gen_constrains_tac(cs,ss) i = 
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   478
   SELECT_GOAL
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   479
      (EVERY [REPEAT (Always_Int_tac 1),
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   480
	      REPEAT (etac Always_ConstrainsI 1
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   481
		      ORELSE
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   482
		      resolve_tac [StableI, stableI,
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   483
				   constrains_imp_Constrains] 1),
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   484
	      rtac constrainsI 1,
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   485
	      full_simp_tac ss 1,
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   486
	      REPEAT (FIRSTGOAL (etac disjE)),
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   487
	      ALLGOALS (clarify_tac cs),
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   488
	      ALLGOALS (asm_lr_simp_tac ss)]) i;
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   489
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   490
(*proves "ensures/leadsTo" properties when the program is specified*)
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   491
fun gen_ensures_tac(cs,ss) sact = 
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   492
    SELECT_GOAL
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   493
      (EVERY [REPEAT (Always_Int_tac 1),
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   494
	      etac Always_LeadsTo_Basis 1 
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   495
	          ORELSE   (*subgoal may involve LeadsTo, leadsTo or ensures*)
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   496
		  REPEAT (ares_tac [LeadsTo_Basis, leadsTo_Basis,
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   497
				    EnsuresI, ensuresI] 1),
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   498
	      (*now there are two subgoals: co & transient*)
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   499
	      simp_tac ss 2,
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   500
	      res_inst_tac [("act", sact)] transientI 2,
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   501
                 (*simplify the command's domain*)
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   502
	      simp_tac (ss addsimps [Domain_def]) 3,
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   503
	      gen_constrains_tac (cs,ss) 1,
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   504
	      ALLGOALS (clarify_tac cs),
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   505
	      ALLGOALS (asm_lr_simp_tac ss)]);
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   506
13796
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   507
fun ensures_tac sact = gen_ensures_tac (claset(), simpset()) sact;
19f50fa807ae converting more UNITY theories to new-style
paulson
parents: 13792
diff changeset
   508
13786
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   509
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   510
(*Composition equivalences, from Lift_prog*)
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   511
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   512
fun make_o_equivs th =
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   513
    [th,
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   514
     th RS o_equiv_assoc |> simplify (HOL_ss addsimps [o_assoc]),
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   515
     th RS o_equiv_apply |> simplify (HOL_ss addsimps [o_def, sub_def])];
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   516
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   517
Addsimps (make_o_equivs fst_o_funPair @ make_o_equivs snd_o_funPair);
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   518
ab8f39f48a6f More conversion of UNITY to Isar new-style theories
paulson
parents:
diff changeset
   519
Addsimps (make_o_equivs fst_o_lift_map @ make_o_equivs snd_o_lift_map);