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
William Mansky
Iris
Commits
4f9e0cd7
Commit
4f9e0cd7
authored
7 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Support `Absolute` hypotheses in `iModIntro` for `bi_embed`.
parent
1698a876
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/proofmode/monpred.v
+3
-0
3 additions, 0 deletions
theories/proofmode/monpred.v
theories/tests/proofmode_monpred.v
+4
-0
4 additions, 0 deletions
theories/tests/proofmode_monpred.v
with
7 additions
and
0 deletions
theories/proofmode/monpred.v
+
3
−
0
View file @
4f9e0cd7
...
...
@@ -354,6 +354,9 @@ Global Instance from_modal_monPred_at i P Q 𝓠 :
FromModal P Q → MakeMonPredAt i Q 𝓠 → FromModal (P i) 𝓠.
Proof. by rewrite /FromModal /MakeMonPredAt=> <- <-. Qed.
*)
Global
Instance
into_embed_absolute
P
:
Absolute
P
→
IntoEmbed
P
(
∀
i
,
P
i
)
.
Proof
.
rewrite
/
IntoEmbed
=>
?
.
by
rewrite
{
1
}(
absolute_absolutely
P
)
.
Qed
.
End
bi
.
(* When P and/or Q are evars when doing typeclass search on [IntoWand
...
...
This diff is collapsed.
Click to expand it.
theories/tests/proofmode_monpred.v
+
4
−
0
View file @
4f9e0cd7
...
...
@@ -84,6 +84,10 @@ Section tests.
□
P
-∗
Q
-∗
⎡
𝓟
⎤
-∗
⎡
𝓠
⎤
-∗
⎡
𝓟
∗
𝓠
⎤.
Proof
.
iIntros
"#H1 _ H2 H3"
.
iAlways
.
iFrame
.
Qed
.
Lemma
test_iModIntro_embed_absolute
P
`{
!
Absolute
Q
}
𝓟
𝓠
:
□
P
-∗
Q
-∗
⎡
𝓟
⎤
-∗
⎡
𝓠
⎤
-∗
⎡
∀
i
,
𝓟
∗
𝓠
∗
Q
i
⎤.
Proof
.
iIntros
"#H1 H2 H3 H4"
.
iAlways
.
iFrame
.
Qed
.
(* This is a hack to avoid avoid coq bug #5735: sections variables
ignore hint modes. So we assume the instances in a way that
cannot be used by type class resolution, and then declare the
...
...
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