diff -r 8d18cfc845dd -r e832378a2ff2 no_shm_selinux/Delete_prop.thy --- a/no_shm_selinux/Delete_prop.thy Tue Dec 31 14:57:13 2013 +0800 +++ b/no_shm_selinux/Delete_prop.thy Wed Jan 01 23:00:24 2014 +0800 @@ -112,19 +112,21 @@ by (case_tac a, auto) *) +(* lemma not_died_init_msgq: "\\ died (O_msgq q) s; q \ init_msgqs\ \ q \ current_msgqs s" apply (induct s, simp) by (case_tac a, auto) +*) lemma current_msg_imp_current_msgq: "\m \ set (msgs_of_queue s q); valid s\ \ q \ current_msgqs s" -apply (induct s) -apply (simp add:init_msgs_valid) +apply (induct s, simp) apply (frule vd_cons, drule vt_grant_os) apply (case_tac a, auto split:if_splits) done +(* lemma not_died_init_msg: "\\ died (O_msg q m) s; valid s; m \ set (init_msgs_of_queue q)\ \ m \ set (msgs_of_queue s q)" apply (induct s, simp) @@ -132,13 +134,14 @@ apply (case_tac a, auto dest:current_msg_imp_current_msgq) apply (case_tac "msgs_of_queue s q", simp+) done +*) lemma not_died_imp_alive: (* init_alive obj; *) "\\ died obj s; valid s; init_alive obj\ \ alive s obj" apply (case_tac obj) apply (auto dest!: not_died_init_file not_died_init_dir not_died_init_proc - not_died_init_msg not_died_init_fd1 not_died_init_tcp1 not_died_init_udp1 (* not_died_init_shm *) - not_died_init_msgq + not_died_init_fd1 not_died_init_tcp1 not_died_init_udp1 + (* not_died_init_shm not_died_init_msg not_died_init_msgq*) intro:is_file_in_current is_dir_in_current is_tcp_in_current is_udp_in_current current_msg_imp_current_msgq) done