Documentation

CslibFrontier.Computability.Circuit.Boolean.Simps

Normalizing and bounding Boolean circuits #

Adds the connectives of Boolean formulas to the simp set circuit_simps and to the rules of circuit_bound.

@[simp]

The weighted cost of const c is cost (.const c).

@[simp]

The weighted cost of F.not adds cost .not to the weighted cost of F.

@[simp]

The weighted cost of F.and G adds cost .and to the weighted costs of F and G.

@[simp]

The weighted cost of F.or G adds cost .or to the weighted costs of F and G.