Exercise 109.1.
The left rule is Γ⊢𝑞:𝐴∣ΔΓ∣𝑒:𝐵[𝑞/𝑎]⊢ΔΓ∣𝑞⋅𝑒:Π𝑎:𝐴.𝐵⊢ΔΠ−L. Cutting 𝑓 against the resulting context forms ⟨𝑓 ∥𝑞 ⋅𝑒⟩ :(Γ ⊢Δ). When 𝑓 =𝜆𝑎.𝑝, its principal cut decomposes into the two cut commands ⟨𝑞∥̃𝜇𝑎.⟨𝑝∥𝑒⟩⟩:(Γ⊢Δ). The inner cut places the function body against 𝑒; the outer cut supplies its argument. The first call-by-value root ⟨𝑉 ∥̃𝜇𝑎.𝑐⟩ ⟶𝑐[𝑉/𝑎] requires the argument premise 𝑞 =𝑉, a proof value (and, for dependency, an admissible NEF proof).
Exercise 109.2.
The variable 𝑎, lambda 𝜆𝑎.𝑎, and positive pair (0,refl) are NEF by the variable, lambda, and pair/value clauses. They may respectively be substituted in 𝑋(𝑎), 𝑋(𝜆𝑎.𝑎), and wit((0,refl)) =0, provided the surrounding families have the displayed domains. The fourth accepted proof is 𝑞⋆:=𝜇⋆.⟨𝑎∥⋆⟩. Its command is a NEF command using the one admitted continuation, so the 𝜇 ⋆.𝑐𝑁 clause accepts it. If 𝑎 :𝐴 and 𝑋 :𝐴 →U, it may occur in the formula 𝑋(𝑞⋆).
The proof 𝜇𝛼.𝑐 is not NEF. It would require an unrestricted 𝜇𝛼.𝑐 production, distinct from the displayed 𝜇 ⋆.𝑐𝑁 production. Replacing 𝛼 textually by ⋆ does not make the result NEF unless 𝑐 is also generated by 𝑐𝑁, so that every context in it is either ⋆ or ̃𝜇𝑎.𝑐𝑁. Without that command restriction, a throw can still resume an external context after a dependent formula has fixed its proof occurrence.
Exercise 109.3.
For 𝑃 =Π𝑎 :𝐴.𝐵(𝑎), [[𝑃]]+=Π𝑎:[[𝐴]]+.[[𝐵(𝑎)]]∗,[[𝑃]]∗=((Π𝑎:[[𝐴]]+.[[𝐵(𝑎)]]∗)→⊥)→⊥. The continuation captured by dne𝑃 therefore has target type [[𝑃]]+ →⊥. To place the resulting proof in a family 𝑋( −), fix a source proof 𝑟 :𝑃. Then lemma 109.10 would require its continuation-passing translation to have type Π𝑋:([[𝑃]]+→U).(Π𝑢:[[𝑃]]+.𝑋(𝑢))→𝑋(𝑟+). The proof produced by dne𝑃 binds an unrestricted continuation by 𝜇, so the premise that 𝑟 be NEF is unavailable and the positive term 𝑟+ required in the conclusion is not defined. That missing premise, rather than ordinary CPS typing at [[𝑃]]∗, is the precise obstruction.
Exercise 109.4.
At the capture site, 𝑝0 is assigned ∃𝑥 :ℕ.𝑥 =1. The witness projection follows the ordinary return and records 0, so the surrounding dependent cut expects prf(𝑝0) :0 =1. Forcing the proof invokes the captured continuation with (1,refl). The proof projection of that pair is refl :1 =1. The reduction has therefore changed the term named in the cut formula from the previously observed 0 to the thrown witness 1, without rebuilding the surrounding formula. The exact failed preservation premise is the attempted typing of refl at 0 =1.
Exercise 109.5.
Values form a proper subclass of NEF proofs. A positive projection such as prf((0,refl)) is NEF but is not a value. Normal proofs and NEF proofs are otherwise incomparable in the displayed control language. A normal suspended 𝜇-proof has no redex until it is cut against a context, but is not NEF; an exact witness is 𝜇𝛼.⟨𝑎 ∥𝛼⟩. Conversely the displayed positive projection is NEF and is not normal, because for every context 𝑒 its enclosing command takes the step ⟨prf(0,refl)∥𝑒⟩𝑃𝑟𝑓−𝑃𝑎𝑖𝑟⟶⟨refl∥𝑒⟩. Thus 𝖵𝖺𝗅𝗎𝖾 ⊊𝖭𝖤𝖥, while NEF and normal proofs are incomparable. Proof values are closed under reduction because none of their grammar productions is a reduction head. NEF proofs are closed under the displayed reduction rules by the NEF cases used in theorem 109.6; in particular no rule introduces an unrestricted continuation. Normal proofs are closed vacuously: by definition no reduction starts from one. These closure facts do not turn either values or normal proofs into a substitute for NEF.
Exercise 109.6.
The product clause sends a positive argument 𝑎 :[[𝐴]]+ to the computation type [[𝐵(𝑎)]]∗; the proof occurrence therefore remains visible in the target family. The NEF translation supplies exactly the family-indexed term needed to substitute that 𝑎 in [[𝐵(𝑎)]]∗. During dependent-pair elimination, ̂𝗍𝗉 consumes the answer family after the first-order witness has been fixed, and only then passes the NEF proof to the ordinary continuation. If delimitation is removed while NEF is retained, the CPS clause for dependent elimination would have to give one ordinary continuation both the pre-projection family and the post-witness family. Those answer types differ by witness substitution, so the translated continuation application cannot be typed. The missing target judgment is the continuation at the fixed family 𝑋([[𝑡]]+), formerly supplied by the delimiter.
Exercise 109.7.
Operational equality accepts the control root ⟨𝜇𝛼.𝑐 ∥𝑒⟩ ⟶𝑐[𝑒/𝛼]; neither extensional dependent type theory nor proof irrelevance even has that control command in its signature. Equality reflection in extensional type theory accepts 𝑚 ≡𝑛 :𝐴 from a proof 𝑝 :𝑚 =𝐴𝑛; control reduction alone does not turn an arbitrary identity proof into a reduction, and proof irrelevance does not identify the data 𝑚,𝑛. Proof irrelevance accepts 𝑝 ≡𝑞 :𝑃 for arbitrary proofs 𝑝,𝑞 of one proposition 𝑃; intensional operational conversion need not reduce the two proofs to the same term, and extensional equality reflection without a proof-irrelevance axiom does not identify them. Each equation therefore uses a rule specific to its named regime.