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
Tej Chajed
iris
Commits
ae972c48
Commit
ae972c48
authored
9 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Make uPred_holds Opaque so we do not accidentally go into the model.
parent
7209226c
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
iris/lifting.v
+1
-0
1 addition, 0 deletions
iris/lifting.v
iris/pviewshifts.v
+1
-0
1 addition, 0 deletions
iris/pviewshifts.v
iris/weakestpre.v
+1
-0
1 addition, 0 deletions
iris/weakestpre.v
modures/logic.v
+2
-0
2 additions, 0 deletions
modures/logic.v
with
5 additions
and
0 deletions
iris/lifting.v
+
1
−
0
View file @
ae972c48
...
@@ -11,6 +11,7 @@ Context {Σ : iParam}.
...
@@ -11,6 +11,7 @@ Context {Σ : iParam}.
Implicit
Types
v
:
ival
Σ
.
Implicit
Types
v
:
ival
Σ
.
Implicit
Types
e
:
iexpr
Σ
.
Implicit
Types
e
:
iexpr
Σ
.
Implicit
Types
σ
:
istate
Σ
.
Implicit
Types
σ
:
istate
Σ
.
Transparent
uPred_holds
.
Lemma
wp_lift_step
E1
E2
Lemma
wp_lift_step
E1
E2
(
φ
:
iexpr
Σ
→
istate
Σ
→
option
(
iexpr
Σ
)
→
Prop
)
Q
e1
σ1
:
(
φ
:
iexpr
Σ
→
istate
Σ
→
option
(
iexpr
Σ
)
→
Prop
)
Q
e1
σ1
:
...
...
This diff is collapsed.
Click to expand it.
iris/pviewshifts.v
+
1
−
0
View file @
ae972c48
...
@@ -30,6 +30,7 @@ Section pvs.
...
@@ -30,6 +30,7 @@ Section pvs.
Context
{
Σ
:
iParam
}
.
Context
{
Σ
:
iParam
}
.
Implicit
Types
P
Q
:
iProp
Σ
.
Implicit
Types
P
Q
:
iProp
Σ
.
Implicit
Types
m
:
icmra'
Σ
.
Implicit
Types
m
:
icmra'
Σ
.
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
.
...
...
This diff is collapsed.
Click to expand it.
iris/weakestpre.v
+
1
−
0
View file @
ae972c48
...
@@ -58,6 +58,7 @@ Implicit Types P : iProp Σ.
...
@@ -58,6 +58,7 @@ Implicit Types P : iProp Σ.
Implicit
Types
Q
:
ival
Σ
→
iProp
Σ
.
Implicit
Types
Q
:
ival
Σ
→
iProp
Σ
.
Implicit
Types
v
:
ival
Σ
.
Implicit
Types
v
:
ival
Σ
.
Implicit
Types
e
:
iexpr
Σ
.
Implicit
Types
e
:
iexpr
Σ
.
Transparent
uPred_holds
.
Lemma
wp_weaken
E1
E2
e
Q1
Q2
r
n
n'
:
Lemma
wp_weaken
E1
E2
e
Q1
Q2
r
n
n'
:
E1
⊆
E2
→
(
∀
v
r
n'
,
n'
≤
n
→
✓
{
n'
}
r
→
Q1
v
n'
r
→
Q2
v
n'
r
)
→
E1
⊆
E2
→
(
∀
v
r
n'
,
n'
≤
n
→
✓
{
n'
}
r
→
Q1
v
n'
r
→
Q2
v
n'
r
)
→
...
...
This diff is collapsed.
Click to expand it.
modures/logic.v
+
2
−
0
View file @
ae972c48
...
@@ -11,6 +11,8 @@ Record uPred (M : cmraT) : Type := IProp {
...
@@ -11,6 +11,8 @@ 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
.
Hint
Resolve
uPred_0
.
Hint
Resolve
uPred_0
.
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.
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