Logic form of ipasir-finalize-clause. See ipasir for usage.
(ipasir-finalize-clause$a solver) → new-solver
Function:
(defun ipasir-finalize-clause$a (solver) (declare (xargs :guard (ipasir$a-p solver))) (declare (xargs :guard (not (eq (ipasir-get-status$a solver) :undef)))) (let ((__function__ 'ipasir-finalize-clause$a)) (declare (ignorable __function__)) (b* (((ipasir$a solver))) (change-ipasir$a solver :formula (cons solver.new-clause solver.formula) :new-clause nil :status :input :history (cons :finalize solver.history)))))
Theorem:
(defthm ipasir$a-p-of-ipasir-finalize-clause$a (b* ((new-solver (ipasir-finalize-clause$a solver))) (ipasir$a-p new-solver)) :rule-classes :rewrite)
Theorem:
(defthm status-of-ipasir-finalize-clause$a (b* ((?new-solver (ipasir-finalize-clause$a solver))) (equal (ipasir$a->status new-solver) :input)))
Theorem:
(defthm new-clause-of-ipasir-finalize-clause$a (b* ((?new-solver (ipasir-finalize-clause$a solver))) (equal (ipasir$a->new-clause new-solver) nil)))
Theorem:
(defthm formula-of-ipasir-finalize-clause$a (b* ((?new-solver (ipasir-finalize-clause$a solver))) (equal (ipasir$a->formula new-solver) (cons (ipasir$a->new-clause solver) (ipasir$a->formula solver)))))
Theorem:
(defthm assumption-of-ipasir-finalize-clause$a (b* ((?new-solver (ipasir-finalize-clause$a solver))) (equal (ipasir$a->assumption new-solver) (ipasir$a->assumption solver))))
Theorem:
(defthm ipasir-finalize-clause$a-of-ipasir$a-fix-solver (equal (ipasir-finalize-clause$a (ipasir$a-fix solver)) (ipasir-finalize-clause$a solver)))
Theorem:
(defthm ipasir-finalize-clause$a-ipasir$a-equiv-congruence-on-solver (implies (ipasir$a-equiv solver solver-equiv) (equal (ipasir-finalize-clause$a solver) (ipasir-finalize-clause$a solver-equiv))) :rule-classes :congruence)