equal
deleted
inserted
replaced
14 val axiomatize_lub_take : |
14 val axiomatize_lub_take : |
15 binding * term -> theory -> thm * theory |
15 binding * term -> theory -> thm * theory |
16 |
16 |
17 val add_axioms : |
17 val add_axioms : |
18 (binding * (typ * typ)) list -> theory -> |
18 (binding * (typ * typ)) list -> theory -> |
19 Domain_Take_Proofs.iso_info list * theory |
19 (Domain_Take_Proofs.iso_info list |
|
20 * Domain_Take_Proofs.take_induct_info) * theory |
20 end; |
21 end; |
21 |
22 |
22 |
23 |
23 structure Domain_Axioms : DOMAIN_AXIOMS = |
24 structure Domain_Axioms : DOMAIN_AXIOMS = |
24 struct |
25 struct |
124 val (take_info2, thy) = |
125 val (take_info2, thy) = |
125 Domain_Take_Proofs.add_lub_take_theorems |
126 Domain_Take_Proofs.add_lub_take_theorems |
126 (map fst dom_eqns ~~ iso_infos) take_info lub_take_thms thy; |
127 (map fst dom_eqns ~~ iso_infos) take_info lub_take_thms thy; |
127 |
128 |
128 in |
129 in |
129 (iso_infos, thy) (* TODO: also return take_info, lub_take_thms *) |
130 ((iso_infos, take_info2), thy) (* TODO: also return take_info, lub_take_thms *) |
130 end; |
131 end; |
131 |
132 |
132 end; (* struct *) |
133 end; (* struct *) |