Checking determinism by distinct successors

A draft machine specification has configurations tick⁡(n)\operatorname{tick}(n), where nn is a nonnegative integer, and a terminal configuration halt⁡\operatorname{halt}. Its complete transition rules are:


tick⁡(0)→halt⁡,tick⁡(n)→tick⁡(n−1)if n>0,tick⁡(n)→tick⁡(0)if n>0.\begin{aligned} \operatorname{tick}(0)&\to\operatorname{halt},\\ \operatorname{tick}(n)&\to\operatorname{tick}(n-1) &&\text{if }n>0,\\ \operatorname{tick}(n)&\to\operatorname{tick}(0) &&\text{if }n>0. \end{aligned}

A relation satisfies the determinism condition when each configuration has at most one distinct successor configuration. Count distinct successors, rather than applicable rules.


Complete the check using digits for counts and either deterministic or not deterministic for the final blank.


The configuration halt⁡\operatorname{halt} has successors. The configuration tick⁡(1)\operatorname{tick}(1) has distinct successor, whereas tick⁡(2)\operatorname{tick}(2) has distinct successors. Therefore, the transition relation is .

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Operational Semantics Questions: