Documentation

GaudisCrypt.Lib.EC.DBoolBiased

EasyCrypt's FixedBiased (theories/distributions/DBool.ec) #

The biased coin of a fixed bias: the theory's op p : {real | 0%r < p < 1%r} as in01_p is the class Params, dbiased the distribution that gives true with probability p. A clone gives the bias (clone import GaudisCrypt.EC.FixedBiased as Biased with op p <- p). Names are EasyCrypt's.

The theory's parameter: a bias strictly between 0 and 1.

Instances

    op dbiased: true with probability p, false with probability 1 - p.

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

      The expected value under the biased coin.