Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-coq
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
Model registry
Operate
Environments
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
Michael Sammler
iris-coq
Commits
71fb10bd
Commit
71fb10bd
authored
5 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Set `Hint Mode` for `Cofe`.
parent
4f0c1046
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/algebra/ofe.v
+2
-1
2 additions, 1 deletion
theories/algebra/ofe.v
theories/base_logic/upred.v
+1
-1
1 addition, 1 deletion
theories/base_logic/upred.v
with
3 additions
and
2 deletions
theories/algebra/ofe.v
+
2
−
1
View file @
71fb10bd
...
@@ -125,6 +125,7 @@ Class Cofe (A : ofeT) := {
...
@@ -125,6 +125,7 @@ Class Cofe (A : ofeT) := {
conv_compl
n
c
:
compl
c
≡
{
n
}
≡
c
n
;
conv_compl
n
c
:
compl
c
≡
{
n
}
≡
c
n
;
}
.
}
.
Arguments
compl
:
simpl
never
.
Arguments
compl
:
simpl
never
.
Hint
Mode
Cofe
!
:
typeclass_instances
.
Lemma
compl_chain_map
`{
Cofe
A
,
Cofe
B
}
(
f
:
A
→
B
)
c
`
(
NonExpansive
f
)
:
Lemma
compl_chain_map
`{
Cofe
A
,
Cofe
B
}
(
f
:
A
→
B
)
c
`
(
NonExpansive
f
)
:
compl
(
chain_map
f
c
)
≡
f
(
compl
c
)
.
compl
(
chain_map
f
c
)
≡
f
(
compl
c
)
.
...
@@ -264,7 +265,7 @@ Section limit_preserving.
...
@@ -264,7 +265,7 @@ Section limit_preserving.
(
∀
x
,
P
x
↔
Q
x
)
→
LimitPreserving
P
→
LimitPreserving
Q
.
(
∀
x
,
P
x
↔
Q
x
)
→
LimitPreserving
P
→
LimitPreserving
Q
.
Proof
.
intros
HP
Hlimit
c
?
.
apply
HP
,
Hlimit
=>
n
;
by
apply
HP
.
Qed
.
Proof
.
intros
HP
Hlimit
c
?
.
apply
HP
,
Hlimit
=>
n
;
by
apply
HP
.
Qed
.
Global
Instance
limit_preserving_const
(
P
:
Prop
)
:
LimitPreserving
(
λ
_,
P
)
.
Global
Instance
limit_preserving_const
(
P
:
Prop
)
:
LimitPreserving
(
λ
_
:
A
,
P
)
.
Proof
.
intros
c
HP
.
apply
(
HP
0
)
.
Qed
.
Proof
.
intros
c
HP
.
apply
(
HP
0
)
.
Qed
.
Lemma
limit_preserving_discrete
(
P
:
A
→
Prop
)
:
Lemma
limit_preserving_discrete
(
P
:
A
→
Prop
)
:
...
...
This diff is collapsed.
Click to expand it.
theories/base_logic/upred.v
+
1
−
1
View file @
71fb10bd
...
@@ -402,7 +402,7 @@ Lemma entails_lim (cP cQ : chain (uPredO M)) :
...
@@ -402,7 +402,7 @@ Lemma entails_lim (cP cQ : chain (uPredO M)) :
(
∀
n
,
cP
n
⊢
cQ
n
)
→
compl
cP
⊢
compl
cQ
.
(
∀
n
,
cP
n
⊢
cQ
n
)
→
compl
cP
⊢
compl
cQ
.
Proof
.
Proof
.
intros
Hlim
;
split
=>
n
m
?
HP
.
intros
Hlim
;
split
=>
n
m
?
HP
.
eapply
uPred_holds_ne
,
Hlim
,
HP
;
eauto
using
conv_compl
.
eapply
uPred_holds_ne
,
Hlim
,
HP
;
rewrite
?
conv_compl
;
eauto
.
Qed
.
Qed
.
(** Non-expansiveness and setoid morphisms *)
(** Non-expansiveness and setoid morphisms *)
...
...
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