(PRIMALITY-THEOREM-FOR-MAKE-R1CS-EVENT)
(MONTGOMERY2EDWARDS-VARS)
(VAR-LISTP-OF-MONTGOMERY2EDWARDS-VARS)
(MONTGOMERY2EDWARDS-CONSTRAINTS)
(R1CS-CONSTRAINT-LISTP-OF-MONTGOMERY2EDWARDS-CONSTRAINTS)
(GOOD-R1CS-CONSTRAINT-LISTP-OF-MONTGOMERY2EDWARDS-CONSTRAINTS)
(MONTGOMERY2EDWARDS-MAKE-R1CS)
(ZKSEMAPHORE::PRECOND)
(ZKSEMAPHORE::BOOLEANP-OF-PRECOND)
(ZKSEMAPHORE::MONTGOMERY2EDWARDS
 (6 6 (:REWRITE PFIELD::ADD-SUBST-CONSTANT-ARG2))
 (6 6 (:REWRITE PFIELD::ADD-SUBST-CONSTANT-ARG1))
 (6 2 (:DEFINITION NATP))
 (3 3 (:REWRITE PFIELD::ADD-WHEN-NOT-INTEGERP-ARG2-CHEAP))
 (3 3 (:REWRITE PFIELD::ADD-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (3 3 (:REWRITE PFIELD::ADD-OF-CONSTANTS))
 (3 3 (:REWRITE PFIELD::ADD-COMMUTATIVE))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE PFIELD::FEP-WHEN-FE-LISTP-AND-MEMBER-EQUAL))
 (2 2 (:REWRITE PFIELD::FEP-WHEN-CONSTANT))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 2 (:REWRITE DEFAULT-<-1))
 (1 1 (:REWRITE PFIELD::SUB-WHEN-CONSTANTS))
 )
