Probability bounds for computation observations #
Union bounds, event splitting, and conditioning on a common draw are stated for events observed
in Prop, so intermediate types need no measurable-space arguments in the public statements. The
common draw may lose mass; lower bounds ask for its losslessness as the trivially true event.
Bounds that only need to hold on structurally reachable outputs go through core attachment.
Conditional independent draws bound the squared probability of a single event.
Two independent executions after a common draw bound the squared single-execution event.
Finite selector events in an optional output have total probability at most the event that an output is present. Intermediate values need no measurable-space argument.
Event algebra and union bounds #
Union bound for two events after a common draw.
Union bound over a finite index set.
Union bound over a finite type.
A uniform bound on each of finitely many events bounds their union by the count.
An event splits along a second predicate.
An event is bounded by a second one plus the part outside it.
Conditioning on a common draw #
A uniform bound on the event of every continuation bounds the event after a common draw. No losslessness of the draw is needed.
A uniform lower bound on the event of every continuation bounds the event after a lossless common draw.
Multiplying a lower bound for a prefix event by a uniform conditional lower bound gives a lower bound for the event after the bind.
Conditioning on a predicate of the common draw: the continuation event is bounded by the
predicate's probability plus the conditional bound weighted by the predicate's complement.
The weighting is the honest subprobability form; for a lossless draw the complement's probability
is 1 - Pr{let a ← mx}[p a] by prEvent_add_prEvent_not.
A continuation event vanishing outside a predicate of the common draw is bounded by the predicate's probability.
A continuation event bounded by ε outside a predicate of the common draw is bounded by the
predicate's probability plus ε.
Reachable continuations through core attachment #
Bounds that only hold on structurally reachable outputs of the common draw factor the bind
through MonadAttach.attach, whose outputs carry their reachability proof.
A bind factors through the attachment of its possible outputs.
The trivially true event is unchanged by attachment.
Implication between events only on the structurally reachable outputs bounds their probabilities.
A bound on the event of every reachable continuation bounds the event after the draw.
A lower bound on the event of every reachable continuation bounds the event after a lossless draw.
Conditioning on a predicate of the reachable common draw.
A continuation event vanishing outside a predicate of the reachable draw is bounded by the predicate's probability.
A continuation event bounded outside a predicate of the reachable draw.