Lectures onType Theory
Universe Paradoxes and Hurkens's Construction
appendix sectionsolutions

Universe Paradoxes and Hurkens's Construction

Exercise 76.1.

Instantiating z:El1(V) at A:U1 uses the outer Π2-application and yields a function expecting r:El1((A1u0)1A1u0). The applications to r and then a:El1(A) use Π1-application. In the result, z2A1r has type El1(A1u0), so it is the argument expected by r. Only the first application, z2A, uses Π2.

Exercise 76.3.

The four displayed conversions have ledgers J(i)1xi1D(x)β1le(J(i),x)le(i,D(x))β1,β2le(i,WF)Ind(J(i))β1,β2(λ1u.I(u))1xI(x)β1. The first line converts the result of the auxiliary argument in both L1 and L2. The second converts the premise in L1; the third converts the induction premise in Ω and L2; and the fourth gives the codomain expected in L1 and L2. Expanding the second and third lines contracts the large-code abstraction in sb, which is the recorded β2 site. The final application L20Ω is typed by the supplied small application operation; it is not reduced. Thus no conversion invokes β0 or β01.

Exercise 76.4.

With δ=intromatch, equation (RH) at x,p expands to match(δx)(p)T(δ)(match(x))(p)match(x)(pδ). If h:X0(p), then s2(p,h)=λx.h(δx) has type X0(pδ): its final negative premise is converted by the displayed equation. The four uses are distinct. It converts the negative conclusion in the typing of s1, converts the negative conclusion in the typing of s2, identifies match(x0)(p) with X0(pδ) in l0, and makes the same identification when l2(p,h) is assigned type ¬match(x0)(p). No other non-beta conversion occurs in the final application l0(p0,l2,l1):.

Exercise 29.17.

Let A type. Apply theorem 76.4 to the assumed code F whose decoding is empty, and convert the resulting term to g:0. Empty elimination at the constant motive A gives a:=ind0(x.A;g):A. Equivalently, using the recursor of definition 28.3, a:=abortA(g),abortA:0A. Thus every closed type is inhabited under that Hurkens interface. The construction is uniform in A; no property of the target type is used beyond its formation judgment.

Search the book

Type to search the local edition.