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