# Contents

## Idea

A bijection is an isomorphism in Set.

Since Set is a balanced category, bijections can also be characterized as functions which are both injective (monic) and surjective (epic).

## Definition

Given sets $A$ and $B$, a function $f:A \to B$ is a bijection if it comes with an inverse function $f^{-1}:B \to A$ such that for all elements $b \in B$, $f(f^{-1}(b)) = b$ and for all elements $a \in A$, if $f(a) = b$, then $a = f^{-1}(b)$

$\forall b \in B.(f(f^{-1}(b)) = b \wedge \forall a \in A.(f(a) = b \implies a = f^{-1}(b)))$

The condition that $f(f^{-1}(b)) = b$ could also be made more general, by any element $a:A$ such that $a = f^{-1}(b)$. This then becomes

$\forall a \in A.\forall b \in B.((a =_A f^{-1}(b)) \implies (f(a) =_B b)) \wedge ((f(a) =_B b) \implies (a =_A f^{-1}(b))$

This could be simplified down to the statement that $f(a) = b$ if and only if $a = f^{-1}(b)$.

$\forall a \in A.\forall b \in B.((f(a) =_B b) \iff (a =_A f^{-1}(b))$

This is an adjoint equivalence between two thin univalent groupoids.

## Terminology

In older literature, a bijection may be called a one-to-one correspondence, or (as a compromise) bijective correspondence.