Construction of the circuit.
(field-eq-circuit) → pdef
This is a PFCS definition with a two relation constraint that call the field-neq and boolean-not circuits. This circuit has an internal variable, which is the result of field-neq and the operand of boolean-not.
Function:
(defun field-eq-circuit nil (declare (xargs :guard t)) (let ((__function__ 'field-eq-circuit)) (declare (ignorable __function__)) (pfcs::parse-def "field_eq(x, y, z) := { field_neq(x, y, w), boolean_not(w, z) }")))
Theorem:
(defthm definitionp-of-field-eq-circuit (b* ((pdef (field-eq-circuit))) (pfcs::definitionp pdef)) :rule-classes :rewrite)
Theorem:
(defthm sr1cs-definitionp-of-field-eq-circuit (b* ((pdef (field-eq-circuit))) (pfcs::sr1cs-definitionp pdef)) :rule-classes :rewrite)