The following “snake identity” for the substitution unit and the weakening counit holds for any representable map {E}\xrightarrow {{p}}{U} in \operatorname {Pr}\mathcal {C}:
As we shall see, this law states that any element \Gamma \vdash a : A gives rise to a section of the display map {\Gamma .A}\xrightarrow {{p_A}}{\Gamma }.
We may instantiate the snake diagram at an arbitrary {\mathopen {}\left (\Gamma \vdash a:A\right )\mathclose {}}\in \widetilde {E}, and we may whisker on the right with {\widetilde {U}}\xrightarrow {{\pi _U}}{\mathcal {C}} which, as a discrete fibration, is a faithful functor. It suffices now to check that the resulting cell is an identity map \mathcal {C}. We we compute it below using the componentwise definitions of the substitution unit and weakening counit.
The cell depicted above is indeed an identity, as {\Gamma }\xrightarrow {{\Gamma .a}}{\Gamma .A} is defined to be the section of {\Gamma .A}\xrightarrow {{p_A}}{\Gamma } determined by {\Gamma }\xrightarrow {{a}}{E}.