Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris
Manage
Activity
Members
Labels
Plan
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
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
Paolo G. Giarrusso
iris
Commits
f33e1e72
Verified
Commit
f33e1e72
authored
5 years ago
by
Paolo G. Giarrusso
Browse files
Options
Downloads
Patches
Plain Diff
Avoid double instance for fupd_proper
parent
2b579aab
Branches
more-convenient-fupd_proper
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/bi/updates.v
+2
-4
2 additions, 4 deletions
theories/bi/updates.v
with
2 additions
and
4 deletions
theories/bi/updates.v
+
2
−
4
View file @
f33e1e72
...
@@ -13,7 +13,7 @@ Notation "P ==∗ Q" := (P ⊢ |==> Q) (only parsing) : stdpp_scope.
...
@@ -13,7 +13,7 @@ Notation "P ==∗ Q" := (P ⊢ |==> Q) (only parsing) : stdpp_scope.
Notation
"P ==∗ Q"
:=
(
P
-∗
|
==>
Q
)
%
I
:
bi_scope
.
Notation
"P ==∗ Q"
:=
(
P
-∗
|
==>
Q
)
%
I
:
bi_scope
.
Class
FUpd
(
PROP
:
Type
)
:
Type
:=
fupd
:
coPset
→
coPset
→
PROP
→
PROP
.
Class
FUpd
(
PROP
:
Type
)
:
Type
:=
fupd
:
coPset
→
coPset
→
PROP
→
PROP
.
Instance
:
Params
(
@
fupd
)
4
:=
{}
.
Instance
:
Params
(
@
fupd
)
2
:=
{}
.
Hint
Mode
FUpd
!
:
typeclass_instances
.
Hint
Mode
FUpd
!
:
typeclass_instances
.
Notation
"|={ E1 , E2 }=> Q"
:=
(
fupd
E1
E2
Q
)
:
bi_scope
.
Notation
"|={ E1 , E2 }=> Q"
:=
(
fupd
E1
E2
Q
)
:
bi_scope
.
...
@@ -213,11 +213,9 @@ Section fupd_derived.
...
@@ -213,11 +213,9 @@ Section fupd_derived.
Context
`{
BiFUpd
PROP
}
.
Context
`{
BiFUpd
PROP
}
.
Implicit
Types
P
Q
R
:
PROP
.
Implicit
Types
P
Q
R
:
PROP
.
Global
Instance
fupd_proper
'
:
Global
Instance
fupd_proper
:
Proper
((
≡
)
==>
(
≡
)
==>
(
≡
)
==>
(
≡
))
(
fupd
(
PROP
:=
PROP
))
.
Proper
((
≡
)
==>
(
≡
)
==>
(
≡
)
==>
(
≡
))
(
fupd
(
PROP
:=
PROP
))
.
Proof
.
solve_proper_prepare
.
exact
:
ne_proper
.
Qed
.
Proof
.
solve_proper_prepare
.
exact
:
ne_proper
.
Qed
.
Global
Instance
fupd_proper
E1
E2
:
Proper
((
≡
)
==>
(
≡
))
(
fupd
(
PROP
:=
PROP
)
E1
E2
)
.
Proof
.
solve_proper
.
Qed
.
(** FUpd derived rules *)
(** FUpd derived rules *)
Global
Instance
fupd_mono'
E1
E2
:
Proper
((
⊢
)
==>
(
⊢
))
(
fupd
(
PROP
:=
PROP
)
E1
E2
)
.
Global
Instance
fupd_mono'
E1
E2
:
Proper
((
⊢
)
==>
(
⊢
))
(
fupd
(
PROP
:=
PROP
)
E1
E2
)
.
...
...
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