exercise 62.1.
Path-induct on 𝑝. The goal becomes: if 𝑞 :𝑎 =𝑎 and 𝗋𝖾𝖿𝗅𝑎 ⋅𝑞 =𝗋𝖾𝖿𝗅𝑎, then 𝑞 =𝗋𝖾𝖿𝗅𝑎. Left-unit changes the hypothesis to 𝑞 =𝗋𝖾𝖿𝗅𝑎, which is the conclusion because 𝗋𝖾𝖿𝗅−1𝑎 ≡𝗋𝖾𝖿𝗅𝑎. Transporting this proof back along the induction yields 𝑞 =𝑝−1. Hence the inverse laws characterize the chosen inverse up to identity.
exercise 62.2.
Each claim follows by path induction. For 𝑝 ≡𝗋𝖾𝖿𝗅, transport is the identity judgmentally; preservation of identity and composition for maps is then reflexivity, while preservation of inverse follows after the groupoid unit reductions. For the family 𝑧 ↦(𝑧 =𝑧), the general transport formula first changes the left endpoint contravariantly and the right endpoint covariantly, giving 𝗍𝗋𝑝(𝑞) =𝑝−1 ⋅𝑞 ⋅𝑝. Only the reflexive instance computes judgmentally; the composition and inverse laws are propositional paths obtained by induction.
exercise 62.3.
Induct on 𝑝. Both 𝖺𝗉𝖽𝑓(𝗋𝖾𝖿𝗅𝑥) and 𝖺𝗉𝑓(𝗋𝖾𝖿𝗅𝑥) compute to 𝗋𝖾𝖿𝗅𝑓(𝑥), while constant-family transport is judgmentally the identity. The right side therefore reduces to 𝗋𝖾𝖿𝗅 ⋅𝗋𝖾𝖿𝗅 =𝗋𝖾𝖿𝗅, proving the reflexive case; path induction supplies the stated comparison for arbitrary 𝑝.
exercise 62.4.
Define (ℎ ⋅𝐻)(𝑥) =𝖺𝗉ℎ(𝐻(𝑥)) and (𝐻 ⋅𝑒)(𝑥′) =𝐻(𝑒(𝑥′)). Their endpoints are respectively ℎ(𝑓𝑥),ℎ(𝑔𝑥) and 𝑓(𝑒𝑥′),𝑔(𝑒𝑥′), so they inhabit the required homotopy types. Reflexivity, concatenation, and inverse are preserved by the first construction by functoriality of 𝖺𝗉 and by the second by pointwise calculation.
exercise 62.5.
Induct on 𝑝 :𝑥 =𝑦. Transport becomes the identity and both dependent applications compute to reflexivity. The equation reduces to 𝐻(𝑥) ⋅𝗋𝖾𝖿𝗅 =𝗋𝖾𝖿𝗅 ⋅𝐻(𝑥), obtained from the two unit laws. Path induction transports this equality to arbitrary 𝑝, yielding the dependent naturality square with the displayed orientation.
exercise 62.6.
Use ordinary identity elimination with motive 𝐷(𝑦,𝑥,𝑝) =𝐶(𝑥,𝑝−1) and reflexive branch 𝑐. Given 𝑝 :𝑥 =𝑎, apply the result to 𝑝−1 :𝑎 =𝑥 and transport along (𝑝−1)−1 =𝑝 to obtain 𝐶(𝑥,𝑝). Equivalently one may path-induct directly on 𝑝 with the endpoint fixed on the right. In the reflexive case both inverse and the comparison compute to reflexivity, so the result is judgmentally 𝑐.
exercise 62.7.
An element of the fiber is ((𝑥,𝑢),𝑝) :𝖿𝗂𝖻𝗉𝗋1(𝑎) with 𝑝 :𝑥 =𝑎. Send it to 𝗍𝗋𝑃𝑝(𝑢) :𝑃(𝑎). The inverse sends 𝑣 :𝑃(𝑎) to ((𝑎,𝑣),𝗋𝖾𝖿𝗅𝑎). One composite computes judgmentally. For the other, path induction on 𝑝 reduces the required path of pairs to reflexivity, so the two maps are quasi-inverses.
exercise 62.8.
Induction on 𝑞 :𝑏 =𝑐 reduces 𝑟 ↦𝑟 ⋅𝑞 to right concatenation by reflexivity, propositionally the identity by the right-unit law; the same induction supplies its inverse. For fixed 𝑝 :𝑎 =𝑏, use 𝑟 ↦𝑝−1 ⋅𝑟 as inverse to 𝑟 ↦𝑝 ⋅𝑟. Associativity and the inverse and unit laws reduce both composites to the identity. Thus both concatenation maps are equivalences.
exercise 62.9.
Apply the construction of lemma 62.26 to 𝑔 :𝐵 →𝐴 with quasi-inverse 𝑓, unit 𝜀 :𝑓 ∘𝑔 ∼id𝐵, and counit 𝜂 :𝑔 ∘𝑓 ∼id𝐴. It keeps 𝜀 and replaces 𝜂 by ˜𝜂(𝑥):=𝜂(𝑔(𝑓(𝑥)))−1⋅(𝖺𝗉𝑔(𝜀(𝑓(𝑥)))⋅𝜂(𝑥)):𝑔(𝑓(𝑥))=𝑥. Every factor is now typed: the inverse starts at 𝑔(𝑓(𝑥)) and ends at 𝑔(𝑓(𝑔(𝑓(𝑥)))); the two following factors end at 𝑔(𝑓(𝑥)) and 𝑥. The two naturality equations used in the calculation are 𝜀(𝑓(𝑔(𝑦)))=𝖺𝗉𝑓∘𝑔(𝜀(𝑦)) and 𝜂(𝑔(𝑓(𝑔(𝑦))))⋅𝖺𝗉𝑔(𝜀(𝑦))=𝖺𝗉𝑔∘𝑓(𝖺𝗉𝑔(𝜀(𝑦)))⋅𝜂(𝑔(𝑦)). Functoriality identifies 𝖺𝗉𝑔∘𝑓(𝖺𝗉𝑔(𝜀(𝑦))) with 𝖺𝗉𝑔(𝖺𝗉𝑓∘𝑔(𝜀(𝑦))). Substitution in the definition of ˜𝜂(𝑔(𝑦)), followed by associativity, inverse cancellation, and the unit law, leaves 𝖺𝗉𝑔(𝜀(𝑦)). Hence 𝖺𝗉𝑔(𝜀(𝑦)) =˜𝜂(𝑔(𝑦)), exactly the triangle dual to lemma 62.26; the original counit 𝜀 was unchanged.
exercise 62.10.
If 𝑓 and 𝑔 are equivalences, functoriality gives an inverse to 𝑔𝑓 by 𝑓−1𝑔−1. If 𝑓 and 𝑔𝑓 are equivalences, then 𝑔 =(𝑔𝑓)𝑓−1 up to homotopy and hence is a composite of equivalences. If 𝑔 and 𝑔𝑓 are equivalences, then 𝑓 =𝑔−1(𝑔𝑓) up to homotopy. Equivalence is invariant under homotopy, so all three cases follow; the triangle homotopies are obtained by associativity and the inverse laws.
exercise 62.11.
The Σ-path theorem turns a path in the fiber into (𝛼 :𝑥 =𝑥′, 𝗍𝗋𝑧↦𝑓𝑧=𝑦𝛼(𝑝) =𝑝′). Transport in this path family is 𝖺𝗉𝑓(𝛼)−1 ⋅𝑝 because the endpoint 𝑦 is constant. Left concatenation by 𝖺𝗉𝑓(𝛼) is an equivalence, so the second equation is equivalent to 𝑝 =𝖺𝗉𝑓(𝛼) ⋅𝑝′. Composing these equivalences gives the displayed type. Reversing the steps constructs 𝗉𝖺𝗂𝗋=(𝛼, −), exactly the path of construction 62.25.
exercise 62.12.
The dependent pair-path constructor applied to 𝑝 :𝑥 =𝑦 and reflexivity at 𝗍𝗋𝑃𝑝(𝑢) gives 𝗅𝗂𝖿𝗍(𝑢,𝑝) :(𝑥,𝑢) =(𝑦,𝗍𝗋𝑃𝑝𝑢). The computation rule for the first projection of a Σ-path says 𝖺𝗉𝗉𝗋1(𝗉𝖺𝗂𝗋=(𝑝,𝗋𝖾𝖿𝗅)) =𝑝. Path induction on 𝑝 checks this rule directly: both sides reduce to reflexivity.
exercise 62.13.
Define 𝐶 by two nested Boolean eliminations. Reflexivity gives 𝖾𝗇𝖼𝗈𝖽𝖾𝑥 :𝑥 =𝑥 →𝟏, and the mixed cases eliminate from an identity by Boolean discrimination; define 𝖽𝖾𝖼𝗈𝖽𝖾 by 𝗋𝖾𝖿𝗅 in the equal cases and empty elimination otherwise. Double Boolean induction reduces the two round trips to unit eta or identity induction. Therefore (𝑥 =𝑦) ≃𝐶(𝑥,𝑦), and the (𝗍𝗍,𝖿𝖿) instance maps an alleged path into 𝟎.
exercise 62.14.
Double recursion decides the four constructor cases. Zero equals zero by 𝗂𝗇𝗅(𝗋𝖾𝖿𝗅); zero versus successor and successor versus zero use the empty codes supplied by theorem 62.39; successors recurse on their predecessors. A positive predecessor result is mapped by 𝖺𝗉𝗌𝗎𝖼; a negative one is composed with successor injectivity, again obtained from the path-code equivalence. Hence every pair receives either a path or its negation.
exercise 62.15.
If every 𝖾𝗇𝖼𝗈𝖽𝖾𝑥 :(𝑎0 =𝑥) →𝐶(𝑥) is an equivalence, their total map is an equivalence Σ𝑥(𝑎0 =𝑥) ≃Σ𝑥𝐶(𝑥). The source is the singleton type and is contractible, so the target is contractible. Conversely, let (𝑎0,𝑐0) be the center of a contractible Σ𝑥𝐶(𝑥). For 𝑐 :𝐶(𝑥), the contraction path from (𝑎0,𝑐0) to (𝑥,𝑐) projects to a path 𝑝 :𝑎0 =𝑥; this defines decoding. The Σ-path theorem identifies the second component with transport of 𝑐0, and singleton contraction proves both round trips, so encode and decode are inverse.
exercise 189.16.
Path induction on 𝑝 :𝑥 =𝑦 gives 𝗍𝗋𝑃𝑞⋅𝑝 =𝗍𝗋𝑃𝑞 ∘𝗍𝗋𝑃𝑝; the reflexive case is judgmental. For 𝑅(𝑧):=Σ(𝑢 :𝑃(𝑧)).𝑄(𝑧,𝑢) and (𝑎,𝑏) :𝑅(𝑥), transport along 𝑞 ⋅𝑝 is (𝗍𝗋𝑃𝑞(𝗍𝗋𝑃𝑝𝑎),𝗍𝗋𝑄(𝑞,𝖺𝗉𝗍𝗋𝑃𝑞(𝑝))(𝗍𝗋𝑄(𝑝,𝗋𝖾𝖿𝗅)𝑏)). The displayed second component lies over the transported first component. Associativity compares the two composites by whiskering the induction path for 𝑝 with transport along 𝑞 (equivalently, by a second path induction on 𝑞); after both paths are reflexive the comparison is 𝗋𝖾𝖿𝗅.