The Jubjub coefficient
(jubjub-a) → a
We show that this coefficient is a square by exhibiting a square root of it.
Function:
(defun jubjub-a nil (declare (xargs :guard t)) (let ((__function__ 'jubjub-a)) (declare (ignorable __function__)) (neg 1 (jubjub-q))))
Theorem:
(defthm return-type-of-jubjub-a (b* ((a (jubjub-a))) (fep a (jubjub-q))) :rule-classes :rewrite)
Theorem:
(defthm jubjub-a-not-zero (not (equal (jubjub-a) 0)))
Theorem:
(defthm pfield-squarep-of-jubjub-a (ecurve::pfield-squarep (jubjub-a) (jubjub-q)))