author | wenzelm |
Thu, 22 Nov 2007 14:51:34 +0100 | |
changeset 25456 | 6f79698f294d |
parent 25135 | 4f8176c940cf |
child 26359 | 6d437bde2f1d |
permissions | -rw-r--r-- |
4559 | 1 |
(* Title: HOLCF/IOA/meta_theory/Abstraction.thy |
2 |
ID: $Id$ |
|
12218 | 3 |
Author: Olaf Müller |
17233 | 4 |
*) |
4559 | 5 |
|
17233 | 6 |
header {* Abstraction Theory -- tailored for I/O automata *} |
4559 | 7 |
|
17233 | 8 |
theory Abstraction |
9 |
imports LiveIOA |
|
23560 | 10 |
uses ("ioa_package.ML") |
17233 | 11 |
begin |
4559 | 12 |
|
17233 | 13 |
defaultsort type |
4559 | 14 |
|
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
15 |
definition |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
16 |
cex_abs :: "('s1 => 's2) => ('a,'s1)execution => ('a,'s2)execution" where |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
17 |
"cex_abs f ex = (f (fst ex), Map (%(a,t). (a,f t))$(snd ex))" |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
18 |
definition |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
19 |
-- {* equals cex_abs on Sequences -- after ex2seq application *} |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
20 |
cex_absSeq :: "('s1 => 's2) => ('a option,'s1)transition Seq => ('a option,'s2)transition Seq" where |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
21 |
"cex_absSeq f = (%s. Map (%(s,a,t). (f s,a,f t))$s)" |
4559 | 22 |
|
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
23 |
definition |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
24 |
is_abstraction ::"[('s1=>'s2),('a,'s1)ioa,('a,'s2)ioa] => bool" where |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
25 |
"is_abstraction f C A = |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
26 |
((!s:starts_of(C). f(s):starts_of(A)) & |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
27 |
(!s t a. reachable C s & s -a--C-> t |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
28 |
--> (f s) -a--A-> (f t)))" |
4559 | 29 |
|
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
30 |
definition |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
31 |
weakeningIOA :: "('a,'s2)ioa => ('a,'s1)ioa => ('s1 => 's2) => bool" where |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
32 |
"weakeningIOA A C h = (!ex. ex : executions C --> cex_abs h ex : executions A)" |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
33 |
definition |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
34 |
temp_strengthening :: "('a,'s2)ioa_temp => ('a,'s1)ioa_temp => ('s1 => 's2) => bool" where |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
35 |
"temp_strengthening Q P h = (!ex. (cex_abs h ex |== Q) --> (ex |== P))" |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
36 |
definition |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
37 |
temp_weakening :: "('a,'s2)ioa_temp => ('a,'s1)ioa_temp => ('s1 => 's2) => bool" where |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
38 |
"temp_weakening Q P h = temp_strengthening (.~ Q) (.~ P) h" |
4559 | 39 |
|
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
40 |
definition |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
41 |
state_strengthening :: "('a,'s2)step_pred => ('a,'s1)step_pred => ('s1 => 's2) => bool" where |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
42 |
"state_strengthening Q P h = (!s t a. Q (h(s),a,h(t)) --> P (s,a,t))" |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
43 |
definition |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
44 |
state_weakening :: "('a,'s2)step_pred => ('a,'s1)step_pred => ('s1 => 's2) => bool" where |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
45 |
"state_weakening Q P h = state_strengthening (.~Q) (.~P) h" |
4559 | 46 |
|
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
47 |
definition |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
48 |
is_live_abstraction :: "('s1 => 's2) => ('a,'s1)live_ioa => ('a,'s2)live_ioa => bool" where |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
49 |
"is_live_abstraction h CL AM = |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
50 |
(is_abstraction h (fst CL) (fst AM) & |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
51 |
temp_weakening (snd AM) (snd CL) h)" |
4559 | 52 |
|
53 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
54 |
axiomatization where |
4577
674b0b354feb
added thms wrt weakening and strengthening in Abstraction;
mueller
parents:
4559
diff
changeset
|
55 |
(* thm about ex2seq which is not provable by induction as ex2seq is not continous *) |
17233 | 56 |
ex2seq_abs_cex: |
57 |
"ex2seq (cex_abs h ex) = cex_absSeq h (ex2seq ex)" |
|
4559 | 58 |
|
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
59 |
axiomatization where |
5976 | 60 |
(* analog to the proved thm strength_Box - proof skipped as trivial *) |
17233 | 61 |
weak_Box: |
62 |
"temp_weakening P Q h |
|
4559 | 63 |
==> temp_weakening ([] P) ([] Q) h" |
64 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
65 |
axiomatization where |
5976 | 66 |
(* analog to the proved thm strength_Next - proof skipped as trivial *) |
17233 | 67 |
weak_Next: |
68 |
"temp_weakening P Q h |
|
4559 | 69 |
==> temp_weakening (Next P) (Next Q) h" |
70 |
||
19741 | 71 |
|
72 |
subsection "cex_abs" |
|
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
73 |
|
19741 | 74 |
lemma cex_abs_UU: "cex_abs f (s,UU) = (f s, UU)" |
75 |
by (simp add: cex_abs_def) |
|
76 |
||
77 |
lemma cex_abs_nil: "cex_abs f (s,nil) = (f s, nil)" |
|
78 |
by (simp add: cex_abs_def) |
|
79 |
||
80 |
lemma cex_abs_cons: "cex_abs f (s,(a,t)>>ex) = (f s, (a,f t) >> (snd (cex_abs f (t,ex))))" |
|
81 |
by (simp add: cex_abs_def) |
|
82 |
||
83 |
declare cex_abs_UU [simp] cex_abs_nil [simp] cex_abs_cons [simp] |
|
84 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
85 |
|
19741 | 86 |
subsection "lemmas" |
87 |
||
88 |
lemma temp_weakening_def2: "temp_weakening Q P h = (! ex. (ex |== P) --> (cex_abs h ex |== Q))" |
|
89 |
apply (simp add: temp_weakening_def temp_strengthening_def NOT_def temp_sat_def satisfies_def) |
|
90 |
apply auto |
|
91 |
done |
|
92 |
||
93 |
lemma state_weakening_def2: "state_weakening Q P h = (! s t a. P (s,a,t) --> Q (h(s),a,h(t)))" |
|
94 |
apply (simp add: state_weakening_def state_strengthening_def NOT_def) |
|
95 |
apply auto |
|
96 |
done |
|
97 |
||
98 |
||
99 |
subsection "Abstraction Rules for Properties" |
|
100 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
101 |
lemma exec_frag_abstraction [rule_format]: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
102 |
"[| is_abstraction h C A |] ==> |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
103 |
!s. reachable C s & is_exec_frag C (s,xs) |
19741 | 104 |
--> is_exec_frag A (cex_abs h (s,xs))" |
105 |
apply (unfold cex_abs_def) |
|
106 |
apply simp |
|
107 |
apply (tactic {* pair_induct_tac "xs" [thm "is_exec_frag_def"] 1 *}) |
|
108 |
txt {* main case *} |
|
109 |
apply (tactic "safe_tac set_cs") |
|
110 |
apply (simp add: is_abstraction_def) |
|
111 |
apply (frule reachable.reachable_n) |
|
112 |
apply assumption |
|
113 |
apply simp |
|
114 |
done |
|
115 |
||
116 |
||
117 |
lemma abs_is_weakening: "is_abstraction h C A ==> weakeningIOA A C h" |
|
118 |
apply (simp add: weakeningIOA_def) |
|
119 |
apply auto |
|
120 |
apply (simp add: executions_def) |
|
121 |
txt {* start state *} |
|
122 |
apply (rule conjI) |
|
123 |
apply (simp add: is_abstraction_def cex_abs_def) |
|
124 |
txt {* is-execution-fragment *} |
|
125 |
apply (erule exec_frag_abstraction) |
|
126 |
apply (simp add: reachable.reachable_0) |
|
127 |
done |
|
128 |
||
129 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
130 |
lemma AbsRuleT1: "[|is_abstraction h C A; validIOA A Q; temp_strengthening Q P h |] |
19741 | 131 |
==> validIOA C P" |
132 |
apply (drule abs_is_weakening) |
|
133 |
apply (simp add: weakeningIOA_def validIOA_def temp_strengthening_def) |
|
134 |
apply (tactic "safe_tac set_cs") |
|
135 |
apply (tactic {* pair_tac "ex" 1 *}) |
|
136 |
done |
|
137 |
||
138 |
||
139 |
(* FIX: Nach TLS.ML *) |
|
140 |
||
141 |
lemma IMPLIES_temp_sat: "(ex |== P .--> Q) = ((ex |== P) --> (ex |== Q))" |
|
142 |
by (simp add: IMPLIES_def temp_sat_def satisfies_def) |
|
143 |
||
144 |
lemma AND_temp_sat: "(ex |== P .& Q) = ((ex |== P) & (ex |== Q))" |
|
145 |
by (simp add: AND_def temp_sat_def satisfies_def) |
|
146 |
||
147 |
lemma OR_temp_sat: "(ex |== P .| Q) = ((ex |== P) | (ex |== Q))" |
|
148 |
by (simp add: OR_def temp_sat_def satisfies_def) |
|
149 |
||
150 |
lemma NOT_temp_sat: "(ex |== .~ P) = (~ (ex |== P))" |
|
151 |
by (simp add: NOT_def temp_sat_def satisfies_def) |
|
152 |
||
153 |
declare IMPLIES_temp_sat [simp] AND_temp_sat [simp] OR_temp_sat [simp] NOT_temp_sat [simp] |
|
154 |
||
155 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
156 |
lemma AbsRuleT2: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
157 |
"[|is_live_abstraction h (C,L) (A,M); |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
158 |
validLIOA (A,M) Q; temp_strengthening Q P h |] |
19741 | 159 |
==> validLIOA (C,L) P" |
160 |
apply (unfold is_live_abstraction_def) |
|
161 |
apply auto |
|
162 |
apply (drule abs_is_weakening) |
|
163 |
apply (simp add: weakeningIOA_def temp_weakening_def2 validLIOA_def validIOA_def temp_strengthening_def) |
|
164 |
apply (tactic "safe_tac set_cs") |
|
165 |
apply (tactic {* pair_tac "ex" 1 *}) |
|
166 |
done |
|
167 |
||
168 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
169 |
lemma AbsRuleTImprove: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
170 |
"[|is_live_abstraction h (C,L) (A,M); |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
171 |
validLIOA (A,M) (H1 .--> Q); temp_strengthening Q P h; |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
172 |
temp_weakening H1 H2 h; validLIOA (C,L) H2 |] |
19741 | 173 |
==> validLIOA (C,L) P" |
174 |
apply (unfold is_live_abstraction_def) |
|
175 |
apply auto |
|
176 |
apply (drule abs_is_weakening) |
|
177 |
apply (simp add: weakeningIOA_def temp_weakening_def2 validLIOA_def validIOA_def temp_strengthening_def) |
|
178 |
apply (tactic "safe_tac set_cs") |
|
179 |
apply (tactic {* pair_tac "ex" 1 *}) |
|
180 |
done |
|
181 |
||
182 |
||
183 |
subsection "Correctness of safe abstraction" |
|
184 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
185 |
lemma abstraction_is_ref_map: |
19741 | 186 |
"is_abstraction h C A ==> is_ref_map h C A" |
187 |
apply (unfold is_abstraction_def is_ref_map_def) |
|
188 |
apply (tactic "safe_tac set_cs") |
|
189 |
apply (rule_tac x = "(a,h t) >>nil" in exI) |
|
190 |
apply (simp add: move_def) |
|
191 |
done |
|
192 |
||
193 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
194 |
lemma abs_safety: "[| inp(C)=inp(A); out(C)=out(A); |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
195 |
is_abstraction h C A |] |
19741 | 196 |
==> C =<| A" |
197 |
apply (simp add: ioa_implements_def) |
|
198 |
apply (rule trace_inclusion) |
|
199 |
apply (simp (no_asm) add: externals_def) |
|
200 |
apply (auto)[1] |
|
201 |
apply (erule abstraction_is_ref_map) |
|
202 |
done |
|
203 |
||
204 |
||
205 |
subsection "Correctness of life abstraction" |
|
206 |
||
207 |
(* Reduces to Filter (Map fst x) = Filter (Map fst (Map (%(a,t). (a,x)) x), |
|
208 |
that is to special Map Lemma *) |
|
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
209 |
lemma traces_coincide_abs: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
210 |
"ext C = ext A |
19741 | 211 |
==> mk_trace C$xs = mk_trace A$(snd (cex_abs f (s,xs)))" |
212 |
apply (unfold cex_abs_def mk_trace_def filter_act_def) |
|
213 |
apply simp |
|
214 |
apply (tactic {* pair_induct_tac "xs" [] 1 *}) |
|
215 |
done |
|
216 |
||
217 |
||
218 |
(* Does not work with abstraction_is_ref_map as proof of abs_safety, because |
|
219 |
is_live_abstraction includes temp_strengthening which is necessarily based |
|
220 |
on cex_abs and not on corresp_ex. Thus, the proof is redoone in a more specific |
|
221 |
way for cex_abs *) |
|
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
222 |
lemma abs_liveness: "[| inp(C)=inp(A); out(C)=out(A); |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
223 |
is_live_abstraction h (C,M) (A,L) |] |
19741 | 224 |
==> live_implements (C,M) (A,L)" |
225 |
apply (simp add: is_live_abstraction_def live_implements_def livetraces_def liveexecutions_def) |
|
226 |
apply (tactic "safe_tac set_cs") |
|
227 |
apply (rule_tac x = "cex_abs h ex" in exI) |
|
228 |
apply (tactic "safe_tac set_cs") |
|
229 |
(* Traces coincide *) |
|
230 |
apply (tactic {* pair_tac "ex" 1 *}) |
|
231 |
apply (rule traces_coincide_abs) |
|
232 |
apply (simp (no_asm) add: externals_def) |
|
233 |
apply (auto)[1] |
|
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
234 |
|
19741 | 235 |
(* cex_abs is execution *) |
236 |
apply (tactic {* pair_tac "ex" 1 *}) |
|
237 |
apply (simp add: executions_def) |
|
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
238 |
(* start state *) |
19741 | 239 |
apply (rule conjI) |
240 |
apply (simp add: is_abstraction_def cex_abs_def) |
|
241 |
(* is-execution-fragment *) |
|
242 |
apply (erule exec_frag_abstraction) |
|
243 |
apply (simp add: reachable.reachable_0) |
|
244 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
245 |
(* Liveness *) |
19741 | 246 |
apply (simp add: temp_weakening_def2) |
247 |
apply (tactic {* pair_tac "ex" 1 *}) |
|
248 |
done |
|
249 |
||
250 |
(* FIX: NAch Traces.ML bringen *) |
|
251 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
252 |
lemma implements_trans: |
19741 | 253 |
"[| A =<| B; B =<| C|] ==> A =<| C" |
254 |
apply (unfold ioa_implements_def) |
|
255 |
apply auto |
|
256 |
done |
|
257 |
||
258 |
||
259 |
subsection "Abstraction Rules for Automata" |
|
260 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
261 |
lemma AbsRuleA1: "[| inp(C)=inp(A); out(C)=out(A); |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
262 |
inp(Q)=inp(P); out(Q)=out(P); |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
263 |
is_abstraction h1 C A; |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
264 |
A =<| Q ; |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
265 |
is_abstraction h2 Q P |] |
19741 | 266 |
==> C =<| P" |
267 |
apply (drule abs_safety) |
|
268 |
apply assumption+ |
|
269 |
apply (drule abs_safety) |
|
270 |
apply assumption+ |
|
271 |
apply (erule implements_trans) |
|
272 |
apply (erule implements_trans) |
|
273 |
apply assumption |
|
274 |
done |
|
275 |
||
276 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
277 |
lemma AbsRuleA2: "!!LC. [| inp(C)=inp(A); out(C)=out(A); |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
278 |
inp(Q)=inp(P); out(Q)=out(P); |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
279 |
is_live_abstraction h1 (C,LC) (A,LA); |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
280 |
live_implements (A,LA) (Q,LQ) ; |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
281 |
is_live_abstraction h2 (Q,LQ) (P,LP) |] |
19741 | 282 |
==> live_implements (C,LC) (P,LP)" |
283 |
apply (drule abs_liveness) |
|
284 |
apply assumption+ |
|
285 |
apply (drule abs_liveness) |
|
286 |
apply assumption+ |
|
287 |
apply (erule live_implements_trans) |
|
288 |
apply (erule live_implements_trans) |
|
289 |
apply assumption |
|
290 |
done |
|
291 |
||
292 |
||
293 |
declare split_paired_All [simp del] |
|
294 |
||
295 |
||
296 |
subsection "Localizing Temporal Strengthenings and Weakenings" |
|
297 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
298 |
lemma strength_AND: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
299 |
"[| temp_strengthening P1 Q1 h; |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
300 |
temp_strengthening P2 Q2 h |] |
19741 | 301 |
==> temp_strengthening (P1 .& P2) (Q1 .& Q2) h" |
302 |
apply (unfold temp_strengthening_def) |
|
303 |
apply auto |
|
304 |
done |
|
305 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
306 |
lemma strength_OR: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
307 |
"[| temp_strengthening P1 Q1 h; |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
308 |
temp_strengthening P2 Q2 h |] |
19741 | 309 |
==> temp_strengthening (P1 .| P2) (Q1 .| Q2) h" |
310 |
apply (unfold temp_strengthening_def) |
|
311 |
apply auto |
|
312 |
done |
|
313 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
314 |
lemma strength_NOT: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
315 |
"[| temp_weakening P Q h |] |
19741 | 316 |
==> temp_strengthening (.~ P) (.~ Q) h" |
317 |
apply (unfold temp_strengthening_def) |
|
318 |
apply (simp add: temp_weakening_def2) |
|
319 |
apply auto |
|
320 |
done |
|
321 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
322 |
lemma strength_IMPLIES: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
323 |
"[| temp_weakening P1 Q1 h; |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
324 |
temp_strengthening P2 Q2 h |] |
19741 | 325 |
==> temp_strengthening (P1 .--> P2) (Q1 .--> Q2) h" |
326 |
apply (unfold temp_strengthening_def) |
|
327 |
apply (simp add: temp_weakening_def2) |
|
328 |
done |
|
329 |
||
330 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
331 |
lemma weak_AND: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
332 |
"[| temp_weakening P1 Q1 h; |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
333 |
temp_weakening P2 Q2 h |] |
19741 | 334 |
==> temp_weakening (P1 .& P2) (Q1 .& Q2) h" |
335 |
apply (simp add: temp_weakening_def2) |
|
336 |
done |
|
337 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
338 |
lemma weak_OR: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
339 |
"[| temp_weakening P1 Q1 h; |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
340 |
temp_weakening P2 Q2 h |] |
19741 | 341 |
==> temp_weakening (P1 .| P2) (Q1 .| Q2) h" |
342 |
apply (simp add: temp_weakening_def2) |
|
343 |
done |
|
344 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
345 |
lemma weak_NOT: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
346 |
"[| temp_strengthening P Q h |] |
19741 | 347 |
==> temp_weakening (.~ P) (.~ Q) h" |
348 |
apply (unfold temp_strengthening_def) |
|
349 |
apply (simp add: temp_weakening_def2) |
|
350 |
apply auto |
|
351 |
done |
|
352 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
353 |
lemma weak_IMPLIES: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
354 |
"[| temp_strengthening P1 Q1 h; |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
355 |
temp_weakening P2 Q2 h |] |
19741 | 356 |
==> temp_weakening (P1 .--> P2) (Q1 .--> Q2) h" |
357 |
apply (unfold temp_strengthening_def) |
|
358 |
apply (simp add: temp_weakening_def2) |
|
359 |
done |
|
360 |
||
361 |
||
362 |
subsubsection {* Box *} |
|
363 |
||
364 |
(* FIX: should be same as nil_is_Conc2 when all nils are turned to right side !! *) |
|
365 |
lemma UU_is_Conc: "(UU = x @@ y) = (((x::'a Seq)= UU) | (x=nil & y=UU))" |
|
366 |
apply (tactic {* Seq_case_simp_tac "x" 1 *}) |
|
367 |
done |
|
368 |
||
369 |
lemma ex2seqConc [rule_format]: |
|
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
370 |
"Finite s1 --> |
19741 | 371 |
(! ex. (s~=nil & s~=UU & ex2seq ex = s1 @@ s) --> (? ex'. s = ex2seq ex'))" |
372 |
apply (rule impI) |
|
373 |
apply (tactic {* Seq_Finite_induct_tac 1 *}) |
|
374 |
apply blast |
|
375 |
(* main case *) |
|
376 |
apply (tactic "clarify_tac set_cs 1") |
|
377 |
apply (tactic {* pair_tac "ex" 1 *}) |
|
378 |
apply (tactic {* Seq_case_simp_tac "y" 1 *}) |
|
379 |
(* UU case *) |
|
380 |
apply (simp add: nil_is_Conc) |
|
381 |
(* nil case *) |
|
382 |
apply (simp add: nil_is_Conc) |
|
383 |
(* cons case *) |
|
384 |
apply (tactic {* pair_tac "aa" 1 *}) |
|
385 |
apply auto |
|
386 |
done |
|
387 |
||
388 |
(* important property of ex2seq: can be shiftet, as defined "pointwise" *) |
|
389 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
390 |
lemma ex2seq_tsuffix: |
19741 | 391 |
"tsuffix s (ex2seq ex) ==> ? ex'. s = (ex2seq ex')" |
392 |
apply (unfold tsuffix_def suffix_def) |
|
393 |
apply auto |
|
394 |
apply (drule ex2seqConc) |
|
395 |
apply auto |
|
396 |
done |
|
397 |
||
398 |
||
399 |
(* FIX: NAch Sequence.ML bringen *) |
|
400 |
||
401 |
lemma Mapnil: "(Map f$s = nil) = (s=nil)" |
|
402 |
apply (tactic {* Seq_case_simp_tac "s" 1 *}) |
|
403 |
done |
|
404 |
||
405 |
lemma MapUU: "(Map f$s = UU) = (s=UU)" |
|
406 |
apply (tactic {* Seq_case_simp_tac "s" 1 *}) |
|
407 |
done |
|
408 |
||
409 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
410 |
(* important property of cex_absSeq: As it is a 1to1 correspondence, |
19741 | 411 |
properties carry over *) |
412 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
413 |
lemma cex_absSeq_tsuffix: |
19741 | 414 |
"tsuffix s t ==> tsuffix (cex_absSeq h s) (cex_absSeq h t)" |
415 |
apply (unfold tsuffix_def suffix_def cex_absSeq_def) |
|
416 |
apply auto |
|
417 |
apply (simp add: Mapnil) |
|
418 |
apply (simp add: MapUU) |
|
419 |
apply (rule_tac x = "Map (% (s,a,t) . (h s,a, h t))$s1" in exI) |
|
420 |
apply (simp add: Map2Finite MapConc) |
|
421 |
done |
|
422 |
||
423 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
424 |
lemma strength_Box: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
425 |
"[| temp_strengthening P Q h |] |
19741 | 426 |
==> temp_strengthening ([] P) ([] Q) h" |
427 |
apply (unfold temp_strengthening_def state_strengthening_def temp_sat_def satisfies_def Box_def) |
|
428 |
apply (tactic "clarify_tac set_cs 1") |
|
429 |
apply (frule ex2seq_tsuffix) |
|
430 |
apply (tactic "clarify_tac set_cs 1") |
|
431 |
apply (drule_tac h = "h" in cex_absSeq_tsuffix) |
|
432 |
apply (simp add: ex2seq_abs_cex) |
|
433 |
done |
|
434 |
||
435 |
||
436 |
subsubsection {* Init *} |
|
437 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
438 |
lemma strength_Init: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
439 |
"[| state_strengthening P Q h |] |
19741 | 440 |
==> temp_strengthening (Init P) (Init Q) h" |
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
441 |
apply (unfold temp_strengthening_def state_strengthening_def |
19741 | 442 |
temp_sat_def satisfies_def Init_def unlift_def) |
443 |
apply (tactic "safe_tac set_cs") |
|
444 |
apply (tactic {* pair_tac "ex" 1 *}) |
|
445 |
apply (tactic {* Seq_case_simp_tac "y" 1 *}) |
|
446 |
apply (tactic {* pair_tac "a" 1 *}) |
|
447 |
done |
|
448 |
||
449 |
||
450 |
subsubsection {* Next *} |
|
451 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
452 |
lemma TL_ex2seq_UU: |
19741 | 453 |
"(TL$(ex2seq (cex_abs h ex))=UU) = (TL$(ex2seq ex)=UU)" |
454 |
apply (tactic {* pair_tac "ex" 1 *}) |
|
455 |
apply (tactic {* Seq_case_simp_tac "y" 1 *}) |
|
456 |
apply (tactic {* pair_tac "a" 1 *}) |
|
457 |
apply (tactic {* Seq_case_simp_tac "s" 1 *}) |
|
458 |
apply (tactic {* pair_tac "a" 1 *}) |
|
459 |
done |
|
460 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
461 |
lemma TL_ex2seq_nil: |
19741 | 462 |
"(TL$(ex2seq (cex_abs h ex))=nil) = (TL$(ex2seq ex)=nil)" |
463 |
apply (tactic {* pair_tac "ex" 1 *}) |
|
464 |
apply (tactic {* Seq_case_simp_tac "y" 1 *}) |
|
465 |
apply (tactic {* pair_tac "a" 1 *}) |
|
466 |
apply (tactic {* Seq_case_simp_tac "s" 1 *}) |
|
467 |
apply (tactic {* pair_tac "a" 1 *}) |
|
468 |
done |
|
469 |
||
470 |
(* FIX: put to Sequence Lemmas *) |
|
471 |
lemma MapTL: "Map f$(TL$s) = TL$(Map f$s)" |
|
472 |
apply (tactic {* Seq_induct_tac "s" [] 1 *}) |
|
473 |
done |
|
474 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
475 |
(* important property of cex_absSeq: As it is a 1to1 correspondence, |
19741 | 476 |
properties carry over *) |
477 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
478 |
lemma cex_absSeq_TL: |
19741 | 479 |
"cex_absSeq h (TL$s) = (TL$(cex_absSeq h s))" |
480 |
apply (unfold cex_absSeq_def) |
|
481 |
apply (simp add: MapTL) |
|
482 |
done |
|
483 |
||
484 |
(* important property of ex2seq: can be shiftet, as defined "pointwise" *) |
|
485 |
||
486 |
lemma TLex2seq: "[| (snd ex)~=UU ; (snd ex)~=nil |] ==> (? ex'. TL$(ex2seq ex) = ex2seq ex')" |
|
487 |
apply (tactic {* pair_tac "ex" 1 *}) |
|
488 |
apply (tactic {* Seq_case_simp_tac "y" 1 *}) |
|
489 |
apply (tactic {* pair_tac "a" 1 *}) |
|
490 |
apply auto |
|
491 |
done |
|
492 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
493 |
|
19741 | 494 |
lemma ex2seqnilTL: "(TL$(ex2seq ex)~=nil) = ((snd ex)~=nil & (snd ex)~=UU)" |
495 |
apply (tactic {* pair_tac "ex" 1 *}) |
|
496 |
apply (tactic {* Seq_case_simp_tac "y" 1 *}) |
|
497 |
apply (tactic {* pair_tac "a" 1 *}) |
|
498 |
apply (tactic {* Seq_case_simp_tac "s" 1 *}) |
|
499 |
apply (tactic {* pair_tac "a" 1 *}) |
|
500 |
done |
|
501 |
||
502 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
503 |
lemma strength_Next: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
504 |
"[| temp_strengthening P Q h |] |
19741 | 505 |
==> temp_strengthening (Next P) (Next Q) h" |
506 |
apply (unfold temp_strengthening_def state_strengthening_def temp_sat_def satisfies_def Next_def) |
|
507 |
apply simp |
|
508 |
apply (tactic "safe_tac set_cs") |
|
509 |
apply (simp add: TL_ex2seq_nil TL_ex2seq_UU) |
|
510 |
apply (simp add: TL_ex2seq_nil TL_ex2seq_UU) |
|
511 |
apply (simp add: TL_ex2seq_nil TL_ex2seq_UU) |
|
512 |
apply (simp add: TL_ex2seq_nil TL_ex2seq_UU) |
|
513 |
(* cons case *) |
|
514 |
apply (simp add: TL_ex2seq_nil TL_ex2seq_UU ex2seq_abs_cex cex_absSeq_TL [symmetric] ex2seqnilTL) |
|
515 |
apply (erule conjE) |
|
516 |
apply (drule TLex2seq) |
|
517 |
apply assumption |
|
518 |
apply auto |
|
519 |
done |
|
520 |
||
521 |
||
522 |
text {* Localizing Temporal Weakenings - 2 *} |
|
523 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
524 |
lemma weak_Init: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
525 |
"[| state_weakening P Q h |] |
19741 | 526 |
==> temp_weakening (Init P) (Init Q) h" |
527 |
apply (simp add: temp_weakening_def2 state_weakening_def2 |
|
528 |
temp_sat_def satisfies_def Init_def unlift_def) |
|
529 |
apply (tactic "safe_tac set_cs") |
|
530 |
apply (tactic {* pair_tac "ex" 1 *}) |
|
531 |
apply (tactic {* Seq_case_simp_tac "y" 1 *}) |
|
532 |
apply (tactic {* pair_tac "a" 1 *}) |
|
533 |
done |
|
534 |
||
535 |
||
536 |
text {* Localizing Temproal Strengthenings - 3 *} |
|
537 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
538 |
lemma strength_Diamond: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
539 |
"[| temp_strengthening P Q h |] |
19741 | 540 |
==> temp_strengthening (<> P) (<> Q) h" |
541 |
apply (unfold Diamond_def) |
|
542 |
apply (rule strength_NOT) |
|
543 |
apply (rule weak_Box) |
|
544 |
apply (erule weak_NOT) |
|
545 |
done |
|
546 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
547 |
lemma strength_Leadsto: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
548 |
"[| temp_weakening P1 P2 h; |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
549 |
temp_strengthening Q1 Q2 h |] |
19741 | 550 |
==> temp_strengthening (P1 ~> Q1) (P2 ~> Q2) h" |
551 |
apply (unfold Leadsto_def) |
|
552 |
apply (rule strength_Box) |
|
553 |
apply (erule strength_IMPLIES) |
|
554 |
apply (erule strength_Diamond) |
|
555 |
done |
|
556 |
||
557 |
||
558 |
text {* Localizing Temporal Weakenings - 3 *} |
|
559 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
560 |
lemma weak_Diamond: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
561 |
"[| temp_weakening P Q h |] |
19741 | 562 |
==> temp_weakening (<> P) (<> Q) h" |
563 |
apply (unfold Diamond_def) |
|
564 |
apply (rule weak_NOT) |
|
565 |
apply (rule strength_Box) |
|
566 |
apply (erule strength_NOT) |
|
567 |
done |
|
568 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
569 |
lemma weak_Leadsto: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
570 |
"[| temp_strengthening P1 P2 h; |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
571 |
temp_weakening Q1 Q2 h |] |
19741 | 572 |
==> temp_weakening (P1 ~> Q1) (P2 ~> Q2) h" |
573 |
apply (unfold Leadsto_def) |
|
574 |
apply (rule weak_Box) |
|
575 |
apply (erule weak_IMPLIES) |
|
576 |
apply (erule weak_Diamond) |
|
577 |
done |
|
578 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
579 |
lemma weak_WF: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
580 |
" !!A. [| !! s. Enabled A acts (h s) ==> Enabled C acts s|] |
19741 | 581 |
==> temp_weakening (WF A acts) (WF C acts) h" |
582 |
apply (unfold WF_def) |
|
583 |
apply (rule weak_IMPLIES) |
|
584 |
apply (rule strength_Diamond) |
|
585 |
apply (rule strength_Box) |
|
586 |
apply (rule strength_Init) |
|
587 |
apply (rule_tac [2] weak_Box) |
|
588 |
apply (rule_tac [2] weak_Diamond) |
|
589 |
apply (rule_tac [2] weak_Init) |
|
590 |
apply (auto simp add: state_weakening_def state_strengthening_def |
|
591 |
xt2_def plift_def option_lift_def NOT_def) |
|
592 |
done |
|
593 |
||
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
594 |
lemma weak_SF: |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
595 |
" !!A. [| !! s. Enabled A acts (h s) ==> Enabled C acts s|] |
19741 | 596 |
==> temp_weakening (SF A acts) (SF C acts) h" |
597 |
apply (unfold SF_def) |
|
598 |
apply (rule weak_IMPLIES) |
|
599 |
apply (rule strength_Box) |
|
600 |
apply (rule strength_Diamond) |
|
601 |
apply (rule strength_Init) |
|
602 |
apply (rule_tac [2] weak_Box) |
|
603 |
apply (rule_tac [2] weak_Diamond) |
|
604 |
apply (rule_tac [2] weak_Init) |
|
605 |
apply (auto simp add: state_weakening_def state_strengthening_def |
|
606 |
xt2_def plift_def option_lift_def NOT_def) |
|
607 |
done |
|
608 |
||
609 |
||
610 |
lemmas weak_strength_lemmas = |
|
611 |
weak_OR weak_AND weak_NOT weak_IMPLIES weak_Box weak_Next weak_Init |
|
612 |
weak_Diamond weak_Leadsto strength_OR strength_AND strength_NOT |
|
613 |
strength_IMPLIES strength_Box strength_Next strength_Init |
|
614 |
strength_Diamond strength_Leadsto weak_WF weak_SF |
|
615 |
||
616 |
ML {* |
|
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
617 |
fun abstraction_tac i = |
19741 | 618 |
SELECT_GOAL (CLASIMPSET (fn (cs, ss) => |
25135
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
619 |
auto_tac (cs addSIs @{thms weak_strength_lemmas}, |
4f8176c940cf
modernized specifications ('definition', 'axiomatization');
wenzelm
parents:
23560
diff
changeset
|
620 |
ss addsimps [@{thm state_strengthening_def}, @{thm state_weakening_def}]))) i |
19741 | 621 |
*} |
17233 | 622 |
|
23560 | 623 |
use "ioa_package.ML" |
624 |
||
17233 | 625 |
end |