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