\THEOREM APPEND_FIRSTN_LASTN list |- !m n l. (m + n = LENGTH l) ==> (APPEND(FIRSTN n l)(LASTN m l) = l) \ENDTHEOREM