Here is where I am currently stuck:
((~ (endp a))
&&
((rev (mapnil (rest a))) = (mapnil (rev (rest a))))
-->
((app (rev (mapnil (rest a)))
(cons nil nil))
=
(app (mapnil (rev (rest a)))
(mapnil (cons (first a) nil))))
<--> {Hyp}
((~ (endp a))
&&
((rev (mapnil (rest a))) = (mapnil (rev (rest a))))
-->
((app (rev (mapnil (rest a)))
(cons nil nil))
=
(app (rev (mapnil (rest a)))
(mapnil (cons (first a) nil))))
I really have no idea where to go from here. I'm not sure which side
of the equality in my hypothesis to use [(rev (mapnil (rest a))) or
(mapnil (rev (rest a)))] and that (cons nil nil) in the left hand side
of the conclusion is pretty troublesome. Any ideas or things that I
am doing wrong?
Induction Step:
((~ (endp a))
&&
((rev (mapnil (rest a))) = (mapnil (rev (rest a))))
-->
((rev (mapnil a)) = (mapnil (rev a)))
Brad Burlage
> To unsubscribe from this group, send email to utexas-cs313k-spring2010+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
>