Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Abhishek Anand
Iris
Commits
6beb51d3
Commit
6beb51d3
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
stop playing tricks with uPred_holds opacitiy. We now have proper sealing.
parent
aafa826d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
algebra/upred.v
+0
-2
0 additions, 2 deletions
algebra/upred.v
program_logic/lifting.v
+0
-2
0 additions, 2 deletions
program_logic/lifting.v
program_logic/pviewshifts.v
+0
-2
0 additions, 2 deletions
program_logic/pviewshifts.v
program_logic/weakestpre.v
+0
-2
0 additions, 2 deletions
program_logic/weakestpre.v
with
0 additions
and
8 deletions
algebra/upred.v
+
0
−
2
View file @
6beb51d3
...
@@ -10,8 +10,6 @@ Record uPred (M : cmraT) : Type := IProp {
...
@@ -10,8 +10,6 @@ Record uPred (M : cmraT) : Type := IProp {
uPred_holds
n1
x1
→
x1
≼
x2
→
n2
≤
n1
→
✓
{
n2
}
x2
→
uPred_holds
n2
x2
uPred_holds
n1
x1
→
x1
≼
x2
→
n2
≤
n1
→
✓
{
n2
}
x2
→
uPred_holds
n2
x2
}
.
}
.
Arguments
uPred_holds
{_}
_
_
_
:
simpl
never
.
Arguments
uPred_holds
{_}
_
_
_
:
simpl
never
.
Global
Opaque
uPred_holds
.
Local
Transparent
uPred_holds
.
Add
Printing
Constructor
uPred
.
Add
Printing
Constructor
uPred
.
Instance
:
Params
(
@
uPred_holds
)
3
.
Instance
:
Params
(
@
uPred_holds
)
3
.
...
...
This diff is collapsed.
Click to expand it.
program_logic/lifting.v
+
0
−
2
View file @
6beb51d3
...
@@ -14,7 +14,6 @@ Implicit Types e : expr Λ.
...
@@ -14,7 +14,6 @@ Implicit Types e : expr Λ.
Implicit
Types
σ
:
state
Λ
.
Implicit
Types
σ
:
state
Λ
.
Implicit
Types
P
Q
:
iProp
Λ
Σ
.
Implicit
Types
P
Q
:
iProp
Λ
Σ
.
Implicit
Types
Φ
:
val
Λ
→
iProp
Λ
Σ
.
Implicit
Types
Φ
:
val
Λ
→
iProp
Λ
Σ
.
Transparent
uPred_holds
.
Notation
wp_fork
ef
:=
(
default
True
ef
(
flip
(
wp
⊤
)
(
λ
_,
■
True
)))
%
I
.
Notation
wp_fork
ef
:=
(
default
True
ef
(
flip
(
wp
⊤
)
(
λ
_,
■
True
)))
%
I
.
...
@@ -59,7 +58,6 @@ Proof.
...
@@ -59,7 +58,6 @@ Proof.
Qed
.
Qed
.
(** Derived lifting lemmas. *)
(** Derived lifting lemmas. *)
Opaque
uPred_holds
.
Import
uPred
.
Import
uPred
.
Lemma
wp_lift_atomic_step
{
E
Φ
}
e1
Lemma
wp_lift_atomic_step
{
E
Φ
}
e1
...
...
This diff is collapsed.
Click to expand it.
program_logic/pviewshifts.v
+
0
−
2
View file @
6beb51d3
...
@@ -43,7 +43,6 @@ Section pvs.
...
@@ -43,7 +43,6 @@ Section pvs.
Context
{
Λ
:
language
}
{
Σ
:
iFunctor
}
.
Context
{
Λ
:
language
}
{
Σ
:
iFunctor
}
.
Implicit
Types
P
Q
:
iProp
Λ
Σ
.
Implicit
Types
P
Q
:
iProp
Λ
Σ
.
Implicit
Types
m
:
iGst
Λ
Σ
.
Implicit
Types
m
:
iGst
Λ
Σ
.
Transparent
uPred_holds
.
Global
Instance
pvs_ne
E1
E2
n
:
Proper
(
dist
n
==>
dist
n
)
(
@
pvs
Λ
Σ
E1
E2
)
.
Global
Instance
pvs_ne
E1
E2
n
:
Proper
(
dist
n
==>
dist
n
)
(
@
pvs
Λ
Σ
E1
E2
)
.
Proof
.
Proof
.
...
@@ -144,7 +143,6 @@ Proof.
...
@@ -144,7 +143,6 @@ Proof.
Qed
.
Qed
.
(** * Derived rules *)
(** * Derived rules *)
Opaque
uPred_holds
.
Import
uPred
.
Import
uPred
.
Global
Instance
pvs_mono'
E1
E2
:
Proper
((
⊑
)
==>
(
⊑
))
(
@
pvs
Λ
Σ
E1
E2
)
.
Global
Instance
pvs_mono'
E1
E2
:
Proper
((
⊑
)
==>
(
⊑
))
(
@
pvs
Λ
Σ
E1
E2
)
.
Proof
.
intros
P
Q
;
apply
pvs_mono
.
Qed
.
Proof
.
intros
P
Q
;
apply
pvs_mono
.
Qed
.
...
...
This diff is collapsed.
Click to expand it.
program_logic/weakestpre.v
+
0
−
2
View file @
6beb51d3
...
@@ -70,7 +70,6 @@ Implicit Types P : iProp Λ Σ.
...
@@ -70,7 +70,6 @@ Implicit Types P : iProp Λ Σ.
Implicit
Types
Φ
:
val
Λ
→
iProp
Λ
Σ
.
Implicit
Types
Φ
:
val
Λ
→
iProp
Λ
Σ
.
Implicit
Types
v
:
val
Λ
.
Implicit
Types
v
:
val
Λ
.
Implicit
Types
e
:
expr
Λ
.
Implicit
Types
e
:
expr
Λ
.
Transparent
uPred_holds
.
Global
Instance
wp_ne
E
e
n
:
Global
Instance
wp_ne
E
e
n
:
Proper
(
pointwise_relation
_
(
dist
n
)
==>
dist
n
)
(
@
wp
Λ
Σ
E
e
)
.
Proper
(
pointwise_relation
_
(
dist
n
)
==>
dist
n
)
(
@
wp
Λ
Σ
E
e
)
.
...
@@ -218,7 +217,6 @@ Proof.
...
@@ -218,7 +217,6 @@ Proof.
Qed
.
Qed
.
(** * Derived rules *)
(** * Derived rules *)
Opaque
uPred_holds
.
Import
uPred
.
Import
uPred
.
Lemma
wp_mono
E
e
Φ
Ψ
:
(
∀
v
,
Φ
v
⊑
Ψ
v
)
→
||
e
@
E
{{
Φ
}}
⊑
||
e
@
E
{{
Ψ
}}
.
Lemma
wp_mono
E
e
Φ
Ψ
:
(
∀
v
,
Φ
v
⊑
Ψ
v
)
→
||
e
@
E
{{
Φ
}}
⊑
||
e
@
E
{{
Ψ
}}
.
Proof
.
by
apply
wp_mask_frame_mono
.
Qed
.
Proof
.
by
apply
wp_mask_frame_mono
.
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