Construction of the circuit.
(field-inv-flagged-circuit) → pdef
This is a PFCS definition with the three equality constraints described in field-inv-flagged.
Function:
(defun field-inv-flagged-circuit nil (declare (xargs :guard t)) (let ((__function__ 'field-inv-flagged-circuit)) (declare (ignorable __function__)) (pfcs::parse-def "field_inv_flagged(x, y, e) := { (x) * (w) == (1 - e), (x) * (e) == (0), (w) * (1 - e) == (y) }")))
Theorem:
(defthm definitionp-of-field-inv-flagged-circuit (b* ((pdef (field-inv-flagged-circuit))) (pfcs::definitionp pdef)) :rule-classes :rewrite)
Theorem:
(defthm sr1cs-definitionp-of-field-inv-flagged-circuit (b* ((pdef (field-inv-flagged-circuit))) (pfcs::sr1cs-definitionp pdef)) :rule-classes :rewrite)