Skip to content

Commit

Permalink
refine: update for changes to nondet monad
Browse files Browse the repository at this point in the history
Signed-off-by: Corey Lewis <[email protected]>
  • Loading branch information
corlewis committed Aug 23, 2023
1 parent fde22d7 commit a084de4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion proof/refine/AARCH64/Schedule_R.thy
Original file line number Diff line number Diff line change
Expand Up @@ -2314,7 +2314,7 @@ lemma schedule_invs':
apply (wpsimp wp: scheduleChooseNewThread_invs' ssa_invs'
chooseThread_invs_no_cicd' setSchedulerAction_invs' setSchedulerAction_direct
switchToThread_tcb_in_cur_domain' switchToThread_ct_not_queued_2
| wp hoare_disjI2[where Q="\<lambda>_ s. tcb_in_cur_domain' (ksCurThread s) s"]
| wp hoare_disjI2[where R="\<lambda>_ s. tcb_in_cur_domain' (ksCurThread s) s"]
| wp hoare_drop_imp[where f="isHighestPrio d p" for d p]
| simp only: obj_at'_activatable_st_tcb_at'[simplified comp_def]
| strengthen invs'_invs_no_cicd
Expand Down
2 changes: 1 addition & 1 deletion proof/refine/ARM/Schedule_R.thy
Original file line number Diff line number Diff line change
Expand Up @@ -2153,7 +2153,7 @@ lemma schedule_invs':
apply (wpsimp wp: scheduleChooseNewThread_invs' ssa_invs'
chooseThread_invs_no_cicd' setSchedulerAction_invs' setSchedulerAction_direct
switchToThread_tcb_in_cur_domain' switchToThread_ct_not_queued_2
| wp hoare_disjI2[where Q="\<lambda>_ s. tcb_in_cur_domain' (ksCurThread s) s"]
| wp hoare_disjI2[where R="\<lambda>_ s. tcb_in_cur_domain' (ksCurThread s) s"]
| wp hoare_drop_imp[where f="isHighestPrio d p" for d p]
| simp only: obj_at'_activatable_st_tcb_at'[simplified comp_def]
| strengthen invs'_invs_no_cicd
Expand Down
2 changes: 1 addition & 1 deletion proof/refine/ARM_HYP/Schedule_R.thy
Original file line number Diff line number Diff line change
Expand Up @@ -2279,7 +2279,7 @@ lemma schedule_invs':
apply (wpsimp wp: scheduleChooseNewThread_invs' ssa_invs'
chooseThread_invs_no_cicd' setSchedulerAction_invs' setSchedulerAction_direct
switchToThread_tcb_in_cur_domain' switchToThread_ct_not_queued_2
| wp hoare_disjI2[where Q="\<lambda>_ s. tcb_in_cur_domain' (ksCurThread s) s"]
| wp hoare_disjI2[where R="\<lambda>_ s. tcb_in_cur_domain' (ksCurThread s) s"]
| wp hoare_drop_imp[where f="isHighestPrio d p" for d p]
| simp only: obj_at'_activatable_st_tcb_at'[simplified comp_def]
| strengthen invs'_invs_no_cicd
Expand Down
2 changes: 1 addition & 1 deletion proof/refine/RISCV64/Schedule_R.thy
Original file line number Diff line number Diff line change
Expand Up @@ -2141,7 +2141,7 @@ lemma schedule_invs':
apply (wpsimp wp: scheduleChooseNewThread_invs' ssa_invs'
chooseThread_invs_no_cicd' setSchedulerAction_invs' setSchedulerAction_direct
switchToThread_tcb_in_cur_domain' switchToThread_ct_not_queued_2
| wp hoare_disjI2[where Q="\<lambda>_ s. tcb_in_cur_domain' (ksCurThread s) s"]
| wp hoare_disjI2[where R="\<lambda>_ s. tcb_in_cur_domain' (ksCurThread s) s"]
| wp hoare_drop_imp[where f="isHighestPrio d p" for d p]
| simp only: obj_at'_activatable_st_tcb_at'[simplified comp_def]
| strengthen invs'_invs_no_cicd
Expand Down
2 changes: 1 addition & 1 deletion proof/refine/X64/Schedule_R.thy
Original file line number Diff line number Diff line change
Expand Up @@ -2144,7 +2144,7 @@ lemma schedule_invs':
apply (wpsimp wp: scheduleChooseNewThread_invs' ssa_invs'
chooseThread_invs_no_cicd' setSchedulerAction_invs' setSchedulerAction_direct
switchToThread_tcb_in_cur_domain' switchToThread_ct_not_queued_2
| wp hoare_disjI2[where Q="\<lambda>_ s. tcb_in_cur_domain' (ksCurThread s) s"]
| wp hoare_disjI2[where R="\<lambda>_ s. tcb_in_cur_domain' (ksCurThread s) s"]
| wp hoare_drop_imp[where f="isHighestPrio d p" for d p]
| simp only: obj_at'_activatable_st_tcb_at'[simplified comp_def]
| strengthen invs'_invs_no_cicd
Expand Down

0 comments on commit a084de4

Please sign in to comment.