Lectures onType Theory
Selection products and restricted bar recursion
appendix sectionrules

Selection products and restricted bar recursion

For JRX=(XR)X, the applied binary product is bq(x)=δ(λy.q(x,y)),aq=ε(λx.q(x,bq(x))),(εδ)(q)=(aq,bq(aq)). The simple explicitly controlled product has the complete equations epsn,l(ε)(q)={0,l(q(0))<n,cepsn+1,l(ε)(qc),l(q(0))n, c=εn(λx.q(xepsn+1,l(ε)(qx))),qx(β)=q(xβ). For history-sensitive selectors, replace n by the history s, use the test l(q(0))<|s|, and recurse at sc; these are the dependent EPS equations.

Two stream operations must remain distinct. Shifting prefix concatenation is (sβ)(i)={s(i),i<|s|,β(i|s|),i|s|, whereas prefix-preserving overwrite is put(s,β)(i)={s(i),i<|s|,β(i),i|s|, restricted Spector recursion is SBRsω(δ)={put(s,0),ω(put(s,0))<|s|,put(s,SBRscω(δ)),ω(put(s,0))|s|, c=δs(λx.SBRsxω(δ)),δs:(XXN)X. The totality theorem assumes the decidable bar-induction principle αn.D([α](n))s.(D(s)¬D(s)),s.(D(s)Q(s))s.((x.Q(sx))Q(s))Q([]). Call this principle BIdec. It is distinct from the relativized scheme BIrel used in the sourced reverse comparison. For the SBR proof, D(s) is ω(put(s,0))<|s|, and Q(s) states totality of the recursive call.

Search the book

Type to search the local edition.