Lectures onType Theory
ch:logic-enriched-type-theory: logic-enriched type theory
appendix sectionsolutions

ch:logic-enriched-type-theory: logic-enriched type theory

exercise 92.1.

Assume h:(P). To apply LTT-Classical, add k:P. Then h,k: by LTT--E; LTT-Classical discharges k and yields P. Finally LTT--I discharges h. This is the unique classical step. Every line is an entailment judgment Γ;ΔQ; no term judgment Γt:A is produced, so the derivation adds no inhabitant of an object type.

exercise 92.2.

The number-quantified proposition is small and hence analytic. It may occur in comprehension and in both induction schemes. The set-of-naturals quantified proposition is analytic but not small; it is forbidden in comprehension and LTT0 induction, but permitted in LTT0 induction. The set-of-sets quantified proposition is neither; all three uses reject it. The matrix being a tautology or does not change these classifications because the offending binder remains.

exercise 92.3.

Let p(n) be the small code for k:N.n=kk and put S:={n:Np(n)}. Then LTT-Set-β gives Γ;nSV(p(n))k:N.n=kk. The left-to-right direction is biconditional elimination followed by its first implication; the right-to-left direction uses the second implication. Existential introduction at S proves the translated comprehension instance.

exercise 92.4.

In type-free second-order arithmetic the translation is Xn(nX), where X is a set variable and n is a number variable. Removing type annotations does not change the source-level smallness judgment. The outer quantifier X:Set(N) does not range over a decoded small type. It is therefore the precise obstruction to a small proposition code and hence to comprehension.

exercise 92.5.

For arithmetical P(n), translate comprehension by {n:N|P(n)|} and use LTT-Set-β; translate number induction by LTT-Nat-Ind0, since |P| is small. These are the two nonlogical cases of the forward rule induction.

The imported reverse chain is LTT0TωUTωT2ACA0. Definitions 5.30–5.31 provide satisfaction for the bounded signatures; Theorems 5.32–5.33 give soundness and completeness, and Corollary 5.33.1 therefore lowers a Bn+1 derivation of an already-Bn judgment to Bn. Corollaries 5.33.2–5.33.3 complete the displayed chain. This is a semantic existence argument using interpretations and satisfaction, not a recursive transformation on derivation syntax, so the imported theorem does not supply an effective proof translator.

Search the book

Type to search the local edition.