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