equal
deleted
inserted
replaced
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') |