Construct an XDOC tree for HTML underlined text
See the
Macro:
(defmacro u_ (&rest args) (mv-let (trees attributes) (partition-macro-args args 'u_) (let ((attributes (keyword-macro-args-to-terms attributes))) (list 'u_-fn (cons 'list attributes) (cons 'list trees)))))
Function:
(defun u_-fn (attributes trees) (declare (xargs :guard (and (keyword-tree-alistp attributes) (tree-listp trees)))) (make-tree-tag :u attributes trees))
Theorem:
(defthm stringp-of-u_ (equal (treep (u_-fn attributes trees)) (and (keyword-tree-alistp attributes) (tree-listp trees))))