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 in the proof below, this identity states that duplicating the generic element gives you the generic element (up to weakening).
We first instantiate the snake diagram at an arbitrary {\mathopen {}\left (\Gamma \vdash A\right )\mathclose {}}\in \widetilde {U}.
As {\widetilde {E}}\xrightarrow {{\pi _E}}{\mathcal {C}} is a discrete fibration, it suffices to check that the above diagram lies over an identity cell in \mathcal {C}. We therefore consider its image in \mathcal {C} as an endomorphism on \Gamma .A to check that it is the identity, computing as follows using the componentwise definitions of the substitution unit and the weakening counit:
These two maps evidently compose to the identity: indeed, by the universal property of \Gamma .A as the fiber product E\times _U\Gamma , it suffices to check that qA\circ p_A.qpqA\circ {\mathopen {}\left \langle \Gamma .A,qA\right \rangle \mathclose {}} = qA and p_A\circ p_A.qpqA\circ {\mathopen {}\left \langle \Gamma .A,qA\right \rangle \mathclose {}} = p_A, as can be read off from the diagrams below.