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