author | nipkow |
Fri, 26 Nov 1999 08:46:59 +0100 | |
changeset 8034 | 6fc37b5c5e98 |
parent 8032 | 1eaae1a2f8ff |
permissions | -rw-r--r-- |
8011 | 1 |
(* Title: HOL/MicroJava/BV/BVSpec.ML |
2 |
ID: $Id$ |
|
3 |
Author: Cornelia Pusch |
|
4 |
Copyright 1999 Technische Universitaet Muenchen |
|
5 |
*) |
|
6 |
||
7 |
Goalw [wt_jvm_prog_def] "wt_jvm_prog G phi \\<Longrightarrow> (\\<exists>wt. wf_prog wt G)"; |
|
8 |
by(Blast_tac 1); |
|
9 |
qed "wt_jvm_progD"; |
|
10 |
||
11 |
||
12 |
Goalw [wt_jvm_prog_def] |
|
13 |
"\\<lbrakk> wt_jvm_prog G phi; \ |
|
8034
6fc37b5c5e98
Various little changes like cmethd -> method and cfield -> field.
nipkow
parents:
8032
diff
changeset
|
14 |
\ method (G,C) sig = Some (C,rT,maxl,ins); \ |
8011 | 15 |
\ pc < length ins \\<rbrakk> \ |
16 |
\\\<Longrightarrow> wt_instr (ins!pc) G rT (phi C sig) (length ins) pc"; |
|
8034
6fc37b5c5e98
Various little changes like cmethd -> method and cfield -> field.
nipkow
parents:
8032
diff
changeset
|
17 |
by(forward_tac [rotate_prems 2 method_wf_mdecl] 1); |
8011 | 18 |
by (Asm_full_simp_tac 1); |
19 |
by(asm_full_simp_tac (simpset() addsimps [wf_mdecl_def,wt_method_def]) 1); |
|
20 |
qed "wt_jvm_prog_impl_wt_instr"; |
|
21 |
||
22 |
Goalw [wt_jvm_prog_def] |
|
23 |
"\\<lbrakk> wt_jvm_prog G phi; \ |
|
8034
6fc37b5c5e98
Various little changes like cmethd -> method and cfield -> field.
nipkow
parents:
8032
diff
changeset
|
24 |
\ method (G,C) sig = Some (C,rT,maxl,ins) \\<rbrakk> \\<Longrightarrow> \ |
8011 | 25 |
\ 0 < (length ins) \\<and> wt_start G C (snd sig) maxl (phi C sig)"; |
8034
6fc37b5c5e98
Various little changes like cmethd -> method and cfield -> field.
nipkow
parents:
8032
diff
changeset
|
26 |
by(forward_tac [rotate_prems 2 method_wf_mdecl] 1); |
8011 | 27 |
by (Asm_full_simp_tac 1); |
28 |
by(asm_full_simp_tac (simpset() addsimps [wf_mdecl_def,wt_method_def]) 1); |
|
29 |
qed "wt_jvm_prog_impl_wt_start"; |