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