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
Simcha van Collem
Iris
Commits
739f6341
Commit
739f6341
authored
8 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
show that uPred_holds is NE
parent
64bb0481
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
algebra/upred.v
+9
-2
9 additions, 2 deletions
algebra/upred.v
with
9 additions
and
2 deletions
algebra/upred.v
+
9
−
2
View file @
739f6341
...
@@ -50,12 +50,19 @@ Section cofe.
...
@@ -50,12 +50,19 @@ Section cofe.
End
cofe
.
End
cofe
.
Arguments
uPredC
:
clear
implicits
.
Arguments
uPredC
:
clear
implicits
.
Instance
uPred_ne
'
{
M
}
(
P
:
uPred
M
)
n
:
Proper
(
dist
n
==>
iff
)
(
P
n
)
.
Instance
uPred_ne
{
M
}
(
P
:
uPred
M
)
n
:
Proper
(
dist
n
==>
iff
)
(
P
n
)
.
Proof
.
Proof
.
intros
x1
x2
Hx
;
split
=>
?;
eapply
uPred_mono
;
eauto
;
by
rewrite
Hx
.
intros
x1
x2
Hx
;
split
=>
?;
eapply
uPred_mono
;
eauto
;
by
rewrite
Hx
.
Qed
.
Qed
.
Instance
uPred_proper
{
M
}
(
P
:
uPred
M
)
n
:
Proper
((
≡
)
==>
iff
)
(
P
n
)
.
Instance
uPred_proper
{
M
}
(
P
:
uPred
M
)
n
:
Proper
((
≡
)
==>
iff
)
(
P
n
)
.
Proof
.
by
intros
x1
x2
Hx
;
apply
uPred_ne'
,
equiv_dist
.
Qed
.
Proof
.
by
intros
x1
x2
Hx
;
apply
uPred_ne
,
equiv_dist
.
Qed
.
Lemma
uPred_holds_ne
{
M
}
(
P
Q
:
uPred
M
)
n1
n2
x
:
P
≡
{
n2
}
≡
Q
→
n2
≤
n1
→
✓
{
n2
}
x
→
Q
n1
x
→
P
n2
x
.
Proof
.
intros
[
Hne
]
???
.
eapply
Hne
;
try
done
.
eapply
uPred_closed
;
eauto
using
cmra_validN_le
.
Qed
.
(** functor *)
(** functor *)
Program
Definition
uPred_map
{
M1
M2
:
ucmraT
}
(
f
:
M2
-
n
>
M1
)
Program
Definition
uPred_map
{
M1
M2
:
ucmraT
}
(
f
:
M2
-
n
>
M1
)
...
...
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