Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-coq
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
Maxime Dénès
iris-coq
Commits
a45a9d43
Commit
a45a9d43
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
alternative definition of weakestpre matching the one on paper
parent
fdd87a4f
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
_CoqProject
+1
-0
1 addition, 0 deletions
_CoqProject
algebra/cofe.v
+3
-1
3 additions, 1 deletion
algebra/cofe.v
program_logic/lifting.v
+1
-1
1 addition, 1 deletion
program_logic/lifting.v
with
5 additions
and
2 deletions
_CoqProject
+
1
−
0
View file @
a45a9d43
...
...
@@ -64,6 +64,7 @@ program_logic/viewshifts.v
program_logic/wsat.v
program_logic/ownership.v
program_logic/weakestpre.v
program_logic/weakestpre_fix.v
program_logic/pviewshifts.v
program_logic/resources.v
program_logic/hoare.v
...
...
This diff is collapsed.
Click to expand it.
algebra/cofe.v
+
3
−
1
View file @
a45a9d43
...
...
@@ -252,9 +252,11 @@ Infix "-n>" := cofe_mor (at level 45, right associativity).
Instance
cofe_more_inhabited
{
A
B
:
cofeT
}
`{
Inhabited
B
}
:
Inhabited
(
A
-
n
>
B
)
:=
populate
(
CofeMor
(
λ
_,
inhabitant
))
.
(** Identity and composition *)
(** Identity and composition
and constant function
*)
Definition
cid
{
A
}
:
A
-
n
>
A
:=
CofeMor
id
.
Instance
:
Params
(
@
cid
)
1
.
Definition
cconst
{
A
B
:
cofeT
}
(
x
:
B
)
:
A
-
n
>
B
:=
CofeMor
(
const
x
)
.
Instance
:
Params
(
@
cconst
)
2
.
Definition
ccompose
{
A
B
C
}
(
f
:
B
-
n
>
C
)
(
g
:
A
-
n
>
B
)
:
A
-
n
>
C
:=
CofeMor
(
f
∘
g
)
.
...
...
This diff is collapsed.
Click to expand it.
program_logic/lifting.v
+
1
−
1
View file @
a45a9d43
...
...
@@ -15,7 +15,7 @@ Implicit Types σ : state Λ.
Implicit
Types
P
Q
:
iProp
Λ
Σ
.
Implicit
Types
Φ
:
val
Λ
→
iProp
Λ
Σ
.
Notation
wp_fork
ef
:=
(
default
True
ef
(
flip
(
wp
⊤
)
(
λ
_,
■
True
)))
%
I
.
Notation
wp_fork
ef
:=
(
default
True
ef
(
flip
(
wp
⊤
)
(
λ
_,
True
)))
%
I
.
Lemma
wp_lift_step
E1
E2
(
φ
:
expr
Λ
→
state
Λ
→
option
(
expr
Λ
)
→
Prop
)
Φ
e1
σ1
:
...
...
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