Example. Invariance under isomorphism [00LK]
- January 25, 2024
- Jon Sterling, with contributions from Marcelo Fiore
For all sets A,B,X,Y, we have A\cong X \land B\cong Y\implies \mathrm {Rel}{\mathopen {}\left (A,B\right )\mathclose {}}\cong \mathrm {Rel}{\mathopen {}\left (X,Y\right )\mathclose {}}.
Proof.
- January 25, 2024
- Jon Sterling
Fix isomorphisms f\colon A\to X and g\colon B \to Y. We will define a bijection H\colon \mathrm {Rel}{\mathopen {}\left (A,B\right )\mathclose {}}\to \mathrm {Rel}{\mathopen {}\left (X,Y\right )\mathclose {}}.
Given R\colon A\mathbin {\nrightarrow } B, we define H{\mathopen {}\left (R\right )\mathclose {}}\colon X\mathbin {\nrightarrow } Y to be the relational composite g\circ R\circ f^{-1}. The inverse mapping H^{-1}\colon \mathrm {Rel}{\mathopen {}\left (X,Y\right )\mathclose {}}\to \mathrm {Rel}{\mathopen {}\left (A,B\right )\mathclose {}} is defined to take S\colon X\mathbin {\nrightarrow } Y to the relational composite g^{-1} \circ S\circ f.
Next, we check that H^{-1} is simulatneously a retraction and a section of H.
\begin {aligned} H^{-1}{\mathopen {}\left (H{\mathopen {}\left (R\right )\mathclose {}}\right )\mathclose {}} &= g^{-1}\circ H{\mathopen {}\left (R\right )\mathclose {}}\circ f\\ &= g^{-1}\circ {\mathopen {}\left (g\circ R\circ f^{-1}\right )\mathclose {}}\circ f\\ &= {\mathopen {}\left (g^{-1}\circ g\right )\mathclose {}}\circ R\circ {\mathopen {}\left (f^{-1}\circ f\right )\mathclose {}}\\ &= \mathsf {id}_{B}\circ R\circ \mathsf {id}_{A}\\ &= R \\ H{\mathopen {}\left (H^{-1}{\mathopen {}\left (S\right )\mathclose {}}\right )\mathclose {}} &= g\circ H^{-1}{\mathopen {}\left (S\right )\mathclose {}}\circ f^{-1}\\ &= g\circ {\mathopen {}\left (g^{-1}\circ S\circ f\right )\mathclose {}}\circ f^{-1}\\ &= {\mathopen {}\left (g\circ g^{-1}\right )\mathclose {}}\circ S\circ {\mathopen {}\left (f\circ f^{-1}\right )\mathclose {}}\\ &= \mathsf {id}_{Y}\circ S\circ \mathsf {id}_{X}\\ &= S \end {aligned}