Documentation

Complexitylib.Classes.AverageCase.Heuristic.Internal

Errorless average-case heuristics -- proof internals #

This layer proves codec exactness, semantic soundness of complement and decision adapters, and the elementary probability/class monotonicity laws.

theorem Complexity.HeuristicAlgorithm.ofDecision_isErrorlessFor_internal {decide : List BoolBool} {L : Language} (hdecide : ∀ (x : List Bool), decide x = true x L) :
theorem Complexity.AvgPAt_mono_internal {δ ε : } (hδε : ∀ (n : ), δ n ε n) :
AvgPAt δAvgPAt ε
theorem Complexity.DistributionalProblem.mem_AvgPAt_of_decision_internal (problem : DistributionalProblem) (δ : ) (decide : List BoolBool) (htime : (fun (x : List Bool) => [decide x]) FP) (hdecide : ∀ (x : List Bool), decide x = true x problem.language) ( : ∀ (n : ), 0 δ n) :
problem AvgPAt δ
theorem Complexity.DistributionalProblem.mem_AvgP_of_decision_internal (problem : DistributionalProblem) (decide : List BoolBool) (htime : (fun (x : List Bool) => [decide x]) FP) (hdecide : ∀ (x : List Bool), decide x = true x problem.language) :
problem AvgP