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
629385ee
Commit
629385ee
authored
7 years ago
by
Jacques-Henri Jourdan
Browse files
Options
Downloads
Patches
Plain Diff
MakeEmbed does not need BiEmbedding. It only needs BiEmbed.
parent
aa5b93f6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/proofmode/classes.v
+6
-6
6 additions, 6 deletions
theories/proofmode/classes.v
theories/tests/proofmode_monpred.v
+7
-0
7 additions, 0 deletions
theories/tests/proofmode_monpred.v
with
13 additions
and
6 deletions
theories/proofmode/classes.v
+
6
−
6
View file @
629385ee
...
...
@@ -398,14 +398,14 @@ Proof. intros. rewrite /MaybeFrame /=. apply: sep_elim_r. Qed.
would typically try to instantiate this evar with some arbitrary
logical constructs such as emp or True. Therefore, we use an Hint
Mode to disable all the instances that would have this behavior. *)
Class
MakeEmbed
`{
BiEmbed
ding
PROP
PROP'
}
(
P
:
PROP
)
(
Q
:
PROP'
)
:=
Class
MakeEmbed
{
PROP
PROP'
:
bi
}
`{
BiEmbed
PROP
PROP'
}
(
P
:
PROP
)
(
Q
:
PROP'
)
:=
make_embed
:
⎡
P
⎤
⊣⊢
Q
.
Arguments
MakeEmbed
{_
_
_
_}
_
%
I
_
%
I
.
Hint
Mode
MakeEmbed
+
+
+
+
-
-
:
typeclass_instances
.
Class
KnownMakeEmbed
`{
BiEmbed
ding
PROP
PROP'
}
(
P
:
PROP
)
(
Q
:
PROP'
)
:=
Arguments
MakeEmbed
{_
_
_}
_
%
I
_
%
I
.
Hint
Mode
MakeEmbed
+
+
+
-
-
:
typeclass_instances
.
Class
KnownMakeEmbed
{
PROP
PROP'
:
bi
}
`{
BiEmbed
PROP
PROP'
}
(
P
:
PROP
)
(
Q
:
PROP'
)
:=
known_make_embed
:>
MakeEmbed
P
Q
.
Arguments
KnownMakeEmbed
{_
_
_
_}
_
%
I
_
%
I
.
Hint
Mode
KnownMakeEmbed
+
+
+
+
!
-
:
typeclass_instances
.
Arguments
KnownMakeEmbed
{_
_
_}
_
%
I
_
%
I
.
Hint
Mode
KnownMakeEmbed
+
+
+
!
-
:
typeclass_instances
.
Class
MakeSep
{
PROP
:
bi
}
(
P
Q
PQ
:
PROP
)
:=
make_sep
:
P
∗
Q
⊣⊢
PQ
.
Arguments
MakeSep
{_}
_
%
I
_
%
I
_
%
I
.
...
...
This diff is collapsed.
Click to expand it.
theories/tests/proofmode_monpred.v
+
7
−
0
View file @
629385ee
...
...
@@ -94,4 +94,11 @@ Section tests.
Proof
.
iIntros
.
iFrame
.
by
iApply
fupd_intro_mask'
.
Qed
.
Lemma
test_iFrame_embed_persistent
(
P
:
PROP
)
(
Q
:
monPred
)
:
Q
∗
□
⎡
P
⎤
⊢
Q
∗
⎡
P
∗
P
⎤.
Proof
.
iIntros
"[$ #HP]"
.
iFrame
"HP"
.
Qed
.
End
tests
.
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