equal
deleted
inserted
replaced
274 |
274 |
275 (*********** isomorphisms for new types (introduced by typedef) ***********) |
275 (*********** isomorphisms for new types (introduced by typedef) ***********) |
276 |
276 |
277 val _ = message config "Proving isomorphism properties ..."; |
277 val _ = message config "Proving isomorphism properties ..."; |
278 |
278 |
279 val newT_iso_axms = map (fn (_, td) => |
279 val newT_iso_axms = map (fn (_, (_, td)) => |
280 (collect_simp (#Abs_inverse td), #Rep_inverse td, |
280 (collect_simp (#Abs_inverse td), #Rep_inverse td, |
281 collect_simp (#Rep td))) typedefs; |
281 collect_simp (#Rep td))) typedefs; |
282 |
282 |
283 val newT_iso_inj_thms = map (fn (_, td) => |
283 val newT_iso_inj_thms = map (fn (_, (_, td)) => |
284 (collect_simp (#Abs_inject td) RS iffD1, #Rep_inject td RS iffD1)) typedefs; |
284 (collect_simp (#Abs_inject td) RS iffD1, #Rep_inject td RS iffD1)) typedefs; |
285 |
285 |
286 (********* isomorphisms between existing types and "unfolded" types *******) |
286 (********* isomorphisms between existing types and "unfolded" types *******) |
287 |
287 |
288 (*---------------------------------------------------------------------*) |
288 (*---------------------------------------------------------------------*) |