Construction of the circuit.
(boolean-and-circuit) → pdef
This is a PFCS definition with a single equality constraint of the form described in boolean-and.
Function:
(defun boolean-and-circuit nil (declare (xargs :guard t)) (let ((__function__ 'boolean-and-circuit)) (declare (ignorable __function__)) (pfcs::parse-def "boolean_and(x, y, z) := { (x) * (y) == (z) }")))
Theorem:
(defthm definitionp-of-boolean-and-circuit (b* ((pdef (boolean-and-circuit))) (pfcs::definitionp pdef)) :rule-classes :rewrite)
Theorem:
(defthm sr1cs-definitionp-of-boolean-and-circuit (b* ((pdef (boolean-and-circuit))) (pfcs::sr1cs-definitionp pdef)) :rule-classes :rewrite)