(UNSIGNED-BYTE-P-OF-BVCAT
 (49 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (29 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (14 14 (:REWRITE DEFAULT-<-2))
 (14 14 (:REWRITE DEFAULT-<-1))
 (14 14 (:REWRITE BOUND-WHEN-USB))
 (14 2 (:REWRITE BVCHOP-IDENTITY))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (11 11 (:REWRITE UBP-LONGER-BETTER))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (5 5 (:REWRITE DEFAULT-+-2))
 (5 5 (:REWRITE DEFAULT-+-1))
 (5 2 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (4 1 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (2 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (2 2 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE DEFAULT-UNARY-MINUS))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCHOP-OF-BVCAT-SAME
 (20 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (16 10 (:REWRITE DEFAULT-+-2))
 (10 10 (:REWRITE DEFAULT-+-1))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (7 7 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 )
(BVCHOP-OF-BVCAT-LOW
 (632 88 (:REWRITE BVCHOP-IDENTITY))
 (304 4 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (176 176 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (121 100 (:REWRITE DEFAULT-<-1))
 (116 100 (:REWRITE DEFAULT-<-2))
 (112 112 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (100 100 (:REWRITE BOUND-WHEN-USB))
 (88 88 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (88 88 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (80 80 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (80 80 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (80 80 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (80 80 (:REWRITE UBP-LONGER-BETTER))
 (68 6 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (67 67 (:TYPE-PRESCRIPTION POSP))
 (52 16 (:REWRITE DEFAULT-+-2))
 (44 37 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (36 33 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (36 33 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (36 33 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (35 35 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (35 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (28 28 (:LINEAR EXPT-BOUND-LINEAR))
 (22 22 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (19 19 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (18 5 (:REWRITE DEFAULT-*-1))
 (18 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (16 16 (:REWRITE UNSIGNED-BYTE-P-0))
 (16 16 (:REWRITE DEFAULT-+-1))
 (14 14 (:TYPE-PRESCRIPTION NATP))
 (11 11 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (11 11 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (11 11 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 5 (:REWRITE DEFAULT-*-2))
 (8 8 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (8 8 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (8 8 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (8 8 (:LINEAR <-OF-*-AND-*))
 (7 1 (:REWRITE BVCHOP-TIMES-CANCEL-BETTER-ALT))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (4 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT))
 (2 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (2 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 )
(UNSIGNED-BYTE-P-OF-+-WHEN-<-OF-LOGTAIL-AND-EXPT
 (261 10 (:DEFINITION UNSIGNED-BYTE-P))
 (231 10 (:DEFINITION INTEGER-RANGE-P))
 (207 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (132 4 (:REWRITE LOGTAIL-IDENTITY))
 (132 4 (:REWRITE LOGTAIL-BECOMES-0))
 (59 59 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (58 22 (:REWRITE DEFAULT-<-2))
 (56 56 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (36 36 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (29 1 (:REWRITE <-OF-*-CANCEL-1))
 (26 2 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (24 4 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (23 1 (:REWRITE <-OF-*-SAME-ARG2))
 (22 22 (:REWRITE DEFAULT-<-1))
 (22 22 (:LINEAR EXPT-BOUND-LINEAR))
 (16 4 (:DEFINITION POSP))
 (14 4 (:REWRITE <-OF-1-AND-EXPT))
 (12 3 (:REWRITE DEFAULT-*-2))
 (12 3 (:REWRITE DEFAULT-*-1))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (11 11 (:REWRITE UBP-LONGER-BETTER))
 (10 10 (:REWRITE BOUND-WHEN-USB))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (4 4 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (4 4 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (4 4 (:LINEAR <-OF-*-AND-*))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE DEFAULT-+-2))
 (1 1 (:REWRITE DEFAULT-+-1))
 )
(BVCAT-EQUAL-REWRITE-FW
 (286 157 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (254 68 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (191 154 (:REWRITE DEFAULT-<-1))
 (177 147 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (160 154 (:REWRITE DEFAULT-<-2))
 (160 106 (:REWRITE DEFAULT-+-2))
 (159 159 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (159 159 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (156 156 (:REWRITE BOUND-WHEN-USB))
 (156 24 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (154 16 (:REWRITE LOGTAIL-IDENTITY))
 (130 16 (:REWRITE LOGTAIL-BECOMES-0))
 (121 24 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (106 106 (:REWRITE DEFAULT-+-1))
 (96 16 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (93 93 (:TYPE-PRESCRIPTION POSP))
 (92 92 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (92 92 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (92 68 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (68 68 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (68 68 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (68 68 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (64 16 (:DEFINITION POSP))
 (60 15 (:REWRITE <-OF-+-ARG2-SAME-ARG2))
 (48 48 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (36 36 (:REWRITE UNSIGNED-BYTE-P-0))
 (30 12 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (28 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR))
 (18 18 (:REWRITE FOLD-CONSTS-IN-+))
 (17 17 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (17 17 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (16 16 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (12 12 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (12 12 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (11 11 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (11 11 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (11 11 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 2 (:REWRITE <-+-CANCEL-2))
 (6 6 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 4 (:LINEAR LOGTAIL-NON-NEGATIVE-LINEAR))
 (4 4 (:LINEAR LOGTAIL-LEQ))
 (4 4 (:LINEAR <=-OF-LOGTAIL-SAME-LINEAR))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-EQUAL-REWRITE-BK
 (121 25 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (61 20 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (58 16 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (52 13 (:REWRITE <-+-CANCEL-2))
 (45 39 (:REWRITE DEFAULT-<-1))
 (40 40 (:REWRITE BOUND-WHEN-USB))
 (39 39 (:REWRITE DEFAULT-<-2))
 (34 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (28 19 (:REWRITE DEFAULT-+-2))
 (28 4 (:REWRITE <-OF-EXPT-AND-EXPT))
 (27 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (26 26 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (26 26 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (22 22 (:REWRITE BVCAT-EQUAL-REWRITE-FW))
 (20 5 (:REWRITE <-OF-+-ARG2-SAME-ARG2))
 (20 2 (:REWRITE LOGTAIL-IDENTITY))
 (19 19 (:REWRITE DEFAULT-+-1))
 (19 19 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (19 19 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (19 19 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (18 18 (:TYPE-PRESCRIPTION POSP))
 (18 18 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (16 16 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (16 16 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (16 16 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (16 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (14 2 (:REWRITE LOGTAIL-BECOMES-0))
 (12 2 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (8 2 (:DEFINITION POSP))
 (7 7 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-0))
 (3 3 (:REWRITE FOLD-CONSTS-IN-+))
 (3 2 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (2 1 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (2 1 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (1 1 (:REWRITE DEFAULT-UNARY-MINUS))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-EQUAL-REWRITE
 (69 9 (:REWRITE BVCHOP-IDENTITY))
 (66 6 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (30 3 (:REWRITE SLICE-OUT-OF-ORDER))
 (29 8 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (28 7 (:REWRITE <-OF-+-ARG2-SAME-ARG2))
 (27 9 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (27 9 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (27 3 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (21 21 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (21 21 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (20 20 (:REWRITE DEFAULT-<-2))
 (20 20 (:REWRITE DEFAULT-<-1))
 (19 19 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (19 19 (:REWRITE BOUND-WHEN-USB))
 (18 18 (:REWRITE DEFAULT-+-2))
 (18 18 (:REWRITE DEFAULT-+-1))
 (18 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (17 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (12 12 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (9 9 (:TYPE-PRESCRIPTION POSP))
 (9 9 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (9 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (9 9 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (9 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (9 9 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 2 (:REWRITE <-+-CANCEL-2))
 (5 5 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (5 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (3 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (3 3 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (3 3 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (3 3 (:REWRITE FOLD-CONSTS-IN-+))
 (3 3 (:REWRITE +-COMBINE-CONSTANTS))
 (2 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVCAT-EQUAL-REWRITE-ALT
 (75 9 (:REWRITE BVCHOP-IDENTITY))
 (68 8 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (33 3 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (32 8 (:REWRITE <-OF-+-ARG2-SAME-ARG2))
 (30 3 (:REWRITE SLICE-OUT-OF-ORDER))
 (28 7 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (27 9 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (27 9 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (24 24 (:REWRITE DEFAULT-<-2))
 (24 24 (:REWRITE DEFAULT-<-1))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (22 22 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (22 22 (:REWRITE BOUND-WHEN-USB))
 (20 20 (:REWRITE DEFAULT-+-2))
 (20 20 (:REWRITE DEFAULT-+-1))
 (18 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (17 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 16 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (12 12 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (9 9 (:TYPE-PRESCRIPTION POSP))
 (9 9 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (9 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (9 9 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (9 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (9 9 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (5 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (4 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (4 1 (:REWRITE <-+-CANCEL-2))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (3 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (3 3 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (3 3 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (3 3 (:REWRITE FOLD-CONSTS-IN-+))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (3 3 (:REWRITE +-COMBINE-CONSTANTS))
 )
(BVCAT-OF-BVCHOP-HIGH
 (590 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (578 8 (:REWRITE UNSIGNED-BYTE-P-0))
 (316 48 (:REWRITE BVCHOP-IDENTITY))
 (301 1 (:REWRITE LOGTAIL-IDENTITY))
 (301 1 (:REWRITE LOGTAIL-BECOMES-0))
 (151 40 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (150 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (112 4 (:LINEAR BVCHOP-UPPER-BOUND))
 (90 90 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (68 56 (:REWRITE DEFAULT-<-1))
 (68 40 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (56 56 (:REWRITE DEFAULT-<-2))
 (56 56 (:REWRITE BOUND-WHEN-USB))
 (54 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (48 48 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (48 48 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (44 42 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (43 43 (:TYPE-PRESCRIPTION POSP))
 (43 43 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (43 43 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (43 43 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (43 43 (:REWRITE UBP-LONGER-BETTER))
 (42 42 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (40 40 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (40 40 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (36 36 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (36 36 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (32 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (18 6 (:REWRITE DEFAULT-+-2))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (13 4 (:REWRITE DEFAULT-*-2))
 (13 4 (:REWRITE DEFAULT-*-1))
 (12 12 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (10 4 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (6 6 (:REWRITE DEFAULT-+-1))
 (6 1 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (4 4 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (4 4 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (4 4 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (4 1 (:DEFINITION POSP))
 (2 2 (:REWRITE INVERSE-OF-+))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (2 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 1 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 )
(SLICE-OF-BVCAT
 (1762 34 (:REWRITE BVCHOP-IDENTITY))
 (1584 90 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (1014 6 (:REWRITE UNSIGNED-BYTE-P-OF-LOGTAIL-STRONG))
 (602 126 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (536 10 (:REWRITE LOGTAIL-UNSIGNED-BYTE-P))
 (462 40 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (144 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (129 125 (:REWRITE DEFAULT-<-1))
 (126 126 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (125 125 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (125 125 (:REWRITE UBP-LONGER-BETTER))
 (125 125 (:REWRITE DEFAULT-<-2))
 (125 113 (:REWRITE DEFAULT-+-2))
 (117 117 (:REWRITE BOUND-WHEN-USB))
 (116 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (113 113 (:REWRITE DEFAULT-+-1))
 (108 4 (:LINEAR BVCHOP-UPPER-BOUND))
 (80 21 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (78 8 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (74 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT))
 (66 42 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (64 34 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (56 14 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (48 48 (:REWRITE +-COMBINE-CONSTANTS))
 (44 44 (:REWRITE FOLD-CONSTS-IN-+))
 (42 42 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (40 16 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (34 34 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (34 34 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (33 25 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (33 21 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (32 32 (:TYPE-PRESCRIPTION POSP))
 (30 30 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (30 30 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (30 30 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (28 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (26 26 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (25 21 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (24 24 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (24 24 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 4 (:REWRITE LOGTAIL-BECOMES-0))
 (23 23 (:REWRITE DEFAULT-UNARY-MINUS))
 (21 21 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (20 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (18 4 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (16 8 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (14 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (12 12 (:TYPE-PRESCRIPTION NATP))
 (12 2 (:DEFINITION POSP))
 (8 8 (:TYPE-PRESCRIPTION LOGTAIL-TYPE))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 4 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (8 4 (:REWRITE +-OF-+-OF---SAME))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (6 6 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (6 2 (:REWRITE DEFAULT-*-2))
 (6 2 (:REWRITE DEFAULT-*-1))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-0))
 (4 4 (:REWRITE BVCHOP-BOUND))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (4 1 (:REWRITE LOGTAIL-SHIFT-GEN2-ALT))
 (2 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 )
(BVCHOP-OF-BVCAT-CASES
 (416 117 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (208 117 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (207 144 (:REWRITE DEFAULT-+-2))
 (203 173 (:REWRITE DEFAULT-<-1))
 (192 24 (:REWRITE BVCHOP-OF-BVCAT-SAME))
 (186 186 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (173 173 (:REWRITE DEFAULT-<-2))
 (171 171 (:REWRITE BOUND-WHEN-USB))
 (144 144 (:REWRITE DEFAULT-+-1))
 (140 140 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (134 118 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (131 131 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (120 118 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (119 117 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (117 117 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (113 113 (:TYPE-PRESCRIPTION POSP))
 (111 111 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (111 111 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (111 111 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (111 111 (:REWRITE UBP-LONGER-BETTER))
 (93 93 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (28 28 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (27 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (24 24 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (24 24 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (20 20 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (20 20 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-0))
 (12 12 (:REWRITE DEFAULT-UNARY-MINUS))
 (10 10 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (10 10 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (10 10 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (8 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (4 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE FOLD-CONSTS-IN-+))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 )
(BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER
 (22 22 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (15 3 (:REWRITE BVCHOP-IDENTITY))
 (8 2 (:REWRITE DEFAULT-*-2))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (6 3 (:REWRITE DEFAULT-<-2))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (5 1 (:REWRITE DEFAULT-+-2))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (4 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (4 2 (:REWRITE DEFAULT-*-1))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (3 3 (:REWRITE BOUND-WHEN-USB))
 (3 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE DEFAULT-+-1))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER
 (15 3 (:REWRITE BVCHOP-IDENTITY))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 1 (:REWRITE DEFAULT-<-2))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (3 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE DEFAULT-<-1))
 (1 1 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-OF-IFIX-ARG2
 (12 2 (:DEFINITION NATP))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE-ALT))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 4 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCAT-OF-IFIX-ARG4
 (12 2 (:DEFINITION NATP))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE-ALT))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (7 5 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCAT-RECOMBINE)
(BVCAT-EQUAL-0-REWRITE
 (16 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (12 2 (:DEFINITION NATP))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (6 3 (:REWRITE DEFAULT-<-1))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 3 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:REWRITE DEFAULT-<-2))
 (3 3 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (1 1 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-WHEN-LOWSIZE-IS-0
 (16 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (16 4 (:REWRITE BVCHOP-IDENTITY))
 (8 8 (:TYPE-PRESCRIPTION NATP))
 (8 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (8 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (8 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 2 (:REWRITE DEFAULT-<-2))
 (6 6 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (6 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-OF-BVCHOP-LOW
 (30 6 (:REWRITE BVCHOP-IDENTITY))
 (20 5 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (17 11 (:REWRITE DEFAULT-<-2))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 4 (:REWRITE DEFAULT-*-2))
 (12 4 (:REWRITE DEFAULT-*-1))
 (11 11 (:REWRITE DEFAULT-<-1))
 (11 11 (:REWRITE BOUND-WHEN-USB))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 5 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (9 5 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (8 8 (:TYPE-PRESCRIPTION NATP))
 (7 5 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (6 6 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (6 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 3 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (4 4 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (4 4 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (4 4 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (4 4 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (4 4 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (3 3 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-SLICE-SAME
 (861 88 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (771 24 (:REWRITE BVCHOP-IDENTITY))
 (403 107 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (173 5 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (155 54 (:REWRITE DEFAULT-<-1))
 (107 107 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (107 107 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (107 107 (:REWRITE UBP-LONGER-BETTER))
 (77 53 (:REWRITE DEFAULT-+-2))
 (72 9 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (55 54 (:REWRITE DEFAULT-<-2))
 (53 53 (:REWRITE DEFAULT-+-1))
 (48 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (44 23 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (42 23 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (35 34 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (33 33 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (33 33 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (33 33 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (32 5 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (29 29 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (29 24 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (29 24 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (27 23 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (27 13 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (25 24 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (24 24 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (24 24 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (24 24 (:REWRITE BOUND-WHEN-USB))
 (24 23 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (21 5 (:REWRITE SLICE-OUT-OF-ORDER))
 (18 18 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (18 18 (:LINEAR EXPT-BOUND-LINEAR))
 (18 18 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (14 14 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (13 13 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (12 12 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (12 12 (:REWRITE FOLD-CONSTS-IN-+))
 (12 6 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (9 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (7 7 (:REWRITE DEFAULT-UNARY-MINUS))
 (6 6 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (6 6 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (5 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-0))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE BVCHOP-BOUND))
 )
(BVCAT-OF-GETBIT-ARG4
 (90 8 (:REWRITE BVCHOP-IDENTITY))
 (69 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (40 3 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (36 9 (:REWRITE DEFAULT-<-1))
 (34 3 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (21 3 (:REWRITE GETBIT-IDENTITY))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (13 13 (:REWRITE UBP-LONGER-BETTER))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 9 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (9 9 (:REWRITE DEFAULT-<-2))
 (9 9 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (9 9 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (8 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (8 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (8 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (8 8 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (7 7 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (7 7 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (7 7 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (6 3 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (6 3 (:REWRITE GETBIT-WHEN-NOT-1))
 (6 3 (:REWRITE GETBIT-WHEN-NOT-0))
 (6 3 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (3 3 (:TYPE-PRESCRIPTION BITP))
 (3 3 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (3 3 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (3 3 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (3 3 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (3 3 (:REWRITE SLICE-OUT-OF-ORDER))
 (3 3 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (3 3 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (3 3 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (3 3 (:REWRITE GETBIT-IDENTITY-FREE))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 )
(BVCAT-OF-GETBIT-ARG2
 (16 2 (:REWRITE BVCHOP-IDENTITY))
 (11 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (8 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (6 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (4 1 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (2 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (1 1 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE DEFAULT-<-2))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(UNSIGNED-BYTE-P-OF-BVCAT-ALL-CASES-HELPER
 (152 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (107 11 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (81 13 (:REWRITE BVCHOP-IDENTITY))
 (57 51 (:REWRITE DEFAULT-<-1))
 (51 51 (:REWRITE DEFAULT-<-2))
 (47 47 (:REWRITE BOUND-WHEN-USB))
 (45 12 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (41 41 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (41 41 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (41 41 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (41 41 (:REWRITE UBP-LONGER-BETTER))
 (39 9 (:REWRITE UNSIGNED-BYTE-P-WHEN-N-IS-NOT-NATP))
 (26 26 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (22 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (15 12 (:REWRITE DEFAULT-+-2))
 (13 13 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (13 13 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (12 12 (:TYPE-PRESCRIPTION POSP))
 (12 12 (:REWRITE DEFAULT-+-1))
 (12 12 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (12 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (12 12 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (12 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (12 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (8 2 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (7 4 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (7 4 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (7 1 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (6 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (6 6 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (4 4 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (4 4 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 )
(UNSIGNED-BYTE-P-OF-BVCAT-ALL-CASES
 (204 16 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (154 14 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (68 14 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (47 47 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (47 47 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (47 47 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (47 47 (:REWRITE UBP-LONGER-BETTER))
 (47 47 (:REWRITE DEFAULT-<-2))
 (47 47 (:REWRITE DEFAULT-<-1))
 (47 47 (:REWRITE BOUND-WHEN-USB))
 (40 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (30 6 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (22 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (20 20 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (18 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (15 15 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (12 12 (:REWRITE DEFAULT-+-2))
 (12 12 (:REWRITE DEFAULT-+-1))
 (12 12 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (11 11 (:TYPE-PRESCRIPTION POSP))
 (11 11 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (10 10 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (6 6 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (5 3 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 4 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (4 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (4 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (4 4 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-NUMERIC-BOUND2
 (61 61 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (56 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (23 11 (:REWRITE DEFAULT-<-2))
 (20 11 (:REWRITE DEFAULT-<-1))
 (9 9 (:REWRITE BOUND-WHEN-USB))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (6 6 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:REWRITE DEFAULT-+-2))
 (6 6 (:REWRITE DEFAULT-+-1))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (4 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-UPPER-BOUND-LINEAR
 (37 37 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (6 6 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (5 2 (:REWRITE DEFAULT-<-2))
 (4 4 (:REWRITE DEFAULT-+-2))
 (4 4 (:REWRITE DEFAULT-+-1))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (1 1 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-OF-0)
(BVCAT-OF-0-AND-0)
(BVCAT-WHEN-HIGHSIZE-IS-0)
(BVCAT-WHEN-LOWSIZE-IS-NOT-POSP
 (60 10 (:REWRITE BVCHOP-IDENTITY))
 (32 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (22 10 (:REWRITE DEFAULT-<-2))
 (18 18 (:TYPE-PRESCRIPTION NATP))
 (16 16 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (16 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (16 8 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (15 15 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (13 10 (:REWRITE DEFAULT-<-1))
 (12 8 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (12 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (9 1 (:REWRITE LOGTAIL-IDENTITY))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 8 (:REWRITE UBP-LONGER-BETTER))
 (8 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (8 8 (:REWRITE BOUND-WHEN-USB))
 (8 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (8 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (8 2 (:DEFINITION NATP))
 (5 5 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (5 5 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (5 5 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (3 2 (:REWRITE DEFAULT-*-2))
 (3 2 (:REWRITE DEFAULT-*-1))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 )
(BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP
 (41 9 (:REWRITE BVCHOP-IDENTITY))
 (24 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (13 4 (:REWRITE DEFAULT-<-2))
 (12 12 (:TYPE-PRESCRIPTION NATP))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 11 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (9 9 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (9 9 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (9 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (9 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (5 5 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:REWRITE DEFAULT-<-1))
 (4 4 (:REWRITE BOUND-WHEN-USB))
 (4 4 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (3 3 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (3 3 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCAT-OF-SLICE-AND-SLICE-ADJACENT
 (181 12 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (154 12 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (123 123 (:REWRITE DEFAULT-+-2))
 (123 123 (:REWRITE DEFAULT-+-1))
 (65 22 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (61 61 (:REWRITE FOLD-CONSTS-IN-+))
 (47 23 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (46 6 (:DEFINITION POSP))
 (44 31 (:REWRITE DEFAULT-<-1))
 (31 31 (:REWRITE DEFAULT-<-2))
 (30 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (28 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (25 25 (:REWRITE BOUND-WHEN-USB))
 (23 23 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (22 22 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (22 22 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (22 22 (:REWRITE UBP-LONGER-BETTER))
 (20 12 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (15 15 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (14 12 (:REWRITE SLICE-OUT-OF-ORDER))
 (13 13 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (13 13 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (13 13 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (12 12 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (12 12 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (12 12 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (12 12 (:REWRITE DEFAULT-UNARY-MINUS))
 (11 11 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (11 11 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 9 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 3 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (6 3 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (4 4 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (4 4 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (4 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (4 4 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE <-OF-+-ARG2-SAME-ARG2))
 )
(BVCAT-OF-GETBIT-AND-SLICE-ADJACENT
 (30 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (24 3 (:DEFINITION POSP))
 (19 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (10 10 (:REWRITE DEFAULT-+-2))
 (10 10 (:REWRITE DEFAULT-+-1))
 (8 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (7 7 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (6 6 (:REWRITE DEFAULT-<-2))
 (6 6 (:REWRITE DEFAULT-<-1))
 (6 3 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (6 3 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (6 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (5 5 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (5 5 (:REWRITE BOUND-WHEN-USB))
 (4 4 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (4 4 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (4 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE FOLD-CONSTS-IN-+))
 (3 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (3 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (2 2 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (2 2 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE DEFAULT-UNARY-MINUS))
 )
(BVCAT-OF-SLICE-AND-GETBIT-ADJACENT
 (905 60 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (634 32 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (307 92 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (245 242 (:REWRITE DEFAULT-+-1))
 (242 242 (:REWRITE DEFAULT-+-2))
 (187 116 (:REWRITE DEFAULT-<-1))
 (119 116 (:REWRITE DEFAULT-<-2))
 (92 92 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (92 92 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (92 92 (:REWRITE UBP-LONGER-BETTER))
 (88 88 (:REWRITE FOLD-CONSTS-IN-+))
 (78 78 (:REWRITE BOUND-WHEN-USB))
 (72 44 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (67 8 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (56 56 (:REWRITE DEFAULT-UNARY-MINUS))
 (53 53 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (53 32 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (51 8 (:DEFINITION POSP))
 (50 50 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (49 32 (:REWRITE SLICE-OUT-OF-ORDER))
 (44 44 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (42 21 (:REWRITE GETBIT-WHEN-NOT-1))
 (42 21 (:REWRITE GETBIT-WHEN-NOT-0))
 (40 40 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (40 5 (:REWRITE GETBIT-OF-SLICE-TOO-HIGH))
 (37 37 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (37 37 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (37 37 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (37 32 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (32 32 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (32 32 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (32 16 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (29 29 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (27 16 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (24 24 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (24 24 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (24 24 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (21 21 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (21 21 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (21 21 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (20 20 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (20 20 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (18 18 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (16 8 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (16 8 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE GETBIT-OF-SLICE-GEN))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (8 8 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (8 8 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (7 7 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (5 5 (:REWRITE <-OF-+-ARG2-SAME-ARG2))
 (4 4 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (4 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (2 2 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (2 2 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 )
(BVCAT-OF-GETBIT-AND-GETBIT-ADJACENT
 (32 2 (:REWRITE GETBIT-OF-SLICE-TOO-HIGH))
 (26 26 (:REWRITE DEFAULT-+-2))
 (26 26 (:REWRITE DEFAULT-+-1))
 (22 22 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (16 8 (:REWRITE GETBIT-WHEN-NOT-1))
 (16 8 (:REWRITE GETBIT-WHEN-NOT-0))
 (13 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (12 6 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (8 8 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (8 8 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (8 8 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (7 6 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (7 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (6 3 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (6 3 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE FOLD-CONSTS-IN-+))
 (5 5 (:REWRITE DEFAULT-UNARY-MINUS))
 (5 5 (:REWRITE +-COMBINE-CONSTANTS))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (3 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (3 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (3 3 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (3 2 (:REWRITE GETBIT-OF-SLICE-GEN))
 (3 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (1 1 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE <-+-CANCEL-1-ALT))
 )
(BVCAT-OF-SLICE-AND-X-ADJACENT
 (204 8 (:REWRITE BVCHOP-IDENTITY))
 (154 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (78 22 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (45 18 (:REWRITE DEFAULT-<-1))
 (43 37 (:REWRITE DEFAULT-+-2))
 (37 37 (:REWRITE DEFAULT-+-1))
 (36 6 (:DEFINITION POSP))
 (30 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (22 22 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (22 22 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (22 22 (:REWRITE UBP-LONGER-BETTER))
 (18 18 (:REWRITE DEFAULT-<-2))
 (18 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (18 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (11 11 (:REWRITE FOLD-CONSTS-IN-+))
 (11 11 (:REWRITE BOUND-WHEN-USB))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:REWRITE DEFAULT-UNARY-MINUS))
 (9 9 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (9 9 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (9 9 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (8 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (8 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (8 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (8 8 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (7 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 4 (:REWRITE SLICE-OUT-OF-ORDER))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (2 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 )
(BVCAT-OF-GETBIT-AND-X-ADJACENT
 (276 18 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (220 10 (:REWRITE BVCHOP-IDENTITY))
 (189 29 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (48 17 (:REWRITE DEFAULT-<-1))
 (29 29 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (29 29 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (29 29 (:REWRITE UBP-LONGER-BETTER))
 (24 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (24 3 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (20 11 (:REWRITE DEFAULT-+-2))
 (18 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (17 17 (:REWRITE DEFAULT-<-2))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (13 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 9 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (12 3 (:DEFINITION POSP))
 (11 11 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (11 11 (:REWRITE DEFAULT-+-1))
 (11 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (11 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (10 10 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (10 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (10 10 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (10 10 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (10 10 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 9 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (9 9 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (9 9 (:REWRITE BOUND-WHEN-USB))
 (8 4 (:REWRITE GETBIT-WHEN-NOT-1))
 (8 4 (:REWRITE GETBIT-WHEN-NOT-0))
 (8 4 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (7 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (6 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (6 3 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (6 3 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (4 4 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (4 4 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (4 4 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (4 3 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 1 (:REWRITE GETBIT-OF-BVCHOP-TOO-HIGH))
 (3 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE BVCHOP-BOUND))
 )
(BVCAT-OF-SLICE-AND-BVCHOP-ADJACENT
 (211 9 (:REWRITE BVCHOP-IDENTITY))
 (154 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (79 23 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (46 19 (:REWRITE DEFAULT-<-1))
 (36 6 (:DEFINITION POSP))
 (30 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (28 22 (:REWRITE DEFAULT-+-2))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (23 23 (:REWRITE UBP-LONGER-BETTER))
 (22 22 (:REWRITE DEFAULT-+-1))
 (19 19 (:REWRITE DEFAULT-<-2))
 (18 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (18 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (16 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (12 9 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (9 9 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (9 9 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (9 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (9 9 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (9 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (9 9 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (9 9 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (9 9 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (9 9 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (7 7 (:TYPE-PRESCRIPTION POSP))
 (7 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (6 6 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (5 5 (:REWRITE FOLD-CONSTS-IN-+))
 (5 5 (:REWRITE +-COMBINE-CONSTANTS))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (1 1 (:REWRITE DEFAULT-UNARY-MINUS))
 )
(BVCAT-OF-GETBIT-AND-BVCHOP-ADJACENT
 (211 9 (:REWRITE BVCHOP-IDENTITY))
 (154 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (78 22 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (41 14 (:REWRITE DEFAULT-<-1))
 (22 22 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (22 22 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (22 22 (:REWRITE UBP-LONGER-BETTER))
 (18 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (16 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (14 14 (:REWRITE DEFAULT-<-2))
 (14 8 (:REWRITE DEFAULT-+-2))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 9 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (12 3 (:DEFINITION POSP))
 (10 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (9 9 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (9 9 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 9 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (9 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (9 9 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (9 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (9 9 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (9 9 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (9 9 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (9 9 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE DEFAULT-+-1))
 (7 7 (:REWRITE BOUND-WHEN-USB))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (2 2 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 )
(GETBIT-OF-BVCAT-LOW
 (1104 29 (:REWRITE BVCHOP-IDENTITY))
 (823 62 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (405 124 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (354 6 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (312 3 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (300 10 (:REWRITE LOGTAIL-UNSIGNED-BYTE-P))
 (231 18 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (124 124 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (124 124 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (124 124 (:REWRITE UBP-LONGER-BETTER))
 (98 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (97 94 (:REWRITE DEFAULT-<-1))
 (94 94 (:REWRITE DEFAULT-<-2))
 (78 18 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (65 65 (:REWRITE BOUND-WHEN-USB))
 (52 29 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (48 29 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (48 29 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (43 23 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (42 6 (:REWRITE LOGTAIL-IDENTITY))
 (42 6 (:REWRITE LOGTAIL-BECOMES-0))
 (40 7 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (38 38 (:REWRITE DEFAULT-+-2))
 (38 38 (:REWRITE DEFAULT-+-1))
 (36 23 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (36 6 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (32 32 (:TYPE-PRESCRIPTION LOGTAIL-TYPE))
 (32 32 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (31 31 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (31 31 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (31 31 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (29 29 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (29 29 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (25 25 (:TYPE-PRESCRIPTION POSP))
 (24 6 (:DEFINITION POSP))
 (23 23 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (21 21 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (19 7 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (18 18 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (18 18 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (18 6 (:REWRITE SLICE-OUT-OF-ORDER))
 (18 2 (:LINEAR <=-OF-LOGTAIL-SAME-LINEAR))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 16 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (16 2 (:REWRITE LOGTAIL-LESSP))
 (15 15 (:REWRITE DEFAULT-UNARY-MINUS))
 (15 15 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (15 15 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (14 7 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (12 12 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (12 12 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-1))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-0))
 (12 6 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (10 2 (:LINEAR LOGTAIL-NON-NEGATIVE-LINEAR))
 (10 2 (:LINEAR LOGTAIL-LEQ))
 (9 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (9 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (9 6 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (9 3 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (6 6 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (6 6 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (6 6 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (6 6 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (6 6 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (6 6 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (6 6 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (6 6 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (3 3 (:REWRITE FOLD-CONSTS-IN-+))
 (3 3 (:REWRITE BVCHOP-BOUND))
 (3 3 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (3 3 (:REWRITE +-COMBINE-CONSTANTS))
 (2 2 (:REWRITE HOW-COULD-THIS-HAVE-BEEN-LEFT-OUT??))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(GETBIT-OF-BVCAT-LOW-BETTER
 (54 27 (:REWRITE GETBIT-WHEN-NOT-1))
 (54 27 (:REWRITE GETBIT-WHEN-NOT-0))
 (54 27 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (40 10 (:DEFINITION POSP))
 (34 9 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (34 9 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (30 30 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (27 27 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (27 27 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (27 27 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (21 21 (:REWRITE DEFAULT-<-2))
 (21 21 (:REWRITE DEFAULT-<-1))
 (21 21 (:REWRITE BOUND-WHEN-USB))
 (21 3 (:REWRITE BVCHOP-IDENTITY))
 (13 13 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:TYPE-PRESCRIPTION NATP-OF-BVCAT-TYPE))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 1 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (2 1 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (1 1 (:REWRITE GETBIT-OF-BVCHOP-TOO-HIGH))
 (1 1 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 )
(GETBIT-OF-BVCAT-TOO-HIGH
 (32 8 (:DEFINITION POSP))
 (26 6 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (26 6 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (15 5 (:REWRITE GETBIT-OF-BVCAT-LOW-BETTER))
 (13 13 (:REWRITE DEFAULT-<-2))
 (13 13 (:REWRITE DEFAULT-<-1))
 (10 6 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (8 8 (:REWRITE BOUND-WHEN-USB))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:REWRITE DEFAULT-+-2))
 (4 4 (:REWRITE DEFAULT-+-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 )
(GETBIT-OF-BVCAT-HIGH
 (4090 68 (:REWRITE LOGTAIL-UNSIGNED-BYTE-P))
 (2950 334 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (1082 404 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (761 731 (:REWRITE DEFAULT-+-2))
 (746 731 (:REWRITE DEFAULT-+-1))
 (476 14 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (446 430 (:REWRITE +-COMBINE-CONSTANTS))
 (404 404 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (403 403 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (403 403 (:REWRITE UBP-LONGER-BETTER))
 (394 394 (:REWRITE FOLD-CONSTS-IN-+))
 (377 338 (:REWRITE DEFAULT-<-2))
 (370 338 (:REWRITE DEFAULT-<-1))
 (170 170 (:REWRITE BOUND-WHEN-USB))
 (157 11 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (138 40 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (136 88 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (126 14 (:LINEAR <=-OF-LOGTAIL-SAME-LINEAR))
 (112 14 (:REWRITE LOGTAIL-LESSP))
 (110 110 (:TYPE-PRESCRIPTION LOGTAIL-TYPE))
 (110 110 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (108 40 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (104 92 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (96 16 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (94 94 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (91 25 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (87 87 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (87 5 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (76 76 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (75 10 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (72 57 (:REWRITE DEFAULT-UNARY-MINUS))
 (70 44 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (70 14 (:LINEAR LOGTAIL-NON-NEGATIVE-LINEAR))
 (70 14 (:LINEAR LOGTAIL-LEQ))
 (69 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT))
 (67 67 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (67 67 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (67 67 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (65 42 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (64 32 (:REWRITE +-OF-+-OF---SAME))
 (63 40 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (56 8 (:REWRITE LOGTAIL-BECOMES-0))
 (52 52 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (52 5 (:REWRITE SLICE-OUT-OF-ORDER))
 (46 8 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (45 10 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (43 43 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (43 43 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (43 40 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (42 42 (:TYPE-PRESCRIPTION POSP))
 (42 42 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (42 42 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (42 42 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (39 9 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-2))
 (39 9 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (39 9 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (30 5 (:REWRITE INTEGERP-OF--))
 (24 2 (:REWRITE <-OF-+-AND-+-CANCEL-1))
 (22 2 (:REWRITE <-OF---AND--))
 (21 5 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (21 5 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (20 10 (:REWRITE GETBIT-WHEN-NOT-1))
 (20 10 (:REWRITE GETBIT-WHEN-NOT-0))
 (20 10 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (16 16 (:LINEAR EXPT-BOUND-LINEAR))
 (14 14 (:REWRITE HOW-COULD-THIS-HAVE-BEEN-LEFT-OUT??))
 (14 9 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1))
 (11 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (11 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (10 10 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (10 3 (:REWRITE DEFAULT-*-2))
 (10 1 (:REWRITE SLICE-OF-BVCHOP-LOW-GEN))
 (9 9 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (9 9 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (9 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (8 8 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (8 3 (:REWRITE DEFAULT-*-1))
 (7 7 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (6 4 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (5 5 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (5 5 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (5 5 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (5 5 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (4 1 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (4 1 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (4 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT-ALT))
 (4 1 (:REWRITE SLICE-OF-BVCHOP-TOO-HIGH))
 (4 1 (:REWRITE SLICE-OF-BVCHOP-TIGHTEN))
 (4 1 (:REWRITE LOGTAIL-SHIFT-GEN2-ALT))
 (4 1 (:REWRITE GETBIT-OF-BVCHOP-TOO-HIGH))
 (3 1 (:REWRITE SLICE-OF-BVCHOP-LOW))
 (3 1 (:REWRITE GETBIT-OF-BVCHOP))
 (2 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (2 2 (:REWRITE BVCHOP-BOUND))
 (2 2 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 )
(GETBIT-OF-BVCAT-LOW-BETTER-ALL-CASES
 (47 17 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (41 41 (:REWRITE DEFAULT-<-2))
 (41 41 (:REWRITE DEFAULT-<-1))
 (36 9 (:DEFINITION POSP))
 (34 17 (:REWRITE GETBIT-WHEN-NOT-1))
 (34 17 (:REWRITE GETBIT-WHEN-NOT-0))
 (34 17 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (32 32 (:REWRITE BOUND-WHEN-USB))
 (32 17 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (31 31 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (30 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (25 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (18 6 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (17 17 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (17 17 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (17 17 (:REWRITE DEFAULT-+-2))
 (17 17 (:REWRITE DEFAULT-+-1))
 (10 5 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (9 9 (:TYPE-PRESCRIPTION POSP))
 (9 9 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (8 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (8 8 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (7 7 (:REWRITE DEFAULT-UNARY-MINUS))
 (6 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (6 6 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (2 2 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(GETBIT-OF-BVCAT-HIGH-BETTER
 (532 15 (:REWRITE GETBIT-TOO-HIGH))
 (384 42 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (186 18 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (75 18 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (73 73 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (73 73 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (73 73 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (73 73 (:REWRITE UBP-LONGER-BETTER))
 (66 8 (:REWRITE BVCHOP-IDENTITY))
 (65 15 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (59 56 (:REWRITE DEFAULT-<-1))
 (56 56 (:REWRITE DEFAULT-<-2))
 (43 43 (:REWRITE BOUND-WHEN-USB))
 (30 15 (:REWRITE GETBIT-WHEN-NOT-1))
 (30 15 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (30 10 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (30 7 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (23 23 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (23 23 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (23 12 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (22 22 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (21 6 (:REWRITE GETBIT-OF-BVCHOP-TOO-HIGH))
 (15 15 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (15 15 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (14 11 (:REWRITE DEFAULT-+-2))
 (13 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (11 11 (:REWRITE DEFAULT-+-1))
 (10 10 (:REWRITE DEFAULT-UNARY-MINUS))
 (9 9 (:TYPE-PRESCRIPTION POSP))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (8 2 (:DEFINITION POSP))
 (8 1 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (7 7 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (7 7 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (7 7 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (7 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (6 6 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (6 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (1 1 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 )
(GETBIT-OF-BVCAT-ALL
 (3770 78 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (3554 70 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (2905 239 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (878 516 (:REWRITE DEFAULT-<-1))
 (626 18 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (623 101 (:REWRITE BVCHOP-IDENTITY))
 (606 516 (:REWRITE DEFAULT-<-2))
 (606 68 (:REWRITE GETBIT-OF-BVCAT-TOO-HIGH))
 (566 78 (:REWRITE GETBIT-IDENTITY))
 (500 36 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (480 18 (:LINEAR BVCHOP-UPPER-BOUND))
 (344 172 (:REWRITE GETBIT-WHEN-NOT-1))
 (323 323 (:REWRITE BOUND-WHEN-USB))
 (307 68 (:REWRITE GETBIT-OF-BVCAT-HIGH))
 (288 36 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (272 149 (:REWRITE DEFAULT-+-2))
 (258 129 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (239 239 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (239 239 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (239 239 (:REWRITE UBP-LONGER-BETTER))
 (216 216 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (216 114 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (216 32 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (205 79 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (188 149 (:REWRITE DEFAULT-+-1))
 (178 178 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (178 178 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (178 178 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (156 79 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (153 153 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (144 18 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (130 130 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (128 38 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (120 38 (:LINEAR EXPT-BOUND-LINEAR))
 (101 101 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (101 101 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (90 36 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (84 79 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (84 79 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (82 79 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (79 79 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (78 78 (:REWRITE GETBIT-IDENTITY-FREE))
 (70 70 (:TYPE-PRESCRIPTION BITP))
 (65 65 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (62 62 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (62 62 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (54 54 (:TYPE-PRESCRIPTION POSP))
 (54 13 (:DEFINITION POSP))
 (32 32 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT-ALL-CASES))
 (22 22 (:REWRITE DEFAULT-UNARY-MINUS))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-0))
 (18 18 (:REWRITE BVCHOP-BOUND))
 (18 6 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (14 7 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (14 7 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (12 12 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (8 8 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCAT-GETBIT-GETBIT-SAME
 (54 54 (:REWRITE DEFAULT-+-2))
 (54 54 (:REWRITE DEFAULT-+-1))
 (23 23 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (20 10 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (16 8 (:REWRITE GETBIT-WHEN-NOT-1))
 (16 8 (:REWRITE GETBIT-WHEN-NOT-0))
 (16 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (14 13 (:REWRITE DEFAULT-<-1))
 (14 10 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (13 13 (:REWRITE DEFAULT-<-2))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (12 6 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (10 10 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (10 10 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (10 4 (:REWRITE BVCHOP-IDENTITY))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (8 8 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (8 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (6 6 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (6 6 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (6 6 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (6 6 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (6 3 (:REWRITE SLICE-OUT-OF-ORDER))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (5 5 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:REWRITE FOLD-CONSTS-IN-+))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (4 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (2 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE <-+-CANCEL-1-ALT))
 (1 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 )
(LOGTAIL-OF-BVCAT-SAME
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (8 2 (:REWRITE BVCHOP-IDENTITY))
 (6 3 (:REWRITE DEFAULT-<-2))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 3 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE BOUND-WHEN-USB))
 (3 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCHOP-OF-LOGAPP-BIGGER
 (804 38 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (586 19 (:REWRITE UNSIGNED-BYTE-P-0))
 (384 382 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (261 156 (:REWRITE DEFAULT-<-1))
 (243 156 (:REWRITE DEFAULT-<-2))
 (209 54 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (199 97 (:REWRITE DEFAULT-+-2))
 (188 54 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (171 97 (:REWRITE DEFAULT-+-1))
 (144 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (121 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (96 96 (:REWRITE BOUND-WHEN-USB))
 (86 32 (:REWRITE DEFAULT-*-2))
 (85 85 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (81 81 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (76 76 (:TYPE-PRESCRIPTION POSP))
 (76 76 (:LINEAR <-OF-*-AND-*))
 (72 72 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (72 72 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (71 71 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (71 71 (:REWRITE UBP-LONGER-BETTER))
 (71 32 (:REWRITE DEFAULT-*-1))
 (70 14 (:DEFINITION POSP))
 (59 55 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (59 10 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (58 54 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (57 57 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (56 54 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (45 10 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (44 44 (:TYPE-PRESCRIPTION FIX))
 (42 28 (:REWRITE DEFAULT-UNARY-MINUS))
 (36 12 (:REWRITE <-OF-1-AND-EXPT))
 (31 31 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (31 31 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (28 28 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (28 28 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (28 28 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (27 27 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (24 24 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (15 15 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (9 9 (:TYPE-PRESCRIPTION NFIX))
 (9 9 (:TYPE-PRESCRIPTION IFIX))
 (9 9 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (9 9 (:REWRITE FOLD-CONSTS-IN-+))
 (9 9 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (9 9 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (8 8 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (8 8 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (8 8 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (8 4 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (8 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (7 1 (:REWRITE DEFAULT-UNARY-/))
 (6 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT-ALT))
 (5 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (5 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (2 2 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE *-OF-*-COMBINE-CONSTANTS))
 )
(BVCHOP-OF-LOGAPP-BOTH
 (395 43 (:REWRITE BVCHOP-IDENTITY))
 (139 33 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (112 85 (:REWRITE DEFAULT-<-1))
 (102 9 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (100 85 (:REWRITE DEFAULT-<-2))
 (88 88 (:REWRITE BOUND-WHEN-USB))
 (86 86 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (72 72 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (61 33 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (60 6 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (43 43 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (43 43 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (40 40 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (40 40 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (40 40 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (40 40 (:REWRITE UBP-LONGER-BETTER))
 (37 33 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (37 33 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (36 6 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (35 33 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (35 33 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (35 5 (:REWRITE <-OF-LOGAPP-AND-0))
 (34 34 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (33 33 (:TYPE-PRESCRIPTION POSP))
 (28 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (26 8 (:REWRITE DEFAULT-+-2))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (15 14 (:LINEAR EXPT-BOUND-LINEAR))
 (14 14 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (14 14 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (14 14 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 7 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (14 7 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (11 11 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (11 11 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (10 5 (:DEFINITION IFIX))
 (8 8 (:REWRITE DEFAULT-+-1))
 (7 7 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (6 6 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-0))
 (5 5 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (2 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (2 2 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVCAT-ASSOCIATIVE-HELPER
 (2400 20 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (1693 26 (:REWRITE LOGTAIL-BECOMES-0))
 (977 2 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (739 244 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (693 474 (:REWRITE DEFAULT-<-1))
 (650 443 (:REWRITE DEFAULT-+-2))
 (604 18 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (584 584 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (584 584 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (584 98 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (571 571 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (571 571 (:REWRITE UBP-LONGER-BETTER))
 (548 500 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (545 474 (:REWRITE DEFAULT-<-2))
 (483 483 (:REWRITE BOUND-WHEN-USB))
 (474 474 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (443 443 (:REWRITE DEFAULT-+-1))
 (422 244 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (340 244 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (304 256 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (294 294 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (292 244 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (243 243 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (168 26 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (154 154 (:TYPE-PRESCRIPTION POSP))
 (118 24 (:DEFINITION POSP))
 (101 101 (:REWRITE DEFAULT-UNARY-MINUS))
 (73 73 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (73 73 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (73 73 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (65 31 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (61 19 (:REWRITE DEFAULT-*-1))
 (55 26 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (54 54 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (54 54 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (54 19 (:REWRITE DEFAULT-*-2))
 (50 50 (:REWRITE FOLD-CONSTS-IN-+))
 (50 50 (:REWRITE +-COMBINE-CONSTANTS))
 (34 34 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (31 31 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (28 10 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (26 26 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (19 19 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (19 19 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (14 2 (:REWRITE LOGTAIL-SHIFT-GEN2-ALT))
 (12 12 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (10 2 (:REWRITE DISTRIBUTIVITY-OF-MINUS-OVER-+))
 (7 1 (:REWRITE LOGHEAD-IDENTITY))
 (7 1 (:REWRITE BVCHOP-OF-*-OF-EXPT-WHEN-<=))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (4 4 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (4 4 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (4 4 (:LINEAR <-OF-*-AND-*))
 (4 1 (:REWRITE <-+-CANCEL-2))
 (3 3 (:REWRITE EQUAL-OF-*-AND-CONSTANT))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (3 3 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 )
(BVCAT-ASSOCIATIVE
 (98 21 (:DEFINITION POSP))
 (82 13 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (63 13 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (27 27 (:REWRITE DEFAULT-+-2))
 (27 27 (:REWRITE DEFAULT-+-1))
 (25 25 (:REWRITE DEFAULT-<-2))
 (25 25 (:REWRITE DEFAULT-<-1))
 (25 25 (:REWRITE BOUND-WHEN-USB))
 (25 13 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (23 13 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (21 21 (:TYPE-PRESCRIPTION POSP))
 (17 17 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR))
 (8 8 (:REWRITE FOLD-CONSTS-IN-+))
 (8 8 (:REWRITE +-COMBINE-CONSTANTS))
 (7 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (7 7 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-OF-BVCHOP-HIGH-TIGHTEN
 (53 7 (:REWRITE BVCHOP-IDENTITY))
 (27 1 (:REWRITE LOGTAIL-IDENTITY))
 (22 4 (:DEFINITION NATP))
 (18 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (17 17 (:TYPE-PRESCRIPTION NATP))
 (17 14 (:REWRITE DEFAULT-<-2))
 (17 14 (:REWRITE DEFAULT-<-1))
 (15 15 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (14 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (14 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (13 13 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (11 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (10 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (10 1 (:REWRITE BVCHOP-OF-LOGAPP-BOTH))
 (9 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (9 1 (:REWRITE LOGTAIL-BECOMES-0))
 (9 1 (:REWRITE BVCHOP-OF-LOGAPP-BIGGER))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 8 (:REWRITE UBP-LONGER-BETTER))
 (8 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (7 7 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (7 7 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (7 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (7 1 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (5 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (5 1 (:DEFINITION POSP))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (3 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (2 1 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVCAT-OF-BVCHOP-TIGHTEN
 (30 4 (:REWRITE BVCHOP-IDENTITY))
 (9 3 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (9 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (8 8 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (8 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (7 7 (:REWRITE DEFAULT-<-2))
 (7 7 (:REWRITE DEFAULT-<-1))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (6 6 (:REWRITE BOUND-WHEN-USB))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (5 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (4 4 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (3 3 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP))
 (3 3 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (2 2 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (1 1 (:TYPE-PRESCRIPTION NATP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 )
(BVCAT-EQUAL-REWRITE-NO-FIRST-COMPONENTS-SAME
 (34 10 (:REWRITE BVCHOP-IDENTITY))
 (17 17 (:REWRITE DEFAULT-+-2))
 (17 17 (:REWRITE DEFAULT-+-1))
 (13 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (13 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (10 10 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (10 10 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (10 10 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (10 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (9 9 (:REWRITE DEFAULT-<-2))
 (9 9 (:REWRITE DEFAULT-<-1))
 (9 9 (:REWRITE BOUND-WHEN-USB))
 (7 2 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (6 6 (:REWRITE UBP-LONGER-BETTER))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE FOLD-CONSTS-IN-+))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 1 (:DEFINITION POSP))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (3 3 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (2 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (2 2 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 )
(SLICE-OF-LOGAPP-HACK
 (342 36 (:REWRITE BVCHOP-IDENTITY))
 (311 1 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (108 27 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (86 10 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (78 78 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (76 52 (:REWRITE DEFAULT-<-1))
 (70 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (58 52 (:REWRITE DEFAULT-<-2))
 (57 1 (:REWRITE FLOOR-OF-+-WHEN-MULT-ARG2))
 (54 52 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (49 49 (:REWRITE BOUND-WHEN-USB))
 (49 7 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (48 27 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (48 4 (:REWRITE UNSIGNED-BYTE-P-OF-1))
 (47 15 (:REWRITE DEFAULT-+-2))
 (40 4 (:DEFINITION POSP))
 (37 37 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (37 37 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (37 37 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (37 37 (:REWRITE UBP-LONGER-BETTER))
 (36 36 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (36 36 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (36 36 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (29 29 (:TYPE-PRESCRIPTION POSP))
 (27 27 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (27 27 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (27 27 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (27 27 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (25 15 (:REWRITE DEFAULT-+-1))
 (24 24 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (15 1 (:REWRITE INTEGERP-OF-*))
 (14 2 (:REWRITE DEFAULT-UNARY-/))
 (13 2 (:REWRITE FLOOR-WHEN-NOT-RATIONALP-OF-QUOTIENT))
 (12 12 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 1 (:REWRITE MULTIPLE-WHEN-MOD-0-CHEAP))
 (8 1 (:REWRITE INTEGERP-OF-/-OF-EXPT-2))
 (7 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (7 2 (:REWRITE FLOOR-WHEN-NEGATIVE-AND-SMALL-CHEAP))
 (7 2 (:REWRITE FLOOR-WHEN-I-IS-NOT-AN-ACL2-NUMBERP))
 (7 1 (:REWRITE COMMUTATIVITY-OF-*))
 (6 6 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (6 6 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (6 6 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 2 (:REWRITE DEFAULT-*-2))
 (6 2 (:REWRITE DEFAULT-*-1))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (5 1 (:TYPE-PRESCRIPTION RATIONALP-OF-MOD))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-0))
 (4 4 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (2 2 (:REWRITE FOLD-CONSTS-IN-+))
 (2 2 (:REWRITE FLOOR-MINUS-NEGATIVE-CONSTANT))
 (2 2 (:REWRITE +-COMBINE-CONSTANTS))
 (1 1 (:TYPE-PRESCRIPTION NONNEG-OF-MOD-TYPE-2))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-MOD-TYPE))
 (1 1 (:REWRITE FLOOR-PEEL-OFF-CONSTANT))
 (1 1 (:REWRITE FLOOR-OF-PLUS-NORMALIZE-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-UPPER-BOUND))
 (1 1 (:REWRITE BVCHOP-NUMERIC-BOUND))
 (1 1 (:REWRITE BVCHOP-BOUND))
 )
(SLICE-OF-BVCAT-LOW
 (690 150 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (497 20 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (373 10 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (360 16 (:REWRITE LOGTAIL-IDENTITY))
 (312 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (303 115 (:REWRITE DEFAULT-*-2))
 (301 16 (:REWRITE LOGTAIL-BECOMES-0))
 (298 10 (:LINEAR BVCHOP-UPPER-BOUND))
 (275 115 (:REWRITE DEFAULT-*-1))
 (223 148 (:REWRITE DEFAULT-<-1))
 (176 16 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (150 150 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (150 150 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (150 150 (:REWRITE UBP-LONGER-BETTER))
 (150 148 (:REWRITE DEFAULT-<-2))
 (133 58 (:REWRITE DEFAULT-+-2))
 (116 116 (:REWRITE BOUND-WHEN-USB))
 (96 56 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (94 94 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (94 58 (:REWRITE DEFAULT-+-1))
 (86 16 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (80 10 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (72 16 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (67 25 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT))
 (60 33 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (58 58 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (57 57 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (56 14 (:DEFINITION POSP))
 (54 54 (:TYPE-PRESCRIPTION POSP))
 (53 4 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (50 46 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (49 1 (:REWRITE UNSIGNED-BYTE-P-OF-*))
 (48 46 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (44 10 (:REWRITE LOGTAIL-SHIFT-GEN-ALT))
 (37 37 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (34 34 (:LINEAR <-OF-*-AND-*))
 (33 33 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (33 33 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (26 11 (:REWRITE DEFAULT-UNARY-MINUS))
 (25 25 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (22 22 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (22 22 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (22 22 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (22 22 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (18 18 (:REWRITE FOLD-CONSTS-IN-+))
 (18 18 (:REWRITE +-COMBINE-CONSTANTS))
 (18 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (15 15 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (12 12 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-0))
 (10 4 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (6 3 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (6 1 (:REWRITE BVCHOP-TIMES-CANCEL-BETTER-ALT))
 (5 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-BOUND))
 (2 2 (:REWRITE <-OF-1-AND-EXPT))
 )
(SLICE-OF-BVCAT-TOO-HIGH
 (11 11 (:REWRITE DEFAULT-<-2))
 (11 11 (:REWRITE DEFAULT-<-1))
 (10 10 (:REWRITE BOUND-WHEN-USB))
 (8 2 (:DEFINITION POSP))
 (6 6 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 1 (:REWRITE SLICE-OF-BVCAT))
 (3 3 (:REWRITE DEFAULT-+-2))
 (3 3 (:REWRITE DEFAULT-+-1))
 (3 1 (:REWRITE SLICE-OF-BVCAT-LOW))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (2 2 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (1 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 )
(BVCAT-OF-BVCAT-TRIM-HIGH-ARG
 (3661 268 (:REWRITE BVCHOP-IDENTITY))
 (3116 10 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (1551 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (640 160 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (569 47 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (524 41 (:REWRITE BVCHOP-OF-BVCAT-SAME))
 (520 454 (:REWRITE DEFAULT-<-1))
 (486 486 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (454 454 (:REWRITE DEFAULT-<-2))
 (438 438 (:REWRITE BOUND-WHEN-USB))
 (434 241 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (403 241 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (289 181 (:REWRITE DEFAULT-+-2))
 (284 241 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (268 268 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (268 268 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (243 243 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (243 243 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (243 243 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (243 243 (:REWRITE UBP-LONGER-BETTER))
 (241 241 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (241 241 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (241 241 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (218 218 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (181 181 (:REWRITE DEFAULT-+-1))
 (178 178 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (172 172 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (172 172 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (161 36 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (152 16 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (150 34 (:DEFINITION POSP))
 (120 120 (:TYPE-PRESCRIPTION POSP))
 (105 48 (:REWRITE BVCHOP-OF-BVCAT-LOW))
 (66 36 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (61 36 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (56 56 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (51 51 (:REWRITE DEFAULT-UNARY-MINUS))
 (50 5 (:REWRITE SLICE-OF-BVCAT-TOO-HIGH))
 (46 46 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (46 46 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (46 5 (:REWRITE SLICE-OF-BVCAT-LOW))
 (34 6 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (30 6 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (27 27 (:REWRITE UNSIGNED-BYTE-P-0))
 (26 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (22 22 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (22 22 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (22 22 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 4 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (13 4 (:REWRITE SLICE-OUT-OF-ORDER))
 (12 12 (:REWRITE FOLD-CONSTS-IN-+))
 (10 2 (:REWRITE <-+-CANCEL-1))
 (8 2 (:REWRITE <-+-CANCEL-2))
 (8 2 (:REWRITE <-+-CANCEL-1-ALT))
 (6 6 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (5 5 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (5 5 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (5 5 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (5 5 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (5 5 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (3 3 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (3 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (3 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(SLICE-OF-BVCAT-HACK
 (40213 171 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (36374 186 (:REWRITE LOGTAIL-IDENTITY))
 (19769 154 (:REWRITE LOGTAIL-BECOMES-0))
 (12931 250 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (12015 3694 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (11764 206 (:REWRITE UNSIGNED-BYTE-P-0))
 (5928 1313 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (3694 3694 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3691 3691 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3691 3691 (:REWRITE UBP-LONGER-BETTER))
 (3387 10 (:REWRITE UNSIGNED-BYTE-P-OF-LOGTAIL-STRONG))
 (3090 3044 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (3085 10 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (2794 1006 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (2529 353 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (2307 1358 (:REWRITE DEFAULT-+-2))
 (2288 416 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (2214 2169 (:REWRITE DEFAULT-<-1))
 (2181 2169 (:REWRITE DEFAULT-<-2))
 (1768 208 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (1751 1751 (:REWRITE BOUND-WHEN-USB))
 (1487 1315 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (1483 1313 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (1477 1477 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1459 1459 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (1359 1313 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (1358 1358 (:REWRITE DEFAULT-+-1))
 (1317 1313 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (1140 1140 (:TYPE-PRESCRIPTION POSP))
 (1006 1006 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (801 154 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (700 700 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (624 104 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-2))
 (526 121 (:DEFINITION POSP))
 (468 5 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT-ALT))
 (433 433 (:REWRITE FOLD-CONSTS-IN-+))
 (384 384 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (298 298 (:REWRITE DEFAULT-UNARY-MINUS))
 (241 183 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (225 225 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (225 225 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (175 175 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (76 76 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (47 12 (:REWRITE DEFAULT-*-2))
 (46 12 (:REWRITE DEFAULT-*-1))
 (38 9 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (27 27 (:REWRITE BVCHOP-BOUND))
 (20 20 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (20 20 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (20 20 (:LINEAR <-OF-*-AND-*))
 (19 9 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (8 1 (:REWRITE BVCHOP-OF-*-OF-EXPT-WHEN-<=))
 (6 6 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (6 6 (:REWRITE <-OF-1-AND-EXPT))
 (6 1 (:REWRITE BVCHOP-TIMES-CANCEL-BETTER))
 (4 1 (:REWRITE <-+-CANCEL-2))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT))
 (1 1 (:REWRITE EQUAL-OF-*-AND-CONSTANT))
 )
(SLICE-TIGHTEN-TOP-2
 (517 22 (:REWRITE UNSIGNED-BYTE-P-OF-LOGTAIL-STRONG))
 (126 33 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (122 122 (:REWRITE BOUND-WHEN-USB))
 (121 118 (:REWRITE DEFAULT-<-2))
 (118 118 (:REWRITE DEFAULT-<-1))
 (117 117 (:REWRITE DEFAULT-+-2))
 (117 117 (:REWRITE DEFAULT-+-1))
 (110 58 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (71 66 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (66 66 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (66 66 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (64 16 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (58 58 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (52 13 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (50 10 (:DEFINITION NFIX))
 (46 6 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (46 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (37 37 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (32 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (31 11 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (26 26 (:REWRITE FOLD-CONSTS-IN-+))
 (24 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (24 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (22 22 (:TYPE-PRESCRIPTION NATP))
 (19 19 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (19 19 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (18 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 4 (:REWRITE LOGTAIL-BECOMES-0))
 (14 3 (:REWRITE <-OF-EXPT-AND-EXPT))
 (13 13 (:TYPE-PRESCRIPTION POSP))
 (12 12 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 11 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (11 11 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (9 4 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:REWRITE DEFAULT-UNARY-MINUS))
 (6 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (4 4 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (4 1 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (4 1 (:DEFINITION POSP))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(SLICE-OF-BVCAT-HACK-2
 (7375 98 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (2096 785 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1690 1567 (:REWRITE DEFAULT-+-2))
 (1567 1567 (:REWRITE DEFAULT-+-1))
 (1313 900 (:REWRITE DEFAULT-<-1))
 (905 900 (:REWRITE DEFAULT-<-2))
 (802 785 (:REWRITE UBP-LONGER-BETTER))
 (785 785 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (785 785 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (678 678 (:REWRITE BOUND-WHEN-USB))
 (645 645 (:REWRITE FOLD-CONSTS-IN-+))
 (537 514 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (536 95 (:DEFINITION POSP))
 (435 250 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (410 84 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (389 389 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (388 20 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (357 27 (:REWRITE SLICE-OF-BVCAT-TOO-HIGH))
 (320 40 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (285 255 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (280 280 (:TYPE-PRESCRIPTION POSP))
 (280 250 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (278 278 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (273 250 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (262 262 (:REWRITE DEFAULT-UNARY-MINUS))
 (255 255 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (206 40 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (189 29 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (177 29 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (171 98 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (169 169 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (169 169 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (158 22 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (156 82 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (153 18 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (145 82 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (142 142 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (135 124 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (133 133 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (133 133 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (133 133 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (130 130 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (130 130 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (124 124 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (117 98 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (66 8 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (63 9 (:REWRITE ASSOCIATIVITY-OF-+))
 (61 61 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (54 9 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-2))
 (34 7 (:REWRITE <-+-CANCEL-2))
 (31 31 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (18 18 (:TYPE-PRESCRIPTION MIN))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-0))
 (16 16 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE BVCHOP-BOUND))
 )
(SLICE-OF-BVCAT-LOW-BETTER
 (11 1 (:REWRITE SLICE-OF-BVCAT-TOO-HIGH))
 (9 9 (:REWRITE DEFAULT-<-2))
 (9 9 (:REWRITE DEFAULT-<-1))
 (9 9 (:REWRITE BOUND-WHEN-USB))
 (8 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (8 2 (:DEFINITION POSP))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 2 (:REWRITE COMMUTATIVITY-OF-+))
 (6 1 (:REWRITE SLICE-OF-BVCAT-HACK))
 (6 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE DEFAULT-+-2))
 (4 4 (:REWRITE DEFAULT-+-1))
 (3 3 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (3 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (2 2 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (2 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE SLICE-OF-BVCAT-HACK-2))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (1 1 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 )
(SLICE-OF-BVCAT-HACK-GEN-BETTER
 (415 17 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (349 346 (:REWRITE DEFAULT-+-2))
 (346 346 (:REWRITE DEFAULT-+-1))
 (281 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT-ALL-CASES))
 (258 42 (:DEFINITION POSP))
 (216 199 (:REWRITE DEFAULT-<-1))
 (205 35 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (203 199 (:REWRITE DEFAULT-<-2))
 (193 193 (:REWRITE FOLD-CONSTS-IN-+))
 (169 35 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (165 18 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (162 18 (:REWRITE BVCHOP-IDENTITY))
 (155 155 (:REWRITE BOUND-WHEN-USB))
 (143 84 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (108 15 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (108 15 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (94 20 (:REWRITE SLICE-OUT-OF-ORDER))
 (92 54 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (83 83 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (70 35 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (66 35 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (66 12 (:REWRITE <-OF-+-AND-+-CANCEL-1))
 (65 17 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (64 48 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (59 59 (:TYPE-PRESCRIPTION POSP))
 (52 52 (:REWRITE DEFAULT-UNARY-MINUS))
 (52 12 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (48 48 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (48 48 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (48 48 (:REWRITE UBP-LONGER-BETTER))
 (42 42 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (42 42 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (42 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (42 4 (:REWRITE SLICE-OF-BVCAT-TOO-HIGH))
 (39 24 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (37 1 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (35 18 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (34 4 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (32 32 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (31 17 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (30 30 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (30 6 (:REWRITE <-OF---AND--))
 (30 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (28 17 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (28 1 (:LINEAR BVCHOP-UPPER-BOUND))
 (25 25 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP))
 (24 24 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (24 24 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (24 24 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (24 24 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (23 18 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (20 20 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (20 17 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (20 17 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (19 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (18 18 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (18 18 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (18 18 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (18 18 (:LINEAR EXPT-BOUND-LINEAR))
 (18 17 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (17 17 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (17 17 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (13 4 (:REWRITE SLICE-OF-BVCAT-LOW))
 (12 2 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-2))
 (8 1 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (6 4 (:REWRITE SLICE-OF-BVCAT-HACK))
 (3 3 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (3 3 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 )
(SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-1
 (9 9 (:REWRITE DEFAULT-<-2))
 (9 9 (:REWRITE DEFAULT-<-1))
 (8 8 (:REWRITE BOUND-WHEN-USB))
 (8 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (8 2 (:DEFINITION POSP))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (3 3 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (3 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (2 2 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 )
(SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-2
 (44 2 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (30 25 (:REWRITE DEFAULT-<-1))
 (30 2 (:REWRITE BVCHOP-IDENTITY))
 (25 25 (:REWRITE DEFAULT-<-2))
 (25 25 (:REWRITE DEFAULT-+-2))
 (25 25 (:REWRITE DEFAULT-+-1))
 (22 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (20 20 (:REWRITE BOUND-WHEN-USB))
 (18 18 (:TYPE-PRESCRIPTION MIN))
 (18 4 (:DEFINITION POSP))
 (15 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (13 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (12 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (12 3 (:REWRITE SLICE-OUT-OF-ORDER))
 (11 5 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (9 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (8 8 (:TYPE-PRESCRIPTION NATP))
 (8 8 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (7 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (7 2 (:REWRITE BVCAT-OF-BVCHOP-HIGH))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (6 6 (:REWRITE FOLD-CONSTS-IN-+))
 (6 6 (:REWRITE DEFAULT-UNARY-MINUS))
 (6 6 (:REWRITE +-COMBINE-CONSTANTS))
 (6 3 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (6 3 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (6 2 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (6 2 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (4 4 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 3 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (3 3 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (3 3 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (3 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP))
 (2 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-1))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 )
(SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-3
 (84 4 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (56 8 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (36 4 (:REWRITE SLICE-OUT-OF-ORDER))
 (25 9 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (22 22 (:REWRITE DEFAULT-<-2))
 (22 22 (:REWRITE DEFAULT-<-1))
 (17 17 (:REWRITE BOUND-WHEN-USB))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (13 13 (:REWRITE UBP-LONGER-BETTER))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (11 6 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (8 8 (:REWRITE DEFAULT-+-2))
 (8 8 (:REWRITE DEFAULT-+-1))
 (8 8 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (8 4 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (8 2 (:REWRITE BVCHOP-IDENTITY))
 (8 2 (:DEFINITION POSP))
 (7 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (6 6 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (6 6 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (6 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (6 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (5 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (3 3 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (2 2 (:REWRITE FOLD-CONSTS-IN-+))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (2 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:REWRITE +-COMBINE-CONSTANTS))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-2))
 (1 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-1))
 )
(SLICE-OF-BVCAT-GEN
 (365 365 (:REWRITE DEFAULT-+-2))
 (365 365 (:REWRITE DEFAULT-+-1))
 (344 54 (:DEFINITION POSP))
 (243 40 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (239 40 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (218 218 (:REWRITE FOLD-CONSTS-IN-+))
 (185 98 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (177 163 (:REWRITE DEFAULT-<-1))
 (167 163 (:REWRITE DEFAULT-<-2))
 (144 16 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (123 123 (:REWRITE BOUND-WHEN-USB))
 (114 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (108 15 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (108 15 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (107 7 (:REWRITE BVCHOP-IDENTITY))
 (91 17 (:REWRITE SLICE-OUT-OF-ORDER))
 (90 50 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (80 40 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (77 40 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (74 16 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (67 67 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (66 12 (:REWRITE <-OF-+-AND-+-CANCEL-1))
 (61 61 (:TYPE-PRESCRIPTION POSP))
 (52 52 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (52 52 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (51 6 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (49 33 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (43 43 (:REWRITE DEFAULT-UNARY-MINUS))
 (40 40 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (34 7 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (33 33 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (33 33 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (33 33 (:REWRITE UBP-LONGER-BETTER))
 (30 30 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (30 6 (:REWRITE <-OF---AND--))
 (29 19 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (28 16 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR))
 (19 19 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (19 19 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (19 19 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (19 19 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (18 18 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (18 3 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-2))
 (16 16 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP))
 (16 16 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (14 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (14 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 1 (:REWRITE BVCAT-EQUAL-REWRITE-ALT))
 (12 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (9 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (9 7 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (7 7 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (7 7 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (7 7 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-3))
 (4 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-2))
 (4 1 (:REWRITE BVCAT-EQUAL-REWRITE-NO-FIRST-COMPONENTS-SAME))
 (3 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-1))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 )
(BVCAT-NUMERIC-BOUND2-CORE
 (122 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (40 10 (:DEFINITION POSP))
 (38 38 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (30 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (30 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (29 20 (:REWRITE DEFAULT-<-2))
 (28 20 (:REWRITE DEFAULT-<-1))
 (18 18 (:REWRITE BOUND-WHEN-USB))
 (14 14 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:TYPE-PRESCRIPTION POSP))
 (10 5 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (9 9 (:REWRITE DEFAULT-+-2))
 (9 9 (:REWRITE DEFAULT-+-1))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-NUMERIC-BOUND
 (60 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (38 38 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (32 8 (:DEFINITION POSP))
 (26 17 (:REWRITE DEFAULT-<-2))
 (24 17 (:REWRITE DEFAULT-<-1))
 (24 4 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (24 4 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (15 15 (:REWRITE BOUND-WHEN-USB))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (8 8 (:REWRITE DEFAULT-+-2))
 (8 8 (:REWRITE DEFAULT-+-1))
 (8 4 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (8 4 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-EQUAL-BVCAT
 (428 86 (:REWRITE BVCHOP-IDENTITY))
 (116 116 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (86 86 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (86 86 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (59 59 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (59 59 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (59 59 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (59 59 (:REWRITE UBP-LONGER-BETTER))
 (47 30 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (40 40 (:REWRITE DEFAULT-+-2))
 (40 40 (:REWRITE DEFAULT-+-1))
 (34 34 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (30 30 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (30 30 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (30 30 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (30 30 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (30 30 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (21 21 (:REWRITE DEFAULT-<-2))
 (21 21 (:REWRITE DEFAULT-<-1))
 (20 20 (:REWRITE BOUND-WHEN-USB))
 (15 15 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (14 14 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (7 7 (:REWRITE FOLD-CONSTS-IN-+))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (6 6 (:REWRITE DEFAULT-UNARY-MINUS))
 (5 5 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (5 5 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (4 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 )
(BVCAT-NUMERIC-BOUND-NIL
 (38 38 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (32 8 (:DEFINITION POSP))
 (24 4 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (24 4 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (18 12 (:REWRITE DEFAULT-+-2))
 (17 13 (:REWRITE DEFAULT-<-2))
 (16 13 (:REWRITE DEFAULT-<-1))
 (13 13 (:REWRITE BOUND-WHEN-USB))
 (12 12 (:REWRITE DEFAULT-+-1))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (8 4 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (8 4 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (6 6 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-EQUAL-0-REWRITE2
 (17 2 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (11 8 (:REWRITE DEFAULT-<-1))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (8 8 (:REWRITE DEFAULT-<-2))
 (8 2 (:REWRITE GETBIT-IDENTITY))
 (6 6 (:REWRITE BOUND-WHEN-USB))
 (6 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (5 5 (:REWRITE DEFAULT-+-2))
 (5 5 (:REWRITE DEFAULT-+-1))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-1))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-0))
 (4 2 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (4 1 (:DEFINITION POSP))
 (3 2 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (2 2 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (2 2 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (2 2 (:REWRITE GETBIT-IDENTITY-FREE))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-EQUAL-0-REWRITE))
 (1 1 (:TYPE-PRESCRIPTION POSP))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (1 1 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-COMBINE-CONSTANTS-OLD
 (78 17 (:DEFINITION POSP))
 (66 11 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (51 11 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (28 3 (:REWRITE BVCAT-OF-BVCAT-TRIM-HIGH-ARG))
 (23 23 (:REWRITE DEFAULT-<-2))
 (23 23 (:REWRITE DEFAULT-<-1))
 (21 11 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (20 20 (:REWRITE DEFAULT-+-2))
 (20 20 (:REWRITE DEFAULT-+-1))
 (20 20 (:REWRITE BOUND-WHEN-USB))
 (19 11 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (17 17 (:TYPE-PRESCRIPTION POSP))
 (15 15 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (8 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (8 8 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:REWRITE FOLD-CONSTS-IN-+))
 (4 4 (:REWRITE +-COMBINE-CONSTANTS))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (3 3 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (3 1 (:REWRITE <-OF-+-AND-+-CANCEL-1))
 )
(SLICE-OF-BVCAT-HACK-GEN
 (368 368 (:REWRITE DEFAULT-+-2))
 (368 368 (:REWRITE DEFAULT-+-1))
 (284 44 (:DEFINITION POSP))
 (216 216 (:REWRITE FOLD-CONSTS-IN-+))
 (209 31 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (185 31 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (159 92 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (156 142 (:REWRITE DEFAULT-<-1))
 (152 18 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (146 142 (:REWRITE DEFAULT-<-2))
 (114 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (105 12 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (105 12 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (103 103 (:REWRITE BOUND-WHEN-USB))
 (98 18 (:REWRITE SLICE-OUT-OF-ORDER))
 (96 56 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (74 16 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (62 31 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (60 31 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (58 58 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (51 51 (:TYPE-PRESCRIPTION POSP))
 (51 35 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (51 6 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (45 45 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (45 45 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (36 36 (:REWRITE DEFAULT-UNARY-MINUS))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (35 35 (:REWRITE UBP-LONGER-BETTER))
 (32 32 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (31 18 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (31 7 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (30 20 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (24 24 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (20 20 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (20 20 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (20 20 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (20 20 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (18 18 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (18 3 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-2))
 (16 16 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (16 16 (:LINEAR EXPT-BOUND-LINEAR))
 (15 15 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (14 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (13 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 12 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP))
 (9 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (9 7 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (7 7 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (7 7 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 )
(BVCAT-COMBINE-CONSTANTS
 (66 11 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (58 12 (:DEFINITION POSP))
 (37 3 (:REWRITE BVCAT-OF-BVCAT-TRIM-HIGH-ARG))
 (34 34 (:REWRITE DEFAULT-+-2))
 (34 34 (:REWRITE DEFAULT-+-1))
 (26 11 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (21 11 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (19 19 (:REWRITE DEFAULT-<-2))
 (19 19 (:REWRITE DEFAULT-<-1))
 (19 11 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (16 16 (:REWRITE BOUND-WHEN-USB))
 (15 15 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:TYPE-PRESCRIPTION POSP))
 (10 10 (:REWRITE FOLD-CONSTS-IN-+))
 (10 10 (:REWRITE +-COMBINE-CONSTANTS))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (8 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (8 8 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE BVCAT-COMBINE-CONSTANTS-OLD))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (3 3 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (3 1 (:REWRITE <-OF-+-AND-+-CANCEL-1))
 )
(BVCAT-SUBST-1
 (30 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (18 3 (:DEFINITION NATP))
 (16 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (9 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (8 5 (:REWRITE DEFAULT-<-1))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (5 5 (:REWRITE DEFAULT-<-2))
 (5 1 (:DEFINITION POSP))
 (4 4 (:REWRITE BOUND-WHEN-USB))
 (3 3 (:TYPE-PRESCRIPTION NATP))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (3 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION POSP))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (1 1 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(EQUAL-BVCAT-0-RIGHT
 (8 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (8 2 (:REWRITE BVCHOP-IDENTITY))
 (6 6 (:REWRITE DEFAULT-<-2))
 (6 6 (:REWRITE DEFAULT-<-1))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE BOUND-WHEN-USB))
 (5 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 1 (:DEFINITION POSP))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:REWRITE DEFAULT-+-2))
 (3 3 (:REWRITE DEFAULT-+-1))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (2 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 )
(EQUAL-BVCAT-0-LEFT
 (14 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (8 2 (:REWRITE BVCHOP-IDENTITY))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE DEFAULT-<-2))
 (5 5 (:REWRITE DEFAULT-<-1))
 (5 5 (:REWRITE BOUND-WHEN-USB))
 (5 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 1 (:DEFINITION POSP))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (2 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 )
(BVCAT-ASSOCIATIVE-GEN
 (245 221 (:REWRITE DEFAULT-+-2))
 (242 218 (:REWRITE DEFAULT-<-1))
 (221 221 (:REWRITE DEFAULT-+-1))
 (218 218 (:REWRITE DEFAULT-<-2))
 (203 203 (:REWRITE BOUND-WHEN-USB))
 (126 126 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (118 118 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (107 107 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (107 107 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (107 107 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (107 107 (:REWRITE UBP-LONGER-BETTER))
 (96 54 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (77 11 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (75 75 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (73 73 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (66 66 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (66 66 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (66 35 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (64 35 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (64 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (63 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (62 11 (:REWRITE BVCAT-OF-BVCAT-TRIM-HIGH-ARG))
 (58 58 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (54 54 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (54 54 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (53 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (48 48 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (37 37 (:REWRITE FOLD-CONSTS-IN-+))
 (25 25 (:REWRITE DEFAULT-UNARY-MINUS))
 (22 22 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (17 2 (:REWRITE SLICE-OF-BVCHOP-LOW))
 (16 2 (:REWRITE SLICE-OF-BVCHOP-TIGHTEN))
 (13 2 (:REWRITE SLICE-OF-BVCHOP-TOO-HIGH))
 (12 12 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (12 12 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (12 12 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (12 12 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (12 12 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (11 11 (:REWRITE BVCAT-COMBINE-CONSTANTS-OLD))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-0))
 (8 8 (:TYPE-PRESCRIPTION NATP))
 (8 8 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (8 8 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (8 8 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (8 8 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (8 8 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (7 7 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (7 7 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (6 6 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (6 3 (:REWRITE EQUAL-OF-+-CANCEL-SAME-3))
 (5 5 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (5 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 2 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (2 2 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 )
(LOGTAIL-OF-BVCAT-LOW
 (1495 19 (:REWRITE LOGTAIL-IDENTITY))
 (1341 19 (:REWRITE LOGTAIL-BECOMES-0))
 (228 183 (:REWRITE DEFAULT-<-1))
 (218 164 (:REWRITE DEFAULT-+-2))
 (209 41 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (183 183 (:REWRITE DEFAULT-<-2))
 (181 181 (:REWRITE BOUND-WHEN-USB))
 (173 164 (:REWRITE DEFAULT-+-1))
 (161 161 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (161 161 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (161 161 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (161 161 (:REWRITE UBP-LONGER-BETTER))
 (158 84 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (120 15 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (118 28 (:DEFINITION POSP))
 (112 112 (:TYPE-PRESCRIPTION POSP))
 (107 107 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (103 103 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (102 3 (:REWRITE UNSIGNED-BYTE-P-OF-LOGTAIL-STRONG))
 (99 19 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (98 98 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (93 93 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (87 87 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (87 87 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (84 84 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (84 84 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (54 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (44 32 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (39 12 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (38 38 (:LINEAR EXPT-BOUND-LINEAR))
 (38 19 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (34 34 (:REWRITE FOLD-CONSTS-IN-+))
 (26 26 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (26 26 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (23 23 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (21 21 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (21 21 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (21 21 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (18 6 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (17 17 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (17 17 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (16 16 (:REWRITE UNSIGNED-BYTE-P-0))
 (12 12 (:REWRITE DEFAULT-UNARY-MINUS))
 (11 6 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (11 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN))
 (9 1 (:REWRITE SLICE-OF-BVCHOP-LOW-GEN))
 (9 1 (:REWRITE SLICE-OF-BVCHOP-LOW))
 (8 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (7 1 (:REWRITE SLICE-OF-BVCHOP-TIGHTEN))
 (5 5 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (4 4 (:TYPE-PRESCRIPTION IFIX))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 1 (:REWRITE SLICE-OF-BVCHOP-TOO-HIGH))
 (3 3 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(*-OF-EXPT-AND-/-OF-EXPT-COLLECT
 (122 4 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (107 107 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (107 107 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (47 7 (:REWRITE DEFAULT-*-2))
 (36 7 (:REWRITE DEFAULT-*-1))
 (22 2 (:REWRITE DEFAULT-UNARY-/))
 (22 2 (:REWRITE <-OF-*-OF-/-ARG2-ARG1))
 (20 4 (:REWRITE DEFAULT-<-2))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 2 (:LINEAR FLOOR-UPPER-BOUND-STRONG-LINEAR-CHEAP))
 (8 8 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (8 8 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (8 8 (:LINEAR <-OF-*-AND-*))
 (4 4 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (4 4 (:REWRITE DEFAULT-<-1))
 (4 4 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (3 3 (:TYPE-PRESCRIPTION INTEGERP-OF-*-OF-EXPT2-AND-/-OF-EXPT2-TYPE))
 (3 3 (:REWRITE *-OF-*-COMBINE-CONSTANTS))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE DEFAULT-UNARY-MINUS))
 (1 1 (:REWRITE DEFAULT-+-2))
 (1 1 (:REWRITE DEFAULT-+-1))
 )
(*-OF-HALF-AND-EXPT-OF-ONE-MORE
 (454 454 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (352 15 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (348 68 (:REWRITE DEFAULT-*-2))
 (92 68 (:REWRITE DEFAULT-*-1))
 (74 74 (:REWRITE DEFAULT-+-2))
 (74 74 (:REWRITE DEFAULT-+-1))
 (65 65 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (57 15 (:REWRITE <-OF-1-AND-EXPT))
 (53 38 (:REWRITE DEFAULT-<-2))
 (38 38 (:REWRITE DEFAULT-<-1))
 (36 36 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (36 36 (:LINEAR EXPT-BOUND-LINEAR))
 (30 30 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (30 30 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (30 30 (:LINEAR <-OF-*-AND-*))
 (24 24 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (23 23 (:REWRITE BOUND-WHEN-USB))
 (19 19 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (18 18 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (18 18 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (18 18 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (15 15 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (15 15 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (15 15 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (15 15 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (12 12 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (11 11 (:REWRITE EQUAL-OF---WHEN-VARIABLE))
 (11 11 (:REWRITE EQUAL-OF---AND-CONSTANT))
 (6 6 (:REWRITE EQUAL-OF-*-AND-CONSTANT))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE EQUAL-OF-EXPT-AND-CONSTANT))
 )
(/-OF-EXPT-OF-DIFF
 (59 59 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (28 4 (:REWRITE DEFAULT-UNARY-/))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 3 (:REWRITE DEFAULT-*-2))
 (12 3 (:REWRITE DEFAULT-*-1))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE DEFAULT-+-2))
 (2 2 (:REWRITE DEFAULT-+-1))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-*-OF-EXPT2-AND-/-OF-EXPT2-TYPE))
 )
(LOGTAIL-LOGAPP-BETTER
 (1140 24 (:REWRITE <-OF-*-AND-0))
 (659 27 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (354 261 (:REWRITE DEFAULT-<-1))
 (302 38 (:REWRITE LOGTAIL-BECOMES-0))
 (274 261 (:REWRITE DEFAULT-<-2))
 (234 234 (:REWRITE BOUND-WHEN-USB))
 (202 38 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (180 48 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (168 168 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (150 150 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (142 142 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (142 142 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (140 140 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (140 140 (:REWRITE UBP-LONGER-BETTER))
 (135 21 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (134 30 (:DEFINITION POSP))
 (124 21 (:REWRITE <-OF-1-AND-EXPT))
 (85 85 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (66 6 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (64 18 (:REWRITE DEFAULT-*-2))
 (58 8 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT-ALT))
 (56 8 (:REWRITE BVCHOP-IDENTITY))
 (54 54 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (54 54 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (54 54 (:LINEAR <-OF-*-AND-*))
 (49 49 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (35 35 (:TYPE-PRESCRIPTION POSP))
 (35 35 (:TYPE-PRESCRIPTION NATP))
 (30 6 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (29 29 (:REWRITE DEFAULT-+-2))
 (29 29 (:REWRITE DEFAULT-+-1))
 (28 18 (:REWRITE DEFAULT-*-1))
 (27 27 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (27 27 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (27 27 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (27 27 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (26 26 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (26 26 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (24 3 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (23 23 (:REWRITE DEFAULT-UNARY-MINUS))
 (21 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (21 3 (:REWRITE <-OF-LOGAPP-AND-0))
 (19 19 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (19 19 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (19 19 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (19 3 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (18 18 (:REWRITE <-OF-0-AND-EXPT))
 (17 6 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (15 6 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (14 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (12 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (11 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (11 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 1 (:REWRITE NATP-OF-LOGAPP))
 (9 9 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (7 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (7 7 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (6 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (6 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (6 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (6 6 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (3 3 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (1 1 (:REWRITE +-COMBINE-CONSTANTS))
 )
(LOGTAIL-OF-BVCAT-WHEN-EXTENDS-INTO-UPPER
 (1816 188 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (1135 127 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (360 228 (:REWRITE DEFAULT-<-2))
 (297 297 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (297 297 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (297 297 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (297 297 (:REWRITE UBP-LONGER-BETTER))
 (276 26 (:REWRITE LOGTAIL-BECOMES-0))
 (258 228 (:REWRITE DEFAULT-<-1))
 (240 240 (:REWRITE BOUND-WHEN-USB))
 (229 5 (:REWRITE UNSIGNED-BYTE-P-0))
 (201 26 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (150 25 (:DEFINITION POSP))
 (94 16 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (94 16 (:REWRITE BVCHOP-IDENTITY))
 (88 10 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (80 10 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (68 68 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (65 41 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (60 54 (:REWRITE DEFAULT-+-1))
 (58 58 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (56 56 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (56 56 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (56 56 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (54 54 (:REWRITE DEFAULT-+-2))
 (52 26 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (41 41 (:TYPE-PRESCRIPTION POSP))
 (38 38 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (38 38 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (32 16 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (32 16 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (32 16 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (30 30 (:REWRITE DEFAULT-UNARY-MINUS))
 (30 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (29 16 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (29 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (25 25 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (25 25 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (20 20 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (20 20 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (20 20 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR))
 (20 20 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (18 18 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (18 18 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (16 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (16 16 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (16 16 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 3 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (6 3 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (3 3 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(LOGTAIL-OF-BVCAT
 (1047 16 (:REWRITE LOGTAIL-IDENTITY))
 (760 84 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (504 56 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (242 56 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (164 16 (:REWRITE LOGTAIL-BECOMES-0))
 (161 29 (:DEFINITION POSP))
 (156 108 (:REWRITE DEFAULT-<-2))
 (143 143 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (143 143 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (143 143 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (143 143 (:REWRITE UBP-LONGER-BETTER))
 (119 16 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (114 108 (:REWRITE DEFAULT-<-1))
 (102 102 (:REWRITE BOUND-WHEN-USB))
 (71 11 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (71 11 (:REWRITE BVCHOP-IDENTITY))
 (58 58 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (58 5 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (54 9 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (51 9 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (49 19 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (41 6 (:REWRITE SLICE-OUT-OF-ORDER))
 (40 40 (:TYPE-PRESCRIPTION POSP))
 (39 36 (:REWRITE DEFAULT-+-2))
 (39 36 (:REWRITE DEFAULT-+-1))
 (36 6 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (32 32 (:TYPE-PRESCRIPTION NATP))
 (32 16 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (25 25 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (25 25 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (22 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (22 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (22 11 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (21 11 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (21 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (20 20 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (20 20 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (20 20 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (20 2 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (18 9 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (18 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (16 16 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (16 9 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 15 (:REWRITE DEFAULT-UNARY-MINUS))
 (14 14 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (14 14 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (11 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (11 11 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (11 11 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (11 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (11 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT-ALL-CASES))
 (10 10 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (10 10 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (6 6 (:TYPE-PRESCRIPTION SLICE))
 (6 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (6 6 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (6 6 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (6 6 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (6 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (4 4 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (4 4 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCAT-OF-SLICE-AND-SLICE-ADJACENT-2
 (599 596 (:REWRITE DEFAULT-+-2))
 (596 596 (:REWRITE DEFAULT-+-1))
 (360 30 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (297 297 (:REWRITE FOLD-CONSTS-IN-+))
 (234 108 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (180 136 (:REWRITE DEFAULT-<-1))
 (136 136 (:REWRITE DEFAULT-<-2))
 (116 116 (:REWRITE BOUND-WHEN-USB))
 (108 108 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (108 108 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (108 108 (:REWRITE UBP-LONGER-BETTER))
 (99 99 (:REWRITE DEFAULT-UNARY-MINUS))
 (94 15 (:DEFINITION POSP))
 (69 1 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (60 1 (:LINEAR BVCHOP-UPPER-BOUND))
 (50 30 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (43 5 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (41 41 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (41 41 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (41 41 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (36 36 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (36 36 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (36 36 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (34 34 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (31 31 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (30 30 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (28 7 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (21 11 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (20 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (20 10 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (20 10 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (19 19 (:TYPE-PRESCRIPTION POSP))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (15 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (14 14 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (14 14 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (14 14 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (14 14 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (14 14 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 14 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (14 14 (:LINEAR EXPT-BOUND-LINEAR))
 (14 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (12 12 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (12 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (12 11 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 11 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (11 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (11 11 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 4 (:REWRITE <-OF-+-ARG2-SAME-ARG2))
 (8 1 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (7 7 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (5 1 (:REWRITE <-+-CANCEL-1-ALT))
 (4 4 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (4 4 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (4 1 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (4 1 (:REWRITE <-+-CANCEL-2))
 (2 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-BVCHOP-SAME))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVCAT-OF-SLICE-AND-GETBIT-ADJACENT-2
 (264 261 (:REWRITE DEFAULT-+-2))
 (262 17 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (261 261 (:REWRITE DEFAULT-+-1))
 (127 97 (:REWRITE DEFAULT-<-1))
 (107 107 (:REWRITE FOLD-CONSTS-IN-+))
 (97 97 (:REWRITE DEFAULT-<-2))
 (80 80 (:REWRITE BOUND-WHEN-USB))
 (73 73 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (73 73 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (73 73 (:REWRITE UBP-LONGER-BETTER))
 (59 5 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (57 37 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (53 53 (:REWRITE DEFAULT-UNARY-MINUS))
 (42 42 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (38 19 (:REWRITE GETBIT-WHEN-NOT-1))
 (38 19 (:REWRITE GETBIT-WHEN-NOT-0))
 (36 9 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (28 17 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (28 14 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (27 3 (:REWRITE GETBIT-OF-SLICE-TOO-HIGH))
 (25 14 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (20 20 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (20 20 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (20 20 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (19 19 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (19 19 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (19 19 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (19 9 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (18 18 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (18 18 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (18 17 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (18 9 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (17 17 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (17 17 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (17 9 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (15 15 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (15 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (14 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (13 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (10 10 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (10 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (10 9 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (9 9 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (9 9 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (9 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (9 9 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (9 9 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (9 9 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 1 (:REWRITE GETBIT-IDENTITY))
 (8 8 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (8 1 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (6 6 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (6 3 (:REWRITE GETBIT-OF-SLICE-GEN))
 (5 5 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:REWRITE BVCAT-SUBST-1))
 (3 3 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (2 2 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (2 2 (:REWRITE HIGH-GETBIT-OF-GETBIT-IS-0))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-BVCHOP-SAME))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 )
(BVCAT-OF-GETBIT-AND-SLICE-ADJACENT-2
 (532 513 (:REWRITE DEFAULT-+-2))
 (513 513 (:REWRITE DEFAULT-+-1))
 (230 171 (:REWRITE DEFAULT-<-1))
 (220 220 (:REWRITE FOLD-CONSTS-IN-+))
 (220 20 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (207 207 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (207 207 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (207 207 (:REWRITE UBP-LONGER-BETTER))
 (171 171 (:REWRITE DEFAULT-<-2))
 (154 28 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (146 146 (:REWRITE BOUND-WHEN-USB))
 (112 32 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (91 91 (:REWRITE DEFAULT-UNARY-MINUS))
 (62 62 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (57 32 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (49 28 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (48 48 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (47 47 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (47 47 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (46 32 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (43 32 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (43 32 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (40 10 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (40 5 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (34 34 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (33 33 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (33 33 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (33 33 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (32 32 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (32 32 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (32 32 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (32 32 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (28 28 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (26 26 (:TYPE-PRESCRIPTION POSP))
 (26 26 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (20 10 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (20 10 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (18 18 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (18 18 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (18 18 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (15 15 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (15 3 (:REWRITE <-+-CANCEL-1-ALT))
 (14 14 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (14 7 (:REWRITE GETBIT-WHEN-NOT-1))
 (14 7 (:REWRITE GETBIT-WHEN-NOT-0))
 (12 6 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (12 6 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (10 7 (:REWRITE <-OF-+-ARG2-SAME-ARG2))
 (8 2 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (7 7 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (7 7 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (7 7 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (7 7 (:REWRITE BVCAT-SUBST-1))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (5 5 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (4 4 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (4 1 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (4 1 (:REWRITE <-+-CANCEL-2))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-BVCHOP-SAME))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE HIGH-GETBIT-OF-GETBIT-IS-0))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVCAT-OF-GETBIT-AND-GETBIT-ADJACENT-2
 (62 62 (:REWRITE DEFAULT-+-2))
 (62 62 (:REWRITE DEFAULT-+-1))
 (22 11 (:REWRITE GETBIT-WHEN-NOT-1))
 (22 11 (:REWRITE GETBIT-WHEN-NOT-0))
 (16 16 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (16 16 (:REWRITE DEFAULT-UNARY-MINUS))
 (16 8 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (16 8 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (16 4 (:REWRITE BVCHOP-IDENTITY))
 (15 8 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (15 3 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (14 8 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (12 3 (:DEFINITION POSP))
 (11 11 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (11 11 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (11 11 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (11 11 (:REWRITE DEFAULT-<-2))
 (11 11 (:REWRITE DEFAULT-<-1))
 (11 11 (:REWRITE BOUND-WHEN-USB))
 (10 10 (:REWRITE FOLD-CONSTS-IN-+))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (7 7 (:REWRITE BVCAT-SUBST-1))
 (7 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (7 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (6 6 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (6 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (5 5 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (5 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (4 4 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (4 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (3 3 (:TYPE-PRESCRIPTION SLICE))
 (3 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (3 3 (:REWRITE HIGH-GETBIT-OF-GETBIT-IS-0))
 (3 3 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCAT-OF-SLICE-AND-X-ADJACENT-2
 (282 8 (:REWRITE UNSIGNED-BYTE-P-0))
 (281 254 (:REWRITE DEFAULT-+-2))
 (269 127 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (254 254 (:REWRITE DEFAULT-+-1))
 (191 113 (:REWRITE DEFAULT-<-1))
 (127 127 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (127 127 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (127 127 (:REWRITE UBP-LONGER-BETTER))
 (115 113 (:REWRITE DEFAULT-<-2))
 (110 62 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (104 104 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (95 62 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (88 88 (:REWRITE FOLD-CONSTS-IN-+))
 (88 88 (:REWRITE BOUND-WHEN-USB))
 (72 9 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (70 8 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (69 69 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (68 68 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (68 68 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (62 62 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (62 62 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (62 62 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (62 62 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (55 43 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (54 10 (:DEFINITION POSP))
 (51 9 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (42 42 (:TYPE-PRESCRIPTION IFIX))
 (41 4 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (41 4 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (34 34 (:REWRITE DEFAULT-UNARY-MINUS))
 (24 24 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (24 24 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (24 24 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (23 23 (:TYPE-PRESCRIPTION POSP))
 (20 20 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (19 10 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (18 18 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (18 18 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (18 18 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (18 10 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (17 17 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (17 17 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (16 9 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (10 10 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (10 10 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (9 9 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (8 2 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (2 2 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVCAT-OF-GETBIT-AND-X-ADJACENT-2
 (122 116 (:REWRITE DEFAULT-+-2))
 (116 116 (:REWRITE DEFAULT-+-1))
 (116 12 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (72 38 (:REWRITE DEFAULT-<-1))
 (42 42 (:TYPE-PRESCRIPTION IFIX))
 (41 4 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (41 4 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (40 38 (:REWRITE DEFAULT-<-2))
 (34 7 (:DEFINITION POSP))
 (32 32 (:REWRITE FOLD-CONSTS-IN-+))
 (28 2 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (24 24 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (24 24 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (24 24 (:REWRITE UBP-LONGER-BETTER))
 (24 15 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (22 22 (:REWRITE BOUND-WHEN-USB))
 (20 20 (:REWRITE DEFAULT-UNARY-MINUS))
 (19 19 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (18 15 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (18 15 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 16 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (16 16 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 15 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (15 15 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (15 15 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (15 15 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (15 15 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (15 8 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (14 8 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (14 2 (:REWRITE GETBIT-IDENTITY))
 (12 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-1))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-0))
 (10 10 (:TYPE-PRESCRIPTION POSP))
 (10 10 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (10 10 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (10 10 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 4 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (8 4 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (6 6 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (6 6 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (6 6 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (5 5 (:REWRITE BVCAT-SUBST-1))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-0))
 (4 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (3 3 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (2 2 (:TYPE-PRESCRIPTION BITP))
 (2 2 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (2 2 (:REWRITE HIGH-GETBIT-OF-GETBIT-IS-0))
 (2 2 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVCAT-OF-GETBIT-AND-BVCHOP-ADJACENT-2
 (50 8 (:REWRITE <-OF-+-AND-+-CANCEL-1))
 (42 42 (:TYPE-PRESCRIPTION IFIX))
 (42 5 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (42 5 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (39 10 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (37 3 (:REWRITE BVCHOP-IDENTITY))
 (28 6 (:DEFINITION POSP))
 (27 20 (:REWRITE DEFAULT-<-1))
 (22 20 (:REWRITE DEFAULT-<-2))
 (22 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (18 10 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (17 17 (:REWRITE DEFAULT-+-2))
 (17 17 (:REWRITE DEFAULT-+-1))
 (15 10 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (15 10 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (12 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (11 11 (:REWRITE BOUND-WHEN-USB))
 (10 10 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (10 10 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (8 8 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (8 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (8 8 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (7 7 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:REWRITE FOLD-CONSTS-IN-+))
 (6 6 (:REWRITE +-COMBINE-CONSTANTS))
 (6 3 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (5 5 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP))
 (4 4 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (4 4 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (3 3 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE BVCAT-SUBST-1))
 (2 2 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-OF-SLICE-AND-BVCHOP-ADJACENT-2
 (51 51 (:REWRITE DEFAULT-+-2))
 (51 51 (:REWRITE DEFAULT-+-1))
 (50 8 (:REWRITE <-OF-+-AND-+-CANCEL-1))
 (42 42 (:TYPE-PRESCRIPTION IFIX))
 (42 5 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (42 5 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (40 8 (:DEFINITION POSP))
 (39 10 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (37 3 (:REWRITE BVCHOP-IDENTITY))
 (31 24 (:REWRITE DEFAULT-<-1))
 (30 30 (:REWRITE +-COMBINE-CONSTANTS))
 (29 10 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (28 28 (:REWRITE FOLD-CONSTS-IN-+))
 (26 24 (:REWRITE DEFAULT-<-2))
 (22 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (18 10 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (15 15 (:REWRITE BOUND-WHEN-USB))
 (15 10 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (13 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (12 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (12 12 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (9 9 (:TYPE-PRESCRIPTION POSP))
 (9 9 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (8 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (8 8 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (7 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (6 3 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (5 5 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (5 5 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (3 3 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:TYPE-PRESCRIPTION SLICE))
 (2 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (2 2 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (2 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (2 2 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (2 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-OF-GETBIT-HIGH-TIGHTEN
 (25 25 (:REWRITE DEFAULT-+-2))
 (25 25 (:REWRITE DEFAULT-+-1))
 (20 5 (:DEFINITION POSP))
 (18 9 (:REWRITE GETBIT-WHEN-NOT-1))
 (18 9 (:REWRITE GETBIT-WHEN-NOT-0))
 (16 4 (:REWRITE BVCHOP-IDENTITY))
 (15 15 (:REWRITE DEFAULT-<-2))
 (15 15 (:REWRITE DEFAULT-<-1))
 (15 15 (:REWRITE BOUND-WHEN-USB))
 (14 14 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 7 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (12 6 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (11 7 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (11 6 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (9 9 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (9 9 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (9 9 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (7 7 (:REWRITE DEFAULT-UNARY-MINUS))
 (7 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (7 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (6 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (4 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:REWRITE BVCAT-SUBST-1))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE HIGH-GETBIT-OF-GETBIT-IS-0))
 (2 2 (:REWRITE FOLD-CONSTS-IN-+))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-OF-BVCAT-HIGH-TIGHTEN
 (44 14 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (40 10 (:DEFINITION POSP))
 (34 14 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (33 33 (:REWRITE DEFAULT-+-2))
 (33 33 (:REWRITE DEFAULT-+-1))
 (26 14 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (24 14 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (19 19 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (16 16 (:REWRITE DEFAULT-<-2))
 (16 16 (:REWRITE DEFAULT-<-1))
 (16 16 (:REWRITE BOUND-WHEN-USB))
 (10 10 (:TYPE-PRESCRIPTION POSP))
 (10 10 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (7 7 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (6 6 (:REWRITE FOLD-CONSTS-IN-+))
 (6 6 (:REWRITE +-COMBINE-CONSTANTS))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-WHEN-LOWSIZE-IS-NOT-POSITIVE
 (44 6 (:REWRITE BVCHOP-IDENTITY))
 (20 8 (:REWRITE DEFAULT-<-2))
 (16 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (16 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (12 12 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (11 8 (:REWRITE DEFAULT-<-1))
 (10 10 (:TYPE-PRESCRIPTION NATP))
 (9 9 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 1 (:REWRITE LOGTAIL-IDENTITY))
 (8 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (8 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (8 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (8 2 (:DEFINITION NATP))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (6 6 (:REWRITE UBP-LONGER-BETTER))
 (6 6 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (6 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 6 (:REWRITE BOUND-WHEN-USB))
 (6 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (6 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (5 5 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (5 5 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (3 2 (:REWRITE DEFAULT-*-2))
 (3 2 (:REWRITE DEFAULT-*-1))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 )
(BVCAT-NORMALIZE-CONSTANT-ARG2
 (30 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (14 11 (:REWRITE DEFAULT-<-2))
 (13 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (11 11 (:REWRITE DEFAULT-<-1))
 (10 1 (:REWRITE BVCAT-OF-BVCHOP-HIGH))
 (9 9 (:REWRITE BOUND-WHEN-USB))
 (9 2 (:DEFINITION POSP))
 (8 8 (:TYPE-PRESCRIPTION NATP))
 (8 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (8 2 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (7 2 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (6 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (6 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (5 5 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (5 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (3 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (3 1 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (1 1 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER
 (15 3 (:REWRITE BVCHOP-IDENTITY))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 1 (:REWRITE DEFAULT-<-2))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (3 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE DEFAULT-<-1))
 (1 1 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-NORMALIZE-CONSTANT-ARG4
 (30 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (9 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (9 2 (:DEFINITION POSP))
 (8 8 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (7 7 (:REWRITE DEFAULT-<-2))
 (7 7 (:REWRITE DEFAULT-<-1))
 (7 7 (:REWRITE BOUND-WHEN-USB))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 1 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:TYPE-PRESCRIPTION NATP))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (3 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (2 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (1 1 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (1 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (1 1 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE BVCHOP-IDENTITY))
 )
(SPLIT-BV
 (93 3 (:REWRITE BVCAT-OF-SLICE-AND-X-ADJACENT))
 (58 58 (:REWRITE DEFAULT-+-2))
 (58 58 (:REWRITE DEFAULT-+-1))
 (31 4 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (31 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (27 6 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (24 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (18 3 (:DEFINITION POSP))
 (17 17 (:REWRITE FOLD-CONSTS-IN-+))
 (13 13 (:REWRITE DEFAULT-<-2))
 (13 13 (:REWRITE DEFAULT-<-1))
 (13 13 (:REWRITE BOUND-WHEN-USB))
 (11 4 (:REWRITE SLICE-OUT-OF-ORDER))
 (10 10 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (10 10 (:REWRITE DEFAULT-UNARY-MINUS))
 (7 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (7 7 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (7 1 (:REWRITE BVCHOP-IDENTITY))
 (6 6 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 6 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (6 6 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (6 6 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (6 3 (:REWRITE UBP-LONGER-BETTER))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (4 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 1 (:REWRITE <-OF-EXPT-AND-EXPT))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (1 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (1 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (1 1 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (1 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCHOP-SUBST-CONSTANT))
 )
(UNSIGNED-BYTE-P-OF-MOD-OF-EXPT
 (39 1 (:REWRITE MOD-WHEN-INTEGERP-OF-QUOTIENT))
 (28 1 (:REWRITE UNSIGNED-BYTE-P-OF-MOD))
 (27 1 (:REWRITE MOD-WHEN-<))
 (25 1 (:REWRITE MOD-WHEN-MULTIPLE))
 (22 1 (:DEFINITION UNSIGNED-BYTE-P))
 (19 1 (:DEFINITION INTEGER-RANGE-P))
 (16 2 (:REWRITE INTEGERP-OF-*))
 (14 2 (:REWRITE DEFAULT-UNARY-/))
 (9 6 (:REWRITE DEFAULT-<-2))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (8 2 (:REWRITE DEFAULT-*-2))
 (8 1 (:REWRITE INTEGERP-OF-/-OF-EXPT-2))
 (7 2 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:REWRITE DEFAULT-<-1))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 1 (:REWRITE THIS-NEEDS-TO-BE-ADDED-TO-QUOTIENT-REMAINDER-LEMMAS))
 (4 1 (:REWRITE MOD-WHEN-RATIONALP-ARG1-AND-NOT-RATIONALP-ARG2))
 (4 1 (:REWRITE MOD-WHEN-NOT-ACL2-NUMBERP-ARG2))
 (3 3 (:REWRITE BOUND-WHEN-USB))
 (3 1 (:REWRITE MOD-WHEN-<-OF-0))
 (3 1 (:REWRITE <-OF-EXPT-AND-EXPT))
 (2 2 (:REWRITE INTEGERP-OF-POWER2-HACK))
 (2 2 (:REWRITE DEFAULT-*-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE MOD-WHEN-NOT-RATIONALP-ARG1-AND-RATIONALP-ARG2))
 (1 1 (:REWRITE MOD-WHEN-NOT-ACL2-NUMBERP-ARG1))
 (1 1 (:REWRITE MOD-WHEN-EQUAL-OF-MOD-AND-0-FREE-CHEAP))
 )
(EQUAL-OF-BVCHOP-AND-BVCHOP-WHEN-UNSIGNED-BYTE-P-OF-BVCHOP
 (131 19 (:REWRITE BVCHOP-IDENTITY))
 (64 16 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (28 22 (:REWRITE DEFAULT-<-1))
 (28 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (22 22 (:REWRITE DEFAULT-<-2))
 (22 22 (:REWRITE BOUND-WHEN-USB))
 (19 19 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (18 18 (:REWRITE UBP-LONGER-BETTER))
 (16 16 (:TYPE-PRESCRIPTION POSP))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 16 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (16 16 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (16 16 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (16 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (14 14 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (13 3 (:REWRITE UNSIGNED-BYTE-P-0))
 (13 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (9 9 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (8 2 (:REWRITE DEFAULT-+-2))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE DEFAULT-+-1))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 )
(EQUAL-OF-BVCHOP-AND-BVCHOP-SAME
 (2171 327 (:REWRITE BVCHOP-IDENTITY))
 (1004 305 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (566 566 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (526 394 (:REWRITE DEFAULT-<-1))
 (524 305 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (400 400 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (400 400 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (400 400 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (400 400 (:REWRITE UBP-LONGER-BETTER))
 (394 394 (:REWRITE DEFAULT-<-2))
 (394 394 (:REWRITE BOUND-WHEN-USB))
 (352 44 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (327 327 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (327 327 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (305 305 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (305 305 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (305 305 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (305 305 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (277 43 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (269 269 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (256 124 (:REWRITE DEFAULT-+-2))
 (253 253 (:TYPE-PRESCRIPTION POSP))
 (124 124 (:REWRITE DEFAULT-+-1))
 (97 19 (:REWRITE LOGTAIL-BECOMES-0))
 (94 19 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (89 89 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (60 15 (:DEFINITION POSP))
 (44 44 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (44 44 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (44 44 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (38 19 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (33 33 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (27 27 (:REWRITE FOLD-CONSTS-IN-+))
 (24 24 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (22 22 (:REWRITE UNSIGNED-BYTE-P-0))
 (9 9 (:REWRITE DEFAULT-UNARY-MINUS))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (7 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (7 7 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(UNSIGNED-BYTE-P-OF-BVCHOP-TIGHTER
 (196 196 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (122 14 (:REWRITE SLICE-OUT-OF-ORDER))
 (106 34 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (98 14 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (87 69 (:REWRITE DEFAULT-<-1))
 (84 62 (:REWRITE DEFAULT-+-2))
 (74 62 (:REWRITE DEFAULT-+-1))
 (69 69 (:REWRITE DEFAULT-<-2))
 (66 6 (:REWRITE /R-WHEN-ABS-NUMERATOR=1))
 (64 64 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (64 64 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (64 64 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (64 64 (:REWRITE UBP-LONGER-BETTER))
 (61 61 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (61 35 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (60 34 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (58 10 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (54 54 (:REWRITE BOUND-WHEN-USB))
 (48 9 (:REWRITE NATP-POSP))
 (48 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (38 38 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (36 35 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (36 6 (:REWRITE DEFAULT-*-1))
 (35 35 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (35 35 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (34 34 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (34 34 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (34 34 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (30 15 (:REWRITE NATP-RW))
 (30 15 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (30 15 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (30 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (28 14 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (24 6 (:REWRITE DEFAULT-*-2))
 (21 9 (:REWRITE POSP-RW))
 (21 3 (:REWRITE DEFAULT-UNARY-/))
 (17 17 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (16 15 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (15 15 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (15 15 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (15 15 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (15 15 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (15 15 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (15 15 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (15 15 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (15 15 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (15 15 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (15 15 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (15 15 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (15 15 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (15 15 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (14 14 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (12 12 (:REWRITE DEFAULT-UNARY-MINUS))
 (12 12 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (12 3 (:REWRITE NUMERATOR-WHEN-INTEGERP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (8 8 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (8 8 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (6 6 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (6 6 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (6 6 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (6 6 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 3 (:REWRITE EQUAL-OF-1-AND-EXPT))
 (4 4 (:REWRITE FOLD-CONSTS-IN-+))
 (4 4 (:REWRITE +-COMBINE-CONSTANTS))
 (3 3 (:TYPE-PRESCRIPTION INTEGERP-OF-*-OF-EXPT2-AND-/-OF-EXPT2-TYPE))
 (3 3 (:REWRITE FOLD-CONSTS-IN-*))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 )
(BVCAT-SPECIAL-OPENER
 (227 6 (:REWRITE MOD-WHEN-INTEGERP-OF-QUOTIENT))
 (111 6 (:REWRITE MOD-WHEN-MULTIPLE))
 (98 98 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (98 98 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (80 8 (:REWRITE /R-WHEN-ABS-NUMERATOR=1))
 (47 47 (:TYPE-PRESCRIPTION NONNEG-OF-MOD-TYPE))
 (38 8 (:REWRITE MULTIPLE-WHEN-MOD-0-CHEAP))
 (38 6 (:REWRITE MOD-WHEN-<))
 (36 8 (:REWRITE INTEGERP-OF-*))
 (36 8 (:REWRITE INTEGERP-+-MINUS-*))
 (36 8 (:REWRITE COMMUTATIVITY-OF-*))
 (33 6 (:REWRITE DEFAULT-+-2))
 (32 17 (:REWRITE DEFAULT-*-2))
 (32 4 (:REWRITE INTEGERP-OF-/-OF-EXPT-2))
 (31 25 (:REWRITE DEFAULT-<-2))
 (29 17 (:REWRITE DEFAULT-*-1))
 (28 25 (:REWRITE DEFAULT-<-1))
 (28 4 (:REWRITE DEFAULT-UNARY-/))
 (27 6 (:REWRITE DEFAULT-+-1))
 (18 6 (:REWRITE THIS-NEEDS-TO-BE-ADDED-TO-QUOTIENT-REMAINDER-LEMMAS))
 (18 6 (:REWRITE MOD-WHEN-RATIONALP-ARG1-AND-NOT-RATIONALP-ARG2))
 (18 6 (:REWRITE MOD-WHEN-NOT-ACL2-NUMBERP-ARG2))
 (17 17 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (14 14 (:REWRITE BOUND-WHEN-USB))
 (14 6 (:REWRITE MOD-WHEN-<-OF-0))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (11 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (8 2 (:REWRITE NUMERATOR-WHEN-INTEGERP))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (7 1 (:REWRITE BVCHOP-IDENTITY))
 (6 6 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (6 6 (:REWRITE MOD-WHEN-NOT-RATIONALP-ARG1-AND-RATIONALP-ARG2))
 (6 6 (:REWRITE MOD-WHEN-NOT-ACL2-NUMBERP-ARG1))
 (6 6 (:REWRITE MOD-WHEN-EQUAL-OF-MOD-AND-0-FREE-CHEAP))
 (6 2 (:LINEAR EXPT->-1))
 (4 4 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 2 (:REWRITE NATP-RW))
 (4 2 (:REWRITE EQUAL-OF-1-AND-EXPT))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE MOD-OF-2-WHEN-EVEN-CHEAP))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (2 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (1 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (1 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (1 1 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (1 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (1 1 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-WHEN-EQUAL-OF-GETBIT-0-LOW
 (21 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (16 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (14 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (8 8 (:TYPE-PRESCRIPTION NATP))
 (8 8 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 4 (:REWRITE NATP-RW))
 (7 1 (:REWRITE NATP-POSP))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 1 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (3 3 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (3 3 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (3 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 1 (:REWRITE POSP-RW))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-POSITIVE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-NONZERO))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-INTEGERP))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE DEFAULT-<-2))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-WHEN-EQUAL-OF-GETBIT-0-HIGH
 (21 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (16 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (14 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (8 8 (:TYPE-PRESCRIPTION NATP))
 (8 8 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 4 (:REWRITE NATP-RW))
 (7 1 (:REWRITE NATP-POSP))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 1 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (3 3 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCAT-SUBST-1))
 (3 3 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (3 3 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (3 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 1 (:REWRITE POSP-RW))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-POSITIVE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-NONZERO))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-INTEGERP))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE DEFAULT-<-2))
 (1 1 (:REWRITE BVCAT-OF-GETBIT-HIGH-TIGHTEN))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(SPLIT-WITH-BVCAT
 (177 9 (:REWRITE BVCHOP-IDENTITY))
 (120 16 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (48 33 (:REWRITE DEFAULT-+-2))
 (40 10 (:REWRITE DEFAULT-*-2))
 (40 10 (:REWRITE DEFAULT-*-1))
 (39 38 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (36 33 (:REWRITE DEFAULT-+-1))
 (33 25 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (25 25 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (25 25 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (25 25 (:REWRITE UBP-LONGER-BETTER))
 (24 10 (:REWRITE DEFAULT-<-1))
 (24 3 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (21 9 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (17 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (16 2 (:REWRITE NATP-RW))
 (14 14 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (12 10 (:REWRITE DEFAULT-<-2))
 (12 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (11 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (11 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (11 9 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 9 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 3 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (10 1 (:REWRITE EXPONENTS-ADD-FOR-NONNEG-EXPONENTS))
 (9 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (9 9 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (9 9 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (9 2 (:REWRITE NATP-POSP))
 (9 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (8 8 (:REWRITE FOLD-CONSTS-IN-+))
 (8 8 (:REWRITE +-COMBINE-CONSTANTS))
 (7 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (6 6 (:TYPE-PRESCRIPTION NATP))
 (6 6 (:REWRITE BOUND-WHEN-USB))
 (6 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (5 2 (:REWRITE POSP-RW))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (4 4 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (4 4 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (4 4 (:LINEAR <-OF-*-AND-*))
 (3 3 (:REWRITE DEFAULT-UNARY-MINUS))
 (3 3 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (3 3 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (3 3 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (2 2 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (2 2 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (2 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCHOP-WHEN-TOP-BIT-1
 (1071 34 (:REWRITE MOD-WHEN-MULTIPLE))
 (488 68 (:REWRITE INTEGERP-OF-*))
 (488 68 (:REWRITE INTEGERP-+-MINUS-*))
 (375 114 (:REWRITE DEFAULT-*-2))
 (336 36 (:REWRITE INTEGERP-OF-/-OF-EXPT-2))
 (327 276 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (319 193 (:REWRITE DEFAULT-<-2))
 (284 36 (:REWRITE DEFAULT-UNARY-/))
 (234 193 (:REWRITE DEFAULT-<-1))
 (182 82 (:REWRITE DEFAULT-+-2))
 (179 114 (:REWRITE DEFAULT-*-1))
 (175 38 (:REWRITE MOD-WHEN-<-OF-0))
 (152 82 (:REWRITE DEFAULT-+-1))
 (129 33 (:REWRITE MOD-WHEN-RATIONALP-ARG1-AND-NOT-RATIONALP-ARG2))
 (129 23 (:REWRITE EQUAL-OF-1-AND-EXPT))
 (124 38 (:REWRITE THIS-NEEDS-TO-BE-ADDED-TO-QUOTIENT-REMAINDER-LEMMAS))
 (115 33 (:REWRITE MOD-WHEN-NOT-ACL2-NUMBERP-ARG2))
 (107 13 (:LINEAR MOD-BOUND-LINEAR-ARG1))
 (106 106 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (106 106 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (100 10 (:REWRITE INTEGERP-OF-EXPT-WHEN-NATP))
 (100 3 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (96 96 (:REWRITE BOUND-WHEN-USB))
 (90 10 (:REWRITE /-OF-EXPT-OF-DIFF))
 (82 26 (:REWRITE MULTIPLE-WHEN-MOD-0-CHEAP))
 (79 6 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (78 78 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (72 72 (:TYPE-PRESCRIPTION |x < y  =>  0 < y-x|))
 (51 51 (:REWRITE EXPONENTS-ADD-FOR-NONNEG-EXPONENTS))
 (51 51 (:REWRITE EXPONENTS-ADD))
 (47 33 (:REWRITE MOD-WHEN-NOT-RATIONALP-ARG1-AND-RATIONALP-ARG2))
 (47 33 (:REWRITE MOD-WHEN-NOT-ACL2-NUMBERP-ARG1))
 (46 9 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (40 10 (:REWRITE <-+-NEGATIVE-0-2))
 (32 32 (:REWRITE INTEGERP-OF-POWER2-HACK))
 (30 3 (:REWRITE SLICE-OUT-OF-ORDER))
 (25 6 (:REWRITE NORMALIZE-EQUAL-0))
 (22 1 (:LINEAR X*Y>1-POSITIVE))
 (18 11 (:REWRITE MOD-OF-2-WHEN-EVEN-CHEAP))
 (17 17 (:TYPE-PRESCRIPTION NONNEG-OF-MOD-TYPE))
 (16 16 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (16 16 (:REWRITE DEFAULT-UNARY-MINUS))
 (15 3 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (13 6 (:REWRITE EQUAL-MINUS-MINUS))
 (10 1 (:REWRITE NATP-POSP))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (9 9 (:REWRITE UBP-LONGER-BETTER))
 (7 7 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (7 3 (:REWRITE <-UNARY-/-POSITIVE-RIGHT))
 (7 1 (:REWRITE POSP-RW))
 (6 3 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (6 3 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (6 3 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (6 3 (:REWRITE GETBIT-WHEN-NOT-1))
 (6 3 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (6 3 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (6 1 (:REWRITE <-OF-1-AND-EXPT))
 (5 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (3 3 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (3 3 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (3 3 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (2 2 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (2 2 (:REWRITE EQUAL-CONSTANT-+))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE <-UNARY-/-NEGATIVE-RIGHT))
 (2 2 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (2 2 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (2 2 (:LINEAR <-OF-*-AND-*))
 (1 1 (:REWRITE EQUAL-OF-EXPT-AND-CONSTANT))
 (1 1 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (1 1 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (1 1 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (1 1 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (1 1 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 )
(BVCHOP-WHEN-TOP-BIT-1-CHEAP)
(BVCHOP-WHEN-TOP-BIT-NOT-1
 (595 31 (:REWRITE BVCHOP-IDENTITY))
 (378 28 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (261 63 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (189 158 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (141 54 (:REWRITE DEFAULT-<-1))
 (116 46 (:REWRITE DEFAULT-+-2))
 (104 13 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (71 46 (:REWRITE DEFAULT-+-1))
 (63 63 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (63 63 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (63 63 (:REWRITE UBP-LONGER-BETTER))
 (59 31 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (59 30 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (54 54 (:REWRITE DEFAULT-<-2))
 (45 31 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (43 30 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (43 30 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (33 33 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (32 2 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (31 31 (:REWRITE EXPONENTS-ADD-FOR-NONNEG-EXPONENTS))
 (31 31 (:REWRITE EXPONENTS-ADD))
 (31 31 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (31 31 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (31 31 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (31 31 (:REWRITE BOUND-WHEN-USB))
 (30 6 (:REWRITE DEFAULT-*-2))
 (29 29 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (29 29 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (29 29 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (28 2 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (21 21 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (21 21 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (14 14 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (14 14 (:REWRITE <-UNARY-/-POSITIVE-RIGHT))
 (14 14 (:REWRITE <-UNARY-/-NEGATIVE-RIGHT))
 (14 2 (:REWRITE GETBIT-IDENTITY))
 (11 7 (:REWRITE GETBIT-WHEN-NOT-0))
 (10 1 (:REWRITE NATP-POSP))
 (8 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (7 1 (:REWRITE POSP-RW))
 (6 6 (:REWRITE DEFAULT-*-1))
 (6 3 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (6 3 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (6 1 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (5 1 (:REWRITE NORMALIZE-EQUAL-0))
 (4 3 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (4 3 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (3 3 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 1 (:REWRITE EQUAL-MINUS-MINUS))
 (2 2 (:TYPE-PRESCRIPTION BITP))
 (2 2 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE DEFAULT-UNARY-MINUS))
 )
(BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE
 (164 8 (:REWRITE BVCHOP-IDENTITY))
 (108 8 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (68 16 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (50 40 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (38 14 (:REWRITE DEFAULT-<-1))
 (34 12 (:REWRITE DEFAULT-+-2))
 (32 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (32 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (22 6 (:REWRITE <-0-+-NEGATIVE-1))
 (20 12 (:REWRITE DEFAULT-+-1))
 (16 16 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (16 16 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (16 16 (:REWRITE UBP-LONGER-BETTER))
 (16 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (16 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (14 14 (:REWRITE DEFAULT-<-2))
 (12 8 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (12 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (12 8 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 10 (:REWRITE EXPONENTS-ADD-FOR-NONNEG-EXPONENTS))
 (10 10 (:REWRITE EXPONENTS-ADD))
 (10 2 (:REWRITE DEFAULT-*-2))
 (8 8 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (8 8 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (8 8 (:REWRITE BOUND-WHEN-USB))
 (8 8 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (8 8 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (4 4 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (4 4 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-RATIONALP))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE <-UNARY-/-POSITIVE-RIGHT))
 (4 4 (:REWRITE <-UNARY-/-NEGATIVE-RIGHT))
 (2 2 (:REWRITE DEFAULT-*-1))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-0))
 )
(BVCHOP-REDUCE-WHEN-TOP-BIT-KNOWN
 (50 8 (:REWRITE BVCHOP-IDENTITY))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 4 (:REWRITE DEFAULT-+-2))
 (8 8 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (8 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (8 8 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (8 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (8 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (8 8 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (8 2 (:REWRITE DEFAULT-<-1))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (7 7 (:REWRITE UBP-LONGER-BETTER))
 (7 1 (:REWRITE NATP-POSP))
 (4 4 (:REWRITE DEFAULT-+-1))
 (4 4 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (3 3 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-HIGH))
 (3 3 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCAT-SUBST-1))
 (3 3 (:REWRITE BVCAT-OF-GETBIT-HIGH-TIGHTEN))
 (3 3 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (3 3 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 1 (:REWRITE POSP-RW))
 (2 1 (:REWRITE NATP-RW))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 )
(BVCHOP-NOT-0-WHEN-GETBIT-NOT-0
 (44 6 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (25 13 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (23 14 (:REWRITE DEFAULT-<-1))
 (23 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (21 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (14 14 (:REWRITE DEFAULT-<-2))
 (14 8 (:REWRITE DEFAULT-+-2))
 (13 13 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (10 10 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (10 8 (:REWRITE DEFAULT-+-1))
 (10 1 (:REWRITE NATP-POSP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 8 (:REWRITE UBP-LONGER-BETTER))
 (7 1 (:REWRITE POSP-RW))
 (5 1 (:REWRITE NORMALIZE-EQUAL-0))
 (4 4 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-1))
 (4 2 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (4 2 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (3 3 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (3 3 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 2 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE EQUAL-MINUS-MINUS))
 (3 1 (:REWRITE <-0-+-NEGATIVE-1))
 (3 1 (:REWRITE +-COMBINE-CONSTANTS))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (1 1 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-RATIONALP))
 (1 1 (:REWRITE RIGHT-CANCELLATION-FOR-+))
 (1 1 (:REWRITE EQUAL-CONSTANT-+))
 (1 1 (:REWRITE DEFAULT-UNARY-MINUS))
 (1 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (1 1 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-HIGH))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-SUBST-1))
 (1 1 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (1 1 (:REWRITE <-UNARY-/-POSITIVE-RIGHT))
 (1 1 (:REWRITE <-UNARY-/-NEGATIVE-RIGHT))
 )
(BVCHOP-NOT-0-WHEN-LOW-BIT-NOT-0
 (42 6 (:REWRITE BVCHOP-IDENTITY))
 (33 6 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (22 16 (:REWRITE DEFAULT-+-2))
 (19 4 (:REWRITE NATP-POSP))
 (17 4 (:REWRITE NORMALIZE-EQUAL-0))
 (16 16 (:REWRITE DEFAULT-+-1))
 (16 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (16 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (14 5 (:REWRITE DEFAULT-<-1))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (11 4 (:REWRITE POSP-RW))
 (9 9 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 4 (:REWRITE EQUAL-MINUS-MINUS))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 8 (:REWRITE UBP-LONGER-BETTER))
 (8 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (6 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (6 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (6 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (6 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (6 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (6 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (6 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (5 5 (:REWRITE DEFAULT-<-2))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 4 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (3 3 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (3 3 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (3 1 (:REWRITE <-0-+-NEGATIVE-1))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 1 (:REWRITE NATP-RW))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (2 1 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 )
(BVCHOP-OF-BVCAT-CASES-GEN
 (711 51 (:REWRITE BVCHOP-OF-BVCAT-SAME))
 (557 291 (:REWRITE DEFAULT-+-2))
 (544 10 (:LINEAR X*Y>1-POSITIVE))
 (530 10 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (513 468 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (510 51 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (463 316 (:REWRITE DEFAULT-<-1))
 (454 316 (:REWRITE DEFAULT-<-2))
 (437 291 (:REWRITE DEFAULT-+-1))
 (426 43 (:REWRITE POSP-RW))
 (425 116 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (401 43 (:REWRITE NATP-POSP))
 (221 116 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (219 219 (:REWRITE BOUND-WHEN-USB))
 (171 118 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (160 20 (:REWRITE <-OF-1-AND-EXPT))
 (150 150 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (148 148 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (145 118 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (143 116 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (143 116 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (134 134 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (134 134 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (134 134 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (132 132 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (126 126 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (125 125 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (125 125 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (125 125 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (125 125 (:REWRITE UBP-LONGER-BETTER))
 (68 51 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT-ALL-CASES))
 (63 33 (:REWRITE NATP-RW))
 (60 10 (:REWRITE DEFAULT-*-2))
 (51 51 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (51 51 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (51 51 (:REWRITE EQUAL-CONSTANT-+))
 (43 43 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (43 43 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (42 22 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (42 22 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (40 10 (:REWRITE DEFAULT-*-1))
 (39 39 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (39 39 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (33 33 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (33 33 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (32 32 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (32 32 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (32 32 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (28 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (20 20 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (20 20 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (20 20 (:LINEAR <-OF-*-AND-*))
 (11 11 (:REWRITE DEFAULT-UNARY-MINUS))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (9 9 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (9 9 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-0))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 2 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (2 2 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 )
(BVCHOP-32-SPLIT-HACK
 (118 9 (:REWRITE BVCHOP-IDENTITY))
 (69 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (56 2 (:LINEAR BVCHOP-UPPER-BOUND))
 (37 10 (:REWRITE DEFAULT-<-1))
 (16 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (10 10 (:REWRITE DEFAULT-<-2))
 (9 9 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (9 9 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (9 9 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (9 9 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (9 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (9 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (9 9 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (9 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (9 9 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (9 9 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (9 9 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (9 9 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-POSITIVE))
 (8 8 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-NONZERO))
 (8 8 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-INTEGERP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 8 (:REWRITE UBP-LONGER-BETTER))
 (8 8 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-HIGH))
 (6 6 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (6 6 (:REWRITE BVCAT-SUBST-1))
 (6 6 (:REWRITE BVCAT-OF-GETBIT-HIGH-TIGHTEN))
 (6 6 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (6 6 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (3 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (3 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 )
