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