Lectures onType Theory
ch:infinity-groupoids: ch:infinity-groupoids
appendix sectionsolutions

ch:infinity-groupoids: ch:infinity-groupoids

exercise 62.1.

Path-induct on p. The goal becomes: if q:a=a and reflaq=refla, then q=refla. Left-unit changes the hypothesis to q=refla, which is the conclusion because refla1refla. Transporting this proof back along the induction yields q=p1. Hence the inverse laws characterize the chosen inverse up to identity.

exercise 62.2.

Each claim follows by path induction. For prefl, 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 z(z=z), the general transport formula first changes the left endpoint contravariantly and the right endpoint covariantly, giving trp(q)=p1qp. Only the reflexive instance computes judgmentally; the composition and inverse laws are propositional paths obtained by induction.

exercise 62.3.

Induct on p. Both apdf(reflx) and apf(reflx) compute to reflf(x), while constant-family transport is judgmentally the identity. The right side therefore reduces to reflrefl=refl, proving the reflexive case; path induction supplies the stated comparison for arbitrary p.

exercise 62.4.

Define (hH)(x)=aph(H(x)) and (He)(x)=H(e(x)). Their endpoints are respectively h(fx),h(gx) and f(ex),g(ex), so they inhabit the required homotopy types. Reflexivity, concatenation, and inverse are preserved by the first construction by functoriality of ap and by the second by pointwise calculation.

exercise 62.5.

Induct on p:x=y. Transport becomes the identity and both dependent applications compute to reflexivity. The equation reduces to H(x)refl=reflH(x), obtained from the two unit laws. Path induction transports this equality to arbitrary p, yielding the dependent naturality square with the displayed orientation.

exercise 62.6.

Use ordinary identity elimination with motive D(y,x,p)=C(x,p1) and reflexive branch c. Given p:x=a, apply the result to p1:a=x and transport along (p1)1=p to obtain C(x,p). Equivalently one may path-induct directly on p with the endpoint fixed on the right. In the reflexive case both inverse and the comparison compute to reflexivity, so the result is judgmentally c.

exercise 62.7.

An element of the fiber is ((x,u),p):fibpr1(a) with p:x=a. Send it to trpP(u):P(a). The inverse sends v:P(a) to ((a,v),refla). One composite computes judgmentally. For the other, path induction on p reduces the required path of pairs to reflexivity, so the two maps are quasi-inverses.

exercise 62.8.

Induction on q:b=c reduces rrq to right concatenation by reflexivity, propositionally the identity by the right-unit law; the same induction supplies its inverse. For fixed p:a=b, use rp1r as inverse to rpr. 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 g:BA with quasi-inverse f, unit ε:fgidB, and counit η:gfidA. It keeps ε and replaces η by η~(x):=η(g(f(x)))1(apg(ε(f(x)))η(x)):g(f(x))=x. Every factor is now typed: the inverse starts at g(f(x)) and ends at g(f(g(f(x)))); the two following factors end at g(f(x)) and x. The two naturality equations used in the calculation are ε(f(g(y)))=apfg(ε(y)) and η(g(f(g(y))))apg(ε(y))=apgf(apg(ε(y)))η(g(y)). Functoriality identifies apgf(apg(ε(y))) with apg(apfg(ε(y))). Substitution in the definition of η~(g(y)), followed by associativity, inverse cancellation, and the unit law, leaves apg(ε(y)). Hence apg(ε(y))=η~(g(y)), exactly the triangle dual to lemma 62.26; the original counit ε was unchanged.

exercise 62.10.

If f and g are equivalences, functoriality gives an inverse to gf by f1g1. If f and gf are equivalences, then g=(gf)f1 up to homotopy and hence is a composite of equivalences. If g and gf are equivalences, then f=g1(gf) 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 (α:x=x,trαzfz=y(p)=p). Transport in this path family is apf(α)1p because the endpoint y is constant. Left concatenation by apf(α) is an equivalence, so the second equation is equivalent to p=apf(α)p. Composing these equivalences gives the displayed type. Reversing the steps constructs pair=(α,), exactly the path of construction 62.25.

exercise 62.12.

The dependent pair-path constructor applied to p:x=y and reflexivity at trpP(u) gives lift(u,p):(x,u)=(y,trpPu). The computation rule for the first projection of a Σ-path says appr1(pair=(p,refl))=p. Path induction on p checks this rule directly: both sides reduce to reflexivity.

exercise 62.13.

Define C by two nested Boolean eliminations. Reflexivity gives encodex:x=x1, and the mixed cases eliminate from an identity by Boolean discrimination; define decode by refl in the equal cases and empty elimination otherwise. Double Boolean induction reduces the two round trips to unit eta or identity induction. Therefore (x=y)C(x,y), and the (tt,ff) instance maps an alleged path into 0.

exercise 62.14.

Double recursion decides the four constructor cases. Zero equals zero by inl(refl); 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 apsuc; 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 encodex:(a0=x)C(x) is an equivalence, their total map is an equivalence Σx(a0=x)ΣxC(x). The source is the singleton type and is contractible, so the target is contractible. Conversely, let (a0,c0) be the center of a contractible ΣxC(x). For c:C(x), the contraction path from (a0,c0) to (x,c) projects to a path p:a0=x; this defines decoding. The Σ-path theorem identifies the second component with transport of c0, and singleton contraction proves both round trips, so encode and decode are inverse.

exercise 189.16.

Path induction on p:x=y gives trqpP=trqPtrpP; the reflexive case is judgmental. For R(z):=Σ(u:P(z)).Q(z,u) and (a,b):R(x), transport along qp is (trqP(trpPa),tr(q,aptrqP(p))Q(tr(p,refl)Qb)). The displayed second component lies over the transported first component. Associativity compares the two composites by whiskering the induction path for p with transport along q (equivalently, by a second path induction on q); after both paths are reflexive the comparison is refl.

Search the book

Type to search the local edition.