List programs for masked VOLE receiver simulation #
The ring is fixed. A layout map extracts the wire count and gate list from the full runtime input.
Receiver callbacks retain that input and explicit state through initialization, challenge selection,
reply processing and termination. Their first-message carrier is supplied independently.
Receiver.strategy adapts them to the existing strategy type, reading the same cached receiver
share in each phase. This is a first-order subclass of receivers, not a representation of arbitrary
higher-order strategy trees. The simulator samples one fresh affine mask per execution.
Receiver.mapFirst can preprocess corrections using public input and the receiver's own share.
The exact law retains the raw correction-based View and concerns the resulting receiver adapter.
It does not assert that an arbitrary transformed message is sender-realizable. A protocol that
sends a richer first message needs its own reconstruction law before expanding this raw view.
Main definitions #
Native.Gate,Native.Input,Native.Share,Native.View: native circuit, share, and receiver view records.Native.Receiver: the four stateful probabilistic callbacks.Native.Receiver.strategy: their role-local interactive realization.Native.Receiver.mapFirst: preprocessing the first-message callback without changing state flow.Native.simulate: the witness-free list program.Native.checkValue: total list implementation of the receiver's weighted equation.
Main results #
Native.checkValue_ofFn: agreement with the finite-vector algebraic check.Native.eval_simulate: exact realization of the existing typed simulator.Native.receiverView_eq_eval_simulate: exact native simulation of the actual receiver view.
The realization results here are original; the ideal algebra and source mapping are in
VOLE.AdaptiveMulCheck and VOLE.MaskedMulCheck.
Receiver share, raw corrections, normalized weights, affine reply and terminal private result.
- corrections : List F
Raw commitment corrections for each witness wire.
- weights : List F
Normalized challenge weight per gate.
- reply : F × F
Blinded affine reply
(a, b). - result : Result
Terminal private output of the receiver callback.
Instances For
Explicit-state receiver callbacks. Each phase receives the public input and its own private
setup share. Private randomness may be saved in State for subsequent phases.
Initialization before receiving the corrections.
Adaptive public weights and retained state after the supplied first message.
Process the affine reply.
Return the receiver's private result.
Preprocess only the receiver's first-message callback. The map may use the receiver's own share; this operation alone makes no claim that a sender can produce the transformed message.
Identity preprocessing leaves every callback and its captured state unchanged.
Total list evaluation. Gate indices are looked up in the existing lists; their numeric values never determine an allocation or loop bound. The wire count selects the fresh mask's tag.
The supplied sampler is called independently for the key, each tag/correction, and the final affine coefficient. Exactness and efficient realization are separate sampler hypotheses. The first message map preprocesses only the receiver callback; the returned view retains raw corrections.
The adapter reads the actual cached share at every phase, rather than passing setup state through the prover interface. The returned strategies retain the sampled callback state. The first-message encoder and weight-index map specify the typed message carriers; this semantic adapter alone carries no runtime certificate for those maps.
List representation of the full typed receiver view, including its private share.
The total list algorithm agrees with the existing algebraic check on valid wire maps.
The native program realizes the existing typed simulator, including all private callback state effects. The public input and vector dimensions are tied by the explicit layout equality.
Exact native full-view simulation for satisfying witnesses and supplied receiver callbacks. The actual cached World runs the receiver with first-message preprocessing. The returned view retains the raw corrections; a sender-realizable transformed transcript needs a separate law.