Skip to content

Commit

Permalink
rt ainvs: remove set_map_fst_filter_zip from AInvs (now in Lib)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael McInerney <[email protected]>
  • Loading branch information
michaelmcinerney committed Dec 20, 2024
1 parent 40639d3 commit b91e1d9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions proof/invariant-abstract/IpcDet_AI.thy
Original file line number Diff line number Diff line change
Expand Up @@ -369,12 +369,6 @@ lemma tcb_ep_append_valid_ep:
\<lbrace>\<lambda>q'. valid_ep (update_ep_queue ep q')\<rbrace>"
by (cases ep) (wpsimp wp: tcb_ep_append_valid_SendEP tcb_ep_append_valid_RecvEP)+

lemma set_map_fst_filter_zip:
"set (map fst (filter P (zip xs ys))) \<subseteq> set xs"
apply (induct xs, simp)
apply (case_tac ys; simp)
by (metis (mono_tags, lifting) image_Collect_subsetI insertI2 set_zip_helper)

lemma tcb_ep_append_rv_wf:
"\<lbrace>\<top>\<rbrace> tcb_ep_append t q \<lbrace>\<lambda>rv s. set rv = set (t # q)\<rbrace>"
apply (simp add: tcb_ep_append_def)
Expand Down

0 comments on commit b91e1d9

Please sign in to comment.