Math 2.0

Computer science Definition

Model of computation

Builds on AlphabetStringSet

Definition

Let Σ\Sigma be an alphabet and let Σ∗\Sigma^* be the set of strings over Σ\Sigma. A model of computation over Σ\Sigma consists of the following data.

  1. A set ℳ\mathcal M of machines, each given by a finite description.
  2. For each machine M∈ℳM \in \mathcal M, a set CMC_M of configurations, a start map inM ⁣:Σ∗→CM\mathrm{in}_M \colon \Sigma^* \to C_M and a step relation →M\to_M on CMC_M.
  3. For each MM, a set HM⊆CMH_M \subseteq C_M of halting configurations, from which no step is possible, and a map outM ⁣:HM→Σ∗\mathrm{out}_M \colon H_M \to \Sigma^*.

A run of MM on w∈Σ∗w \in \Sigma^* is a sequence c0→Mc1→M⋯c_0 \to_M c_1 \to_M \cdots with c0=inM(w)c_0 = \mathrm{in}_M(w). The model is deterministic if each configuration has at most one successor. In that case MM computes the partial function fM ⁣:Σ∗⇀Σ∗f_M \colon \Sigma^* \rightharpoonup \Sigma^* given as follows. If the run on ww reaches a halting configuration ctc_t, then fM(w)=outM(ct)f_M(w) = \mathrm{out}_M(c_t) and tt is the running time of MM on ww. Otherwise fM(w)f_M(w) is undefined.

Remarks

Example: Turing machines form a deterministic model. A configuration is a state, a tape content and a head position, the step relation is given by the transition function, and the output is the tape content at halting. Non-example: a "machine" given by a table that lists an output for each of the infinitely many inputs is not allowed, because clause 1 requires a finite description. The term is often used informally, and there is no single standard general definition; the one above covers the usual sequential models. Circuit models use one circuit for each input length and do not fit this form directly.

Reading path

To understand this page from the ground up, read these 5 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Alphabet concept
  2. Element definition
  3. String concept
  4. Set definition
  5. Model of computation definition

Where this leads

1 page builds on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Model_of_computation
About this page
TagHGV3FGKAVX
URIm2://HGV3FGKAVX
Kinddefinition
WritingW0 stub
MSC68Q04, 03D10
DefinesModel of computation
UsesAlphabet, String, Set
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

Used by