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
eeb87782
Commit
eeb87782
authored
3 years ago
by
Hai Dang
Committed by
Robbert Krebbers
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add more lemmas for wand_iff and iff
parent
d2bd3117
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
iris/bi/derived_laws.v
+11
-0
11 additions, 0 deletions
iris/bi/derived_laws.v
with
11 additions
and
0 deletions
iris/bi/derived_laws.v
+
11
−
0
View file @
eeb87782
...
...
@@ -337,6 +337,11 @@ Global Instance iff_proper :
Lemma
iff_refl
Q
P
:
Q
⊢
P
↔
P
.
Proof
.
rewrite
/
bi_iff
;
apply
and_intro
;
apply
impl_intro_l
;
auto
.
Qed
.
Lemma
iff_sym
P
Q
:
(
P
↔
Q
)
⊣⊢
(
Q
↔
P
)
.
Proof
.
apply
equiv_entails
.
split
;
apply
and_intro
;
try
apply
and_elim_r
;
apply
and_elim_l
.
Qed
.
(* BI Stuff *)
...
...
@@ -489,6 +494,12 @@ Proof.
intros
HPQ
;
apply
(
anti_symm
(
⊢
));
apply
wand_entails
;
rewrite
/
bi_emp_valid
HPQ
/
bi_wand_iff
;
auto
.
Qed
.
Lemma
wand_iff_sym
P
Q
:
(
P
∗-∗
Q
)
⊣⊢
(
Q
∗-∗
P
)
.
Proof
.
apply
equiv_entails
;
split
;
apply
and_intro
;
try
apply
and_elim_r
;
apply
and_elim_l
.
Qed
.
Lemma
entails_impl
P
Q
:
(
P
⊢
Q
)
→
(
⊢
P
→
Q
)
.
Proof
.
intros
->
.
apply
impl_intro_l
.
auto
.
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