Convert from stat32i to stat-rv32i-p.
(stat-from-stat32i stat32i) → stat
Function:
(defun stat-from-stat32i (stat32i) (declare (xargs :guard (stat32ip stat32i))) (let ((__function__ 'stat-from-stat32i)) (declare (ignorable __function__)) (make-stat :xregs (stat32i->xregs stat32i) :pc (stat32i->pc stat32i) :memory (stat32i->memory stat32i) :error (stat32i->error stat32i))))
Theorem:
(defthm stat-rv32i-p-of-stat-from-stat32i (b* ((stat (stat-from-stat32i stat32i))) (stat-rv32i-p stat)) :rule-classes :rewrite)