equal
deleted
inserted
replaced
146 |
146 |
147 fun eq_imp_rel_get ctxt = |
147 fun eq_imp_rel_get ctxt = |
148 map (OF1 eq_imp_rel) (rev (Named_Theorems.get ctxt \<^named_theorems>\<open>quot_equiv\<close>)) |
148 map (OF1 eq_imp_rel) (rev (Named_Theorems.get ctxt \<^named_theorems>\<open>quot_equiv\<close>)) |
149 |
149 |
150 val regularize_simproc = |
150 val regularize_simproc = |
151 Simplifier.make_simproc \<^context> "regularize" |
151 \<^simproc_setup>\<open>passive regularize |
152 {lhss = [\<^term>\<open>Ball (Respects (R1 ===> R2)) P\<close>, \<^term>\<open>Bex (Respects (R1 ===> R2)) P\<close>], |
152 ("Ball (Respects (R1 ===> R2)) P" | "Bex (Respects (R1 ===> R2)) P") = |
153 proc = K ball_bex_range_simproc}; |
153 \<open>K ball_bex_range_simproc\<close>\<close> |
154 |
154 |
155 fun regularize_tac ctxt = |
155 fun regularize_tac ctxt = |
156 let |
156 let |
157 val simpset = |
157 val simpset = |
158 mk_minimal_simpset ctxt |
158 mk_minimal_simpset ctxt |