Documentation

GaudisCrypt.Lib.EC.IsUniform

EasyCrypt's is_uniform (theories/distributions/Distr.ec) #

Uniformity on the support, next to Lib/EC/Distr.lean's is_funiform (uniformity on the whole type). Names are EasyCrypt's.

is_uniform d: all values in the support of d have the same probability.

Equations
Instances For
    theorem GaudisCrypt.EC.is_full_funiform {α : Type} {d : SubProbability α} (hfu : is_full d) (huni : is_uniform d) :

    lemma is_full_funiform: a full and uniform distribution is uniform on its type.

    theorem GaudisCrypt.EC.is_full.mem_support {α : Type} {d : SubProbability α} (h : is_full d) (x : α) :

    A full distribution has every value in its support (EC's is_fullP).

    lemma funi_uni: uniform on the type, uniform on the support.