The function
(pedersen d m) → hash
We return
Function:
(defun pedersen (d m) (declare (xargs :guard (and (byte-listp d) (bit-listp m)))) (declare (xargs :guard (and (= (len d) 8) (consp m)))) (let ((__function__ 'pedersen)) (declare (ignorable __function__)) (b* ((point (pedersen-point d m)) ((unless (jubjub-pointp point)) nil)) (coordinate-extract point))))
Theorem:
(defthm bit-listp-of-pedersen (b* ((hash (pedersen d m))) (bit-listp hash)) :rule-classes :rewrite)