Low-Power Formalisms
Chapter overview: Low-power computational formalisms describe systems whose output is determined directly from their current inputs. They are useful for simple computations but cannot naturally express tasks requiring memory, iteration, or unbounded state.
1.1 Combinational Machines
Introduction / Definition
A combinational machine is a computational device whose output depends only on the current input. It has no internal memory of previous inputs and therefore has no state that persists from one input to the next. Boolean circuits are standard examples. Formally, such a machine can be viewed as a function f : Σ* or X → Y for a single input-output computation.
Syntax / Structure / Formula
y = f(x)
Example Boolean form: SUM = A ⊕ B
CARRY = A ∧ B
Detailed Explanation
A half-adder is a combinational circuit that receives two bits and produces a sum and carry. Since its output is determined entirely by A and B at that moment, no history is needed.
Example
A=1, B=0
SUM = 1 ⊕ 0 = 1
CARRY = 1 ∧ 0 = 0
Output / Result
Output: SUM=1, CARRY=0.
Important Points / Notes
- No memory/state.
- Output depends only on current input.
- Examples include adders, multiplexers, decoders, and logic gates.
- Well suited to fixed, bounded computations.
Mini Practice Question
Why is a multiplexer considered a combinational machine?
1.2 Inadequacy of Combinational Machines
Introduction / Definition
Combinational machines cannot naturally solve problems whose correct output depends on an arbitrarily long history or requires repeated computation. They cannot remember how many symbols have already been read or maintain an unbounded counter. This limitation motivates state-based models such as finite automata and later Turing machines.
Syntax / Structure / Formula
Combinational: output = f(current input)
State-based: next state = δ(state, input)
Detailed Explanation
Consider the language L = { 0^n1^n | n ≥ 0 }. To accept a string, a machine must compare the number of 0s with the number of 1s. A fixed combinational circuit has no unbounded memory for n, so it cannot handle arbitrary n.
Example
Strings: ε, 01, 0011, 000111, ...
Not in L: 011, 00111
Output / Result
The required comparison grows with n; a fixed memoryless computation cannot represent arbitrary counts.
Important Points / Notes
- Combinational machines are powerful for bounded tasks.
- They lack persistent state.
- Unbounded counting requires a stronger formalism.
- This motivates automata and memory mechanisms.
Mini Practice Question
Give an example of a problem that requires memory of previous input symbols.