Get the value field from a comp-db-arg.
(comp-db-arg->value x) → value
This is an ordinary field accessor created by fty::defprod.
Function:
(defun comp-db-arg->value$inline (x) (declare (xargs :guard (comp-db-argp x))) (declare (xargs :guard t)) (mbe :logic (b* ((x (and t x))) (acl2::string-option-fix (cdr (std::da-nth 2 x)))) :exec (cdr (std::da-nth 2 x))))
Theorem:
(defthm string-optionp-of-comp-db-arg->value (b* ((value (comp-db-arg->value$inline x))) (string-optionp value)) :rule-classes :rewrite)
Theorem:
(defthm comp-db-arg->value$inline-of-comp-db-arg-fix-x (equal (comp-db-arg->value$inline (comp-db-arg-fix x)) (comp-db-arg->value$inline x)))
Theorem:
(defthm comp-db-arg->value$inline-comp-db-arg-equiv-congruence-on-x (implies (comp-db-arg-equiv x x-equiv) (equal (comp-db-arg->value$inline x) (comp-db-arg->value$inline x-equiv))) :rule-classes :congruence)