Construction 5.4.3 (Iterated anima contexts). Let \(\Gamma\) be an anima and let \(A\) be an anima in context \(\Gamma\). We will show that the iterated context \(\Gamma,a:A\) can also be regarded as the single anima context \(\Sigma_\Gamma A\).
For a category \(C\) in context \(\Gamma,a:A\), its dependent sum over \(A\) is a category in context \(\Gamma\), with a projection to \(A\). Taking the total category once more gives an absolute category equipped with a chain \[ \Sigma_\Gamma\Sigma_A C\longrightarrow\Sigma_\Gamma A\longrightarrow\Gamma. \] The middle category is an anima by Lemma 5.3.14. Thus the first projection determines a category in context \(\Sigma_\Gamma A\).
Conversely, start with a category in context \(\Sigma_\Gamma A\) and take its total category over \(\Sigma_\Gamma A\). Composing its projection with the projection to \(\Gamma\) and taking generic fibers gives a category over \(A\) in context \(\Gamma\). Its generic fiber, now taken within that theory, is a category in context \(\Gamma,a:A\). Applying Axiom K.7 and Proposition 5.3.4 at each step shows that these constructions are inverse, including on functors and identifications. We may therefore pass between the iterated context \(\Gamma,a:A\) and the single anima context \(\Sigma_\Gamma A\).