src/HOL/Tools/Quotient/quotient_tacs.ML
changeset 46468 4db76d47b51a
parent 45782 f82020ca3248
child 47308 9caab698dbe4
equal deleted inserted replaced
46467:39e412f9ffdf 46468:4db76d47b51a
   362         => rtac @{thm bex1_rel_rsp} THEN' quotient_tac ctxt
   362         => rtac @{thm bex1_rel_rsp} THEN' quotient_tac ctxt
   363 
   363 
   364   | (_ $
   364   | (_ $
   365       (Const(@{const_name Babs},_) $ (Const (@{const_name Respects}, _) $ _) $ _) $
   365       (Const(@{const_name Babs},_) $ (Const (@{const_name Respects}, _) $ _) $ _) $
   366       (Const(@{const_name Babs},_) $ (Const (@{const_name Respects}, _) $ _) $ _))
   366       (Const(@{const_name Babs},_) $ (Const (@{const_name Respects}, _) $ _) $ _))
   367         => rtac @{thm babs_rsp} THEN' RANGE [quotient_tac ctxt]
   367         => rtac @{thm babs_rsp} THEN' quotient_tac ctxt
   368 
   368 
   369   | Const (@{const_name HOL.eq},_) $ (R $ _ $ _) $ (_ $ _ $ _) =>
   369   | Const (@{const_name HOL.eq},_) $ (R $ _ $ _) $ (_ $ _ $ _) =>
   370      (rtac @{thm refl} ORELSE'
   370      (rtac @{thm refl} ORELSE'
   371       (equals_rsp_tac R ctxt THEN' RANGE [
   371       (equals_rsp_tac R ctxt THEN' RANGE [
   372          quot_true_tac ctxt (fst o dest_bcomb), quot_true_tac ctxt (snd o dest_bcomb)]))
   372          quot_true_tac ctxt (fst o dest_bcomb), quot_true_tac ctxt (snd o dest_bcomb)]))