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