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
799c84b1
Commit
799c84b1
authored
4 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Add smart constructor `BiMixin → BiLaterMixin`.
parent
45eb1be5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/bi/interface.v
+15
-0
15 additions, 0 deletions
theories/bi/interface.v
with
15 additions
and
0 deletions
theories/bi/interface.v
+
15
−
0
View file @
799c84b1
...
@@ -133,6 +133,21 @@ Section bi_mixin.
...
@@ -133,6 +133,21 @@ Section bi_mixin.
bi_mixin_later_false_em
P
:
▷
P
⊢
▷
False
∨
(
▷
False
→
P
);
bi_mixin_later_false_em
P
:
▷
P
⊢
▷
False
∨
(
▷
False
→
P
);
}
.
}
.
Lemma
bi_later_mixin_id
:
(
∀
(
P
:
PROP
),
(
▷
P
)
%
I
=
P
)
→
BiMixin
→
BiLaterMixin
.
Proof
.
intros
Hlater
Hbi
.
pose
proof
(
bi_mixin_entails_po
Hbi
)
.
split
;
repeat
intro
;
rewrite
?Hlater
?Hequiv
//.
-
apply
(
bi_mixin_forall_intro
Hbi
)=>
a
.
etrans
;
[
apply
(
bi_mixin_forall_elim
Hbi
a
)|]
.
by
rewrite
Hlater
.
-
etrans
;
[|
apply
(
bi_mixin_or_intro_r
Hbi
)]
.
apply
(
bi_mixin_exist_elim
Hbi
)=>
a
.
etrans
;
[|
apply
(
bi_mixin_exist_intro
Hbi
a
)]
.
by
rewrite
/=
Hlater
.
-
etrans
;
[|
apply
(
bi_mixin_or_intro_r
Hbi
)]
.
apply
(
bi_mixin_impl_intro_r
Hbi
),
(
bi_mixin_and_elim_l
Hbi
)
.
Qed
.
End
bi_mixin
.
End
bi_mixin
.
Structure
bi
:=
Bi
{
Structure
bi
:=
Bi
{
...
...
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