IntEx.thy
changeset 461 40c9fb60de3c
parent 458 44a70e69ef92
child 466 42082fc00903
equal deleted inserted replaced
460:3f8c7183ddac 461:40c9fb60de3c
   132   shows "(intrel ===> intrel ===> intrel) my_plus my_plus"
   132   shows "(intrel ===> intrel ===> intrel) my_plus my_plus"
   133 by (simp)
   133 by (simp)
   134 
   134 
   135 ML {* val qty = @{typ "my_int"} *}
   135 ML {* val qty = @{typ "my_int"} *}
   136 ML {* val ty_name = "my_int" *}
   136 ML {* val ty_name = "my_int" *}
   137 ML {* val rsp_thms = @{thms ho_plus_rsp} @ @{thms ho_all_prs ho_ex_prs} *}
   137 ML {* val rsp_thms = @{thms ho_plus_rsp} *}
   138 ML {* val defs = @{thms PLUS_def} *}
   138 ML {* val defs = @{thms PLUS_def} *}
   139 ML {* val (rty, rel, rel_refl, rel_eqv) = lookup_quot_data @{context} qty *}
   139 ML {* val (rty, rel, rel_refl, rel_eqv) = lookup_quot_data @{context} qty *}
   140 ML {* val (trans2, reps_same, absrep, quot) = lookup_quot_thms @{context} "my_int"; *}
   140 ML {* val (trans2, reps_same, absrep, quot) = lookup_quot_thms @{context} "my_int"; *}
   141 ML {* val consts = lookup_quot_consts defs *}
   141 ML {* val consts = lookup_quot_consts defs *}
   142 
   142