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