Documentation

VCVio.CryptoFoundations.HardnessAssumptions.HardRelation

Hard Relations #

This file defines a typeclass HardRelation X W r for relations r : X → W → Prop that are "hard" in the sense that given x : X no polynomial adversary can find w : W such that r x w holds.

In the actual implementation all of these are indexed by some security parameter.

Non-asymptotic version #

Simplified version without the asymptotic security parameter framework. The full asymptotic version (below, commented) needs OracleAlg to be redesigned.

structure GenerableRelation (X W : Type) (r : XWBool) :

A relation r is generable if there is an efficient algorithm gen that produces instance-witness pairs satisfying the relation.

Instances For
    def hardRelationExp {X W : Type} {r : XWBool} (hr : GenerableRelation X W r) (adversary : XProbComp W) :

    Experiment for checking whether an adversary can find a witness for a generated instance.

    Instances For