src/ZF/Sum.thy
changeset 1108 22b256c8c9fb
parent 753 ec86863e87c8
child 1401 0c439768f45c
equal deleted inserted replaced
1107:f0ac02ffa21d 1108:22b256c8c9fb
    16 
    16 
    17 defs
    17 defs
    18     sum_def     "A+B == {0}*A Un {1}*B"
    18     sum_def     "A+B == {0}*A Un {1}*B"
    19     Inl_def     "Inl(a) == <0,a>"
    19     Inl_def     "Inl(a) == <0,a>"
    20     Inr_def     "Inr(b) == <1,b>"
    20     Inr_def     "Inr(b) == <1,b>"
    21     case_def    "case(c,d) == split(%y z. cond(y, d(z), c(z)))"
    21     case_def    "case(c,d) == (%<y,z>. cond(y, d(z), c(z)))"
    22 
    22 
    23   (*operator for selecting out the various summands*)
    23   (*operator for selecting out the various summands*)
    24     Part_def	"Part(A,h) == {x: A. EX z. x = h(z)}"
    24     Part_def	"Part(A,h) == {x: A. EX z. x = h(z)}"
    25 end
    25 end