src/ZF/ex/ListN.ML
changeset 85 914270f33f2d
parent 71 729fe026c5f3
child 279 7738aed3f84d
equal deleted inserted replaced
84:01d6c0ddaae3 85:914270f33f2d
    53 by (etac listn_induct 1);
    53 by (etac listn_induct 1);
    54 by (ALLGOALS (asm_simp_tac (list_ss addsimps ListN.intrs)));
    54 by (ALLGOALS (asm_simp_tac (list_ss addsimps ListN.intrs)));
    55 val listn_append = result();
    55 val listn_append = result();
    56 
    56 
    57 val Nil_listn_case = ListN.mk_cases List.con_defs "<i,Nil> : listn(A)"
    57 val Nil_listn_case = ListN.mk_cases List.con_defs "<i,Nil> : listn(A)"
    58 and Cons_listn_case = ListN.mk_cases List.con_defs "<i,Cons(x,xs)> : listn(A)";
    58 and Cons_listn_case = ListN.mk_cases List.con_defs "<i,Cons(x,l)> : listn(A)";
       
    59 
       
    60 val zero_listn_case = ListN.mk_cases List.con_defs "<0,l> : listn(A)"
       
    61 and succ_listn_case = ListN.mk_cases List.con_defs "<succ(i),l> : listn(A)";