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
Pierre Roux
Iris
Commits
ddb9ee0e
Commit
ddb9ee0e
authored
7 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Prefer modality over embedding in `iModIntro`.
parent
56f80319
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/proofmode/class_instances.v
+8
-8
8 additions, 8 deletions
theories/proofmode/class_instances.v
with
8 additions
and
8 deletions
theories/proofmode/class_instances.v
+
8
−
8
View file @
ddb9ee0e
...
...
@@ -247,37 +247,37 @@ Global Instance from_modal_absorbingly P :
Proof
.
by
rewrite
/
FromModal
/=
-
absorbingly_intro
.
Qed
.
(* When having a modality nested in an embedding, e.g. [ ⎡|==> P⎤ ], we prefer
the
modality
over the
embedding
. *)
the
embedding
over the
modality
. *)
Global
Instance
from_modal_embed
`{
BiEmbedding
PROP
PROP'
}
(
P
:
PROP
)
:
FromModal
(
@
modality_embed
PROP
PROP'
_
_)
⎡
P
⎤
⎡
P
⎤
P
|
100
.
FromModal
(
@
modality_embed
PROP
PROP'
_
_)
⎡
P
⎤
⎡
P
⎤
P
.
Proof
.
by
rewrite
/
FromModal
.
Qed
.
Global
Instance
from_modal_id_embed
`{
BiEmbedding
PROP
PROP'
}
`
(
sel
:
A
)
P
Q
:
FromModal
modality_id
sel
P
Q
→
FromModal
modality_id
sel
⎡
P
⎤
⎡
Q
⎤.
FromModal
modality_id
sel
⎡
P
⎤
⎡
Q
⎤
|
100
.
Proof
.
by
rewrite
/
FromModal
/=
=>
<-.
Qed
.
Global
Instance
from_modal_affinely_embed
`{
BiEmbedding
PROP
PROP'
}
`
(
sel
:
A
)
P
Q
:
FromModal
modality_affinely
sel
P
Q
→
FromModal
modality_affinely
sel
⎡
P
⎤
⎡
Q
⎤.
FromModal
modality_affinely
sel
⎡
P
⎤
⎡
Q
⎤
|
100
.
Proof
.
rewrite
/
FromModal
/=
=>
<-.
by
rewrite
bi_embed_affinely
.
Qed
.
Global
Instance
from_modal_persistently_embed
`{
BiEmbedding
PROP
PROP'
}
`
(
sel
:
A
)
P
Q
:
FromModal
modality_persistently
sel
P
Q
→
FromModal
modality_persistently
sel
⎡
P
⎤
⎡
Q
⎤.
FromModal
modality_persistently
sel
⎡
P
⎤
⎡
Q
⎤
|
100
.
Proof
.
rewrite
/
FromModal
/=
=>
<-.
by
rewrite
bi_embed_persistently
.
Qed
.
Global
Instance
from_modal_affinely_persistently_embed
`{
BiEmbedding
PROP
PROP'
}
`
(
sel
:
A
)
P
Q
:
FromModal
modality_affinely_persistently
sel
P
Q
→
FromModal
modality_affinely_persistently
sel
⎡
P
⎤
⎡
Q
⎤.
FromModal
modality_affinely_persistently
sel
⎡
P
⎤
⎡
Q
⎤
|
100
.
Proof
.
rewrite
/
FromModal
/=
=>
<-.
by
rewrite
bi_embed_affinely
bi_embed_persistently
.
Qed
.
Global
Instance
from_modal_plainly_embed
`{
BiEmbedding
PROP
PROP'
}
`
(
sel
:
A
)
P
Q
:
FromModal
modality_plainly
sel
P
Q
→
FromModal
modality_plainly
sel
⎡
P
⎤
⎡
Q
⎤.
FromModal
modality_plainly
sel
⎡
P
⎤
⎡
Q
⎤
|
100
.
Proof
.
rewrite
/
FromModal
/=
=>
<-.
by
rewrite
bi_embed_plainly
.
Qed
.
Global
Instance
from_modal_affinely_plainly_embed
`{
BiEmbedding
PROP
PROP'
}
`
(
sel
:
A
)
P
Q
:
FromModal
modality_affinely_plainly
sel
P
Q
→
FromModal
modality_affinely_plainly
sel
⎡
P
⎤
⎡
Q
⎤.
FromModal
modality_affinely_plainly
sel
⎡
P
⎤
⎡
Q
⎤
|
100
.
Proof
.
rewrite
/
FromModal
/=
=>
<-.
by
rewrite
bi_embed_affinely
bi_embed_plainly
.
Qed
.
...
...
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