src/ZF/constructor.ML
changeset 454 0d19ab250cc9
parent 448 d7ff85d292c7
child 466 08d1cce222e1
equal deleted inserted replaced
453:d4e82b3a06c9 454:0d19ab250cc9
   154 		    (big_rec_name ins rec_names, rec_styp, NoSyn) ::
   154 		    (big_rec_name ins rec_names, rec_styp, NoSyn) ::
   155 		    flat (map #3 rec_specs));
   155 		    flat (map #3 rec_specs));
   156 
   156 
   157 val con_thy = thy
   157 val con_thy = thy
   158               |> add_consts const_decs
   158               |> add_consts const_decs
   159               |> add_axioms axpairs
   159               |> add_axioms_i axpairs
   160               |> add_thyname (big_rec_name ^ "_Constructors");
   160               |> add_thyname (big_rec_name ^ "_Constructors");
   161 
   161 
   162 (*1st element is the case definition; others are the constructors*)
   162 (*1st element is the case definition; others are the constructors*)
   163 val con_defs = map (get_axiom con_thy o #1) axpairs;
   163 val con_defs = map (get_axiom con_thy o #1) axpairs;
   164 
   164