src/HOL/Tools/Quotient/quotient_term.ML
changeset 38795 848be46708dc
parent 38718 c7cbbb18eabe
child 38864 4abe644fcea5
equal deleted inserted replaced
38794:2d638e963357 38795:848be46708dc
   483          if ty = ty' then Const (@{const_name Ex}, ty) $ subtrm
   483          if ty = ty' then Const (@{const_name Ex}, ty) $ subtrm
   484          else mk_bex $ (mk_resp $ equiv_relation ctxt (qnt_typ ty, qnt_typ ty')) $ subtrm
   484          else mk_bex $ (mk_resp $ equiv_relation ctxt (qnt_typ ty, qnt_typ ty')) $ subtrm
   485        end
   485        end
   486 
   486 
   487   | (Const (@{const_name Ex1}, ty) $ (Abs (_, _,
   487   | (Const (@{const_name Ex1}, ty) $ (Abs (_, _,
   488       (Const (@{const_name "op &"}, _) $ (Const (@{const_name Set.member}, _) $ _ $
   488       (Const (@{const_name HOL.conj}, _) $ (Const (@{const_name Set.member}, _) $ _ $
   489         (Const (@{const_name Respects}, _) $ resrel)) $ (t $ _)))),
   489         (Const (@{const_name Respects}, _) $ resrel)) $ (t $ _)))),
   490      Const (@{const_name Ex1}, ty') $ t') =>
   490      Const (@{const_name Ex1}, ty') $ t') =>
   491        let
   491        let
   492          val t_ = incr_boundvars (~1) t
   492          val t_ = incr_boundvars (~1) t
   493          val subtrm = apply_subt (regularize_trm ctxt) (t_, t')
   493          val subtrm = apply_subt (regularize_trm ctxt) (t_, t')