Both identities are checked elementwise from g∘f = id and f∘g = id, the second using that membership in an image under an injective function is decided by the value.
Throughout, a pair lies in the inverse of a relation exactly when , so for a function the preimage of a class consists of the with . By Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction (vi), for and for .
(i): Both sides are subclasses of (for since ), and lies in exactly when . If , then for some , and . Conversely, if , then .
(ii): An element lies in exactly when . Since is injective and , this holds exactly when , by Images of Unions, Intersections, Differences and Subclasses under a Function, and under an Injective Function (iv). Hence .
Loading…