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