Internal affine decomposition of {⊕, ∧, 1}-programs #
Internal constant synthesis (constOne, constZero, synth_consts) and causal affine program
decomposition (linForm, PaddedDecomp, exists_paddedDecomp) consumed privately by
Complexity, StageParts, StageStep, and UpperBound; never re-exported through Zhegalkin.
Main definitions #
Cslib.Circuits.Boolean.Zhegalkin.constOne,constZero,linForm,PaddedDecomp,padBool,padFn: constant functions and padded causal affine decompositions.
Main results #
Cslib.Circuits.Boolean.Zhegalkin.synth_consts,exists_paddedDecomp: constant synthesis and existence of padded causal decompositions.
Constant-true n-variable Boolean function.
Constant-false n-variable Boolean function.
M-padded causal affine decomposition of a {⊕, ∧, 1}-circuit computing f.
- gFn : Fin M → BooleanFunction n
Padded Boolean functions computed by conjunction gates
0 .. M - 1. Constant bits of the
2 * Mpadded conjunction input linear forms.Input-variable coefficients of the
2 * Mpadded conjunction input linear forms.Prior conjunction-gate coefficients of the
2 * Mpadded input linear forms.- outC : Bool
Constant bit of the output linear form computing
f. Input-variable coefficients of the output linear form computing
f.Conjunction-gate coefficients of the output linear form computing
f.
Zero-pads a length-k family of n-ary Boolean functions to length M.