Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 120 3 b Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 120 3 g Solution Created 2026-09-24 Updated 2026-09-24
Given a finite input word , construct the typed term effectively and beta-normalize it. The Strong normalization theorem for simply typed lambda calculus guarantees termination, and confluence gives exactly one of the finitely many normal forms . Compare that normal form syntactically with the listed accepting states in . This algorithm accepts exactly when , so is recursive. Equivalently, this is the standard theorem that every language recognized by a deterministic finite automaton is a regular language and hence decidable.