src/ZF/ex/Term.thy
changeset 3840 e0baea4d485a
parent 1478 2b8c2a7547ab
child 6112 5e4871c5136b
equal deleted inserted replaced
3839:56544d061e1d 3840:e0baea4d485a
    27 *)
    27 *)
    28 
    28 
    29 defs
    29 defs
    30   term_rec_def
    30   term_rec_def
    31    "term_rec(t,d) == 
    31    "term_rec(t,d) == 
    32    Vrec(t, %t g. term_case(%x zs. d(x, zs, map(%z.g`z, zs)), t))"
    32    Vrec(t, %t g. term_case(%x zs. d(x, zs, map(%z. g`z, zs)), t))"
    33 
    33 
    34   term_map_def  "term_map(f,t) == term_rec(t, %x zs rs. Apply(f(x), rs))"
    34   term_map_def  "term_map(f,t) == term_rec(t, %x zs rs. Apply(f(x), rs))"
    35 
    35 
    36   term_size_def "term_size(t) == term_rec(t, %x zs rs. succ(list_add(rs)))"
    36   term_size_def "term_size(t) == term_rec(t, %x zs rs. succ(list_add(rs)))"
    37 
    37