Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Matthieu Sozeau
Iris
Commits
fb9e7003
Commit
fb9e7003
authored
4 years ago
by
Hai Dang
Browse files
Options
Downloads
Patches
Plain Diff
Make uPred_si_embed instances lemmas and move them
parent
dcc20ce0
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
iris/base_logic/upred.v
+14
-12
14 additions, 12 deletions
iris/base_logic/upred.v
with
14 additions
and
12 deletions
iris/base_logic/upred.v
+
14
−
12
View file @
fb9e7003
...
...
@@ -591,6 +591,20 @@ Proof.
unseal
;
split
=>
n'
x
?
/=.
by
rewrite
(
dist_le
_
_
_
_
Ha
);
last
lia
.
Qed
.
Lemma
si_embed_mono
:
Proper
((
⊢@
{
siPropI
})
==>
(
⊢
))
(
@
uPred_si_embed
M
)
.
Proof
.
intros
??
Hm
.
unseal
.
split
=>
???
/=.
by
apply
Hm
.
Qed
.
Lemma
si_embed_ne
:
NonExpansive
(
@
uPred_si_embed
M
)
.
Proof
.
intros
???
He
.
unseal
.
split
=>
????
/=.
by
apply
He
.
Qed
.
Lemma
si_embed_proper
:
Proper
((
≡
)
==>
(
≡
))
(
@
uPred_si_embed
M
)
.
Proof
.
apply
ne_proper
,
si_embed_ne
.
Qed
.
Lemma
si_emp_valid_ne
:
NonExpansive
(
@
uPred_si_emp_valid
M
)
.
Proof
.
intros
???
He
.
unseal
.
split
=>
??
.
apply
He
;
[
done
|
apply
ucmra_unit_validN
]
.
Qed
.
Lemma
cmra_valid_ne
{
A
:
cmra
}
:
NonExpansive
(
@
uPred_cmra_valid
M
A
)
.
Proof
.
...
...
@@ -890,18 +904,6 @@ Proof.
Qed
.
(** Embedding of siProp *)
Local
Instance
si_embed_mono
:
Proper
((
⊢@
{
siPropI
})
==>
(
⊢
))
(
@
uPred_si_embed
M
)
.
Proof
.
intros
??
Hm
.
unseal
.
split
=>
???
/=.
by
apply
Hm
.
Qed
.
Local
Instance
si_embed_ne
:
NonExpansive
(
@
uPred_si_embed
M
)
.
Proof
.
intros
???
He
.
unseal
.
split
=>
????
/=.
by
apply
He
.
Qed
.
Local
Instance
si_embed_proper
:
Proper
((
≡
)
==>
(
≡
))
(
@
uPred_si_embed
M
)
.
Proof
.
apply
ne_proper
,
_
.
Qed
.
Local
Instance
si_emp_valid_ne
:
NonExpansive
(
@
uPred_si_emp_valid
M
)
.
Proof
.
intros
???
He
.
unseal
.
split
=>
??
.
apply
He
;
[
done
|
apply
ucmra_unit_validN
]
.
Qed
.
Local
Notation
"⎡ P ⎤"
:=
(
@
uPred_si_embed
M
(
P
:
siProp
))
:
bi_scope
.
Local
Ltac
unseal_embed
:=
rewrite
/
bi_emp
/=
/
siProp_emp
/=
?siProp_pure_eq
/=
...
...
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