8011
|
1 |
(* Title: HOL/MicroJava/JVM/Store.thy
|
|
2 |
ID: $Id$
|
|
3 |
Author: Cornelia Pusch
|
|
4 |
Copyright 1999 Technische Universitaet Muenchen
|
|
5 |
*)
|
|
6 |
|
10057
|
7 |
header {* Store of the JVM *}
|
|
8 |
|
|
9 |
theory Store = Conform:
|
|
10 |
|
|
11 |
text {*
|
|
12 |
The JVM builds on many notions already defined in Java.
|
|
13 |
Conform provides notions for the type safety proof of the Bytecode Verifier.
|
|
14 |
*}
|
|
15 |
|
8011
|
16 |
|
|
17 |
constdefs
|
10057
|
18 |
newref :: "('a \<leadsto> 'b) => 'a"
|
10042
|
19 |
"newref s == SOME v. s v = None"
|
8011
|
20 |
|
10057
|
21 |
|
|
22 |
lemma newref_None:
|
|
23 |
"hp x = None ==> hp (newref hp) = None"
|
|
24 |
by (auto intro: someI2_ex simp add: newref_def)
|
|
25 |
|
8011
|
26 |
end
|