Documentation

Complexitylib.Circuits.EssentialInput

Essential Inputs #

This module defines the notion of essential (non-redundant) input variables for a Boolean function.

Main definitions #

def Complexity.IsEssentialInput {N M : } (f : BitString NBitString M) (i : Fin N) :

A function f depends on input variable i if flipping that bit can change some output.

Equations
Instances For
    @[implicit_reducible]

    IsEssentialInput f i is decidable, since it is an existential over the finite type BitString N with a decidable body.

    Equations

    The set of input variables that f depends on.

    Equations
    Instances For