Get the ndb field from a vl-unparam-ledger.
(vl-unparam-ledger->ndb x) → ndb
This is an ordinary field accessor created by defprod.
Function:
(defun vl-unparam-ledger->ndb$inline (x) (declare (xargs :guard (vl-unparam-ledger-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-unparam-ledger->ndb)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (vl-namedb-fix (cdr (std::da-nth 0 x)))) :exec (cdr (std::da-nth 0 x)))))
Theorem:
(defthm vl-namedb-p-of-vl-unparam-ledger->ndb (b* ((ndb (vl-unparam-ledger->ndb$inline x))) (vl-namedb-p ndb)) :rule-classes :rewrite)
Theorem:
(defthm vl-unparam-ledger->ndb$inline-of-vl-unparam-ledger-fix-x (equal (vl-unparam-ledger->ndb$inline (vl-unparam-ledger-fix x)) (vl-unparam-ledger->ndb$inline x)))
Theorem:
(defthm vl-unparam-ledger->ndb$inline-vl-unparam-ledger-equiv-congruence-on-x (implies (vl-unparam-ledger-equiv x x-equiv) (equal (vl-unparam-ledger->ndb$inline x) (vl-unparam-ledger->ndb$inline x-equiv))) :rule-classes :congruence)