Bridging the string computation and the counting definitions #
The amplified verdict is defined by counting blocks of a seed function
Fin (k * T) → Bool inside a Finset; the algebra computes with the seed as a
string. This file identifies the two views: a block of the string decodes to
the corresponding block of the function, so the algebra's unary count is the
blockEventCount of the amplification lemmas.
Main results #
Lautemann.getD_take_drop— reading inside a block of a stringLautemann.seedOfList_blockAtIdx— the decoded block is the function's blockLautemann.blockEventCount_seedOfList— the two counts agree
The blocks of a decoded long seed are the decodings of its string blocks.
Path acceptance is membership of the decoded choice string in the single-trial accepting event.
The block count of a decoded seed is a sum over block indices.
The algebra's count is the amplification lemmas' block count.
The algebra's majority flag is the amplified majority verdict.
The shift action #
The rulers #
The clock string for the path simulations: long enough for every block.
Equations
- Complexity.Lautemann.clockStr pt q x = x ++ (Complexity.Cobham.polyLen pt x ++ List.replicate (q + 3) false)
Instances For
The ruler whose length is the number of amplification trials.
Equations
- Complexity.Lautemann.runsStr pt x = List.replicate 133 false ++ Complexity.smash (List.replicate 12 false) (Complexity.Cobham.polyLen pt x)
Instances For
The ruler whose length is the amplified seed length.
Equations
Instances For
The ruler whose length is the number of shifts.
Equations
Instances For
The verdict as an algebra function #
The matrix verdict, computed from the decoded components with the rulers above: check the seed's length, then take the disjunction over shift blocks of the amplified majority verdict.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The per-shift verdict is the amplified majority at that shift.
The algebra function computes the matrix verdict.
Membership in the algebra #
The matrix verdict is polynomial-time computable.