equal
deleted
inserted
replaced
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 |