Method of conditional expectations on a finite product space #
Cslib.PessimisticEstimator.greedy in
CslibFrontier.Foundations.Combinatorics.PessimisticEstimator models binary pessimistic-estimator
rounds, and CslibFrontier.Computability.PolyTime.PessimisticEstimator certifies multi-tape Turing
polynomial-time computability of greedy derandomizers.
This module packages the pure method of conditional expectations over a general finite product space
∀ i : ι, α i (ProductDerandomizer): for each coordinate i in order, it evaluates the
conditional-expectation oracle condExp (insert i fixed) (Function.update x i a) across every
candidate a ∈ choices i and selects a minimizing coordinate value. When condExp agrees with
PMF.condExpect p f through a monotone map M → ℝ, derandomize_spec proves
f (D.derandomize order init) ≤ E_{y ∼ pi p}[f y].
Main definitions #
Cslib.Algorithms.Lean.PessimisticEstimator.ProductDerandomizer: finite-product conditional-expectation derandomizer.Cslib.Algorithms.Lean.PessimisticEstimator.ProductDerandomizer.scanCandidates,stepCoord,runFrom,derandomize: pure coordinate fixing over an explicit round order.
Main results #
Cslib.Algorithms.Lean.PessimisticEstimator.ProductDerandomizer.derandomize_spec: deterministic expectation guaranteef (D.derandomize order init) ≤ E[f]over finite product distributionsPMF.pi p.
Deterministic conditional-expectation derandomizer over ∀ i : ι, α i: at each coordinate i,
evaluates condExp (insert i fixed) (Function.update x i a) across every candidate a ∈ choices i
and picks a value minimizing the returned conditional expectation.
Evaluate candidates in cs starting from best pair (bestA, bestV).
Choose the best value for coordinate i among D.choices i (leaving x unchanged if
D.choices i is empty).
Run coordinate fixing along order starting from (fixed, x).
Deterministic assignment produced by fixing all coordinates in order from ∅.
Method of conditional expectations on a finite product space: if order visits every
coordinate without repetition, D.choices i covers (p i).support, and D.condExp computes
PMF.condExpect p f (via monotone toReal : M → ℝ), then D.derandomize order init returns a
deterministic point x* with f x* ≤ E_{y ∼ pi p}[f y].