The paper's binary tuple encoding #
These are binary strings inside answers, distinct from ambient Data encodings.
Each payload bit b is written false,b; each field ends in true,false.
The polynomial-time candidate reader is deliberately permissive. The answer
parser checks exact re-encoding before using any candidate.
Equations
Instances For
@[simp]
@[simp]
theorem
MIPRE.Introspection.AnswerParser.doubleStep_size
(s : Cost.BitStr)
(b : Bool)
:
Cost.esize (doubleStep.toFun (s, b)) ≤ Cost.esize s + Polynomial.eval (Cost.esize b) (Polynomial.C 6)
theorem
MIPRE.Introspection.AnswerParser.double_fold
(bs acc : Cost.BitStr)
:
List.reverse (List.foldl (fun (s : Cost.BitStr) (b : Bool) => doubleStep.toFun (s, b)) acc bs) = List.reverse acc ++ doubleBits bs
An actual ambient polynomial-time implementation of bit doubling.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
@[simp]
noncomputable def
MIPRE.Introspection.AnswerParser.readStep :
Cost.PolyTimeFun ((Bool × Cost.BitStr) × Bool) (Bool × Cost.BitStr)
Equations
- One or more equations did not get rendered due to their size.
Instances For
Read the second bit of each pair, discarding a trailing unmatched bit.
Equations
Instances For
@[simp]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
Candidate payload obtained by removing the presumed last delimiter pair.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
@[simp]