Yuri Gurevich at Microsoft Research: algorithms are deterministic, randomness is done by assistants
In a 73-minute talk hosted by Nikolaj Bjorner, Yuri Gurevich argues that probabilistic and quantum algorithms are not a new species of algorithm. Their non-deterministic work, he says, is subcontracted to outside partners, and he revises his axioms of algorithms to cover this.
Logician and computer scientist Yuri Gurevich used a Microsoft Research talk, introduced by host Nikolaj Bjorner, to set out what he calls the theory of assisted algorithms. His central claim is blunt: all algorithms are deterministic. When a probabilistic or quantum algorithm seems to behave otherwise, it is because the non-algorithmic step, such as tossing a coin or making a quantum measurement, is handed to an outside partner he calls an interactant.
Why algorithms are deterministic by definition
Gurevich recalled that the logicians of the 1930s and 1940s who pinned down "effective methods" took determinism for granted. Even old geometric procedures, such as constructing a tangent to a circle from an outside point, left the choice between the two solutions to a person. He cited Yogi Berra's "When you come to the fork in the road, take it" as the model of a non-deterministic algorithm, and called the term a contradiction. He compared widening the notion of algorithm to widening the number system, and said he first believed probabilistic and quantum algorithms were just further species before concluding the situation is different.

Abstract state machines and Spec Explorer
A long middle stretch covered the background. Gurevich moved into computer science in 1982 and wanted to know what the field is really about. His answer: algorithms, including databases, operating systems and programming languages. That led to abstract state machines (ASMs), which he said can simulate any basic algorithm step by step, in the same sequence of states, whatever language the algorithm is written in.
He described joining Microsoft Research after a talk persuaded Jim Kajiya that executable high-level specifications were needed. His group built a tool called Spec Explorer. It was liked by testers, and Bill Gates asked how it differed from a Turing machine. Use stayed niche until the European Union's demands on Microsoft's protocol documentation created a need for executable specifications, and Windows teams used the tool at scale. Gurevich called the EU victory somewhat Pyrrhic, since cross-platform tools later made the effort obsolete.
Two running examples: Fermat primality and Grover search
He used two algorithms throughout. The first is a simplified Fermat primality test: repeat k times, pick a random a, and if a to the power n minus one mod n is not one, return composite. Otherwise answer probably prime. The second is Grover's quantum search algorithm, shown as a circuit of gates on qubits, followed by measurements that yield a string of zeros and ones. Grover's search needs about the square root of n steps where a classical search needs about half of n on average.

Revised postulates with oracles and recipients
Gurevich revised his three postulates of algorithms. Algorithms now have a vocabulary of interactants of two kinds: oracles, which return a reply to a query, and recipients, which just receive a message. A step records a log of that interaction. Terminal states are replaced by terminating steps, because whether an algorithm halts can depend on the interaction. Different steps may lead to the same successor state, so a non-deterministic transition function alone is not enough.
The third postulate, about bounded exploration, says that for any step only a bounded set of terms is examined. Any difference between two steps shows up as a Boolean term taking different values. A representation theorem follows: every such algorithm is matched by an ASM, with a new send command for messages to recipients.

In the examples, the random choice becomes an oracle called choose, which he can only hope picks at random. In Grover's algorithm each gate is an oracle that simply returns a value, and the quantum state stays invisible to the algorithm. Asked about the quantum side, he described it as glorified linear algebra done by outside helpers.
Questions and answers
What did Yuri Gurevich argue in his Microsoft Research talk on assisted algorithms?
Yuri Gurevich argued that all algorithms are deterministic. Probabilistic and quantum algorithms only seem otherwise because their non-algorithmic steps, such as tossing a coin or making a quantum measurement, are handed to an outside partner he calls an interactant. He calls this the theory of assisted algorithms.
Who hosted Yuri Gurevich's talk at Microsoft Research and how long was it?
Nikolaj Bjorner hosted and introduced the Microsoft Research talk given by logician and computer scientist Yuri Gurevich. The talk ran 73 minutes. In it Gurevich set out his theory of assisted algorithms and revised his axioms of algorithms to cover probabilistic and quantum cases.
What are oracles and recipients in Yuri Gurevich's revised postulates of algorithms?
Oracles and recipients are the two kinds of interactant in Yuri Gurevich's revised postulates. An oracle returns a reply to a query. A recipient just receives a message. Each algorithm step records a log of its interaction, and terminal states are replaced by terminating steps, since halting can depend on the interaction.
How does Yuri Gurevich explain the Fermat primality test and Grover's search algorithm?
Yuri Gurevich treats the random choice in the Fermat primality test as an oracle called choose, which he can only hope picks at random. In Grover's quantum search algorithm, each gate is an oracle that returns a value, and the quantum state stays invisible to the algorithm. He called the quantum side glorified linear algebra done by outside helpers.
What is the representation theorem in Yuri Gurevich's assisted algorithms theory?
The representation theorem says every algorithm satisfying Yuri Gurevich's revised postulates is matched by an abstract state machine (ASM). The ASM gets a new send command for sending messages to recipients. The third postulate, bounded exploration, says only a bounded set of terms is examined in any step.
What is Spec Explorer, the tool built by Yuri Gurevich's group at Microsoft Research?
Spec Explorer is a tool built by Yuri Gurevich's group at Microsoft Research for executable high-level specifications, based on abstract state machines. Testers liked it, though use stayed niche. Demand grew when the European Union's requirements for Microsoft's protocol documentation created a need for executable specifications, and Windows teams used it at scale.
From the YouTube description
Algorithms are inherently deterministic. Here is a famous non deterministic algorithm: “When you come to a fork in the road, take it,” by Yogi Berra, the American baseball player and unlicensed philosopher, In our view, “nondeterministic algorithm” is a contradiction in terms. Yet there are useful probabilistic and quantum algorithms that are inherently non deterministic. How do they work? Our thesis is that non-algorithmic work - from tossing a coin to quantum measurement - is done by assistants, partners, oracles. We present the theory of assisted algorithms. Our running example is quantum, but no knowledge of quantum computing is assumed.
Speaker: Yuri Gurevich
Host: Nikolaj Bjorner
See more at https://www.microsoft.com/en-us/research/video/assisted-algorithms/
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.



