Distributional search with partially observed state #
A DistributionalSearchProblem specifies a distribution on states, the observation given to a
solver, and the relation used to judge its answer. Separating the state from its observation
allows both ordinary relation search and recovery of a hidden planted object. The solver receives
only the observation; the success test may also use the hidden state.
These are semantic definitions, independent of an encoding or model of computation. The
Boolean experiment uses classical decidability only to score the answer, and does not assert
that the success relation can be decided by the solver. ofRelation specializes to the ordinary
setting where the entire state is observed and answers satisfy a relation on inputs and outputs.
Solvers have total output laws; an explicit error or Option output can represent failure.
For a family of problems, HasSolver asks for one admitted program whose failure probability
meets a bound at every parameter. An evaluator and a predicate on whole programs specify the
model. In particular, admitting a single machine differs from admitting arbitrary families of
circuits or arbitrary statistical rules; the definition does not identify these choices.
Main definitions #
Cslib.Probability.DistributionalSearchProblem: a law, an observation and a success relation.Cslib.Probability.DistributionalSearchProblem.experiment: the Boolean success experiment.Cslib.Probability.DistributionalSearchProblem.ofRelation: fully observed relation search.Cslib.Probability.DistributionalSearchProblem.HasSolver: one admitted solver for a family.
A distributional search problem, allowing the success test to depend on hidden state.
Sample a state, run the solver on its observation, and score its answer. The classical success test is semantic and is not part of the solver's computation.
Ordinary distributional relation search, with the full input revealed to the solver. The relation need not be total: an input with no acceptable output contributes failure probability one. A promise on the distribution's support can exclude such inputs when desired.
For a deterministic solver, the experiment is the pushforward of the state law by success.
A deterministic solver's failure probability is the mass of states where its answer fails.
Solvers with the same output laws on possible observations have the same success experiment.
One admitted program solves the entire problem family with failure at most ε n.
The admissibility predicate applies to a whole program, before the parameter is quantified.
The evaluator determines which observations that program can inspect and the law of its output.
Relaxing the failure bound preserves the existence of an admitted solver.
Enlarging the admitted program class preserves the existence of a solver.
Transport a solver through a compiler preserving admissibility and its output law on every possible observation. This semantic lemma does not assert that any particular compiler or model has these properties; concrete models supply those proofs.