src/HOL/BNF/Tools/bnf_def.ML
changeset 51930 52fd62618631
parent 51917 f964a9887713
child 52635 4f84b730c489
equal deleted inserted replaced
51929:5e8a0b8bb070 51930:52fd62618631
   121 
   121 
   122 fun mk_axioms' (((((((((id, comp), cong), nat), c_o), cinf), set_bd), in_bd), wpull), rel) =
   122 fun mk_axioms' (((((((((id, comp), cong), nat), c_o), cinf), set_bd), in_bd), wpull), rel) =
   123   {map_id = id, map_comp = comp, map_cong0 = cong, set_map = nat, bd_card_order = c_o,
   123   {map_id = id, map_comp = comp, map_cong0 = cong, set_map = nat, bd_card_order = c_o,
   124    bd_cinfinite = cinf, set_bd = set_bd, in_bd = in_bd, map_wpull = wpull, rel_OO_Grp = rel};
   124    bd_cinfinite = cinf, set_bd = set_bd, in_bd = in_bd, map_wpull = wpull, rel_OO_Grp = rel};
   125 
   125 
   126 fun dest_cons [] = raise Empty
   126 fun dest_cons [] = raise List.Empty
   127   | dest_cons (x :: xs) = (x, xs);
   127   | dest_cons (x :: xs) = (x, xs);
   128 
   128 
   129 fun mk_axioms n thms = thms
   129 fun mk_axioms n thms = thms
   130   |> map the_single
   130   |> map the_single
   131   |> dest_cons
   131   |> dest_cons