5.4 Recoding
Let \( \gamma {\lt} \beta \) be proper type indices at most \( \alpha \). An object \( x : \mathsf{TSet}_\beta \) is called a \( \gamma \)-combination of a set of \( \beta \)-coding functions \( s \) with respect to a \( \beta \)-support \( S \) if
By extensionality, a set of coding functions \( s \) has at most one \( \gamma \)-combination with respect to a given support \( S \).
If \( x \) is a \( \gamma \)-combination of \( s \) with respect to \( S \) then \( \rho (x) \) is a \( \gamma \)-combination of \( s \) with respect to \( \rho (S) \).
We can calculate
where the last inequality uses the fact that coding functions are defined on a support orbit.
Let \( s \) be a set of \( \beta \)-coding functions, and let \( o \) be a \( \beta \)-support orbit such that for each \( S \in o \), \( s \) has a \( \gamma \)-combination \( x \) with respect to \( S \) where \( S \) supports \( x \). Then the \( (\gamma ,\beta ) \)-raised coding function for \( (s, o) \) is the relation \( \chi : \mathsf{StrSupp}_\beta \to \mathsf{TSet}_\beta \to \mathsf{Prop}\) defined by the constructor
The \( (\gamma ,\beta ) \)-raised coding function for \( (s, o) \) is a coding function.
Coinjectivity follows from uniqueness of combinations. The nonemptiness and support orbit conditions follow from the definition, as does the condition that \( (S, x) \in \chi \) implies that \( S \) is a support for \( x \). It remains to show that if \( (S, x) \in \chi \) and \( \rho \) is \( \beta \)-allowable, then \( (\rho (S), \rho (x)) \in \chi \), and this follows directly from proposition 5.23.
For a type index \( \beta \leq \alpha \), a \( \beta \)-set orbit is the quotient of \( \mathsf{TSet}_\beta \) under the relation of being in the same orbit under \( \beta \)-allowable permutations. We write \( [x] \) for the set orbit of \( x \). For each set orbit \( o \), we choose a representative \( \operatorname {\mathsf{repr}}(o) : \mathsf{TSet}_\beta \) with \( [\operatorname {\mathsf{repr}}(o)] = o \), and define a support \( S_o \) for \( \operatorname {\mathsf{repr}}(o) \). For each set, we choose a \( \beta \)-allowable permutation \( \operatorname {\mathsf{twist}}_t \) with the property that \( \operatorname {\mathsf{twist}}_t(\operatorname {\mathsf{repr}}([t])) = t \), and we define the designated support of \( t \) to be \( \operatorname {\mathsf{dsupp}}(t) = \operatorname {\mathsf{twist}}_t(S_{[t]}) \). This is a support for \( t \).
Let \( \gamma {\lt} \beta \) be proper type indices. Let \( S \) be a \( \beta \)-support and let \( u : \mathsf{TSet}_\gamma \). Then the \( (\gamma ,\beta ) \)-raised singleton coding function is
A coding function is called a \( (\gamma ,\beta ) \)-raised singleton if it is of the form \( \operatorname {\mathsf{raise}}(S, u) \).
Let \( \gamma {\lt} \beta \) be proper type indices, and let \( x : \mathsf{TSet}_\beta \). Then for any support \( S \) of \( x \), \( x \) is a combination of the set
We must show that
First, suppose \( u \in U_\beta (x)(\gamma ) \). Then we have
so the left-hand side is contained in the right-hand side.
For the converse, suppose that \( u \in U_\beta (x)(\gamma ) \) and \( (V, v) \in \operatorname {\mathsf{raise}}(S, u) \) with \( V \geq S \). As \( (V, v) \in \operatorname {\mathsf{raise}}(S, u) \), there is some \( \beta \)-allowable \( \rho \) such that
As \( V \geq S \), we obtain \( \rho (S) = S \), 1 so \( \rho (x) = x \). Then
as required.
Let \( \gamma {\lt} \beta \) be proper type indices, and let \( \chi \) be a \( \beta \)-coding function. Then there is a set of \( (\gamma ,\beta ) \)-raised singletons \( s \) and support orbit \( o \) such that \( \chi \) is the \( (\gamma ,\beta ) \)-raised coding function for \( (s, o) \).
Let \( \chi \) be a \( \beta \)-coding function, and let \( (S, x) \in \chi \). Let
Let \( o \) be the support orbit such that \( T \in o \) if and only if \( T \in \operatorname {\mathsf{coim}}\chi \). We claim that \( \chi \) is the raised coding function for \( (s, o) \). It suffices to show that \( (S, x) \) is in this raised coding function. That is, we must show that \( S \in o \), which is trivial, and that \( x \) is a combination of \( s \), which is the content of proposition 5.28.