Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 4 4G a Solution Created 2026-09-24 Updated 2026-10-03
The S-m-n theorem says that program inputs can be compiled into an index: for every there is a total recursive such thatHere means that either both sides are undefined or both are defined and equal.
The recursion theorem says that every total recursive transformation of program indices has a semantic fixed point: some satisfies
The Rice theorem says that every nontrivial extensional property of programs computed by partial recursive functions is undecidable.
Past exam of the mathematics course of the University of Cambridge 2018 ii Paper 4 4G b Solution Created 2026-09-24 Updated 2026-10-03
By the S-m-n theorem, there is a total recursive function such thatfor all . Apply the recursion theorem to . It supplies an index for whichConsequently
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 12H a Solution Created 2026-09-24 Updated 2026-10-03
Fix an acceptable effective enumeration of the -ary partial computable functions. The S-m-n theorem states that for every there is a total computable function such thatwhere means that both sides have the same value when defined and are otherwise both undefined.
The recursion theorem states that every total computable transformation of program indices has a semantic fixed point: there is an such that
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 12H c Solution Created 2026-09-24 Updated 2026-10-03
Apply the S-m-n theorem to . It gives a total computable function such thatThe recursion theorem supplies an index satisfying . Consequently
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 12H d Solution Created 2026-09-24 Updated 2026-10-03
For each , let be an effectively obtained index of the partial functionThe existence of the total computable index transformation follows from the S-m-n theorem. By the recursion theorem, some satisfies . Therefore its domain isand hence
Past exam of the mathematics course of the University of Cambridge 2026 ii Paper 3 12J c Solution Created 2026-09-24 Updated 2026-09-25
Kleene's recursion theorem says that for every total recursive map on program indices there is an index with the same partial function as program .