Recongizer for the
(tlbp tlb) → *
Function:
(defun tlbp (tlb) (declare (xargs :guard t)) (let ((__function__ 'tlbp)) (declare (ignorable __function__)) (b* (((unless (consp tlb)) (equal tlb :tlb)) ((list* el tail) tlb) ((unless (tlb-entryp el)) nil)) (tlbp tail))))
Theorem:
(defthm |:tlb-is-tlbp| (tlbp :tlb))
Theorem:
(defthm consing-tlb-entry-onto-tlbp-is-tlbp (implies (and (tlb-entryp entry) (tlbp tlb)) (tlbp (cons entry tlb))))
Theorem:
(defthm integerp-cdr-hons-assoc-equal-tlb (implies (tlbp tlb) (b* ((result (hons-assoc-equal key tlb))) (implies result (integerp (cdr result))))))
Theorem:
(defthm unsigned-byte-p-40-cdr-hons-assoc-equal-tlb (implies (tlbp tlb) (b* ((result (hons-assoc-equal key tlb))) (implies result (unsigned-byte-p (- 52 12) (cdr result))))))