202505252105

Tags : Homotopy Type Theory

Surjections and Embeddings


Definition

We say that a function is surjective (or is a surjection) if the type is inhabited for all .

This definition is very similar to the set theory definition of a surjection, and a simple types as proposition conversion would give:

holds.

similarly we have a similar notion of an injection given by:

Definition

We say is an embedding if for every , the function is an equivalence.

translating this directly leads to the statement, given 2 elements and elements , then, if then .


References