Try to convert a term composed of 4vec functions to its equivalent svex representation.
(4vec-to-svex term svexl-node-flg memoize-flg) → (mv err res)
Function:
(defun 4vec-to-svex-memoize-condition (term svexl-node-flg memoize-flg) (declare (ignorable term svexl-node-flg memoize-flg) (xargs :guard 't)) memoize-flg)
Theorem:
(defthm svexl-node-p-of-4vec-to-svex (b* (((mv ?err ?res) (4vec-to-svex term svexl-node-flg memoize-flg))) (and (svexl-node-p res) (implies (not svexl-node-flg) (svex-p res)))))
Theorem:
(defthm svexl-nodelist-p-of-4vec-to-svex-lst (b* (((mv ?err ?res-lst) (4vec-to-svex-lst lst svexl-node-flg memoize-flg))) (and (svexl-nodelist-p res-lst) (implies (not svexl-node-flg) (svexlist-p res-lst)))))