Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaëtan Gilbert
Iris
Commits
34037c0f
Commit
34037c0f
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Simplify TimelessElim class.
parent
453a3791
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
proofmode/classes.v
+1
-1
1 addition, 1 deletion
proofmode/classes.v
proofmode/coq_tactics.v
+1
-1
1 addition, 1 deletion
proofmode/coq_tactics.v
proofmode/pviewshifts.v
+3
-3
3 additions, 3 deletions
proofmode/pviewshifts.v
with
5 additions
and
5 deletions
proofmode/classes.v
+
1
−
1
View file @
34037c0f
...
...
@@ -314,5 +314,5 @@ Global Instance into_exist_always {A} P (Φ : A → uPred M) :
Proof
.
rewrite
/
IntoExist
=>
HP
.
by
rewrite
HP
always_exist
.
Qed
.
Class
TimelessElim
(
Q
:
uPred
M
)
:=
timeless_elim
`{
!
TimelessP
P
}
R
:
(
R
⊢
Q
)
→
▷
P
★
(
P
-★
R
)
⊢
Q
.
timeless_elim
`{
!
TimelessP
P
}
:
▷
P
★
(
P
-★
Q
)
⊢
Q
.
End
classes
.
This diff is collapsed.
Click to expand it.
proofmode/coq_tactics.v
+
1
−
1
View file @
34037c0f
...
...
@@ -382,7 +382,7 @@ Lemma tac_timeless Δ Δ' i p P Q :
(
Δ'
⊢
Q
)
→
Δ
⊢
Q
.
Proof
.
intros
????
HQ
.
rewrite
envs_simple_replace_sound
//
;
simpl
.
rewrite
always_if_later
right_id
.
by
apply
timeless_elim
.
by
rewrite
always_if_later
right_id
HQ
timeless_elim
.
Qed
.
(** * Always *)
...
...
This diff is collapsed.
Click to expand it.
proofmode/pviewshifts.v
+
3
−
3
View file @
34037c0f
...
...
@@ -32,8 +32,8 @@ Proof. rewrite /IntoWand=>->. apply wand_intro_l. by rewrite pvs_wand_r. Qed.
Global
Instance
timeless_elim_pvs
E1
E2
Q
:
TimelessElim
(|
=
{
E1
,
E2
}=>
Q
)
.
Proof
.
intros
P
?
R
HR
.
rewrite
(
pvs_timeless
E1
P
)
pvs_frame_r
.
by
rewrite
wand_elim_r
HR
pvs_trans
;
last
set_solver
.
intros
P
?
.
rewrite
(
pvs_timeless
E1
P
)
pvs_frame_r
.
by
rewrite
wand_elim_r
pvs_trans
;
last
set_solver
.
Qed
.
Class
IsFSA
{
A
}
(
P
:
iProp
Λ
Σ
)
(
E
:
coPset
)
...
...
@@ -57,7 +57,7 @@ Qed.
Global
Instance
timeless_elim_fsa
{
A
}
Q
E
(
fsa
:
FSA
Λ
Σ
A
)
fsaV
Φ
:
IsFSA
Q
E
fsa
fsaV
Φ
→
TimelessElim
Q
.
Proof
.
intros
?
P
?
R
.
rewrite
(
is_fsa
Q
)
-
{
2
}
fsa_pvs_fsa
.
intros
<-.
intros
?
P
?
.
rewrite
(
is_fsa
Q
)
-
{
2
}
fsa_pvs_fsa
.
by
rewrite
(
pvs_timeless
_
P
)
pvs_frame_r
wand_elim_r
.
Qed
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment