Executable source queries and matrix reconstruction #
The clock is supplied once as unary data. Matrix reconstruction queries the linear map on the standard basis and transposes those columns. All operations are polynomial in the explicit clock, source text, and register length. Correctness is used only after the prefix scan establishes the source interface's attained-prefix premise.
@[reducible, inline]
Equations
Instances For
Instances For
Equations
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
noncomputable def
MIPRE.Introspection.AuxiliarySource.query
(U : Cost.ClockedUniversalMachine)
(kind : ℕ)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MIPRE.Introspection.AuxiliarySource.query_apply
(U : Cost.ClockedUniversalMachine)
(kind : ℕ)
(y : Cost.BitStr)
(b : Cost.Unary)
(S : Cost.Prog)
(n : ℕ)
(w : Bool)
(j : ℕ)
(u : Cost.BitStr)
:
Read a returned bit string; malformed results also terminate.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MIPRE.Introspection.AuxiliarySource.linear_correct
(U : Cost.ClockedUniversalMachine)
(y v : Cost.BitStr)
(b : Cost.Unary)
(S : Cost.Prog)
(n : ℕ)
(w : Bool)
(j : ℕ)
(u : Cost.BitStr)
(h :
Cost.clockedResult S (Cost.encode (n, CL.Sampler.Query.linear (Player.ofBool w) j u y)) (List.length b) = (Cost.encode true).cons (Cost.encode v))
:
theorem
MIPRE.Introspection.AuxiliarySource.factor_correct
(U : Cost.ClockedUniversalMachine)
(v : Cost.BitStr)
(b : Cost.Unary)
(S : Cost.Prog)
(n : ℕ)
(w : Bool)
(j : ℕ)
(u : Cost.BitStr)
(h :
Cost.clockedResult S (Cost.encode (n, CL.Sampler.Query.factor (Player.ofBool w) j u)) (List.length b) = (Cost.encode true).cons (Cost.encode v))
:
Collect the matrix using a polynomial number of source calls.
Equations
- One or more equations did not get rendered due to their size.