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
Iris
stdpp
Commits
52a3dc34
Commit
52a3dc34
authored
Sep 03, 2014
by
Robbert Krebbers
Browse files
Prove Forall3_app.
parent
dbbda8cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/list.v
View file @
52a3dc34
...
...
@@ -2341,6 +2341,10 @@ End Forall2_order.
Section
Forall3
.
Context
{
A
B
C
}
(
P
:
A
→
B
→
C
→
Prop
).
Lemma
Forall3_app
l1
k1
k1'
l2
k2
k2'
:
Forall3
P
l1
k1
k1'
→
Forall3
P
l2
k2
k2'
→
Forall3
P
(
l1
++
l2
)
(
k1
++
k2
)
(
k1'
++
k2'
).
Proof
.
induction
1
;
simpl
;
[
done
|
constructor
]
;
auto
.
Qed
.
Lemma
Forall3_impl
(
Q
:
A
→
B
→
C
→
Prop
)
l
l'
k
:
Forall3
P
l
l'
k
→
(
∀
x
y
z
,
P
x
y
z
→
Q
x
y
z
)
→
Forall3
Q
l
l'
k
.
Proof
.
intros
Hl
?.
induction
Hl
;
constructor
;
auto
.
Defined
.
...
...
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