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
9b2ad256
Commit
9b2ad256
authored
4 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Fix ambigious entailments.
parent
c2367a65
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/bi/embedding.v
+3
-3
3 additions, 3 deletions
theories/bi/embedding.v
with
3 additions
and
3 deletions
theories/bi/embedding.v
+
3
−
3
View file @
9b2ad256
...
...
@@ -46,8 +46,8 @@ Hint Mode BiEmbedEmp ! - - : typeclass_instances.
Hint
Mode
BiEmbedEmp
-
!
-
:
typeclass_instances
.
Class
SbiEmbed
(
PROP1
PROP2
:
sbi
)
`{
BiEmbed
PROP1
PROP2
}
:=
{
embed_internal_eq_1
(
A
:
ofeT
)
(
x
y
:
A
)
:
⎡
x
≡
y
⎤
⊢
x
≡
y
;
embed_later
P
:
⎡▷
P
⎤
⊣⊢
▷
⎡
P
⎤
;
embed_internal_eq_1
(
A
:
ofeT
)
(
x
y
:
A
)
:
⎡
x
≡
y
⎤
⊢
@
{
PROP2
}
x
≡
y
;
embed_later
P
:
⎡▷
P
⎤
⊣⊢
@
{
PROP2
}
▷
⎡
P
⎤
;
embed_interal_inj
(
PROP'
:
sbi
)
(
P
Q
:
PROP1
)
:
⎡
P
⎤
≡
⎡
Q
⎤
⊢@
{
PROP'
}
(
P
≡
Q
);
}
.
Hint
Mode
SbiEmbed
!
-
-
:
typeclass_instances
.
...
...
@@ -265,7 +265,7 @@ Section sbi_embed.
Context
`{
SbiEmbed
PROP1
PROP2
}
.
Implicit
Types
P
Q
R
:
PROP1
.
Lemma
embed_internal_eq
(
A
:
ofeT
)
(
x
y
:
A
)
:
⎡
x
≡
y
⎤
⊣⊢
x
≡
y
.
Lemma
embed_internal_eq
(
A
:
ofeT
)
(
x
y
:
A
)
:
⎡
x
≡
y
⎤
⊣⊢
@
{
PROP2
}
x
≡
y
.
Proof
.
apply
bi
.
equiv_spec
;
split
;
[
apply
embed_internal_eq_1
|]
.
etrans
;
[
apply
(
bi
.
internal_eq_rewrite
x
y
(
λ
y
,
⎡
x
≡
y
⎤%
I
));
solve_proper
|]
.
...
...
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