Documentation

Complexitylib.Metacomplexity.StatisticalTest.Prediction.Defs

The finite next-bit prediction experiment -- definitions #

For each background state omega, an experiment has a target bit and a test whose outcome depends on a uniformly random candidate bit. The Yao predictor returns the candidate when the test accepts and its complement when the test rejects. All three probabilities use exact uniform finite sample spaces.

Predict the candidate bit when the test accepts and its complement when the test rejects. This is testResult XOR candidate XOR 1.

Equations
Instances For
    noncomputable def Complexity.NextBitPrediction.candidateAcceptanceProbability {background : Type u_1} [Fintype background] (testAt : backgroundBoolBool) :

    Test acceptance when the candidate bit is uniform and independent of the background state.

    Equations
    Instances For
      noncomputable def Complexity.NextBitPrediction.targetAcceptanceProbability {background : Type u_1} [Fintype background] (target : backgroundBool) (testAt : backgroundBoolBool) :

      Test acceptance when the candidate is replaced by the target bit.

      Equations
      Instances For
        noncomputable def Complexity.NextBitPrediction.successProbability {background : Type u_1} [Fintype background] (target : backgroundBool) (testAt : backgroundBoolBool) :

        Probability that the test-based predictor recovers the target from a uniform independent candidate bit.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For