nqed.
nlemma append_nil : ∀T:Type.∀l:list T.(l@[]) = l.
- #T; #l;
- (* perche' non nelim l; !!! *)
- napply (list_ind T ??? l);
+ #T; #l; nelim l;
nnormalize;
##[ ##1: napply (refl_eq ??)
##| ##2: #x; #y; #H;
nlemma associative_list : ∀T.associative (list T) (append T).
#T; #x; #y; #z;
- (* perche' non nelim x; !!! *)
- napply (list_ind T ??? x);
+ nelim x;
nnormalize;
##[ ##1: napply (refl_eq ??)
##| ##2: #a; #b; #H;
nrewrite > (associative_list T l [a] l1);
nnormalize;
napply (refl_eq ??).
-nqed.
+nqed.
\ No newline at end of file