Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonas Kastberg
iris
Commits
f1d77737
Commit
f1d77737
authored
Mar 01, 2017
by
Ralf Jung
Browse files
add tactic for showing Iris assertions involving limits of chains
parent
1e519f29
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/base_logic/upred.v
View file @
f1d77737
...
...
@@ -186,5 +186,21 @@ Proof.
eapply
uPred_holds_ne
,
Hlim
,
HP
;
eauto
using
conv_compl
.
Qed
.
Lemma
entails_lim'
{
T
:
ofeT
}
`
{
Cofe
T
}
(
P
Q
:
T
→
uPredC
M
)
`
{!
NonExpansive
P
}
`
{!
NonExpansive
Q
}
(
c
:
chain
T
)
:
(
∀
n
,
P
(
c
n
)
⊢
Q
(
c
n
))
→
P
(
compl
c
)
⊢
Q
(
compl
c
).
Proof
.
set
(
cP
:
=
chain_map
P
c
).
set
(
cQ
:
=
chain_map
Q
c
).
rewrite
-!
compl_chain_map
=>
HPQ
.
exact
:
entails_lim
.
Qed
.
End
entails
.
Ltac
entails_lim
c
:
=
pattern
(
compl
c
)
;
match
goal
with
|
|-
(
λ
o
,
?P
⊢
?Q
)
?x
=>
change
(((
λ
o
,
P
)
x
)
⊢
(
λ
o
,
Q
)
x
)
end
;
apply
entails_lim'
.
End
uPred
.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment