Realizing generated Boolean operations by formulas and circuits #
The signature of a family G has one operation symbol for each positive-arity generator.
A finite superposition derivation is equivalent to a formula over this signature. Thus Post's
criterion constructs formulas and circuits for every positive number of inputs. No circuit-size
bound or nullary synthesis claim is made: unary constant functions still need an input leaf.
In particular this permits a NAND-only signature, whereas circuit Interpretation.IsComplete
quantifies over zero inputs too and does not hold for that signature.
Main definitions #
Cslib.Logic.BooleanClone.signature: the signature of the positive-arity generators.Cslib.Logic.BooleanClone.interpretation: their Boolean truth-table interpretation.
Main results #
Cslib.Logic.BooleanClone.generated_iff_exists_formula: finite derivations are formulas.Cslib.Logic.BooleanClone.exists_formula_of_postCriterion: positive-arity formula realization.Cslib.Logic.BooleanClone.exists_circuit_of_postCriterion: positive-arity circuit realization.Cslib.Logic.BooleanClone.not_isComplete_interpretation: no zero-input circuit completeness.
theorem Cslib.Logic.BooleanClone.exists_circuit_of_postCriterion {G : (n : ℕ) → Set ((Fin n → Bool) → Bool)} (hG : PostCriterion G) {n : ℕ} (hn : 0 < n) (f : (Fin n → Bool) → Bool) :
Post's criterion supplies a circuit for every positive-arity Boolean function. Zero-input functions and quantitative circuit bounds are not claimed.