Get the obs-hyp-max-size field from a obs-constprop-config.
(obs-constprop-config->obs-hyp-max-size x) → obs-hyp-max-size
This is an ordinary field accessor created by fty::defprod.
Function:
(defun obs-constprop-config->obs-hyp-max-size$inline (x) (declare (xargs :guard (obs-constprop-config-p x))) (declare (xargs :guard t)) (let ((__function__ 'obs-constprop-config->obs-hyp-max-size)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (acl2::maybe-natp-fix (cdr (std::da-nth 2 (cdr x))))) :exec (cdr (std::da-nth 2 (cdr x))))))
Theorem:
(defthm maybe-natp-of-obs-constprop-config->obs-hyp-max-size (b* ((obs-hyp-max-size (obs-constprop-config->obs-hyp-max-size$inline x))) (acl2::maybe-natp obs-hyp-max-size)) :rule-classes :type-prescription)
Theorem:
(defthm obs-constprop-config->obs-hyp-max-size$inline-of-obs-constprop-config-fix-x (equal (obs-constprop-config->obs-hyp-max-size$inline (obs-constprop-config-fix x)) (obs-constprop-config->obs-hyp-max-size$inline x)))
Theorem:
(defthm obs-constprop-config->obs-hyp-max-size$inline-obs-constprop-config-equiv-congruence-on-x (implies (obs-constprop-config-equiv x x-equiv) (equal (obs-constprop-config->obs-hyp-max-size$inline x) (obs-constprop-config->obs-hyp-max-size$inline x-equiv))) :rule-classes :congruence)