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