Description: Alternate definition of the restriction of a class to another, as an ordered pair class abstraction: the restriction of a class to another is the class of ordered pairs whose first component is in the restricting class and whose components are related by the restricted class. (Contributed by Mario Carneiro, 5-Nov-2013) Do not depend on df-rel . (Revised by BJ, 16-Oct-2026) This is an alternate proof of dfres2 ; it is slightly shorter but not necessarily a gain (it uses bj-elres / elres , which uses bj-elinxp / elinxp ): dfres2 uses that both classes are relations ( relres and relopab ) to be able to use ordered-pair extensionality eqrelriiv : the latter's proof is long (considering the proofs of its parents up to ssrel ), but its usefulness makes it worth it.