equal
deleted
inserted
replaced
223 fun one_eq bot (constr_info : Domain_Constructors.constr_info) = |
223 fun one_eq bot (constr_info : Domain_Constructors.constr_info) = |
224 let fun name_of (c, args) = Long_Name.base_name (fst (dest_Const c)) |
224 let fun name_of (c, args) = Long_Name.base_name (fst (dest_Const c)) |
225 in bot :: map name_of (#con_specs constr_info) end |
225 in bot :: map name_of (#con_specs constr_info) end |
226 in adms @ flat (map2 one_eq bottoms constr_infos) end |
226 in adms @ flat (map2 one_eq bottoms constr_infos) end |
227 |
227 |
228 val inducts = Project_Rule.projections (ProofContext.init_global thy) ind |
228 val inducts = Project_Rule.projections (Proof_Context.init_global thy) ind |
229 fun ind_rule (dname, rule) = |
229 fun ind_rule (dname, rule) = |
230 ((Binding.empty, rule), |
230 ((Binding.empty, rule), |
231 [Rule_Cases.case_names case_ns, Induct.induct_type dname]) |
231 [Rule_Cases.case_names case_ns, Induct.induct_type dname]) |
232 |
232 |
233 in |
233 in |