Generate the list of variables
(defmapping-gen-var-aa/bb a1/b1...an/bm) → aa1/bb1...aan/bbm
We generate these by appending
Function:
(defun defmapping-gen-var-aa/bb (a1/b1...an/bm) (declare (xargs :guard (symbol-listp a1/b1...an/bm))) (let ((__function__ 'defmapping-gen-var-aa/bb)) (declare (ignorable __function__)) (cond ((endp a1/b1...an/bm) nil) (t (b* ((aa2/bb2...aan/bbm (defmapping-gen-var-aa/bb (cdr a1/b1...an/bm))) (a1/b1 (car a1/b1...an/bm)) (aa1/bb1 (genvar a1/b1 (str::cat (symbol-name a1/b1) "$") nil (append a1/b1...an/bm aa2/bb2...aan/bbm)))) (cons aa1/bb1 aa2/bb2...aan/bbm))))))