Raw constructor for boundrw-subst-p structures.
Syntax:
(boundrw-subst lhs rhs alist)
This is the lowest-level constructor for boundrw-subst-p structures. It simply conses together a structure with the specified fields.
Note: It's generally better to use macros like make-boundrw-subst or change-boundrw-subst instead. These macros lead to more readable and robust code, because you don't have to remember the order of the fields.
The boundrw-subst-p structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see honsed-boundrw-subst instead.
This is an ordinary constructor function introduced by std::defaggregate.
Function:
(defun boundrw-subst (lhs rhs alist) (declare (xargs :guard (and (pseudo-termp lhs) (pseudo-termp rhs) (pseudo-term-substp alist)))) (cons (cons 'lhs lhs) (cons (cons 'rhs rhs) (cons (cons 'alist alist) nil))))