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