Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CHARGUERAUD Arthur
cfml
Commits
4c4a4777
Commit
4c4a4777
authored
Mar 07, 2016
by
charguer
Browse files
partialapps
parent
475146e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/coq/CFSpec.v
View file @
4c4a4777
...
...
@@ -194,11 +194,28 @@ Proof using.
specializes
C
x
.
simpl
pred
.
apply
C
.
Qed
.
Lemma
App_partial
:
forall
xs
n
f
,
Lemma
App_partial
:
forall
n
xs
f
,
curried
n
f
->
(
0
<
length
xs
<
n
)
%
nat
->
App
f
xs
\
[]
(
fun
g
=>
\
[
forall
ys
B
H
(
Q
:
B
->
hprop
),
App
f
(
xs
++
ys
)
H
Q
->
App
g
ys
H
Q
]).
Proof
using
.
(
*
TODO
.
induction
n
.
math
.
introv
C
N
.
destruct
xs
as
[
|
[
A
x
]
xs
'
].
rew_list
in
N
.
math
.
destruct
n
as
[
|
n
].
math
.
lets:
C
x
.
destruct
xs
'
as
[
|
[
A
'
x
'
]
xs
''
].
simpl
.
applys_eq
H
1.
apply
func_ext_1
.
intros
g
.
fequal
.
simpl
.
rew_list
in
N
.
math
.
*
)
(
*
TODO
...
induction
xs
;
introv
C
E
.
rew_list
in
E
.
math
.
...
...
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