Skip to content
GitLab
Menu
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
3c9e8424
Commit
3c9e8424
authored
Feb 11, 2020
by
Robbert Krebbers
Browse files
Write `twp_ind` in a more sane way.
parent
e37a60a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/program_logic/total_weakestpre.v
View file @
3c9e8424
...
...
@@ -77,8 +77,8 @@ Lemma twp_unfold s E e Φ : WP e @ s; E [{ Φ }] ⊣⊢ twp_pre s (twp s) E e Φ
Proof
.
by
rewrite
twp_eq
/
twp_def
least_fixpoint_unfold
.
Qed
.
Lemma
twp_ind
s
Ψ
:
(
∀
n
E
e
,
Proper
(
pointwise_relation
_
(
dist
n
)
==>
dist
n
)
(
Ψ
E
e
))
→
(
□
(
∀
e
E
Φ
,
twp_pre
s
(
λ
E
e
Φ
,
Ψ
E
e
Φ
∧
WP
e
@
s
;
E
[{
Φ
}])
E
e
Φ
-
∗
Ψ
E
e
Φ
)
→
∀
e
E
Φ
,
WP
e
@
s
;
E
[{
Φ
}]
-
∗
Ψ
E
e
Φ
)%
I
.
□
(
∀
e
E
Φ
,
twp_pre
s
(
λ
E
e
Φ
,
Ψ
E
e
Φ
∧
WP
e
@
s
;
E
[{
Φ
}])
E
e
Φ
-
∗
Ψ
E
e
Φ
)
-
∗
∀
e
E
Φ
,
WP
e
@
s
;
E
[{
Φ
}]
-
∗
Ψ
E
e
Φ
.
Proof
.
iIntros
(
H
Ψ
).
iIntros
"#IH"
(
e
E
Φ
)
"H"
.
rewrite
twp_eq
.
set
(
Ψ
'
:
=
curry3
Ψ
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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