Get the saw-sat-p field from a satlink-parser-state.
(satlink-parser-state->saw-sat-p x) → saw-sat-p
This is an ordinary field accessor created by fty::defprod.
Function:
(defun satlink-parser-state->saw-sat-p$inline (x) (declare (xargs :guard (satlink-parser-state-p x))) (declare (xargs :guard t)) (let ((__function__ 'satlink-parser-state->saw-sat-p)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (acl2::bool-fix (std::prod-cdr (std::prod-car x)))) :exec (std::prod-cdr (std::prod-car x)))))
Theorem:
(defthm booleanp-of-satlink-parser-state->saw-sat-p (b* ((saw-sat-p (satlink-parser-state->saw-sat-p$inline x))) (booleanp saw-sat-p)) :rule-classes :rewrite)
Theorem:
(defthm satlink-parser-state->saw-sat-p$inline-of-satlink-parser-state-fix-x (equal (satlink-parser-state->saw-sat-p$inline (satlink-parser-state-fix x)) (satlink-parser-state->saw-sat-p$inline x)))
Theorem:
(defthm satlink-parser-state->saw-sat-p$inline-satlink-parser-state-equiv-congruence-on-x (implies (satlink-parser-state-equiv x x-equiv) (equal (satlink-parser-state->saw-sat-p$inline x) (satlink-parser-state->saw-sat-p$inline x-equiv))) :rule-classes :congruence)