(ZKSEMAPHORE::PFEP-OF-MONTGOMERY2EDWARDS.X
 (6 1 (:REWRITE PFIELD::MOD-WHEN-FEP))
 (5 5 (:REWRITE PFIELD::ADD-SUBST-CONSTANT-ARG2))
 (5 5 (:REWRITE PFIELD::ADD-SUBST-CONSTANT-ARG1))
 (2 2 (:REWRITE PFIELD::ADD-WHEN-NOT-INTEGERP-ARG2-CHEAP))
 (2 2 (:REWRITE PFIELD::ADD-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (2 2 (:REWRITE PFIELD::ADD-OF-CONSTANTS))
 (2 2 (:REWRITE PFIELD::ADD-COMMUTATIVE))
 (2 1 (:REWRITE PFIELD::NEG-WHEN-NOT-POSP-ARG2-CHEAP))
 (2 1 (:REWRITE PFIELD::FEP-WHEN-CONSTANT))
 (1 1 (:REWRITE PFIELD::SUB-WHEN-CONSTANTS))
 (1 1 (:REWRITE PFIELD::NEG-WHEN-NOT-INTEGERP-CHEAP))
 (1 1 (:REWRITE PFIELD::FEP-WHEN-FE-LISTP-AND-MEMBER-EQUAL))
 )
(ZKSEMAPHORE::PFEP-OF-MONTGOMERY2EDWARDS.Y
 (6 1 (:REWRITE PFIELD::MOD-WHEN-FEP))
 (5 5 (:REWRITE PFIELD::ADD-SUBST-CONSTANT-ARG2))
 (5 5 (:REWRITE PFIELD::ADD-SUBST-CONSTANT-ARG1))
 (2 2 (:REWRITE PFIELD::ADD-WHEN-NOT-INTEGERP-ARG2-CHEAP))
 (2 2 (:REWRITE PFIELD::ADD-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (2 2 (:REWRITE PFIELD::ADD-OF-CONSTANTS))
 (2 2 (:REWRITE PFIELD::ADD-COMMUTATIVE))
 (2 1 (:REWRITE PFIELD::NEG-WHEN-NOT-POSP-ARG2-CHEAP))
 (2 1 (:REWRITE PFIELD::FEP-WHEN-CONSTANT))
 (1 1 (:REWRITE PFIELD::SUB-WHEN-CONSTANTS))
 (1 1 (:REWRITE PFIELD::NEG-WHEN-NOT-INTEGERP-CHEAP))
 (1 1 (:REWRITE PFIELD::FEP-WHEN-FE-LISTP-AND-MEMBER-EQUAL))
 )
(ZKSEMAPHORE::SPEC)
(ZKSEMAPHORE::BOOLEANP-OF-SPEC)
(ZKSEMAPHORE::CIRCUIT
 (24 24 (:REWRITE DEFAULT-CAR))
 (20 20 (:REWRITE DEFAULT-CDR))
 (12 4 (:DEFINITION NATP))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (4 4 (:REWRITE PFIELD::FEP-WHEN-FE-LISTP-AND-MEMBER-EQUAL))
 (4 4 (:REWRITE PFIELD::FEP-WHEN-CONSTANT))
 (4 4 (:REWRITE DEFAULT-<-2))
 (4 4 (:REWRITE DEFAULT-<-1))
 (4 2 (:REWRITE DEFAULT-+-2))
 (2 2 (:REWRITE DEFAULT-+-1))
 (1 1 (:REWRITE R1CS::R1CS-VALUATIONP-WHEN-NOT-CONSP))
 )
(ZKSEMAPHORE::BOOLEANP-OF-CIRCUIT)
(ZKSEMAPHORE::CIRCUIT-IS-SPEC
 (80 63 (:REWRITE PFIELD::MUL-WHEN-NOT-INTEGERP-ARG2-CHEAP))
 (79 79 (:REWRITE PFIELD::MUL-WHEN-CONSTANT-REDUCE-ARG1))
 (79 79 (:REWRITE PFIELD::MUL-OF--1-BECOMES-NEG-ALT))
 (75 25 (:DEFINITION NATP))
 (74 74 (:REWRITE PFIELD::MUL-WHEN-EQUAL-OF-MOD-SUBST-ARG2))
 (74 74 (:REWRITE PFIELD::MUL-WHEN-EQUAL-OF-MOD-SUBST-ARG1))
 (74 42 (:REWRITE PFIELD::ADD-WHEN-NOT-INTEGERP-ARG2-CHEAP))
 (71 63 (:REWRITE PFIELD::MUL-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (50 50 (:REWRITE PFIELD::ADD-SUBST-CONSTANT-ARG2))
 (50 50 (:REWRITE PFIELD::ADD-SUBST-CONSTANT-ARG1))
 (42 42 (:REWRITE PFIELD::ADD-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (42 42 (:REWRITE PFIELD::ADD-OF-CONSTANTS))
 (42 42 (:REWRITE PFIELD::ADD-COMMUTATIVE))
 (27 27 (:REWRITE PFIELD::FEP-WHEN-FE-LISTP-AND-MEMBER-EQUAL))
 (27 27 (:REWRITE PFIELD::FEP-WHEN-CONSTANT))
 (27 27 (:REWRITE DEFAULT-<-2))
 (27 27 (:REWRITE DEFAULT-<-1))
 (25 25 (:TYPE-PRESCRIPTION NATP))
 (21 21 (:REWRITE PFIELD::EQUAL-OF-MUL-CONSTANTS-ALT))
 (21 21 (:REWRITE PFIELD::EQUAL-OF-MUL-CONSTANTS))
 (19 18 (:REWRITE IFIX-WHEN-NOT-INTEGERP-UNLIMITED))
 (12 12 (:REWRITE LOOKUP-EQUAL-WHEN-NOT-CONSP-CHEAP))
 (12 12 (:REWRITE LOOKUP-EQUAL-WHEN-NOT-ASSOC-EQUAL-CHEAP))
 (12 12 (:REWRITE DEFAULT-CAR))
 (10 10 (:TYPE-PRESCRIPTION PFIELD::NATP-OF-INV))
 (8 8 (:TYPE-PRESCRIPTION R1CS::DOT-PRODUCT))
 (6 6 (:REWRITE PFIELD::EQUAL-OF-ADD-COMBINE-CONSTANTS))
 (6 6 (:REWRITE DEFAULT-CDR))
 (2 2 (:REWRITE PFIELD::MUL-OF-MUL-COMBINE-CONSTANTS))
 (1 1 (:REWRITE PFIELD::SUB-WHEN-CONSTANTS))
 )
