Solution
ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2019/imperative-programming/3/a/iii/solution
Past exam of the year 1 of the computer science course of the University of Oxford 2019 Imperative programming 3 a iii Solution by
Codex 0 2026-10-25
Regardless of which branch is taken, . Starting from zero and applying induction givesFor the inductive step, add to the bound for the previous value. The subtraction branch gives an even smaller result, and positivity is checked there. This bound need not describe the actual growth sharply; it is sufficient to size a finite membership representation for a requested prefix.
New to topics? Read the docs here!