Contents
Definition
In set theory
Given sets A A and B B and a function f : A → B f\colon A \to B , the inverse function of f f (if it exists) is the function f − 1 : B → A f^{-1}\colon B \to A such that both composite functions f ∘ f − 1 f \circ f^{-1} and f − 1 ∘ f f^{-1} \circ f are identity functions . Note that f f has an inverse function if and only if f f is a bijection , in which case this inverse function is unique.
Inverse functions are inverse morphisms in the category Set of sets.
More generally, in any concrete category , the inverse of any isomorphism is given by the inverse of the corresponding function between underlying sets .
In type theory
In type theory , there are two different kinds of inverse functions, quasi-inverse functions, various kinds of more or less coherent quasi-inverse functions, and inverse functions.
For more on this see at equivalence in type theory .
Quasi-inverse functions
Given types A A and B B and a function f : A → B f:A \to B , a quasi-inverse function of f f is a function g : B → A g:B \to A such that g g is a retraction and a section of f f .
∏ b : B ( f ( g ( b ) ) = B b ) × ∏ a : A ( a = A g ( f ( a ) ) ) \prod_{b:B} (f(g(b)) =_B b) \times \prod_{a:A} (a =_A g(f(a)))
Equivalently, there are functions ϵ 0 ( a , b ) : ( a = A g ( b ) ) → ( f ( a ) = B b ) \epsilon_0(a, b):(a =_A g(b)) \to (f(a) =_B b) and η 0 ( a , b ) : ( f ( a ) = B b ) → ( a = A g ( b ) ) \eta_0(a, b):(f(a) =_B b) \to (a =_A g(b)) for all a : A a:A and b : B b:B .
∏ a : A ∏ b : B ( ( a = A g ( b ) ) → ( f ( a ) = B b ) ) × ( ( f ( a ) = B b ) → ( a = A g ( b ) ) ) \prod_{a:A} \prod_{b:B} ((a =_A g(b)) \to (f(a) =_B b)) \times ((f(a) =_B b) \to (a =_A g(b)))
A function f : A → B f:A \to B might have multiple quasi-inverse functions. The type of quasi-inverses of f f is given by
QuasiInv ( f ) ≔ ∑ g : B → A ∏ b : B ( f ( g ( b ) ) = B b ) × ∏ a : A ( a = A g ( f ( a ) ) ) \mathrm{QuasiInv}(f) \coloneqq \sum_{g:B \to A} \prod_{b:B} (f(g(b)) =_B b) \times \prod_{a:A} (a =_A g(f(a)))
n n -quasi inverse functions
There are also variants of quasi-inverse functions where they are the inverse functions for n n -truncated types.
For example, every function g : B → A g:B \to A is a (-1)-quasi inverse function, because it is an inverse function for h-propositions A A and B B .
A quasi-inverse function is a 0-quasi inverse function, because it is an inverse function for h-sets A A and B B .
A 1-quasi-inverse function is a quasi-inverse function with functions ϵ 0 ( a , b ) : ( a = A g ( b ) ) → ( f ( a ) = B b ) \epsilon_0(a, b):(a =_A g(b)) \to (f(a) =_B b) and η 0 ( a , b ) : ( f ( a ) = B b ) → ( a = A g ( b ) ) \eta_0(a, b):(f(a) =_B b) \to (a =_A g(b)) for all a : A a:A and b : B b:B such that for all c : a = A g ( b ) c:a =_A g(b) and d : f ( a ) = B b d:f(a) =_B b , there are functions
ϵ 1 ( a , b , c , d ) : ( ϵ 0 ( a , b , c ) = f ( a ) = B b d ) → ( c = a = A g ( b ) η 0 ( a , b , d ) ) \epsilon_1(a, b, c, d):(\epsilon_0(a, b, c) =_{f(a) =_B b} d) \to (c =_{a =_A g(b)} \eta_0(a, b, d)) η 1 ( a , b , c , d ) : ( c = a = A g ( b ) η 0 ( a , b , d ) ) → ( ϵ 0 ( a , b , c ) = f ( a ) = B b d ) \eta_1(a, b, c, d):(c =_{a =_A g(b)} \eta_0(a, b, d)) \to (\epsilon_0(a, b, c) =_{f(a) =_B b} d)
This is an inverse function for h-groupoids A A and B B .
So on and so forth.
Inverse functions
Given types A A and B B and a function f : A → B f:A \to B , an inverse function of f f is a function g : B → A g:B \to A with a function ϵ ( a , b ) : ( f ( a ) = B b ) → ( a = A g ( b ) ) \epsilon(a, b):(f(a) =_B b) \to (a =_A g(b)) for all a : A a:A and b : B b:B , such that for all identities p : a = A g ( b ) p:a =_A g(b) , the fiber of ϵ ( a , b ) \epsilon(a, b) at p p is contractible.
isInv ( f , g ) ≔ ∏ a : A ∏ b : B ∑ ϵ ( a , b ) : ( f ( a ) = B b ) → ( a = A g ( b ) ) ∏ p : a = A g ( b ) isContr ( fiber ( ϵ ( a , b ) , p ) ) \mathrm{isInv}(f, g) \coloneqq \prod_{a:A} \prod_{b:B} \sum_{\epsilon(a, b):(f(a) =_B b) \to (a =_A g(b))} \prod_{p:a =_A g(b)} \mathrm{isContr}(\mathrm{fiber}(\epsilon(a, b), p))
Coherent inverse functions
Given types A A and B B and a function f : A → B f:A \to B , a coherent inverse function of f f is a quasi-inverse function g : B → A g:B \to A with homotopies
G : ∏ x : B f ( g ( x ) ) = B x H : ∏ x : A g ( f ( x ) ) = A x G:\prod_{x:B} f(g(x)) =_B x \qquad H:\prod_{x:A} g(f(x)) =_A x
which additionally has one of the two homotopies
K : ∏ x : A ap B ( f , g ( f ( x ) ) , x , H ( x ) ) = g ( f ( x ) ) = A x G ( f ( x ) ) L : ∏ x : B H ( g ( x ) ) = f ( g ( x ) ) = B x ap A ( g , f ( g ( x ) ) , x , G ( x ) ) K:\prod_{x:A} \mathrm{ap}_{B}(f, g(f(x)), x, H(x)) =_{g(f(x)) =_A x} G(f(x)) \qquad L:\prod_{x:B} H(g(x)) =_{f(g(x)) =_B x} \mathrm{ap}_{A}(g, f(g(x)), x, G(x))
The type of coherent inverse functions of f f is given by one of the following types
CohInv 1 ( f ) ≔ ∑ g : B → A ∑ G : ∏ x : B f ( g ( x ) ) = B x ∑ H : ∏ x : A g ( f ( x ) ) = A x ( ∏ x : A ap B ( f , g ( f ( x ) ) , x , H ( x ) ) = g ( f ( x ) ) = A x G ( f ( x ) ) ) \mathrm{CohInv}_1(f) \coloneqq \sum_{g:B \to A} \sum_{G:\prod_{x:B} f(g(x)) =_B x} \sum_{H:\prod_{x:A} g(f(x)) =_A x} \left(\prod_{x:A} \mathrm{ap}_{B}(f, g(f(x)), x, H(x)) =_{g(f(x)) =_A x} G(f(x))\right) CohInv 2 ( f ) ≔ ∑ g : B → A ∑ G : ∏ x : B f ( g ( x ) ) = B x ∑ H : ∏ x : A g ( f ( x ) ) = A x ( ∏ x : B H ( g ( x ) ) = f ( g ( x ) ) = B x ap A ( g , f ( g ( x ) ) , x , G ( x ) ) ) \mathrm{CohInv}_2(f) \coloneqq \sum_{g:B \to A} \sum_{G:\prod_{x:B} f(g(x)) =_B x} \sum_{H:\prod_{x:A} g(f(x)) =_A x} \left(\prod_{x:B} H(g(x)) =_{f(g(x)) =_B x} \mathrm{ap}_{A}(g, f(g(x)), x, G(x))\right)
f f is called a half adjoint equivalence if it has a coherent inverse function.
Properties
Given functions f : A → B f:A \to B and g : B → A g:B \to A and homotopies G : ∏ x : B f ( g ( x ) ) = B x G:\prod_{x:B} f(g(x)) =_B x and H : ∏ x : A g ( f ( x ) ) = A x H:\prod_{x:A} g(f(x)) =_A x , there are elements
QInvToCohInv 1 ( f , g , G , H ) : ∏ x : A ap B ( f , g ( f ( x ) ) , x , H ( x ) ) = g ( f ( x ) ) = A x G ( f ( x ) ) \mathrm{QInvToCohInv}_1(f, g, G, H):\prod_{x:A} \mathrm{ap}_{B}(f, g(f(x)), x, H(x)) =_{g(f(x)) =_A x} G(f(x)) QInvToCohInv 2 ( f , g , G , H ) : ∏ x : B H ( g ( x ) ) = f ( g ( x ) ) = B x ap A ( g , f ( g ( x ) ) , x , G ( x ) ) \mathrm{QInvToCohInv}_2(f, g, G, H):\prod_{x:B} H(g(x)) =_{f(g(x)) =_B x} \mathrm{ap}_{A}(g, f(g(x)), x, G(x))
which satisfies the commutative squares for all elements a : A a:A and b : B b:B
f ( g ( f ( g ( b ) ) ) ) = G ( f ( g ( b ) ) f ( g ( b ) ) ap B ( f , g ( f ( b ) ) , b , H ( b ) ) ‖ = f ( g ( f ( g ( b ) ) ) ) = B b ‖ QInvToCohInv 2 ( f , g , G , H ) ( b ) f ( g ( b ) ) = G ( b ) b
\array{& f(g(f(g(b)))) & \overset{G(f(g(b))}= & f(g(b)) & \\
\mathrm{ap}_{B}(f, g(f(b)), b, H(b)) & \Vert & =_{f(g(f(g(b)))) =_B b} & \Vert & \mathrm{QInvToCohInv}_2(f, g, G, H)(b) \\
& f(g(b)) & \underset{G(b)}= & b & \\
}
g ( f ( g ( f ( a ) ) ) ) = H ( g ( f ( a ) ) g ( f ( a ) ) ap A ( g , f ( g ( a ) ) , a , G ( a ) ) ‖ = g ( f ( g ( f ( a ) ) ) ) = A a ‖ QInvToCohInv 1 ( f , g , G , H ) ( a ) g ( f ( a ) ) = H ( a ) a
\array{& g(f(g(f(a)))) & \overset{H(g(f(a))}= & g(f(a)) & \\
\mathrm{ap}_{A}(g, f(g(a)), a, G(a)) & \Vert & =_{g(f(g(f(a)))) =_A a} & \Vert & \mathrm{QInvToCohInv}_1(f, g, G, H)(a) \\
& g(f(a)) & \underset{H(a)}= & a & \\
}
Thus, there are functions
λ g : B → A . λ G : ∏ x : B f ( g ( x ) ) = B x . λ H : ∏ x : A g ( f ( x ) ) = A x . QInvToCohInv 1 ( f , g , G , H ) : QInv ( f ) → CohInv 1 ( f ) \lambda g:B \to A.\lambda G:\prod_{x:B} f(g(x)) =_B x.\lambda H:\prod_{x:A} g(f(x)) =_A x.\mathrm{QInvToCohInv}_1(f, g, G, H):\mathrm{QInv}(f) \to \mathrm{CohInv}_1(f)
and
λ g : B → A . λ G : ∏ x : B f ( g ( x ) ) = B x . λ H : ∏ x : A g ( f ( x ) ) = A x . QInvToCohInv 2 ( f , g , G , H ) : QInv ( f ) → CohInv 2 ( f ) \lambda g:B \to A.\lambda G:\prod_{x:B} f(g(x)) =_B x.\lambda H:\prod_{x:A} g(f(x)) =_A x.\mathrm{QInvToCohInv}_2(f, g, G, H):\mathrm{QInv}(f) \to \mathrm{CohInv}_2(f)
Every coherent inverse function is a quasi-inverse function by forgetting the additional coherence condition.
Theorem
If a function f : A → B f:A \to B has a coherent inverse function, then for all elements b : B b:B the fiber of f f at b b is contractible.
Not really related
References