(UNSIGNED-BYTE-P-OF-BVCAT
 (33 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (14 14 (:REWRITE DEFAULT-<-2))
 (14 14 (:REWRITE DEFAULT-<-1))
 (14 14 (:REWRITE BOUND-WHEN-USB))
 (14 2 (:REWRITE BVCHOP-IDENTITY))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (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))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (2 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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-OF-EXPT-ALT))
 (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
 (36 36 (:TYPE-PRESCRIPTION EVENP))
 (32 10 (:REWRITE DEFAULT-+-2))
 (24 12 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (24 12 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (24 12 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (20 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (20 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (12 12 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 12 (:REWRITE DEFAULT-<-2))
 (12 12 (:REWRITE DEFAULT-<-1))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (10 10 (:REWRITE DEFAULT-+-1))
 (10 10 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (10 10 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (10 2 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (7 7 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 6 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (6 6 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (6 6 (:REWRITE BOUND-WHEN-USB))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(BVCHOP-OF-BVCAT-LOW
 (1436 4 (:LINEAR <-OF-*-SAME-LINEAR-2))
 (1074 4 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (756 756 (:TYPE-PRESCRIPTION EVENP))
 (680 92 (:REWRITE BVCHOP-IDENTITY))
 (504 252 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (504 252 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (504 252 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (355 264 (:REWRITE DEFAULT-<-2))
 (349 264 (:REWRITE DEFAULT-<-1))
 (346 4 (:REWRITE BVCHOP-BOUND-2))
 (326 22 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (288 288 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (252 252 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (252 252 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (189 189 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (172 44 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (148 44 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (148 16 (:REWRITE DEFAULT-+-2))
 (142 142 (:REWRITE BOUND-WHEN-USB))
 (138 138 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (138 138 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (92 92 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (92 92 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (92 92 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (89 89 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (89 89 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (89 89 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (89 89 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (86 22 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (68 20 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (68 20 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (68 20 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (68 6 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (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))
 (50 5 (:REWRITE DEFAULT-*-1))
 (48 40 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (44 44 (:LINEAR EXPT-BOUND-LINEAR))
 (40 40 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (38 35 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (38 35 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (35 35 (:TYPE-PRESCRIPTION POSP))
 (35 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (24 24 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (22 22 (:LINEAR EXPT-BOUND-LINEAR-2))
 (18 18 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (18 18 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (18 5 (:REWRITE DEFAULT-*-2))
 (18 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (16 16 (:REWRITE DEFAULT-+-1))
 (13 13 (:TYPE-PRESCRIPTION NATP))
 (12 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (12 12 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-0))
 (10 10 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (10 10 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (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-*-LINEAR))
 (7 1 (:REWRITE BVCHOP-TIMES-CANCEL-BETTER-ALT))
 (4 4 (:REWRITE BVCHOP-NUMERIC-BOUND))
 (4 4 (:REWRITE BVCHOP-BOUND))
 (4 4 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (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))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (1 1 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (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
 (969 969 (:TYPE-PRESCRIPTION EVENP))
 (749 7 (:REWRITE FLOOR-WHEN-<))
 (646 323 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (646 323 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (646 323 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (323 323 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (323 323 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (290 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (174 62 (:REWRITE DEFAULT-<-2))
 (141 2 (:LINEAR FLOOR-BOUND-STRICT-LINEAR))
 (109 8 (:REWRITE FLOOR-WHEN-NOT-RATIONALP-OF-QUOTIENT))
 (90 90 (:TYPE-PRESCRIPTION <=-OF-FLOOR-WHEN-<-TYPE))
 (90 90 (:TYPE-PRESCRIPTION <=-OF-FLOOR-AND-0-WHEN-NONPOSITIVE-AND-NONNEGATIVE-TYPE))
 (90 90 (:TYPE-PRESCRIPTION <=-OF-0-AND-FLOOR-WHEN-BOTH-NONPOSITIVE-TYPE))
 (90 90 (:TYPE-PRESCRIPTION <-OF-FLOOR-AND-0-WHEN-POSITIVE-AND-NEGATIVE-TYPE))
 (90 90 (:TYPE-PRESCRIPTION <-OF-FLOOR-AND-0-WHEN-NEGATIVE-AND-POSITIVE-TYPE))
 (83 62 (:REWRITE DEFAULT-<-1))
 (70 70 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (55 3 (:REWRITE DEFAULT-UNARY-/))
 (54 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (48 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (42 8 (:REWRITE FLOOR-WHEN-NEGATIVE-AND-SMALL-CHEAP))
 (38 4 (:REWRITE DEFAULT-*-2))
 (35 35 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (35 35 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (33 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (27 9 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (25 25 (:REWRITE BOUND-WHEN-USB))
 (19 7 (:REWRITE FLOOR-WHEN-NOT-RATIONALP-ARG1))
 (19 7 (:REWRITE FLOOR-WHEN-I-IS-NOT-AN-ACL2-NUMBERP))
 (18 18 (:LINEAR EXPT-BOUND-LINEAR))
 (18 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (18 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (16 4 (:REWRITE DEFAULT-*-1))
 (13 2 (:REWRITE DEFAULT-+-2))
 (9 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (9 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (9 9 (:LINEAR EXPT-BOUND-LINEAR-2))
 (7 7 (:REWRITE FLOOR-MINUS-NEGATIVE-CONSTANT))
 (5 5 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 1 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (2 2 (:REWRITE DEFAULT-+-1))
 (2 2 (:LINEAR FLOOR-WEAK-MONOTONE-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 NOT-0-WHEN-BIT-NOT-0))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE <-OF-FLOOR-OF-CONSTANT-AND-CONSTANT-GEN))
 (1 1 (:REWRITE <-OF-CONSTANT-AND-*-OF-CONSTANT))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-EQUAL-REWRITE-FW
 (822 822 (:TYPE-PRESCRIPTION EVENP))
 (626 153 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (548 274 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (548 274 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (548 274 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (304 106 (:REWRITE DEFAULT-+-2))
 (274 274 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (274 274 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (254 68 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (241 204 (:REWRITE DEFAULT-<-1))
 (226 204 (:REWRITE DEFAULT-<-2))
 (202 16 (:REWRITE LOGTAIL-IDENTITY))
 (188 24 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (178 16 (:REWRITE LOGTAIL-BECOMES-0))
 (177 147 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (174 174 (:REWRITE BOUND-WHEN-USB))
 (155 155 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (155 155 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (136 68 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (132 132 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (127 127 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (106 106 (:REWRITE DEFAULT-+-1))
 (105 24 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (96 16 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (92 68 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (84 84 (:TYPE-PRESCRIPTION POSP))
 (68 68 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (68 68 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (66 66 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (66 66 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (64 16 (:DEFINITION POSP))
 (60 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (60 15 (:REWRITE <-OF-+-CANCEL-1-2))
 (48 48 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (40 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (40 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (36 36 (:REWRITE UNSIGNED-BYTE-P-0))
 (30 10 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (27 12 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR))
 (20 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (20 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (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))
 (10 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (10 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR-2))
 (8 2 (:REWRITE <-OF-+-CANCEL-1-1+))
 (6 6 (:REWRITE EQUAL-OF-LOGTAIL-CONSTANT-VERSION))
 (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))
 (3 3 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (3 3 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 )
(BVCAT-EQUAL-REWRITE-BK
 (289 25 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (252 252 (:TYPE-PRESCRIPTION EVENP))
 (168 84 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (168 84 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (168 84 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (84 84 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (61 20 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (60 54 (:REWRITE DEFAULT-<-1))
 (58 16 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (54 54 (:REWRITE DEFAULT-<-2))
 (52 19 (:REWRITE DEFAULT-+-2))
 (52 13 (:REWRITE <-OF-+-CANCEL-1-1+))
 (45 45 (:REWRITE BOUND-WHEN-USB))
 (34 34 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (34 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (32 16 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (28 4 (:REWRITE <-OF-EXPT-AND-EXPT-SAME-BASE))
 (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 <-OF-+-COMBINE-CONSTANTS-1))
 (24 24 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (22 22 (:REWRITE BVCAT-EQUAL-REWRITE-FW))
 (22 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (20 5 (:REWRITE <-OF-+-CANCEL-1-2))
 (20 2 (:REWRITE LOGTAIL-IDENTITY))
 (19 19 (:REWRITE DEFAULT-+-1))
 (19 19 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (19 19 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (19 19 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (18 18 (:TYPE-PRESCRIPTION POSP))
 (18 18 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (17 17 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (17 17 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (16 16 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (16 16 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (14 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (14 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (14 2 (:REWRITE LOGTAIL-BECOMES-0))
 (12 2 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (11 3 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (8 2 (:DEFINITION POSP))
 (7 7 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-0))
 (3 3 (:REWRITE FOLD-CONSTS-IN-+))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (3 3 (:LINEAR EXPT-BOUND-LINEAR-2))
 (3 2 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (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 EQUAL-OF-LOGTAIL-CONSTANT-VERSION))
 (1 1 (:REWRITE DEFAULT-UNARY-MINUS))
 (1 1 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 )
(BVCAT-EQUAL-REWRITE
 (69 9 (:REWRITE BVCHOP-IDENTITY))
 (66 6 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (40 10 (:REWRITE <-OF-+-CANCEL-1-2))
 (36 3 (:REWRITE SLICE-OUT-OF-ORDER))
 (33 6 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (27 9 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (27 9 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (27 3 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (23 23 (:REWRITE DEFAULT-<-2))
 (23 23 (:REWRITE DEFAULT-<-1))
 (21 21 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (21 21 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (21 3 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (20 20 (:REWRITE BOUND-WHEN-USB))
 (19 19 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (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))
 (15 15 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (15 15 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 9 (:TYPE-PRESCRIPTION POSP))
 (9 9 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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-OF-EXPT-ALT))
 (9 3 (:REWRITE <-OF-+-CANCEL-2-2))
 (8 2 (:REWRITE <-OF-+-CANCEL-1-1+))
 (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 <-OF-+-COMBINE-CONSTANTS-2))
 (3 3 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (3 3 (:REWRITE +-COMBINE-CONSTANTS))
 (2 2 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (2 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 )
(BVCAT-EQUAL-REWRITE-ALT
 (75 9 (:REWRITE BVCHOP-IDENTITY))
 (68 8 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (44 11 (:REWRITE <-OF-+-CANCEL-1-2))
 (36 3 (:REWRITE SLICE-OUT-OF-ORDER))
 (33 6 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (33 3 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (27 27 (:REWRITE DEFAULT-<-2))
 (27 27 (:REWRITE DEFAULT-<-1))
 (27 9 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (27 9 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (24 24 (:REWRITE BOUND-WHEN-USB))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (22 22 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (21 3 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (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))
 (15 15 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (15 15 (: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-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-OF-EXPT-ALT))
 (9 3 (:REWRITE <-OF-+-CANCEL-2-2))
 (5 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (4 1 (:REWRITE <-OF-+-CANCEL-1-1+))
 (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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (3 3 (:REWRITE FOLD-CONSTS-IN-+))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (3 3 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (3 3 (:REWRITE +-COMBINE-CONSTANTS))
 (2 2 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 )
(BVCAT-OF-BVCHOP-HIGH
 (432 90 (:REWRITE BVCHOP-IDENTITY))
 (352 36 (:REWRITE UNSIGNED-BYTE-P-0))
 (332 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (246 120 (:REWRITE DEFAULT-<-1))
 (210 210 (:TYPE-PRESCRIPTION EVENP))
 (192 120 (:REWRITE DEFAULT-<-2))
 (168 1 (:REWRITE LOGTAIL-IDENTITY))
 (168 1 (:REWRITE LOGTAIL-BECOMES-0))
 (140 70 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (140 70 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (140 70 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (122 122 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (112 16 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (92 90 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (90 90 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (90 90 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (90 90 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (80 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (78 78 (:REWRITE BOUND-WHEN-USB))
 (72 36 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (70 70 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (70 70 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (68 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (66 66 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (66 66 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (66 66 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (62 36 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (56 56 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (43 43 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (43 43 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (43 43 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (43 43 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (42 36 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (40 36 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (40 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (40 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (37 37 (:TYPE-PRESCRIPTION POSP))
 (34 10 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (29 4 (:REWRITE DEFAULT-*-2))
 (29 4 (:REWRITE DEFAULT-*-1))
 (28 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (26 4 (:REWRITE DEFAULT-+-2))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR))
 (20 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (14 14 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (14 14 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (10 10 (:TYPE-PRESCRIPTION NATP))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR-2))
 (10 4 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (6 1 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (4 4 (:REWRITE DEFAULT-+-1))
 (4 4 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (4 1 (:DEFINITION POSP))
 (2 2 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (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))
 (1 1 (:REWRITE EQUAL-OF-*-AND-CONSTANT))
 )
(SLICE-OF-BVCAT
 (2898 34 (:REWRITE BVCHOP-IDENTITY))
 (2696 86 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (1796 8 (:REWRITE UNSIGNED-BYTE-P-OF-LOGTAIL-STRONG))
 (1621 125 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (912 10 (:REWRITE LOGTAIL-UNSIGNED-BYTE-P))
 (516 4 (:REWRITE BVCHOP-BOUND-2))
 (501 41 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (248 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (216 8 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (186 186 (:TYPE-PRESCRIPTION EVENP))
 (179 175 (:REWRITE DEFAULT-<-1))
 (175 175 (:REWRITE DEFAULT-<-2))
 (157 113 (:REWRITE DEFAULT-+-2))
 (148 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR))
 (143 143 (:REWRITE BOUND-WHEN-USB))
 (136 16 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (136 16 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (132 70 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (132 70 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (132 70 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (125 125 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (124 124 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (124 124 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (124 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (113 113 (:REWRITE DEFAULT-+-1))
 (88 8 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (80 21 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (76 46 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (74 74 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (74 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT))
 (72 18 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (70 70 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (70 70 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (70 70 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (70 70 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (70 70 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (52 52 (:REWRITE +-COMBINE-CONSTANTS))
 (48 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (46 46 (:REWRITE FOLD-CONSTS-IN-+))
 (46 46 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (42 21 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (40 6 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (37 37 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (37 37 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (36 34 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (34 34 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (34 34 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (34 16 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (33 21 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (32 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (32 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (25 21 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (24 24 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 8 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (24 4 (:REWRITE LOGTAIL-BECOMES-0))
 (23 23 (:TYPE-PRESCRIPTION POSP))
 (23 23 (:REWRITE DEFAULT-UNARY-MINUS))
 (21 21 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (18 4 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (16 16 (:LINEAR EXPT-BOUND-LINEAR))
 (16 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (16 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (16 8 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (16 4 (:REWRITE <-OF-2-AND-EXPT2))
 (16 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (14 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (14 2 (:REWRITE DEFAULT-*-2))
 (14 2 (:REWRITE DEFAULT-*-1))
 (12 12 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (12 12 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (12 6 (:REWRITE +-OF-+-OF---SAME))
 (12 2 (:DEFINITION POSP))
 (8 8 (:TYPE-PRESCRIPTION NATP))
 (8 8 (:TYPE-PRESCRIPTION LOGTAIL-TYPE))
 (8 8 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (8 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (8 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-2))
 (8 4 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (6 6 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-0))
 (4 4 (:REWRITE BVCHOP-OF-0-ARG1))
 (4 4 (:REWRITE BVCHOP-BOUND))
 (4 4 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (4 1 (:REWRITE LOGTAIL-SHIFT-GEN2-ALT))
 (2 2 (:TYPE-PRESCRIPTION POWER-OF-2P))
 (2 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 )
(BVCHOP-OF-BVCAT-CASES
 (1101 1101 (:TYPE-PRESCRIPTION EVENP))
 (734 367 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (734 367 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (734 367 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (540 540 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (452 135 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (409 161 (:REWRITE DEFAULT-+-2))
 (371 323 (:REWRITE DEFAULT-<-1))
 (367 367 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (323 323 (:REWRITE DEFAULT-<-2))
 (270 270 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (270 270 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (253 135 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (238 135 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (226 226 (:REWRITE BOUND-WHEN-USB))
 (220 5 (:LINEAR EXPT-HALF-LINEAR))
 (181 135 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (176 22 (:REWRITE BVCHOP-OF-BVCAT-SAME))
 (161 161 (:REWRITE DEFAULT-+-1))
 (154 140 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (149 149 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (142 48 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (140 140 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (140 140 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (135 135 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (128 128 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (128 128 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (128 128 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (128 128 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (118 118 (:TYPE-PRESCRIPTION POSP))
 (107 107 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (102 42 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (92 24 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (92 24 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (84 48 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (62 5 (:REWRITE DEFAULT-*-2))
 (42 24 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (42 24 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (26 26 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (26 26 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (25 5 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (22 22 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (22 22 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (19 3 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (19 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (17 17 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (16 16 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (16 16 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (16 16 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (12 12 (:REWRITE DEFAULT-UNARY-MINUS))
 (10 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (8 2 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (7 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (5 5 (:REWRITE DEFAULT-*-1))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-0))
 (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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (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))
 (1 1 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 )
(BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER
 (66 66 (:TYPE-PRESCRIPTION EVENP))
 (66 44 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (66 44 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (66 44 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (44 44 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (24 2 (:REWRITE DEFAULT-*-2))
 (15 3 (:REWRITE BVCHOP-IDENTITY))
 (13 1 (:REWRITE DEFAULT-+-2))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (6 3 (:REWRITE DEFAULT-<-2))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (4 2 (:REWRITE DEFAULT-*-1))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 3 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (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 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (2 2 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 1 (:REWRITE DEFAULT-<-2))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (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 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 (: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-WHEN-ARG2-IS-NOT-AN-INTEGER
 (15 3 (:REWRITE BVCHOP-IDENTITY))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 1 (:REWRITE DEFAULT-<-2))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (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 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 (: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
 (10 2 (:DEFINITION NATP))
 (9 1 (:REWRITE BVCAT-EQUAL-REWRITE-ALT))
 (9 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))
 (5 5 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (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
 (10 2 (:DEFINITION NATP))
 (9 1 (:REWRITE BVCAT-EQUAL-REWRITE-ALT))
 (9 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))
 (5 5 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (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
 (140 7 (:REWRITE BVCHOP-IDENTITY))
 (128 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (46 13 (:REWRITE DEFAULT-<-1))
 (42 2 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (38 2 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (24 24 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (14 2 (:REWRITE GETBIT-IDENTITY))
 (14 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (13 13 (:REWRITE DEFAULT-<-2))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (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 BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 2 (:DEFINITION NATP))
 (9 9 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (9 9 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (9 9 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (9 9 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (9 9 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (9 9 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (9 9 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (9 9 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (9 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (7 7 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (7 7 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 6 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (6 3 (:REWRITE GETBIT-WHEN-NOT-1))
 (6 3 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (5 5 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (5 5 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (5 5 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (5 5 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (5 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BOUND-WHEN-USB))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 2 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 2 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (4 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (3 3 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (3 3 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (3 3 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (3 3 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (3 3 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (3 3 (:REWRITE GETBIT-WHEN->-FREE))
 (3 3 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (3 3 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (3 3 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (3 3 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:TYPE-PRESCRIPTION BITP))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (2 2 (:REWRITE GETBIT-IDENTITY-FREE))
 )
(BVCAT-OF-BVCHOP-LOW
 (30 6 (:REWRITE BVCHOP-IDENTITY))
 (24 2 (:REWRITE DEFAULT-*-2))
 (23 11 (:REWRITE DEFAULT-<-2))
 (20 5 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (17 3 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (11 11 (:REWRITE DEFAULT-<-1))
 (10 5 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (9 9 (:REWRITE BOUND-WHEN-USB))
 (9 5 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (7 5 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (6 6 (:TYPE-PRESCRIPTION NATP))
 (6 6 (:TYPE-PRESCRIPTION EVENP))
 (6 6 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (6 6 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (6 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 3 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (5 5 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 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 LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (4 2 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (4 2 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (4 2 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (4 2 (:REWRITE DEFAULT-*-1))
 (2 2 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (2 2 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (2 2 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (2 2 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (2 2 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (2 2 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 )
(BVCAT-OF-GETBIT-ARG4)
(BVCAT-OF-GETBIT-ARG2
 (21 2 (:REWRITE BVCHOP-IDENTITY))
 (16 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))
 (5 5 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (5 5 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (5 5 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (4 1 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (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-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-OF-EXPT-ALT))
 (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-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION GETBIT))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (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-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->-FREE))
 (1 1 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (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
 (306 306 (:TYPE-PRESCRIPTION EVENP))
 (204 102 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (204 102 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (204 102 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (137 12 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (102 102 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (85 9 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (81 13 (:REWRITE BVCHOP-IDENTITY))
 (79 73 (:REWRITE DEFAULT-<-1))
 (76 76 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (73 73 (:REWRITE DEFAULT-<-2))
 (58 58 (:REWRITE BOUND-WHEN-USB))
 (54 6 (:REWRITE UNSIGNED-BYTE-P-WHEN-N-IS-NOT-NATP))
 (48 1 (:LINEAR EXPT-HALF-LINEAR))
 (45 12 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (38 38 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (38 38 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (32 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (31 14 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (28 17 (:REWRITE DEFAULT-+-2))
 (25 25 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (24 3 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (22 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (20 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (20 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (19 7 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (17 17 (:REWRITE DEFAULT-+-1))
 (13 13 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (13 13 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (13 13 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (13 13 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (12 12 (:TYPE-PRESCRIPTION POSP))
 (12 12 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (12 12 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (12 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (12 1 (:REWRITE DEFAULT-*-2))
 (10 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (9 9 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (8 2 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (7 4 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (7 1 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (6 6 (:TYPE-PRESCRIPTION NATP))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (6 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (6 6 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (5 5 (:REWRITE FOLD-CONSTS-IN-+))
 (5 5 (:REWRITE +-COMBINE-CONSTANTS))
 (5 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (5 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (5 1 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (4 4 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (4 4 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (2 2 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (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 (:REWRITE DEFAULT-*-1))
 (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-UNSIGNED-BYTE-P-SMALLER))
 (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 DEFAULT-<-2))
 (47 47 (:REWRITE DEFAULT-<-1))
 (47 47 (:REWRITE BOUND-WHEN-USB))
 (40 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (26 6 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (20 20 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (20 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (18 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE DEFAULT-+-2))
 (12 12 (:REWRITE DEFAULT-+-1))
 (12 12 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (11 11 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (11 11 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (10 10 (:TYPE-PRESCRIPTION POSP))
 (10 10 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (6 6 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (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))
 (3 3 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 )
(BVCAT-NUMERIC-BOUND2
 (300 300 (:TYPE-PRESCRIPTION EVENP))
 (200 100 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (200 100 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (200 100 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (108 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (100 100 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (60 16 (:REWRITE DEFAULT-<-2))
 (25 16 (:REWRITE DEFAULT-<-1))
 (11 11 (:REWRITE BOUND-WHEN-USB))
 (10 10 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (10 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (6 6 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:REWRITE DEFAULT-+-2))
 (6 6 (:REWRITE DEFAULT-+-1))
 (6 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (6 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (5 5 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (5 5 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (5 5 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (5 5 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (5 1 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (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-UNSIGNED-BYTE-P-SMALLER))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (2 2 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (2 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (2 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-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))
 (1 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (1 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(BVCAT-UPPER-BOUND-LINEAR
 (228 228 (:TYPE-PRESCRIPTION EVENP))
 (152 76 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (152 76 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (152 76 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (76 76 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (13 2 (:REWRITE DEFAULT-<-2))
 (6 6 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (4 4 (:REWRITE DEFAULT-+-2))
 (4 4 (:REWRITE DEFAULT-+-1))
 (3 3 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (3 3 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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 NOT-0-WHEN-BIT-NOT-0))
 (1 1 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (1 1 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-UPPER-BOUND-LINEAR-STRONG
 (306 306 (:TYPE-PRESCRIPTION EVENP))
 (204 102 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (204 102 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (204 102 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (102 102 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (16 4 (:REWRITE DEFAULT-<-2))
 (16 4 (:REWRITE DEFAULT-+-2))
 (15 4 (:REWRITE DEFAULT-<-1))
 (6 6 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (4 4 (:REWRITE DEFAULT-+-1))
 (4 4 (:REWRITE BOUND-WHEN-USB))
 (4 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (4 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (2 2 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (2 2 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (1 1 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-OF-0-ARG2)
(BVCAT-OF-0-ARG1)
(BVCAT-OF-0-ARG3
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (8 2 (:REWRITE BVCHOP-IDENTITY))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 1 (:REWRITE DEFAULT-<-2))
 (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 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 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-0-AND-0)
(BVCAT-WHEN-LOWSIZE-IS-NOT-POSP
 (158 71 (:REWRITE DEFAULT-<-2))
 (140 71 (:REWRITE DEFAULT-<-1))
 (137 21 (:REWRITE BVCHOP-IDENTITY))
 (87 87 (:TYPE-PRESCRIPTION EVENP))
 (60 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (58 29 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (58 29 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (58 29 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (52 52 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (52 52 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (52 52 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (42 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (41 41 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (40 40 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (36 36 (:REWRITE BOUND-WHEN-USB))
 (35 5 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (30 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (30 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (29 29 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (29 29 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (29 29 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (26 6 (:DEFINITION NATP))
 (25 10 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (24 14 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (24 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (24 1 (:REWRITE LOGTAIL-IDENTITY))
 (22 21 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (21 21 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (21 21 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (21 21 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (21 6 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (20 20 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (20 20 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (20 20 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (20 20 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (20 5 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (18 9 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (17 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (16 16 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (16 16 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (15 15 (:TYPE-PRESCRIPTION NATP))
 (14 9 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR))
 (12 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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 NOT-0-WHEN-BIT-NOT-0))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 )
(BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP
 (41 9 (:REWRITE BVCHOP-IDENTITY))
 (17 5 (:REWRITE DEFAULT-<-2))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 11 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (11 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (9 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (9 9 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (9 9 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (9 9 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (9 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (8 8 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:TYPE-PRESCRIPTION NATP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 DEFAULT-<-1))
 (5 5 (:REWRITE BOUND-WHEN-USB))
 (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 LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCAT-OF-SLICE-AND-SLICE-ADJACENT
 (471 18 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (273 29 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (216 168 (:REWRITE DEFAULT-+-2))
 (188 14 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (168 168 (:REWRITE DEFAULT-+-1))
 (127 47 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (102 5 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (101 37 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (89 89 (:REWRITE FOLD-CONSTS-IN-+))
 (87 87 (:TYPE-PRESCRIPTION EVENP))
 (78 10 (:DEFINITION POSP))
 (75 62 (:REWRITE DEFAULT-<-1))
 (64 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (63 34 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (63 34 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (63 34 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (62 62 (:REWRITE DEFAULT-<-2))
 (50 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (49 49 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (48 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (39 39 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (38 38 (:REWRITE BOUND-WHEN-USB))
 (34 34 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (34 34 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (32 8 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (32 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (32 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (32 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (32 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (30 30 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (30 30 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (29 29 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (29 29 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (29 29 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (28 28 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (24 14 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (20 14 (:REWRITE SLICE-OUT-OF-ORDER))
 (16 16 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (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))
 (14 14 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (14 14 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (14 14 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (14 14 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (14 14 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (14 14 (:REWRITE DEFAULT-UNARY-MINUS))
 (13 13 (: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))
 (10 1 (:REWRITE <-OF-+-CANCEL-1-2+))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 8 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 1 (:REWRITE <-OF-+-CANCEL-1-3))
 (6 1 (:REWRITE <-OF-+-CANCEL-1+-2+))
 (5 5 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (5 1 (:REWRITE <-OF---AND--))
 (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 EXPT-BOUND-LINEAR-2))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE SLICE-BOUND))
 (1 1 (:REWRITE <-OF-SLICE-AND-CONSTANT))
 (1 1 (:REWRITE <-OF-+-CANCEL-1-2))
 )
(BVCAT-OF-GETBIT-AND-SLICE-ADJACENT
 (505 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (265 23 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (203 143 (:REWRITE DEFAULT-+-2))
 (143 143 (:REWRITE DEFAULT-+-1))
 (119 5 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (113 14 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (100 37 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (88 32 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (78 78 (:TYPE-PRESCRIPTION EVENP))
 (61 54 (:REWRITE DEFAULT-<-1))
 (56 30 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (56 30 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (56 30 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (54 54 (:REWRITE DEFAULT-<-2))
 (52 52 (:REWRITE FOLD-CONSTS-IN-+))
 (52 14 (:REWRITE SLICE-OUT-OF-ORDER))
 (50 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (48 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (43 43 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (40 5 (:DEFINITION POSP))
 (38 38 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (30 30 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (30 30 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (26 26 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (26 26 (:REWRITE BOUND-WHEN-USB))
 (24 14 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (24 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (24 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (24 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (24 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (22 22 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (22 22 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (21 14 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (20 5 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (17 17 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (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))
 (14 14 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (14 14 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (14 14 (:REWRITE DEFAULT-UNARY-MINUS))
 (13 13 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (13 13 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (12 2 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 5 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (10 1 (:REWRITE <-OF-+-CANCEL-1-2+))
 (8 1 (:REWRITE <-OF-+-CANCEL-1-3))
 (7 2 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (6 6 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 1 (:REWRITE <-OF-+-CANCEL-1+-2+))
 (5 5 (:TYPE-PRESCRIPTION POSP))
 (5 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (5 1 (:REWRITE <-OF---AND--))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-1))
 (4 2 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (3 3 (:LINEAR EXPT-BOUND-LINEAR-2))
 (3 2 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (2 2 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (2 2 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (2 2 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN->-FREE))
 (2 2 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (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 (:REWRITE SLICE-BOUND))
 (1 1 (:REWRITE <-OF-SLICE-AND-CONSTANT))
 (1 1 (:REWRITE <-OF-+-CANCEL-1-2))
 )
(BVCAT-OF-SLICE-AND-GETBIT-ADJACENT
 (2325 90 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (1349 129 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (854 50 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (480 25 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (453 345 (:REWRITE DEFAULT-+-2))
 (348 345 (:REWRITE DEFAULT-+-1))
 (247 99 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (240 169 (:REWRITE DEFAULT-<-1))
 (192 192 (:TYPE-PRESCRIPTION EVENP))
 (172 169 (:REWRITE DEFAULT-<-2))
 (153 89 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (153 89 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (153 89 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (144 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (129 129 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (129 129 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (129 129 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (117 117 (:REWRITE FOLD-CONSTS-IN-+))
 (99 99 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (97 97 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (93 50 (:REWRITE SLICE-OUT-OF-ORDER))
 (89 89 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (88 50 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (87 87 (:REWRITE BOUND-WHEN-USB))
 (87 10 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (72 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (72 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (72 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (72 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (67 10 (:DEFINITION POSP))
 (58 58 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (58 58 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (58 58 (:REWRITE DEFAULT-UNARY-MINUS))
 (55 55 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (55 55 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (55 55 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (55 55 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (55 50 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (50 50 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (50 50 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (50 50 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (50 50 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (50 5 (:REWRITE <-OF-+-CANCEL-1-2+))
 (40 10 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (40 5 (:REWRITE <-OF-+-CANCEL-1-3))
 (36 36 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (30 5 (:REWRITE <-OF-+-CANCEL-1+-2+))
 (29 29 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (29 29 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (25 5 (:REWRITE <-OF---AND--))
 (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))
 (20 10 (:REWRITE GETBIT-WHEN-NOT-1))
 (20 10 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (20 10 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (20 10 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (18 18 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (18 18 (:LINEAR EXPT-BOUND-LINEAR))
 (18 18 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (18 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (18 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (15 10 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (13 13 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (10 10 (:TYPE-PRESCRIPTION POSP))
 (10 10 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (10 10 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (10 10 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (10 10 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (10 10 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (10 10 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (10 10 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (10 10 (:REWRITE GETBIT-WHEN->-FREE))
 (10 10 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (10 10 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (10 10 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (10 10 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (10 10 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (10 10 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (9 9 (:LINEAR EXPT-BOUND-LINEAR-2))
 (9 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (6 6 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-0))
 (5 5 (:REWRITE SLICE-BOUND))
 (5 5 (:REWRITE <-OF-SLICE-AND-CONSTANT))
 (5 5 (:REWRITE <-OF-+-CANCEL-1-2))
 (5 1 (:REWRITE BVCAT-OF-SLICE-AND-SLICE-ADJACENT))
 (3 3 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (3 3 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 )
(BVCAT-OF-GETBIT-AND-GETBIT-ADJACENT
 (47 5 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (43 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (34 1 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (29 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (27 27 (:REWRITE DEFAULT-+-2))
 (27 27 (:REWRITE DEFAULT-+-1))
 (25 5 (:REWRITE SLICE-OUT-OF-ORDER))
 (12 12 (:TYPE-PRESCRIPTION EVENP))
 (10 6 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (10 6 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (10 6 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (10 5 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (9 6 (:REWRITE DEFAULT-<-1))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (8 4 (:REWRITE GETBIT-WHEN-NOT-1))
 (8 4 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (6 6 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (6 6 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (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 DEFAULT-<-2))
 (5 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (5 5 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (5 5 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (5 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (5 4 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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 GETBIT-WHEN->=-OF-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (4 4 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN->-FREE))
 (4 4 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (4 4 (:REWRITE FOLD-CONSTS-IN-+))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (3 3 (:REWRITE <-OF-+-CANCEL-2-1))
 (2 2 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 2 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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-SLICE-AND-X-ADJACENT
 (726 32 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (604 28 (:REWRITE BVCHOP-IDENTITY))
 (566 66 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (261 261 (:TYPE-PRESCRIPTION EVENP))
 (226 102 (:REWRITE DEFAULT-+-2))
 (190 103 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (190 103 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (190 103 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (134 70 (:REWRITE DEFAULT-<-1))
 (104 1 (:REWRITE BVCHOP-BOUND-2))
 (103 103 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (102 102 (:REWRITE DEFAULT-+-1))
 (96 96 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (78 14 (:DEFINITION POSP))
 (70 70 (:REWRITE DEFAULT-<-2))
 (66 66 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (66 66 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (66 66 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (48 48 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (48 48 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (48 22 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (42 7 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (42 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (41 5 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (39 39 (:REWRITE BOUND-WHEN-USB))
 (38 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (36 20 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (30 30 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (29 28 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (29 5 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (28 28 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (28 28 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (28 28 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (28 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (27 27 (:REWRITE FOLD-CONSTS-IN-+))
 (23 23 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (22 20 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (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))
 (21 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (20 20 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (20 20 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (19 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (19 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (18 18 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (18 18 (:LINEAR EXPT-BOUND-LINEAR))
 (18 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (16 16 (:TYPE-PRESCRIPTION POSP))
 (16 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (15 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (14 7 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (14 7 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (11 11 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (9 9 (:LINEAR EXPT-BOUND-LINEAR-2))
 (9 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (8 2 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (7 7 (:TYPE-PRESCRIPTION SLICE))
 (7 7 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (7 7 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (7 7 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (7 7 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (7 7 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (6 6 (:REWRITE DEFAULT-UNARY-MINUS))
 (6 1 (:REWRITE <-OF-2-AND-EXPT2))
 (5 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (5 5 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (5 5 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (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-0))
 (1 1 (:REWRITE BVCHOP-BOUND))
 (1 1 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 )
(BVCAT-OF-GETBIT-AND-X-ADJACENT
 (510 16 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (425 29 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (255 10 (:REWRITE BVCHOP-IDENTITY))
 (117 117 (:TYPE-PRESCRIPTION EVENP))
 (104 1 (:REWRITE BVCHOP-BOUND-2))
 (86 47 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (86 47 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (86 47 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (70 15 (:REWRITE DEFAULT-+-2))
 (52 21 (:REWRITE DEFAULT-<-1))
 (47 47 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (38 38 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (30 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (29 29 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (29 29 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (29 29 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (21 21 (:REWRITE DEFAULT-<-2))
 (21 3 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (20 5 (:DEFINITION POSP))
 (19 19 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (19 19 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (16 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (15 15 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (15 15 (:REWRITE DEFAULT-+-1))
 (15 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (12 9 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (11 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (11 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (11 5 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (11 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (10 10 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (10 10 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (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))
 (10 5 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (9 9 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (9 9 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 8 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (7 7 (:TYPE-PRESCRIPTION POSP))
 (7 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (6 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (6 1 (:REWRITE <-OF-2-AND-EXPT2))
 (5 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-2))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-1))
 (4 2 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (3 2 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (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 GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (2 2 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN->-FREE))
 (2 2 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (2 1 (:REWRITE SLICE-WHEN-VAL-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-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (1 1 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE BVCHOP-BOUND))
 (1 1 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 )
(BVCAT-OF-SLICE-AND-BVCHOP-ADJACENT
 (314 11 (:REWRITE BVCHOP-IDENTITY))
 (243 18 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (146 29 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (88 40 (:REWRITE DEFAULT-+-2))
 (83 50 (:REWRITE DEFAULT-<-1))
 (82 23 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (69 69 (:TYPE-PRESCRIPTION EVENP))
 (60 10 (:DEFINITION POSP))
 (59 11 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (55 32 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (55 32 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (55 32 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (50 50 (:REWRITE DEFAULT-<-2))
 (50 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (40 40 (:REWRITE DEFAULT-+-1))
 (33 33 (:REWRITE BOUND-WHEN-USB))
 (32 32 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (32 32 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (32 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (30 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (29 29 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (29 29 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (29 29 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (24 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (23 23 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (22 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (21 21 (:TYPE-PRESCRIPTION POSP))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (21 11 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (20 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (20 5 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (14 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (12 12 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (11 11 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (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))
 (11 11 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (11 11 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (11 11 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (11 11 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 9 (:REWRITE FOLD-CONSTS-IN-+))
 (9 9 (:REWRITE +-COMBINE-CONSTANTS))
 (8 8 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (8 8 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (7 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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-WHEN-UNSIGNED-BYTE-P))
 (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
 (314 11 (:REWRITE BVCHOP-IDENTITY))
 (243 18 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (145 28 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (78 78 (:TYPE-PRESCRIPTION EVENP))
 (61 35 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (61 35 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (61 35 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (58 14 (:REWRITE DEFAULT-+-2))
 (51 18 (:REWRITE DEFAULT-<-1))
 (35 35 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (30 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (28 28 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (28 28 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (28 28 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (20 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (20 5 (:DEFINITION POSP))
 (18 18 (:REWRITE DEFAULT-<-2))
 (14 14 (:REWRITE DEFAULT-+-1))
 (14 11 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (14 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (12 12 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (12 12 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (12 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (11 11 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (11 11 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (11 11 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (11 11 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (11 11 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (11 11 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (11 11 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (11 11 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 9 (:REWRITE BOUND-WHEN-USB))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (5 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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))
 (1 1 (:TYPE-PRESCRIPTION GETBIT))
 (1 1 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->-FREE))
 (1 1 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 )
(GETBIT-OF-BVCAT-LOW
 (544 9 (:REWRITE BVCHOP-IDENTITY))
 (463 18 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (338 37 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (189 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (179 1 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (112 1 (:REWRITE BVCHOP-BOUND-2))
 (104 2 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR))
 (87 3 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (82 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (70 2 (:REWRITE LOGTAIL-UNSIGNED-BYTE-P))
 (69 69 (:TYPE-PRESCRIPTION EVENP))
 (60 59 (:REWRITE DEFAULT-<-1))
 (59 59 (:REWRITE DEFAULT-<-2))
 (51 28 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (51 28 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (51 28 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (37 37 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (37 37 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (37 37 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (29 29 (:REWRITE BOUND-WHEN-USB))
 (28 28 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (28 28 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (27 3 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (26 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (18 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (18 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (16 2 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (14 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (14 2 (:REWRITE LOGTAIL-IDENTITY))
 (14 2 (:REWRITE LOGTAIL-BECOMES-0))
 (13 13 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 7 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (12 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (12 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (12 2 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (11 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 10 (:REWRITE DEFAULT-+-2))
 (10 10 (:REWRITE DEFAULT-+-1))
 (10 2 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (9 9 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (9 9 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (9 9 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (9 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (9 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (9 3 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (8 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (8 2 (:DEFINITION POSP))
 (7 7 (:TYPE-PRESCRIPTION POSP))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (7 7 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 3 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (6 6 (:TYPE-PRESCRIPTION LOGTAIL-TYPE))
 (6 6 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (6 6 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (6 6 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (6 6 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 3 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (6 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (5 5 (:REWRITE DEFAULT-UNARY-MINUS))
 (5 5 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (5 5 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (5 2 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-1))
 (4 2 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (4 1 (:REWRITE <-OF-2-AND-EXPT2))
 (3 3 (:LINEAR EXPT-BOUND-LINEAR-2))
 (3 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (3 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (3 2 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (2 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (2 2 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (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 LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (2 2 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (2 2 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN->-FREE))
 (2 2 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE FOLD-CONSTS-IN-+))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE BVCHOP-BOUND))
 (1 1 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (1 1 (:REWRITE +-COMBINE-CONSTANTS))
 )
(GETBIT-OF-BVCAT-LOW-BETTER
 (150 150 (:TYPE-PRESCRIPTION EVENP))
 (100 50 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (100 50 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (100 50 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (50 50 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (50 50 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (40 10 (:DEFINITION POSP))
 (34 9 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (30 30 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (28 14 (:REWRITE GETBIT-WHEN-NOT-1))
 (28 4 (:REWRITE BVCHOP-IDENTITY))
 (26 26 (:REWRITE DEFAULT-<-2))
 (26 26 (:REWRITE DEFAULT-<-1))
 (26 26 (:REWRITE BOUND-WHEN-USB))
 (24 12 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (14 14 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (14 14 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (14 14 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (14 14 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (14 14 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (14 14 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (14 14 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (14 14 (:REWRITE GETBIT-WHEN->-FREE))
 (14 14 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (14 14 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (14 14 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (12 12 (:TYPE-PRESCRIPTION POSP))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (6 6 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 )
(GETBIT-OF-BVCAT-TOO-HIGH
 (153 153 (:TYPE-PRESCRIPTION EVENP))
 (102 51 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (102 51 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (102 51 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (56 14 (:DEFINITION POSP))
 (51 51 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (45 10 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (45 10 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (43 10 (:REWRITE DEFAULT-+-2))
 (38 38 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (31 31 (:REWRITE DEFAULT-<-2))
 (31 31 (:REWRITE DEFAULT-<-1))
 (19 19 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (19 19 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (18 18 (:REWRITE BOUND-WHEN-USB))
 (17 10 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (16 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (14 14 (:TYPE-PRESCRIPTION POSP))
 (13 3 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (10 10 (:REWRITE DEFAULT-+-1))
 (10 10 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (10 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (10 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (8 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (6 6 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (4 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (3 3 (:LINEAR EXPT-BOUND-LINEAR-2))
 (3 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (3 1 (:REWRITE GETBIT-OF-BVCAT-LOW-BETTER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (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-SLICE-IS-KNOWN-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->-FREE))
 (1 1 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 )
(GETBIT-OF-BVCAT-HIGH
 (5668 4 (:REWRITE LOGTAIL-OF-ONE-LESS-WHEN-SIGNED-BYTE-P))
 (5656 4 (:DEFINITION SIGNED-BYTE-P))
 (5576 4 (:DEFINITION INTEGER-RANGE-P))
 (4280 68 (:REWRITE LOGTAIL-UNSIGNED-BYTE-P))
 (3300 334 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (1859 403 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1149 1149 (:TYPE-PRESCRIPTION EVENP))
 (881 833 (:REWRITE DEFAULT-+-2))
 (848 833 (:REWRITE DEFAULT-+-1))
 (810 427 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (810 427 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (810 427 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (790 649 (:REWRITE DEFAULT-<-2))
 (682 42 (:LINEAR EXPT-BOUND-LINEAR-2))
 (681 649 (:REWRITE DEFAULT-<-1))
 (676 68 (:LINEAR EXPT-BOUND-LINEAR))
 (662 46 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (584 8 (:LINEAR EXPT-OF-ONE-LESS-LINEAR))
 (580 68 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (492 492 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (475 57 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (452 68 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (448 14 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (446 430 (:REWRITE +-COMBINE-CONSTANTS))
 (427 427 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (404 38 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (403 403 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (402 402 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (402 402 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (394 394 (:REWRITE FOLD-CONSTS-IN-+))
 (390 214 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (368 8 (:LINEAR EXPT-HALF-LINEAR))
 (366 258 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (341 201 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (297 233 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (293 293 (:REWRITE BOUND-WHEN-USB))
 (288 32 (:REWRITE <-OF-+-CANCEL-1-2+))
 (280 28 (:REWRITE <-OF-+-CANCEL-2+-1))
 (272 2 (:REWRITE BVCHOP-BOUND-2))
 (268 60 (:REWRITE <-OF---AND--))
 (246 246 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (246 246 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (226 34 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (226 34 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (180 68 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (180 34 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (180 34 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (160 10 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (138 40 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (130 11 (:REWRITE DEFAULT-*-2))
 (126 14 (:REWRITE LOGTAIL-LESSP))
 (124 61 (:REWRITE DEFAULT-UNARY-MINUS))
 (114 114 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (114 114 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (112 14 (:LINEAR <=-OF-LOGTAIL-SAME-LINEAR))
 (110 110 (:TYPE-PRESCRIPTION LOGTAIL-TYPE))
 (110 110 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (108 40 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (100 36 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (98 26 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (94 94 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (89 89 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (87 5 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (78 78 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (75 10 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (69 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT))
 (64 40 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (64 32 (:REWRITE +-OF-+-OF---SAME))
 (63 40 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (56 14 (:LINEAR LOGTAIL-NON-NEGATIVE-LINEAR))
 (56 14 (:LINEAR LOGTAIL-LEQ))
 (56 8 (:REWRITE LOGTAIL-BECOMES-0))
 (46 8 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (45 10 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (43 40 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (42 5 (:REWRITE SLICE-OUT-OF-ORDER))
 (40 40 (:TYPE-PRESCRIPTION POSP))
 (40 40 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (40 40 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (40 40 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (40 8 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (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 11 (:REWRITE DEFAULT-*-1))
 (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-TOO-HIGH-CHEAP-2))
 (19 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (19 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (14 14 (:REWRITE HOW-COULD-THIS-HAVE-BEEN-LEFT-OUT??))
 (14 9 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1))
 (12 2 (:REWRITE <-OF-2-AND-EXPT2))
 (12 2 (:REWRITE <-OF-+-CANCEL-2-2))
 (10 10 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (10 10 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (10 10 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (10 10 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (10 10 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (10 10 (:REWRITE GETBIT-WHEN->-FREE))
 (10 10 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (10 10 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (10 10 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (9 9 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (9 9 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (9 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (9 1 (:REWRITE SLICE-OF-BVCHOP-LOW-GEN))
 (9 1 (:REWRITE GETBIT-OF-BVCHOP-BOTH))
 (9 1 (:REWRITE GETBIT-OF-*-OF-EXPT-ARG2))
 (8 8 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (7 7 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (6 6 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (6 4 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (5 5 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (5 5 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (5 5 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (5 5 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (5 5 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 4 (:TYPE-PRESCRIPTION SIGNED-BYTE-P))
 (4 4 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (4 4 (:REWRITE BACKCHAIN-SIGNED-BYTE-P-TO-UNSIGNED-BYTE-P))
 (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-TIMES-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 3 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (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-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (2 2 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 )
(GETBIT-OF-BVCAT-LOW-BETTER-ALL-CASES
 (105 105 (:TYPE-PRESCRIPTION EVENP))
 (71 36 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (71 36 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (71 36 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (47 44 (:REWRITE DEFAULT-<-1))
 (44 44 (:REWRITE DEFAULT-<-2))
 (44 11 (:DEFINITION POSP))
 (37 37 (:REWRITE BOUND-WHEN-USB))
 (36 36 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (32 32 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (31 6 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (24 13 (:REWRITE DEFAULT-+-2))
 (24 12 (:REWRITE GETBIT-WHEN-NOT-1))
 (21 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (20 10 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (19 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (18 10 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (16 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (13 13 (:REWRITE DEFAULT-+-1))
 (12 12 (:TYPE-PRESCRIPTION POSP))
 (12 12 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (12 12 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (12 12 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (12 12 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (12 12 (:REWRITE GETBIT-WHEN->-FREE))
 (12 12 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (12 12 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (12 12 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (12 6 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (12 6 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (11 11 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (11 11 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (10 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (7 7 (:REWRITE DEFAULT-UNARY-MINUS))
 (7 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (7 7 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (7 1 (:REWRITE BVCHOP-IDENTITY))
 (6 6 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (6 6 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (6 2 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (6 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (6 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (5 5 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (5 5 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (5 1 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (4 1 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (3 3 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (2 2 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (2 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (2 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (2 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (2 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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-OF-EXPT-ALT))
 (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))
 (1 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (1 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(GETBIT-OF-BVCAT-HIGH-BETTER
 (42 2 (:REWRITE GETBIT-TOO-HIGH))
 (28 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (13 3 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (13 1 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (12 12 (:TYPE-PRESCRIPTION EVENP))
 (12 12 (:REWRITE DEFAULT-<-2))
 (12 12 (:REWRITE DEFAULT-<-1))
 (10 10 (:REWRITE BOUND-WHEN-USB))
 (8 8 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 4 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (8 4 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (8 4 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (8 2 (:DEFINITION POSP))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 1 (:REWRITE BVCHOP-IDENTITY))
 (6 3 (:REWRITE GETBIT-WHEN-NOT-1))
 (6 2 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (6 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (4 4 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (4 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (4 4 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (4 2 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 2 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (4 1 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 1 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (3 3 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (3 3 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (3 3 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (3 3 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (3 3 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (3 3 (:REWRITE GETBIT-WHEN->-FREE))
 (3 3 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (3 3 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (3 3 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (3 3 (:REWRITE DEFAULT-UNARY-MINUS))
 (3 3 (:REWRITE DEFAULT-+-2))
 (3 3 (:REWRITE DEFAULT-+-1))
 (2 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (2 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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-OF-EXPT-ALT))
 (1 1 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 )
(GETBIT-OF-BVCAT-ALL
 (2864 22 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (2816 14 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (2723 75 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1122 1122 (:TYPE-PRESCRIPTION EVENP))
 (972 6 (:REWRITE BVCHOP-BOUND-2))
 (770 396 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (559 60 (:REWRITE GETBIT-WHEN->-FREE))
 (396 396 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (357 71 (:REWRITE BVCHOP-IDENTITY))
 (343 190 (:REWRITE DEFAULT-<-1))
 (280 190 (:REWRITE DEFAULT-<-2))
 (252 12 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (234 46 (:LINEAR EXPT-BOUND-LINEAR))
 (234 46 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (226 46 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (226 46 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (217 23 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (169 169 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (149 33 (:REWRITE DEFAULT-+-2))
 (141 141 (:REWRITE BOUND-WHEN-USB))
 (126 12 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (120 60 (:REWRITE GETBIT-WHEN-NOT-1))
 (118 22 (:REWRITE GETBIT-IDENTITY))
 (98 98 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (98 98 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (98 14 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (76 39 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (75 75 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (75 75 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (75 75 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (74 46 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (71 71 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (71 71 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (71 71 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (71 71 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (69 69 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (69 69 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (69 69 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (68 34 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (66 46 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (62 15 (:DEFINITION POSP))
 (60 60 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (60 60 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (60 60 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (60 60 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (60 60 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (60 60 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (60 60 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (56 34 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (53 53 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (48 23 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (41 23 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (40 35 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (40 23 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (40 6 (:REWRITE GETBIT-OF-BVCAT-TOO-HIGH))
 (38 35 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (36 33 (:REWRITE DEFAULT-+-1))
 (33 23 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (31 23 (:LINEAR EXPT-BOUND-LINEAR-2))
 (30 12 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (24 24 (:TYPE-PRESCRIPTION POSP))
 (24 6 (:REWRITE <-OF-2-AND-EXPT2))
 (22 22 (:REWRITE GETBIT-IDENTITY-FREE))
 (20 20 (:REWRITE UNSIGNED-BYTE-P-0))
 (16 8 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (16 8 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (15 6 (:REWRITE GETBIT-OF-BVCAT-HIGH))
 (14 14 (:TYPE-PRESCRIPTION BITP))
 (14 5 (:REWRITE GETBIT-OF-BVCHOP-TOO-HIGH))
 (11 5 (:REWRITE GETBIT-OF-BVCHOP))
 (9 9 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (9 9 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (9 9 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (9 1 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (8 8 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (6 6 (:REWRITE DEFAULT-UNARY-MINUS))
 (6 6 (:REWRITE BVCHOP-BOUND))
 (6 6 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (6 2 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (4 1 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCAT-GETBIT-GETBIT-SAME
 (113 69 (:REWRITE DEFAULT-+-2))
 (78 78 (:TYPE-PRESCRIPTION EVENP))
 (69 69 (:REWRITE DEFAULT-+-1))
 (54 28 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (54 28 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (54 28 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (40 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (34 4 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (31 1 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (28 28 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (28 14 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (26 14 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (26 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (19 5 (:REWRITE SLICE-OUT-OF-ORDER))
 (17 17 (:REWRITE DEFAULT-<-2))
 (17 17 (:REWRITE DEFAULT-<-1))
 (14 14 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (14 14 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (14 14 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (13 13 (:REWRITE BOUND-WHEN-USB))
 (12 12 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (12 12 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (10 4 (:REWRITE BVCHOP-IDENTITY))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 4 (:REWRITE GETBIT-WHEN-NOT-1))
 (8 4 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (7 7 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (7 7 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (7 7 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (7 7 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (5 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 4 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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 GETBIT-WHEN->=-OF-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (4 4 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN->-FREE))
 (4 4 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (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-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-OF-EXPT-ALT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (3 3 (:REWRITE FOLD-CONSTS-IN-+))
 (3 3 (:REWRITE DEFAULT-UNARY-MINUS))
 (2 2 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:LINEAR EXPT-BOUND-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 <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-CANCEL-2-1))
 )
(LOGTAIL-OF-BVCAT-SAME
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (8 2 (:REWRITE BVCHOP-IDENTITY))
 (6 3 (:REWRITE DEFAULT-<-2))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (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 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 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
 (15139 120 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (14367 193 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (6732 12 (:REWRITE BVCHOP-BOUND-2))
 (4458 4458 (:TYPE-PRESCRIPTION EVENP))
 (3335 30 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (3023 1537 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (3023 1537 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (3023 1537 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (2650 11 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (1537 1537 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (1516 1514 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (1276 29 (:LINEAR EXPT-HALF-LINEAR))
 (1222 16 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (1209 19 (:REWRITE UNSIGNED-BYTE-P-0))
 (1133 15 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (1043 732 (:REWRITE DEFAULT-<-1))
 (988 732 (:REWRITE DEFAULT-<-2))
 (757 757 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (757 757 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (620 63 (:REWRITE DEFAULT-*-2))
 (613 336 (:REWRITE DEFAULT-+-2))
 (518 170 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (460 162 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (450 336 (:REWRITE DEFAULT-+-1))
 (416 81 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (354 354 (:REWRITE BOUND-WHEN-USB))
 (346 162 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (341 81 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (232 56 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (223 56 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (217 63 (:REWRITE DEFAULT-*-1))
 (214 72 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (193 193 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (173 81 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (173 81 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (170 170 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (170 170 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (145 29 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (112 56 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (110 22 (:DEFINITION POSP))
 (93 16 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (82 82 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (82 10 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (81 4 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT-ALT))
 (80 80 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (78 78 (:TYPE-PRESCRIPTION POSP))
 (75 75 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (75 75 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (71 16 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (68 17 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (60 60 (:LINEAR <-OF-*-AND-*-LINEAR))
 (60 56 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (58 56 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (46 37 (:REWRITE DEFAULT-UNARY-MINUS))
 (35 35 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (35 35 (:REWRITE FOLD-CONSTS-IN-+))
 (35 35 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (35 35 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (32 8 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (25 25 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (23 1 (:REWRITE DEFAULT-UNARY-/))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (16 16 (:REWRITE <-OF-*-OF-CONSTANT-AND-CONSTANT-GEN))
 (16 16 (:REWRITE <-OF-*-OF-CONSTANT-AND-CONSTANT))
 (15 5 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (14 14 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (14 14 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (14 14 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (14 14 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (13 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (13 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE BVCHOP-BOUND))
 (12 12 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (12 6 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (11 11 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (10 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (8 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (6 6 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (6 6 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (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 SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE SLICE-OF-+-OF-CONSTANT-IRREL))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE *-OF-*-COMBINE-CONSTANTS))
 )
(BVCHOP-OF-LOGAPP-BOTH
 (389 43 (:REWRITE BVCHOP-IDENTITY))
 (176 125 (:REWRITE DEFAULT-<-2))
 (176 125 (:REWRITE DEFAULT-<-1))
 (159 159 (:TYPE-PRESCRIPTION EVENP))
 (106 53 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (106 53 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (106 53 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (97 97 (:REWRITE BOUND-WHEN-USB))
 (86 86 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (83 9 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (80 80 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (74 8 (:REWRITE DEFAULT-+-2))
 (65 35 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (54 6 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (53 53 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (53 53 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (50 14 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (49 43 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (43 43 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (43 43 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (43 43 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (40 40 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (40 40 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (40 40 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (40 40 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (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))
 (34 34 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (34 34 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (34 34 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (34 34 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (34 34 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (34 14 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (33 33 (:TYPE-PRESCRIPTION POSP))
 (32 7 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (31 7 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (30 5 (:REWRITE <-OF-LOGAPP-AND-0))
 (28 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (25 7 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (18 7 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (17 7 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (15 14 (:LINEAR EXPT-BOUND-LINEAR))
 (15 14 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (14 7 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (14 7 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (12 12 (:TYPE-PRESCRIPTION NATP))
 (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))
 (8 7 (:LINEAR EXPT-BOUND-LINEAR-2))
 (7 7 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVCAT-ASSOCIATIVE-HELPER
 (4588 20 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (2904 26 (:REWRITE LOGTAIL-BECOMES-0))
 (2355 2355 (:TYPE-PRESCRIPTION EVENP))
 (1570 785 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1570 785 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1570 785 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (1473 2 (:LINEAR <-OF-*-SAME-LINEAR-2))
 (1381 2 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (1250 447 (:REWRITE DEFAULT-+-2))
 (1076 787 (:REWRITE DEFAULT-<-1))
 (986 18 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (962 906 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (948 787 (:REWRITE DEFAULT-<-2))
 (793 250 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (785 785 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (600 600 (:REWRITE BOUND-WHEN-USB))
 (536 164 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (506 506 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (486 486 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (486 486 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (473 473 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (473 473 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (467 453 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (453 453 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (447 447 (:REWRITE DEFAULT-+-1))
 (434 250 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (432 432 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (403 250 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (370 250 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (360 164 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (328 328 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (311 82 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (310 250 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (224 44 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (180 82 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (180 82 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (168 26 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (149 19 (:REWRITE DEFAULT-*-1))
 (147 147 (:TYPE-PRESCRIPTION POSP))
 (129 129 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (129 129 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (118 24 (:DEFINITION POSP))
 (118 19 (:REWRITE DEFAULT-*-2))
 (101 101 (:REWRITE DEFAULT-UNARY-MINUS))
 (84 2 (:REWRITE BVCHOP-BOUND-2))
 (82 82 (:LINEAR EXPT-BOUND-LINEAR-2))
 (77 77 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (77 77 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (77 77 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (65 31 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (55 26 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (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))
 (25 10 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (20 20 (:REWRITE UNSIGNED-BYTE-P-OF-IF-TWO-CONSTANTS))
 (14 14 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (14 14 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (14 2 (:REWRITE LOGTAIL-SHIFT-GEN2-ALT))
 (12 12 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (10 10 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (10 2 (:REWRITE DISTRIBUTIVITY-OF-MINUS-OVER-+))
 (8 2 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (7 1 (:REWRITE LOGHEAD-IDENTITY))
 (7 1 (:REWRITE BVCHOP-OF-*-OF-EXPT-WHEN-<=))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (5 5 (:REWRITE EQUAL-OF-*-AND-CONSTANT))
 (5 5 (:REWRITE BVCHOP-OF-IF-WHEN-CONSTANTS))
 (4 4 (:REWRITE EQUAL-OF-LOGTAIL-CONSTANT-VERSION))
 (4 4 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (4 4 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (4 4 (:LINEAR <-OF-*-AND-*-LINEAR))
 (4 1 (:REWRITE <-OF-+-CANCEL-1-1+))
 (3 3 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (3 3 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (3 3 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (2 2 (:REWRITE BVCHOP-NUMERIC-BOUND))
 (2 2 (:REWRITE BVCHOP-BOUND))
 (2 2 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (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
 (174 37 (:DEFINITION POSP))
 (142 21 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (113 47 (:REWRITE DEFAULT-+-2))
 (111 21 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (108 108 (:TYPE-PRESCRIPTION EVENP))
 (72 36 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (72 36 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (72 36 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (70 70 (:REWRITE DEFAULT-<-2))
 (70 70 (:REWRITE DEFAULT-<-1))
 (60 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (52 52 (:REWRITE BOUND-WHEN-USB))
 (47 47 (:REWRITE DEFAULT-+-1))
 (43 43 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (43 43 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (41 21 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (39 21 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (37 37 (:TYPE-PRESCRIPTION POSP))
 (36 36 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (36 36 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (36 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (36 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (30 6 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (27 27 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (21 21 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (18 18 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (18 18 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (16 16 (:REWRITE FOLD-CONSTS-IN-+))
 (16 16 (:REWRITE +-COMBINE-CONSTANTS))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR))
 (12 12 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (12 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (12 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (6 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(BVCAT-OF-BVCHOP-HIGH-TIGHTEN
 (44 7 (:REWRITE BVCHOP-IDENTITY))
 (25 1 (:REWRITE LOGTAIL-IDENTITY))
 (19 4 (:DEFINITION NATP))
 (18 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (17 14 (:REWRITE DEFAULT-<-2))
 (17 14 (:REWRITE DEFAULT-<-1))
 (13 13 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (13 13 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 10 (:TYPE-PRESCRIPTION NATP))
 (10 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (9 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (9 1 (:REWRITE LOGTAIL-BECOMES-0))
 (9 1 (:REWRITE BVCHOP-OF-LOGAPP-BOTH))
 (9 1 (:REWRITE BVCHOP-OF-LOGAPP-BIGGER))
 (8 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (8 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (7 7 (:TYPE-PRESCRIPTION POSP))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 BVCHOP-SUBST-CONSTANT))
 (7 7 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (7 7 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (7 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 1 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE
 (44 7 (:REWRITE BVCHOP-IDENTITY))
 (25 1 (:REWRITE LOGTAIL-IDENTITY))
 (19 4 (:DEFINITION NATP))
 (18 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (17 14 (:REWRITE DEFAULT-<-2))
 (17 14 (:REWRITE DEFAULT-<-1))
 (13 13 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (13 13 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 10 (:TYPE-PRESCRIPTION NATP))
 (10 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (9 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (9 1 (:REWRITE LOGTAIL-BECOMES-0))
 (9 1 (:REWRITE BVCHOP-OF-LOGAPP-BOTH))
 (9 1 (:REWRITE BVCHOP-OF-LOGAPP-BIGGER))
 (8 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (8 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (7 7 (:TYPE-PRESCRIPTION POSP))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 BVCHOP-SUBST-CONSTANT))
 (7 7 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (7 7 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (7 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 1 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (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))
 (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))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (5 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP-TYPE))
 (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 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 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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-OF-EXPT-ALT))
 (10 10 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (9 9 (:REWRITE DEFAULT-<-2))
 (9 9 (:REWRITE DEFAULT-<-1))
 (9 9 (:REWRITE BOUND-WHEN-USB))
 (8 8 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (7 2 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 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-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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (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))
 (2 2 (:REWRITE BVCAT-WHEN-ARG2-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))
 (1 1 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 )
(SLICE-OF-LOGAPP-HACK
 (635 1 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (338 36 (:REWRITE BVCHOP-IDENTITY))
 (279 279 (:TYPE-PRESCRIPTION EVENP))
 (216 123 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (216 123 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (216 123 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (172 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (137 1 (:REWRITE FLOOR-OF-+-WHEN-MULT-ARG2))
 (128 8 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (123 123 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (117 15 (:REWRITE DEFAULT-+-2))
 (108 4 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (107 77 (:REWRITE DEFAULT-<-1))
 (100 25 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (88 10 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (83 77 (:REWRITE DEFAULT-<-2))
 (76 76 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (76 74 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (62 62 (:REWRITE BOUND-WHEN-USB))
 (50 25 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (49 1 (:REWRITE BVCHOP-BOUND-2))
 (48 4 (:REWRITE UNSIGNED-BYTE-P-OF-1))
 (46 25 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (46 2 (:REWRITE DEFAULT-UNARY-/))
 (43 7 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (40 15 (:REWRITE DEFAULT-+-1))
 (40 4 (:DEFINITION POSP))
 (39 37 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (37 37 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (37 2 (:REWRITE FLOOR-WHEN-NOT-RATIONALP-OF-QUOTIENT))
 (36 36 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (34 34 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (31 31 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (31 1 (:REWRITE INTEGERP-OF-*))
 (25 25 (:TYPE-PRESCRIPTION POSP))
 (25 25 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (25 25 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (24 24 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (16 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (16 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (16 1 (:REWRITE MULTIPLE-WHEN-MOD-0-CHEAP))
 (15 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (15 2 (:REWRITE FLOOR-WHEN-NEGATIVE-AND-SMALL-CHEAP))
 (15 2 (:REWRITE FLOOR-WHEN-I-IS-NOT-AN-ACL2-NUMBERP))
 (15 1 (:REWRITE COMMUTATIVITY-OF-*))
 (14 2 (:REWRITE DEFAULT-*-2))
 (14 2 (:REWRITE DEFAULT-*-1))
 (13 1 (:TYPE-PRESCRIPTION RATIONALP-OF-MOD))
 (12 12 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (12 12 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (12 4 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 1 (:REWRITE INTEGERP-OF-/-OF-EXPT-2))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF--1))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-0))
 (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 6 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (6 6 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-2))
 (4 1 (:REWRITE <-OF-MINUS-AND-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 NOT-0-WHEN-BIT-NOT-0))
 (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-NUMERIC-BOUND))
 (1 1 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 )
(SLICE-OF-BVCAT-LOW
 (4293 4293 (:TYPE-PRESCRIPTION EVENP))
 (2870 1439 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (2870 1439 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (2870 1439 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (1566 85 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1439 1439 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (1241 183 (:REWRITE DEFAULT-*-2))
 (1141 183 (:REWRITE DEFAULT-*-1))
 (542 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (526 86 (:REWRITE DEFAULT-+-2))
 (387 3 (:REWRITE BVCHOP-BOUND-2))
 (383 86 (:REWRITE DEFAULT-+-1))
 (378 6 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (343 7 (:REWRITE LOGTAIL-IDENTITY))
 (332 7 (:REWRITE LOGTAIL-BECOMES-0))
 (228 6 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR))
 (224 179 (:REWRITE DEFAULT-<-1))
 (192 12 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (180 179 (:REWRITE DEFAULT-<-2))
 (174 16 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (140 19 (:REWRITE DEFAULT-UNARY-MINUS))
 (138 138 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (125 125 (:REWRITE BOUND-WHEN-USB))
 (85 85 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (85 85 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (85 85 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (69 69 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (69 69 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (67 16 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (58 22 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (50 26 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (48 26 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (46 46 (:LINEAR <-OF-*-AND-*-LINEAR))
 (42 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (41 11 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (41 11 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (39 39 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (38 38 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (38 36 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (37 37 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (37 37 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (26 26 (:TYPE-PRESCRIPTION POSP))
 (26 26 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (26 26 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (23 23 (:REWRITE FOLD-CONSTS-IN-+))
 (23 23 (:REWRITE +-COMBINE-CONSTANTS))
 (22 22 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (22 10 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (19 8 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT))
 (18 6 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (17 17 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (17 7 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (14 1 (:REWRITE UNSIGNED-BYTE-P-OF-*))
 (12 1 (:REWRITE UNSIGNED-BYTE-P-OF-EXPT2))
 (11 11 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (11 11 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (11 11 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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 10 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (8 2 (:REWRITE <-OF-2-AND-EXPT2))
 (8 2 (:DEFINITION POSP))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-0))
 (6 3 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (6 1 (:REWRITE BVCHOP-TIMES-CANCEL-BETTER-ALT))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-OF-IF-TWO-CONSTANTS))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (5 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (4 1 (:REWRITE LOGTAIL-SHIFT-GEN-ALT))
 (4 1 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (3 3 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (3 3 (:REWRITE BVCHOP-BOUND))
 (3 3 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (2 2 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE EQUAL-OF-LOGTAIL-CONSTANT-VERSION))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-NUMERIC-BOUND))
 (1 1 (:REWRITE <-OF-*-OF-CONSTANT-AND-CONSTANT-GEN))
 (1 1 (:REWRITE <-OF-*-OF-CONSTANT-AND-CONSTANT))
 )
(SLICE-OF-BVCAT-TOO-HIGH
 (27 27 (:TYPE-PRESCRIPTION EVENP))
 (27 11 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (24 24 (:REWRITE DEFAULT-<-2))
 (24 24 (:REWRITE DEFAULT-<-1))
 (21 9 (:REWRITE DEFAULT-+-2))
 (18 9 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (18 9 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (18 9 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (16 16 (:REWRITE BOUND-WHEN-USB))
 (16 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (16 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (11 11 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (10 2 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (9 9 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (9 9 (:REWRITE DEFAULT-+-1))
 (8 8 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (8 2 (:DEFINITION POSP))
 (8 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (8 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (8 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (8 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (7 1 (:REWRITE BVCHOP-IDENTITY))
 (6 6 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (6 2 (:REWRITE SLICE-OF-BVCAT-LOW))
 (6 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (6 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 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 <-OF-CONSTANT-AND-MINUS))
 (4 1 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 1 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (3 3 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (3 3 (:REWRITE DEFAULT-UNARY-MINUS))
 (3 1 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (3 1 (:REWRITE <-OF-+-CANCEL-2-2))
 (2 2 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (2 2 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (2 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (2 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (2 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (1 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE FOLD-CONSTS-IN-+))
 (1 1 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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))
 (1 1 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (1 1 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (1 1 (:REWRITE +-COMBINE-CONSTANTS))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(BVCAT-OF-BVCAT-TIGHTEN-ARG2
 (8075 10 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (6898 282 (:REWRITE BVCHOP-IDENTITY))
 (4646 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (3705 3705 (:TYPE-PRESCRIPTION EVENP))
 (2470 1235 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (2470 1235 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (2470 1235 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (1764 1764 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (1235 1235 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (1092 487 (:REWRITE DEFAULT-+-2))
 (1040 22 (:LINEAR EXPT-HALF-LINEAR))
 (882 882 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (882 882 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (830 758 (:REWRITE DEFAULT-<-1))
 (758 758 (:REWRITE DEFAULT-<-2))
 (735 191 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (692 175 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (654 654 (:REWRITE BOUND-WHEN-USB))
 (606 45 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (560 41 (:REWRITE BVCHOP-OF-BVCAT-SAME))
 (487 487 (:REWRITE DEFAULT-+-1))
 (456 254 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (416 254 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (374 194 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (340 254 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (325 282 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (292 89 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (292 89 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (292 74 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (288 178 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (282 282 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (282 282 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (282 282 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (278 61 (:DEFINITION POSP))
 (273 22 (:REWRITE DEFAULT-*-2))
 (271 61 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (259 259 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (259 259 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (258 258 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (254 254 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (254 254 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (245 245 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (244 244 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (244 244 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (244 244 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (244 244 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (222 178 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (156 15 (:REWRITE SLICE-OF-BVCAT-LOW))
 (150 15 (:REWRITE SLICE-OF-BVCAT-TOO-HIGH))
 (147 147 (:TYPE-PRESCRIPTION POSP))
 (144 144 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (144 89 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (144 89 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (126 126 (:REWRITE FOLD-CONSTS-IN-+))
 (119 48 (:REWRITE BVCHOP-OF-BVCAT-LOW))
 (112 61 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (110 22 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (103 61 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (78 10 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (78 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (77 77 (:REWRITE DEFAULT-UNARY-MINUS))
 (61 61 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (54 10 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (28 28 (:REWRITE UNSIGNED-BYTE-P-0))
 (26 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (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))
 (24 24 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (22 22 (:REWRITE DEFAULT-*-1))
 (21 10 (:REWRITE SLICE-OUT-OF-ORDER))
 (16 4 (:REWRITE <-OF-+-CANCEL-2-1))
 (13 13 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (13 13 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (13 13 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (13 13 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (12 4 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (10 10 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (10 2 (:REWRITE <-OF-+-CANCEL-1+-1))
 (8 2 (:REWRITE <-OF-+-CANCEL-1-1+))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-OF-IF-TWO-CONSTANTS))
 (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 SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (1 1 (:REWRITE BVCHOP-OF-IF-WHEN-CONSTANTS))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVCAT-OF-BVCAT-TIGHTEN-ARG4
 (4238 10 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (2217 2217 (:TYPE-PRESCRIPTION EVENP))
 (1478 739 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1478 739 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1478 739 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (1186 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (1022 1022 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (794 343 (:REWRITE DEFAULT-+-2))
 (739 739 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (673 601 (:REWRITE DEFAULT-<-1))
 (601 601 (:REWRITE DEFAULT-<-2))
 (511 511 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (511 511 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (498 498 (:REWRITE BOUND-WHEN-USB))
 (464 10 (:LINEAR EXPT-HALF-LINEAR))
 (434 82 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (360 125 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (343 343 (:REWRITE DEFAULT-+-1))
 (312 138 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (298 298 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (281 152 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (276 192 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (251 35 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (242 152 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (230 124 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (226 60 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (199 35 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (198 124 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (185 152 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (175 169 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (172 172 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (169 169 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (169 169 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (166 166 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (166 166 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (166 166 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (166 166 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (166 166 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (164 114 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (155 57 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (155 57 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (154 114 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (152 152 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (152 152 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (150 150 (:TYPE-PRESCRIPTION POSP))
 (126 126 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (126 126 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (124 124 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (123 10 (:REWRITE DEFAULT-*-2))
 (104 104 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (88 24 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (82 57 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (82 57 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (81 81 (:REWRITE DEFAULT-UNARY-MINUS))
 (78 6 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (72 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (61 5 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (60 4 (:REWRITE BVCHOP-OF-BVCAT-SAME))
 (56 14 (:REWRITE <-OF-+-CANCEL-2-1))
 (50 10 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (46 46 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (42 42 (:REWRITE FOLD-CONSTS-IN-+))
 (42 14 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (39 3 (:REWRITE SLICE-OF-BVCAT-LOW))
 (36 3 (:REWRITE SLICE-OF-BVCAT-TOO-HIGH))
 (35 35 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (30 3 (:REWRITE SLICE-OF-BVCHOP-LOW-GEN))
 (30 3 (:REWRITE SLICE-OF-BVCHOP-LOW))
 (26 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (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))
 (24 4 (:REWRITE SLICE-OUT-OF-ORDER))
 (21 3 (:REWRITE SLICE-OF-BVCHOP-TIGHTEN))
 (17 17 (:REWRITE UNSIGNED-BYTE-P-0))
 (12 3 (:REWRITE SLICE-OF-BVCHOP-TOO-HIGH))
 (10 10 (:REWRITE DEFAULT-*-1))
 (10 2 (:REWRITE <-OF-+-CANCEL-1+-1))
 (8 2 (:REWRITE <-OF-+-CANCEL-1-1+))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-OF-IF-TWO-CONSTANTS))
 (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-OF-BVCAT-LOW))
 (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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE BVCHOP-OF-IF-WHEN-CONSTANTS))
 )
(SLICE-OF-BVCAT-HACK
 (9903 14 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (4566 637 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (4055 14 (:REWRITE BVCHOP-BOUND-2))
 (3999 40 (:REWRITE LOGTAIL-IDENTITY))
 (3615 3615 (:TYPE-PRESCRIPTION EVENP))
 (3544 51 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (2503 27 (:REWRITE UNSIGNED-BYTE-P-0))
 (2498 1293 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (2498 1293 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (2498 1293 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (1905 347 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (1848 33 (:REWRITE LOGTAIL-BECOMES-0))
 (1812 44 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (1471 1264 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (1459 177 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (1293 1293 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (1002 187 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (988 477 (:REWRITE DEFAULT-+-2))
 (972 883 (:REWRITE DEFAULT-<-2))
 (968 883 (:REWRITE DEFAULT-<-1))
 (816 164 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (734 5 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT-ALT))
 (641 632 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (637 637 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (634 634 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (634 634 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (632 632 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (621 621 (:REWRITE BOUND-WHEN-USB))
 (595 82 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (595 82 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (552 92 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-2))
 (504 36 (:REWRITE <-OF-+-CANCEL-2+-1))
 (477 477 (:REWRITE DEFAULT-+-1))
 (464 47 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (448 328 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (441 381 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (440 10 (:LINEAR EXPT-HALF-LINEAR))
 (408 82 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (408 82 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (375 25 (:REWRITE <-OF-+-CANCEL-1-2+))
 (348 187 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (346 187 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (308 33 (:REWRITE DEFAULT-*-2))
 (229 229 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (229 187 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (211 211 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (211 211 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (200 164 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (189 187 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (188 47 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (185 26 (:DEFINITION POSP))
 (182 182 (:REWRITE FOLD-CONSTS-IN-+))
 (180 180 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (178 178 (:TYPE-PRESCRIPTION POSP))
 (176 33 (:REWRITE DEFAULT-*-1))
 (88 8 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (84 84 (:REWRITE DEFAULT-UNARY-MINUS))
 (66 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGTAIL-STRONG))
 (62 62 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (62 62 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (50 10 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (48 2 (:REWRITE <-OF-1-AND-EXPT))
 (28 28 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (28 28 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (28 28 (:LINEAR <-OF-*-AND-*-LINEAR))
 (28 5 (:REWRITE <-OF-2-AND-EXPT2))
 (24 24 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (24 4 (:REWRITE <-OF-+-CANCEL-1+-2+))
 (16 16 (:REWRITE BVCHOP-OF-0-ARG1))
 (16 6 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (15 15 (:REWRITE UNSIGNED-BYTE-P-OF-IF-TWO-CONSTANTS))
 (14 14 (:REWRITE BVCHOP-BOUND))
 (14 14 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (14 14 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (14 14 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (14 14 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (14 14 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (13 6 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (9 1 (:REWRITE BVCHOP-OF-*-OF-EXPT-WHEN-<=))
 (8 8 (:REWRITE BVCHOP-NUMERIC-BOUND))
 (6 6 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (6 1 (:REWRITE BVCHOP-TIMES-CANCEL-BETTER))
 (4 4 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (4 1 (:REWRITE <-OF-+-CANCEL-1-1+))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (3 3 (:REWRITE EQUAL-OF-LOGTAIL-CONSTANT-VERSION))
 (3 3 (:REWRITE BVCHOP-OF-IF-WHEN-CONSTANTS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE EQUAL-OF-*-AND-CONSTANT))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE <-OF-*-OF-CONSTANT-AND-CONSTANT-GEN))
 (1 1 (:REWRITE <-OF-*-OF-CONSTANT-AND-CONSTANT))
 )
(SLICE-TIGHTEN-TOP-2
 (1173 1173 (:TYPE-PRESCRIPTION EVENP))
 (784 393 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (784 393 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (784 393 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (542 22 (:REWRITE UNSIGNED-BYTE-P-OF-LOGTAIL-STRONG))
 (393 393 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (351 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (206 206 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (178 81 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (171 171 (:REWRITE DEFAULT-<-2))
 (171 171 (:REWRITE DEFAULT-<-1))
 (127 127 (:REWRITE DEFAULT-+-2))
 (127 127 (:REWRITE DEFAULT-+-1))
 (120 120 (:REWRITE BOUND-WHEN-USB))
 (118 34 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (103 103 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (103 103 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (96 26 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (92 23 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (91 37 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (88 2 (:LINEAR EXPT-HALF-LINEAR))
 (81 81 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (74 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (71 47 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (63 17 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (62 34 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (54 44 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (52 13 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (48 6 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (44 44 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (40 10 (:DEFINITION NFIX))
 (37 37 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (32 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (31 17 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (26 26 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (26 26 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (26 26 (:REWRITE FOLD-CONSTS-IN-+))
 (24 2 (:REWRITE DEFAULT-*-2))
 (22 22 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (18 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (17 17 (:TYPE-PRESCRIPTION NATP))
 (16 4 (:REWRITE LOGTAIL-BECOMES-0))
 (14 3 (:REWRITE <-OF-EXPT-AND-EXPT-SAME-BASE))
 (13 12 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (12 12 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 2 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (7 7 (:TYPE-PRESCRIPTION POSP))
 (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 (:REWRITE <-OF-2-AND-EXPT2))
 (4 1 (:DEFINITION POSP))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (2 2 (:REWRITE DEFAULT-*-1))
 (1 1 (:TYPE-PRESCRIPTION POWER-OF-2P))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(SLICE-OF-BVCAT-HACK-2
 (44945 2487 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (13261 74 (:REWRITE BVCHOP-BOUND-2))
 (10518 95 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (6531 6531 (:TYPE-PRESCRIPTION EVENP))
 (5122 3303 (:REWRITE DEFAULT-+-2))
 (4910 3310 (:REWRITE DEFAULT-<-1))
 (4737 2560 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (4737 2560 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (4737 2560 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (4597 354 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (4382 3310 (:REWRITE DEFAULT-<-2))
 (3383 3303 (:REWRITE DEFAULT-+-1))
 (3069 581 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (2967 34 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (2962 2644 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (2560 2560 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (2510 2487 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (2487 2487 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2487 2487 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2054 2054 (:REWRITE BOUND-WHEN-USB))
 (1986 370 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (1704 1704 (:REWRITE FOLD-CONSTS-IN-+))
 (1484 370 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (1392 1322 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (1322 1322 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (1250 185 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (1250 185 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (1143 581 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (1143 20 (:REWRITE UNSIGNED-BYTE-P-0))
 (1126 581 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (1115 27 (:REWRITE SLICE-OF-BVCAT-TOO-HIGH))
 (993 185 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (993 185 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (940 940 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (924 137 (:DEFINITION POSP))
 (771 581 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (754 601 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (699 581 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (642 115 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (630 54 (:REWRITE <-OF-+-CANCEL-1-2+))
 (620 620 (:TYPE-PRESCRIPTION POSP))
 (612 612 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (603 603 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (484 11 (:LINEAR EXPT-HALF-LINEAR))
 (462 72 (:REWRITE <-OF-2-AND-EXPT2))
 (436 436 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (436 436 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (407 407 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (407 407 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (407 407 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (343 343 (:REWRITE DEFAULT-UNARY-MINUS))
 (221 113 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (211 113 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (170 44 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (166 95 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (142 142 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (142 142 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (139 11 (:REWRITE DEFAULT-*-2))
 (138 138 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (136 44 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (129 16 (:REWRITE <-OF-+-CANCEL-2-1+))
 (121 95 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (115 115 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (113 113 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (109 95 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (103 95 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (100 100 (:REWRITE UNSIGNED-BYTE-P-OF-IF-TWO-CONSTANTS))
 (74 74 (:REWRITE BVCHOP-BOUND))
 (74 74 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (64 8 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (63 9 (:REWRITE ASSOCIATIVITY-OF-+))
 (55 11 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (48 8 (:REWRITE <-OF-+-CANCEL-1-1+))
 (48 2 (:REWRITE <-OF-+-CANCEL-1-3+))
 (44 44 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (36 36 (:TYPE-PRESCRIPTION MIN))
 (30 30 (:REWRITE BVCHOP-OF-IF-WHEN-CONSTANTS))
 (17 17 (:REWRITE BVCHOP-OF-0-ARG1))
 (12 12 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (11 11 (:REWRITE DEFAULT-*-1))
 (8 8 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (7 1 (:REWRITE <-OF-+-CANCEL-1+-1))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (6 1 (:REWRITE SLICE-OF-BVCHOP-TIGHTEN))
 (5 1 (:REWRITE SLICE-OF-BVCHOP-LOW))
 (4 4 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (4 1 (:REWRITE SLICE-OF-BVCHOP-TOO-HIGH))
 )
(SLICE-OF-BVCAT-LOW-BETTER
 (72 24 (:REWRITE DEFAULT-+-2))
 (63 63 (:TYPE-PRESCRIPTION EVENP))
 (48 16 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (42 21 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (42 21 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (42 21 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (36 6 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (33 3 (:REWRITE SLICE-OF-BVCAT-TOO-HIGH))
 (32 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (27 11 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (24 24 (:REWRITE DEFAULT-+-1))
 (23 23 (:REWRITE DEFAULT-<-2))
 (23 23 (:REWRITE DEFAULT-<-1))
 (21 21 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (18 6 (:REWRITE COMMUTATIVITY-OF-+))
 (18 3 (:REWRITE SLICE-OF-BVCAT-HACK))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 16 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (16 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (16 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (16 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (16 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (15 15 (:REWRITE BOUND-WHEN-USB))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (11 11 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (11 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (8 8 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (8 8 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (8 8 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (8 2 (:DEFINITION POSP))
 (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-WHEN-UNSIGNED-BYTE-P))
 (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 SLICE-OUT-OF-ORDER))
 (6 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (4 4 (:REWRITE FOLD-CONSTS-IN-+))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 4 (:REWRITE +-COMBINE-CONSTANTS))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (3 3 (:REWRITE SLICE-OF-BVCAT-HACK-2))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 )
(SLICE-OF-BVCAT-HACK-GEN-BETTER
 (1124 789 (:REWRITE DEFAULT-+-2))
 (789 789 (:REWRITE DEFAULT-+-1))
 (712 103 (:DEFINITION POSP))
 (621 26 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (537 77 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (495 467 (:REWRITE DEFAULT-<-1))
 (483 483 (:TYPE-PRESCRIPTION EVENP))
 (475 467 (:REWRITE DEFAULT-<-2))
 (440 77 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (433 433 (:REWRITE FOLD-CONSTS-IN-+))
 (396 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT-ALL-CASES))
 (338 338 (:REWRITE BOUND-WHEN-USB))
 (325 164 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (325 164 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (325 164 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (316 184 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (276 27 (:REWRITE BVCHOP-IDENTITY))
 (244 26 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (218 30 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (212 44 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (197 36 (:REWRITE SLICE-OUT-OF-ORDER))
 (193 49 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (164 164 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (156 156 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (154 77 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (150 77 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (144 144 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (144 20 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (143 143 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (143 143 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (127 127 (:TYPE-PRESCRIPTION POSP))
 (118 30 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (118 30 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (114 15 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (114 15 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (113 74 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (109 15 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (109 15 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (102 26 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (97 9 (:REWRITE <-OF-+-CANCEL-1-2+))
 (94 94 (:REWRITE DEFAULT-UNARY-MINUS))
 (78 78 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (78 78 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (77 77 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (74 74 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (74 74 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (74 74 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (72 12 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-2))
 (64 6 (:REWRITE SLICE-OF-BVCAT-TOO-HIGH))
 (63 1 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (56 26 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (50 50 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (50 26 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (49 26 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (46 26 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (45 30 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (45 30 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (42 42 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (42 42 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (42 42 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (42 42 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (42 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (40 40 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP-TYPE))
 (38 1 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR))
 (34 30 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (32 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (30 30 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (30 30 (:LINEAR EXPT-BOUND-LINEAR))
 (30 30 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (30 26 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (27 27 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (27 27 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (27 27 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (27 27 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (27 26 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (26 26 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (26 26 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (19 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (15 15 (:LINEAR EXPT-BOUND-LINEAR-2))
 (15 6 (:REWRITE SLICE-OF-BVCAT-LOW))
 (10 3 (:REWRITE <-OF-+-CANCEL-2-2))
 (8 6 (:REWRITE SLICE-OF-BVCAT-HACK))
 (7 1 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (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))
 (3 3 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-OF-0-ARG1))
 )
(SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-1
 (12 12 (:REWRITE DEFAULT-<-2))
 (12 12 (:REWRITE DEFAULT-<-1))
 (12 3 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (11 11 (: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 6 (:TYPE-PRESCRIPTION EVENP))
 (6 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (4 2 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (4 2 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (4 2 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (4 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (3 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (2 2 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (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-WHEN-UNSIGNED-BYTE-P))
 (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-UNSIGNED-BYTE-P-SMALLER))
 (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 BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 )
(SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-2
 (81 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (81 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (69 3 (:REWRITE BVCHOP-IDENTITY))
 (64 54 (:REWRITE DEFAULT-<-1))
 (54 54 (:REWRITE DEFAULT-<-2))
 (54 6 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (54 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (53 41 (:REWRITE DEFAULT-+-2))
 (41 41 (:REWRITE DEFAULT-+-1))
 (40 40 (:REWRITE BOUND-WHEN-USB))
 (36 36 (:TYPE-PRESCRIPTION MIN))
 (34 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (31 15 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (29 17 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (29 15 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (28 6 (:DEFINITION POSP))
 (27 27 (:TYPE-PRESCRIPTION EVENP))
 (24 6 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (23 5 (:REWRITE SLICE-OUT-OF-ORDER))
 (23 4 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (21 21 (:TYPE-PRESCRIPTION NATP))
 (20 11 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (20 11 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (20 11 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (19 4 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (18 18 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (18 18 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (16 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (15 3 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (13 3 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (13 3 (:REWRITE BVCAT-OF-BVCHOP-HIGH))
 (11 11 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (11 3 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (11 3 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:REWRITE FOLD-CONSTS-IN-+))
 (10 10 (:REWRITE DEFAULT-UNARY-MINUS))
 (10 10 (:REWRITE +-COMBINE-CONSTANTS))
 (9 9 (:TYPE-PRESCRIPTION POSP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 4 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (8 4 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (8 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (8 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (8 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (8 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (6 6 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (6 3 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (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))
 (5 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (5 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (3 3 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP-TYPE))
 (3 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (3 3 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (3 3 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (3 3 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (3 3 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (2 2 (:REWRITE SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-1))
 (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 EXPT-BOUND-LINEAR-WEAK))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (2 2 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (2 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (2 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-3
 (84 4 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (56 8 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (40 4 (:REWRITE SLICE-OUT-OF-ORDER))
 (28 12 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (27 27 (:REWRITE DEFAULT-<-2))
 (27 27 (:REWRITE DEFAULT-<-1))
 (24 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (24 3 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (19 19 (:REWRITE BOUND-WHEN-USB))
 (14 4 (:REWRITE <-OF-+-CANCEL-2-2))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (12 12 (:TYPE-PRESCRIPTION EVENP))
 (12 4 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (12 4 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (10 10 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (8 8 (:REWRITE DEFAULT-+-2))
 (8 8 (:REWRITE DEFAULT-+-1))
 (8 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (8 4 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (8 4 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (8 4 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (8 4 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (8 2 (:REWRITE BVCHOP-IDENTITY))
 (8 2 (:DEFINITION POSP))
 (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 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (5 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (4 4 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 4 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 1 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE FOLD-CONSTS-IN-+))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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-OF-EXPT-ALT))
 (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))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 )
(SLICE-OF-BVCAT-GEN
 (865 625 (:REWRITE DEFAULT-+-2))
 (628 84 (:DEFINITION POSP))
 (625 625 (:REWRITE DEFAULT-+-1))
 (439 66 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (413 66 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (396 396 (:REWRITE FOLD-CONSTS-IN-+))
 (339 339 (:TYPE-PRESCRIPTION EVENP))
 (331 309 (:REWRITE DEFAULT-<-1))
 (317 309 (:REWRITE DEFAULT-<-2))
 (310 62 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (228 115 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (228 115 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (228 115 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (223 223 (:REWRITE BOUND-WHEN-USB))
 (216 30 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (197 127 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (168 42 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (152 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (144 16 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (142 142 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (142 142 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (132 66 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (129 66 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (124 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (120 120 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (117 7 (:REWRITE BVCHOP-IDENTITY))
 (115 115 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (113 25 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (113 25 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (108 18 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-2))
 (107 107 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (95 17 (:REWRITE SLICE-OUT-OF-ORDER))
 (89 89 (:TYPE-PRESCRIPTION POSP))
 (88 8 (:REWRITE <-OF-+-CANCEL-1-2+))
 (78 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (78 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (76 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (76 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (66 66 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (60 60 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (60 60 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (59 33 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (42 42 (:REWRITE DEFAULT-UNARY-MINUS))
 (37 37 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (36 16 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (33 33 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (33 33 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (33 33 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (28 16 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (28 7 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (26 26 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP-TYPE))
 (25 25 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR))
 (20 20 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (20 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (20 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-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))
 (16 16 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (16 16 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (14 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (14 1 (:REWRITE BVCAT-EQUAL-REWRITE-ALT))
 (14 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (12 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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-OF-EXPT-ALT))
 (7 7 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 2 (:REWRITE <-OF-+-CANCEL-2-2))
 (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))
 (4 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (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))
 (2 2 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 )
(BVCAT-NUMERIC-BOUND2-CORE
 (436 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (258 258 (:TYPE-PRESCRIPTION EVENP))
 (172 86 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (172 86 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (172 86 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (86 86 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (77 44 (:REWRITE DEFAULT-<-2))
 (72 2 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (56 14 (:DEFINITION POSP))
 (52 44 (:REWRITE DEFAULT-<-1))
 (47 14 (:REWRITE DEFAULT-+-2))
 (42 7 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (42 7 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (40 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (30 30 (:REWRITE BOUND-WHEN-USB))
 (26 26 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (24 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (24 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (20 20 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (20 20 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (20 4 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (16 16 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 14 (:TYPE-PRESCRIPTION POSP))
 (14 14 (:REWRITE DEFAULT-+-1))
 (14 7 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (14 7 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (13 13 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (13 13 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 8 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (7 7 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-2))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (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
 (246 246 (:TYPE-PRESCRIPTION EVENP))
 (164 82 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (164 82 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (164 82 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (128 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (82 82 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (67 34 (:REWRITE DEFAULT-<-2))
 (41 34 (:REWRITE DEFAULT-<-1))
 (40 10 (:DEFINITION POSP))
 (33 11 (:REWRITE DEFAULT-+-2))
 (30 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (30 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (30 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (23 23 (:REWRITE BOUND-WHEN-USB))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (18 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (18 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (15 15 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (15 15 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (15 3 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (11 11 (:REWRITE DEFAULT-+-1))
 (10 10 (:TYPE-PRESCRIPTION POSP))
 (10 10 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (10 10 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (10 5 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (6 6 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (5 5 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (3 3 (:LINEAR EXPT-BOUND-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 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))
 (114 114 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (95 58 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (86 86 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (86 86 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (86 86 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (86 86 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (60 30 (:REWRITE DEFAULT-<-2))
 (58 58 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (58 58 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (58 58 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (58 58 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (54 54 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (39 39 (:REWRITE DEFAULT-+-2))
 (39 39 (:REWRITE DEFAULT-+-1))
 (30 30 (:REWRITE DEFAULT-<-1))
 (30 30 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (30 30 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (30 30 (:REWRITE BOUND-WHEN-USB))
 (15 15 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (14 14 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (14 14 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (14 14 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (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))
 (7 7 (:REWRITE FOLD-CONSTS-IN-+))
 (6 6 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (4 4 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (4 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (4 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (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))
 (2 2 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (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
 (225 225 (:TYPE-PRESCRIPTION EVENP))
 (150 75 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (150 75 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (150 75 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (75 75 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (51 15 (:REWRITE DEFAULT-+-2))
 (42 30 (:REWRITE DEFAULT-<-2))
 (40 10 (:DEFINITION POSP))
 (33 30 (:REWRITE DEFAULT-<-1))
 (30 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (30 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (30 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (21 21 (:REWRITE BOUND-WHEN-USB))
 (18 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (18 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (15 15 (:REWRITE DEFAULT-+-1))
 (15 15 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (15 3 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (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))
 (7 7 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (7 7 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (6 6 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (5 5 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (3 3 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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))
 )
(SLICE-OF-BVCAT-HACK-GEN
 (804 612 (:REWRITE DEFAULT-+-2))
 (612 612 (:REWRITE DEFAULT-+-1))
 (556 75 (:DEFINITION POSP))
 (424 51 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (385 385 (:REWRITE FOLD-CONSTS-IN-+))
 (317 51 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (310 62 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (300 278 (:REWRITE DEFAULT-<-1))
 (286 278 (:REWRITE DEFAULT-<-2))
 (270 270 (:TYPE-PRESCRIPTION EVENP))
 (216 30 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (201 201 (:REWRITE BOUND-WHEN-USB))
 (185 115 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (182 92 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (182 92 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (182 92 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (168 42 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (152 18 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (129 129 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (129 129 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (124 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (120 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (108 20 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (108 20 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (108 18 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-2))
 (102 51 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (102 18 (:REWRITE SLICE-OUT-OF-ORDER))
 (100 51 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (96 96 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (94 94 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (92 92 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (88 8 (:REWRITE <-OF-+-CANCEL-1-2+))
 (80 80 (:TYPE-PRESCRIPTION POSP))
 (62 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (62 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (60 34 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (60 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (60 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (51 51 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (48 48 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (48 48 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (38 18 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (36 36 (:REWRITE DEFAULT-UNARY-MINUS))
 (34 34 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (34 34 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (34 34 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (31 18 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (28 28 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (28 7 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (20 20 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP-TYPE))
 (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))
 (20 20 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (18 18 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (18 18 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (16 16 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (16 16 (:LINEAR EXPT-BOUND-LINEAR))
 (16 16 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (16 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (16 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (13 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (9 7 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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-OF-EXPT-ALT))
 (4 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (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))
 )
(BVCAT-COMBINE-CONSTANTS-OLD
 (134 29 (:DEFINITION POSP))
 (110 17 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (87 17 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (80 36 (:REWRITE DEFAULT-+-2))
 (72 72 (:TYPE-PRESCRIPTION EVENP))
 (57 57 (:REWRITE DEFAULT-<-2))
 (57 57 (:REWRITE DEFAULT-<-1))
 (55 5 (:REWRITE BVCAT-OF-BVCAT-TIGHTEN-ARG2))
 (48 24 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (48 24 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (48 24 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (40 40 (:REWRITE BOUND-WHEN-USB))
 (40 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (36 36 (:REWRITE DEFAULT-+-1))
 (34 34 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (34 34 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (33 17 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (31 17 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (29 29 (:TYPE-PRESCRIPTION POSP))
 (24 24 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (24 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (24 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (23 23 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (20 4 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (17 17 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (12 12 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (12 4 (:REWRITE <-OF-+-CANCEL-2-1+))
 (8 8 (:REWRITE FOLD-CONSTS-IN-+))
 (8 8 (:REWRITE +-COMBINE-CONSTANTS))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 8 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (5 5 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (5 5 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (5 5 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-2))
 (3 1 (:REWRITE <-OF-+-CANCEL-2-2))
 )
(BVCAT-COMBINE-CONSTANTS
 (110 66 (:REWRITE DEFAULT-+-2))
 (110 17 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (98 20 (:DEFINITION POSP))
 (70 5 (:REWRITE BVCAT-OF-BVCAT-TIGHTEN-ARG2))
 (66 66 (:TYPE-PRESCRIPTION EVENP))
 (66 66 (:REWRITE DEFAULT-+-1))
 (44 22 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (44 22 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (44 22 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (42 17 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (33 17 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (31 17 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (29 29 (:REWRITE DEFAULT-<-2))
 (29 29 (:REWRITE DEFAULT-<-1))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (24 24 (:REWRITE BOUND-WHEN-USB))
 (23 23 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (22 22 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (20 20 (:TYPE-PRESCRIPTION POSP))
 (20 20 (:REWRITE FOLD-CONSTS-IN-+))
 (20 20 (:REWRITE +-COMBINE-CONSTANTS))
 (17 17 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (14 14 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (14 14 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (12 12 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (12 12 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (12 4 (:REWRITE <-OF-+-CANCEL-2-1+))
 (5 5 (:REWRITE BVCAT-COMBINE-CONSTANTS-OLD))
 (5 5 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (5 5 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (5 5 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (3 1 (:REWRITE <-OF-+-CANCEL-2-2))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(BVCAT-SUBST-1
 (30 6 (:DEFINITION NATP))
 (27 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (27 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (21 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (19 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (15 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (11 8 (:REWRITE DEFAULT-<-1))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (8 8 (:REWRITE DEFAULT-<-2))
 (7 7 (:REWRITE BOUND-WHEN-USB))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (6 6 (:TYPE-PRESCRIPTION NATP))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (5 5 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (5 5 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (5 5 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (5 1 (:DEFINITION POSP))
 (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-UNSIGNED-BYTE-P-SMALLER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (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))
 (1 1 (:TYPE-PRESCRIPTION POSP))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->-FREE))
 (1 1 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (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-IDENTITY))
 (7 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (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 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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (2 2 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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-OF-EXPT-ALT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (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))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 )
(EQUAL-BVCAT-0-LEFT
 (12 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (8 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 INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (2 2 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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-OF-EXPT-ALT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 )
(BVCAT-ASSOCIATIVE-GEN
 (511 280 (:REWRITE DEFAULT-+-2))
 (483 483 (:TYPE-PRESCRIPTION EVENP))
 (322 161 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (322 161 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (322 161 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (298 278 (:REWRITE DEFAULT-<-1))
 (280 280 (:REWRITE DEFAULT-+-1))
 (278 278 (:REWRITE DEFAULT-<-2))
 (233 233 (:REWRITE BOUND-WHEN-USB))
 (166 166 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (161 161 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (134 134 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (119 8 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (112 59 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (106 59 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (101 101 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (94 34 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (83 83 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (83 83 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (80 15 (:REWRITE BVCAT-OF-BVCAT-TIGHTEN-ARG2))
 (69 40 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (68 68 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (68 68 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (68 68 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (68 68 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (66 40 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (65 17 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (62 62 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (61 61 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (61 61 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (61 61 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (59 59 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (55 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (55 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (42 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (41 41 (:REWRITE FOLD-CONSTS-IN-+))
 (40 40 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (40 40 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (36 36 (:LINEAR EXPT-BOUND-LINEAR))
 (34 34 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (34 34 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (26 26 (:REWRITE DEFAULT-UNARY-MINUS))
 (26 26 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (20 20 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (18 18 (:LINEAR EXPT-BOUND-LINEAR-2))
 (17 17 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (17 17 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (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 BVCAT-COMBINE-CONSTANTS-OLD))
 (14 6 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (12 12 (:REWRITE UNSIGNED-BYTE-P-0))
 (11 11 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (11 11 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (10 5 (:REWRITE EQUAL-OF-+-CANCEL-2))
 (9 9 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (6 6 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (6 6 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (6 6 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (6 6 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (6 6 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (6 6 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (5 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-OF-IF-TWO-CONSTANTS))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (4 1 (:REWRITE <-OF-+-CANCEL-2-1+))
 (3 3 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (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-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 )
(LOGTAIL-OF-BVCAT-LOW
 (2300 19 (:REWRITE LOGTAIL-IDENTITY))
 (2146 19 (:REWRITE LOGTAIL-BECOMES-0))
 (444 444 (:TYPE-PRESCRIPTION EVENP))
 (379 170 (:REWRITE DEFAULT-+-2))
 (331 283 (:REWRITE DEFAULT-<-1))
 (296 148 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (296 148 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (296 148 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (289 85 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (283 283 (:REWRITE DEFAULT-<-2))
 (246 36 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (246 36 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (233 233 (:REWRITE BOUND-WHEN-USB))
 (222 12 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (179 170 (:REWRITE DEFAULT-+-1))
 (172 172 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (170 32 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (164 85 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (159 85 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (150 35 (:DEFINITION POSP))
 (148 148 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (148 148 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (148 148 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (148 148 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (148 148 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (114 114 (:TYPE-PRESCRIPTION POSP))
 (112 112 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (112 16 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (109 109 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (109 109 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (109 109 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (103 15 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (102 3 (:REWRITE UNSIGNED-BYTE-P-OF-LOGTAIL-STRONG))
 (99 99 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (99 19 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (92 36 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (86 86 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (86 86 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (85 85 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (85 85 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (83 23 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (80 18 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (80 18 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (54 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (52 36 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (44 32 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (38 19 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (36 36 (:REWRITE FOLD-CONSTS-IN-+))
 (36 36 (:LINEAR EXPT-BOUND-LINEAR))
 (36 36 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (35 35 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (35 35 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (30 30 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (30 30 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (30 10 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (26 18 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (26 18 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (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))
 (21 21 (:REWRITE UNSIGNED-BYTE-P-0))
 (19 10 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (18 18 (:LINEAR EXPT-BOUND-LINEAR-2))
 (16 16 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (13 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN))
 (12 12 (:REWRITE DEFAULT-UNARY-MINUS))
 (10 10 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-OF-IF-TWO-CONSTANTS))
 (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 EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:REWRITE BVCHOP-OF-IF-WHEN-CONSTANTS))
 (3 3 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (2 2 (:REWRITE EQUAL-OF-LOGTAIL-CONSTANT-VERSION))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(LOGTAIL-LOGAPP-BETTER
 (4176 24 (:REWRITE <-OF-*-AND-0))
 (3789 27 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (2466 2466 (:TYPE-PRESCRIPTION EVENP))
 (1644 822 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1644 822 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1644 822 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (822 822 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (655 543 (:REWRITE DEFAULT-<-2))
 (653 543 (:REWRITE DEFAULT-<-1))
 (552 110 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (501 27 (:LINEAR <-OF-*-SAME-LINEAR-2))
 (486 448 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (357 59 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (339 339 (:REWRITE BOUND-WHEN-USB))
 (302 38 (:REWRITE LOGTAIL-BECOMES-0))
 (262 224 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (247 55 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (224 224 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (202 38 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (180 48 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (174 110 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (168 19 (:REWRITE DEFAULT-*-2))
 (134 30 (:DEFINITION POSP))
 (125 125 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (125 125 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (123 123 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (123 123 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (122 19 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (100 8 (:REWRITE NATP-OF-*-WHEN-NATP-AND-NATP))
 (87 55 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (85 85 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (60 6 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (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-*-LINEAR))
 (44 1 (:LINEAR EXPT-HALF-LINEAR))
 (43 19 (:REWRITE DEFAULT-*-1))
 (41 41 (:TYPE-PRESCRIPTION NATP))
 (37 37 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (37 37 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (35 35 (:TYPE-PRESCRIPTION POSP))
 (34 34 (:REWRITE DEFAULT-+-2))
 (34 34 (:REWRITE DEFAULT-+-1))
 (28 4 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (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))
 (24 24 (:REWRITE <-OF-*-OF-CONSTANT-AND-CONSTANT))
 (24 12 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (24 6 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (23 23 (:REWRITE DEFAULT-UNARY-MINUS))
 (21 3 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (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))
 (18 18 (:REWRITE <-OF-0-AND-EXPT))
 (18 10 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (18 3 (:REWRITE <-OF-LOGAPP-AND-0))
 (17 3 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (16 6 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (16 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (15 6 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (13 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (12 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 3 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (11 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (11 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (9 9 (:REWRITE EQUAL-OF-LOGTAIL-CONSTANT-VERSION))
 (9 9 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (9 1 (:REWRITE NATP-OF-LOGAPP))
 (8 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (7 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-OF-IF-TWO-CONSTANTS))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (6 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (6 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (5 1 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (3 3 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (1 1 (:REWRITE +-COMBINE-CONSTANTS))
 )
(LOGTAIL-OF-BVCAT-WHEN-EXTENDS-INTO-UPPER
 (1688 172 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (956 108 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (552 306 (:REWRITE DEFAULT-<-2))
 (457 5 (:REWRITE UNSIGNED-BYTE-P-0))
 (456 306 (:REWRITE DEFAULT-<-1))
 (276 26 (:REWRITE LOGTAIL-BECOMES-0))
 (273 273 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (273 273 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (273 273 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (273 273 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (248 248 (:REWRITE BOUND-WHEN-USB))
 (150 25 (:DEFINITION POSP))
 (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))
 (120 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (94 16 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (94 16 (:REWRITE BVCHOP-IDENTITY))
 (82 10 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (80 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (72 72 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (70 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (70 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (70 10 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (65 41 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (60 60 (:TYPE-PRESCRIPTION EVENP))
 (60 54 (:REWRITE DEFAULT-+-1))
 (60 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (60 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (54 54 (:REWRITE DEFAULT-+-2))
 (52 26 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (44 10 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (41 41 (:TYPE-PRESCRIPTION POSP))
 (40 20 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (40 20 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (40 20 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (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-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 INTEGERP-OF-EXPT-TYPE))
 (20 20 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (20 20 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (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-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (20 20 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (20 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (20 10 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (16 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (16 16 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (16 16 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (16 16 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (10 10 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (10 10 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (10 10 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (10 10 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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
 (1046 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))
 (213 135 (:REWRITE DEFAULT-<-2))
 (165 135 (:REWRITE DEFAULT-<-1))
 (164 16 (:REWRITE LOGTAIL-BECOMES-0))
 (161 29 (:DEFINITION POSP))
 (143 143 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (143 143 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (143 143 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (143 143 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (119 16 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (115 115 (:REWRITE BOUND-WHEN-USB))
 (71 11 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (71 11 (:REWRITE BVCHOP-IDENTITY))
 (71 5 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (71 5 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (65 65 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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))
 (38 38 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (38 38 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (38 38 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (36 6 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (36 4 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (32 32 (:TYPE-PRESCRIPTION NATP))
 (32 16 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (30 18 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (25 25 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (25 25 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (24 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (24 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (22 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (22 11 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (21 11 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (21 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (18 9 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (18 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (18 2 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (16 9 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (15 15 (:REWRITE DEFAULT-UNARY-MINUS))
 (14 14 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (14 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (14 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (14 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (12 12 (:TYPE-PRESCRIPTION EVENP))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (12 2 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (11 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (11 11 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (11 11 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (11 11 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (11 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT-ALL-CASES))
 (9 9 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (8 4 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (8 4 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (8 4 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (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-WHEN-UNSIGNED-BYTE-P))
 (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 INTEGERP-OF-EXPT-TYPE))
 (4 4 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (4 4 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 2 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (2 2 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (2 2 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (1 1 (:REWRITE EQUAL-OF-LOGTAIL-CONSTANT-VERSION))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCAT-OF-SLICE-AND-SLICE-ADJACENT-2
 (920 32 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (840 721 (:REWRITE DEFAULT-+-2))
 (721 721 (:REWRITE DEFAULT-+-1))
 (499 124 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (472 21 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (388 5 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (385 385 (:REWRITE FOLD-CONSTS-IN-+))
 (288 112 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (248 208 (:REWRITE DEFAULT-<-1))
 (210 210 (:TYPE-PRESCRIPTION EVENP))
 (208 208 (:REWRITE DEFAULT-<-2))
 (157 157 (:REWRITE BOUND-WHEN-USB))
 (153 83 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (153 83 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (153 83 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (148 37 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (142 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (138 23 (:DEFINITION POSP))
 (124 124 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (124 124 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (124 124 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (100 1 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (95 95 (:REWRITE DEFAULT-UNARY-MINUS))
 (87 87 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (87 87 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (83 83 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (83 83 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (75 1 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR))
 (71 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (71 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (71 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (71 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (70 70 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (64 1 (:REWRITE SLICE-BECOMES-BVCHOP))
 (53 31 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (48 8 (:REWRITE <-OF---AND--))
 (42 42 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (38 35 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (37 37 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (37 37 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (37 37 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (37 37 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (36 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (35 35 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (35 35 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (32 32 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (31 31 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (31 12 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (30 30 (:TYPE-PRESCRIPTION POSP))
 (26 13 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (25 13 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (24 6 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (22 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR))
 (20 20 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (20 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (20 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (20 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (19 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (16 16 (:REWRITE UNSIGNED-BYTE-P-OF-IF-TWO-CONSTANTS))
 (14 1 (:REWRITE <-OF-+-CANCEL-1-3+))
 (13 13 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (13 13 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (13 13 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (13 13 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (13 13 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (13 12 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (13 3 (:REWRITE <-OF-+-CANCEL-1-2))
 (12 12 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (12 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (12 12 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (12 12 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR-2))
 (8 1 (:REWRITE <-OF-+-CANCEL-1-3))
 (7 1 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (6 6 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (5 1 (:REWRITE <-OF-+-CANCEL-2-1))
 (4 4 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (4 1 (:REWRITE <-OF-+-CANCEL-1+-2))
 (3 1 (:REWRITE <-OF-+-CANCEL-2-1+))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-BVCHOP-SAME))
 (2 2 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (2 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (2 1 (:REWRITE <-OF-+-CANCEL-1-1+))
 (1 1 (:REWRITE SLICE-BOUND))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE BVCHOP-OF-IF-WHEN-CONSTANTS))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE <-OF-SLICE-AND-CONSTANT))
 (1 1 (:DEFINITION IFIX))
 )
(BVCAT-OF-SLICE-AND-GETBIT-ADJACENT-2
 (287 239 (:REWRITE DEFAULT-+-2))
 (239 239 (:REWRITE DEFAULT-+-1))
 (165 9 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (143 51 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (116 116 (:REWRITE FOLD-CONSTS-IN-+))
 (112 48 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (108 108 (:TYPE-PRESCRIPTION EVENP))
 (98 86 (:REWRITE DEFAULT-<-1))
 (94 16 (:DEFINITION POSP))
 (89 37 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (86 86 (:REWRITE DEFAULT-<-2))
 (86 3 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (76 40 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (76 40 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (76 40 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (65 65 (:REWRITE BOUND-WHEN-USB))
 (64 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (55 55 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (48 12 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (40 40 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (37 37 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (37 37 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (37 37 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (35 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (34 34 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (34 34 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (32 32 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (32 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (32 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (32 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (32 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (31 31 (:REWRITE DEFAULT-UNARY-MINUS))
 (28 4 (:REWRITE <-OF---AND--))
 (24 12 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (23 23 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (23 12 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (23 5 (:REWRITE BVCHOP-IDENTITY))
 (20 20 (:TYPE-PRESCRIPTION POSP))
 (16 16 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (16 16 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (16 16 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (16 8 (:REWRITE GETBIT-WHEN-NOT-1))
 (16 8 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (15 9 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (13 13 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (13 13 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (13 13 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (13 13 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (13 8 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (12 3 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (11 5 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (9 9 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (9 9 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (9 9 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (9 5 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (8 8 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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))
 (8 8 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (8 8 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (8 8 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (8 8 (:REWRITE GETBIT-WHEN->-FREE))
 (8 8 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (8 8 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (8 8 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 8 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (5 5 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (5 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (5 5 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (5 5 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (5 5 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (5 5 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (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 EXPT-BOUND-LINEAR-2))
 (3 3 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:REWRITE BVCAT-SUBST-1))
 (2 2 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-BVCHOP-SAME))
 )
(BVCAT-OF-GETBIT-AND-SLICE-ADJACENT-2
 (335 287 (:REWRITE DEFAULT-+-2))
 (287 287 (:REWRITE DEFAULT-+-1))
 (136 16 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (135 135 (:REWRITE FOLD-CONSTS-IN-+))
 (135 51 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (96 96 (:TYPE-PRESCRIPTION EVENP))
 (92 91 (:REWRITE DEFAULT-<-1))
 (91 91 (:REWRITE DEFAULT-<-2))
 (69 69 (:REWRITE BOUND-WHEN-USB))
 (65 59 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (65 33 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (65 33 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (65 33 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (64 16 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (64 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (58 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (46 46 (:REWRITE DEFAULT-UNARY-MINUS))
 (43 43 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (43 43 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (33 33 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (33 33 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (32 32 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (32 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (32 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (32 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (32 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (31 15 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (24 12 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (23 23 (:TYPE-PRESCRIPTION POSP))
 (23 23 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (23 15 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (23 12 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (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))
 (20 4 (:REWRITE <-OF---AND--))
 (16 16 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (16 16 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (16 16 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (16 16 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (16 4 (:REWRITE BVCHOP-IDENTITY))
 (15 15 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (15 15 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (15 15 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (15 15 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (12 12 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (12 3 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (10 5 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE GETBIT-WHEN-NOT-1))
 (10 5 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 8 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 2 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (7 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (7 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (6 6 (:REWRITE BVCAT-SUBST-1))
 (6 6 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (6 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (5 5 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (5 5 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (5 5 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (5 5 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (5 5 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (5 5 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (5 5 (:REWRITE GETBIT-WHEN->-FREE))
 (5 5 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (5 5 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (5 5 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (4 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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-OF-EXPT-ALT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-2))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVCAT-OF-GETBIT-AND-GETBIT-ADJACENT-2
 (107 63 (:REWRITE DEFAULT-+-2))
 (78 78 (:TYPE-PRESCRIPTION EVENP))
 (63 63 (:REWRITE DEFAULT-+-1))
 (52 26 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (52 26 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (52 26 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (26 26 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (22 11 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (21 11 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (20 5 (:DEFINITION POSP))
 (18 9 (:REWRITE GETBIT-WHEN-NOT-1))
 (18 9 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (16 4 (:REWRITE BVCHOP-IDENTITY))
 (15 15 (:TYPE-PRESCRIPTION GETBIT))
 (14 14 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 14 (:REWRITE DEFAULT-UNARY-MINUS))
 (13 9 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (12 12 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (11 11 (:REWRITE DEFAULT-<-2))
 (11 11 (:REWRITE DEFAULT-<-1))
 (11 11 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (11 11 (:REWRITE BOUND-WHEN-USB))
 (9 9 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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))
 (9 9 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (9 9 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (9 9 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (9 9 (:REWRITE GETBIT-WHEN->-FREE))
 (9 9 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (9 9 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (9 9 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (9 3 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (8 8 (:REWRITE FOLD-CONSTS-IN-+))
 (8 8 (:REWRITE BVCAT-SUBST-1))
 (7 7 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (7 7 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (7 7 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (7 7 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (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))
 (5 5 (:TYPE-PRESCRIPTION SLICE))
 (5 5 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (4 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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-OF-EXPT-ALT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (3 3 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(BVCAT-OF-SLICE-AND-X-ADJACENT-2
 (367 281 (:REWRITE DEFAULT-+-2))
 (289 47 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (281 281 (:REWRITE DEFAULT-+-1))
 (168 168 (:TYPE-PRESCRIPTION EVENP))
 (121 5 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (117 61 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (117 61 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (117 61 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (109 82 (:REWRITE DEFAULT-<-1))
 (107 107 (:REWRITE FOLD-CONSTS-IN-+))
 (90 17 (:DEFINITION POSP))
 (86 82 (:REWRITE DEFAULT-<-2))
 (78 6 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (70 70 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (70 6 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (69 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (65 65 (:REWRITE BOUND-WHEN-USB))
 (61 61 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (56 20 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (47 47 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (47 47 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (47 47 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (41 25 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (35 35 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (35 35 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (35 5 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (32 32 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (32 8 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (31 25 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (30 30 (:REWRITE DEFAULT-UNARY-MINUS))
 (29 25 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (28 28 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (27 27 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (27 27 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (27 27 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (25 25 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (25 25 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (25 13 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (24 13 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (23 23 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (23 23 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (22 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (21 21 (:TYPE-PRESCRIPTION POSP))
 (14 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (13 13 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (13 13 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (13 13 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (13 13 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (13 13 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (11 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (11 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (11 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (11 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (10 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (8 1 (:REWRITE <-OF-+-CANCEL-1-3))
 (6 6 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (6 6 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (6 6 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (6 6 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (6 6 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 1 (:REWRITE <-OF-+-CANCEL-1+-2+))
 (5 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (5 5 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (5 5 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (5 5 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-0))
 (2 2 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-IF-TWO-CONSTANTS))
 (1 1 (:REWRITE SLICE-BOUND))
 (1 1 (:REWRITE <-OF-SLICE-AND-CONSTANT))
 )
(BVCAT-OF-GETBIT-AND-X-ADJACENT-2
 (220 146 (:REWRITE DEFAULT-+-2))
 (146 146 (:REWRITE DEFAULT-+-1))
 (146 12 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (126 126 (:TYPE-PRESCRIPTION EVENP))
 (112 21 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (93 51 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (78 43 (:REWRITE DEFAULT-<-1))
 (78 6 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (70 6 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (54 11 (:DEFINITION POSP))
 (51 51 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (47 43 (:REWRITE DEFAULT-<-2))
 (40 40 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (39 39 (:REWRITE FOLD-CONSTS-IN-+))
 (28 28 (:REWRITE BOUND-WHEN-USB))
 (24 15 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (23 12 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (22 12 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (22 2 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (21 21 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (21 21 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (21 21 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (21 21 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (20 20 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (20 20 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (20 20 (:REWRITE DEFAULT-UNARY-MINUS))
 (19 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (18 15 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (18 15 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (16 16 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (15 15 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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 15 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (14 14 (:TYPE-PRESCRIPTION POSP))
 (14 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (12 12 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (10 10 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (10 5 (:REWRITE GETBIT-WHEN-NOT-1))
 (10 5 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (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))
 (9 5 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 8 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 2 (:REWRITE GETBIT-IDENTITY))
 (7 7 (:REWRITE BVCAT-SUBST-1))
 (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 BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (5 5 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (5 5 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (5 5 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (5 5 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (5 5 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (5 5 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (5 5 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (5 5 (:REWRITE GETBIT-WHEN->-FREE))
 (5 5 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (5 5 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (5 5 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (5 5 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-0))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-2))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (2 2 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVCAT-OF-GETBIT-AND-BVCHOP-ADJACENT-2
 (152 12 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (97 45 (:REWRITE DEFAULT-+-2))
 (79 7 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (78 78 (:TYPE-PRESCRIPTION EVENP))
 (71 7 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (67 14 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (53 27 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (53 27 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (53 27 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (48 10 (:DEFINITION POSP))
 (45 45 (:REWRITE DEFAULT-+-1))
 (42 3 (:REWRITE BVCHOP-IDENTITY))
 (37 26 (:REWRITE DEFAULT-<-1))
 (32 12 (:REWRITE UNICITY-OF-0))
 (30 26 (:REWRITE DEFAULT-<-2))
 (27 27 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (27 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (26 14 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (23 14 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (20 12 (:DEFINITION FIX))
 (19 14 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (17 17 (:REWRITE BOUND-WHEN-USB))
 (17 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (16 16 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (14 14 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE FOLD-CONSTS-IN-+))
 (12 12 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (12 12 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (12 12 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (12 12 (:REWRITE +-COMBINE-CONSTANTS))
 (11 11 (:TYPE-PRESCRIPTION POSP))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (7 7 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP-TYPE))
 (7 7 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (6 3 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (5 5 (:TYPE-PRESCRIPTION GETBIT))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (4 4 (:REWRITE BVCAT-SUBST-1))
 (4 4 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (4 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-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-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-OF-EXPT-ALT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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))
 (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-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->-FREE))
 (1 1 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (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
 (157 105 (:REWRITE DEFAULT-+-2))
 (152 12 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (105 105 (:REWRITE DEFAULT-+-1))
 (84 8 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (79 7 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (72 14 (:DEFINITION POSP))
 (71 7 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (67 14 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (66 66 (:TYPE-PRESCRIPTION EVENP))
 (56 56 (:REWRITE +-COMBINE-CONSTANTS))
 (52 52 (:REWRITE FOLD-CONSTS-IN-+))
 (51 40 (:REWRITE DEFAULT-<-1))
 (47 14 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (45 23 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (45 23 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (45 23 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (44 40 (:REWRITE DEFAULT-<-2))
 (42 3 (:REWRITE BVCHOP-IDENTITY))
 (32 12 (:REWRITE UNICITY-OF-0))
 (31 31 (:REWRITE BOUND-WHEN-USB))
 (27 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (26 14 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (24 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (23 23 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (23 14 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (20 20 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (20 4 (:REWRITE <-OF---AND--))
 (18 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (16 16 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (16 4 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (15 15 (:TYPE-PRESCRIPTION POSP))
 (14 14 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (12 12 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (12 12 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (12 12 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (7 7 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP-TYPE))
 (7 7 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (7 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (6 3 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (4 4 (:TYPE-PRESCRIPTION SLICE))
 (4 4 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-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-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-OF-EXPT-ALT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (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 DEFAULT-UNARY-MINUS))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (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
 (120 120 (:TYPE-PRESCRIPTION EVENP))
 (80 40 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (80 40 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (80 40 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (77 33 (:REWRITE DEFAULT-+-2))
 (40 40 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (36 9 (:DEFINITION POSP))
 (33 33 (:REWRITE DEFAULT-+-1))
 (32 32 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (20 10 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (19 19 (:TYPE-PRESCRIPTION GETBIT))
 (19 19 (:REWRITE DEFAULT-<-2))
 (19 19 (:REWRITE DEFAULT-<-1))
 (19 19 (:REWRITE BOUND-WHEN-USB))
 (19 10 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (18 9 (:REWRITE GETBIT-WHEN-NOT-1))
 (18 9 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (17 17 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (16 16 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (16 16 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (16 4 (:REWRITE BVCHOP-IDENTITY))
 (12 12 (:TYPE-PRESCRIPTION POSP))
 (12 9 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (9 9 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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))
 (9 9 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (9 9 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (9 9 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (9 9 (:REWRITE GETBIT-WHEN->-FREE))
 (9 9 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (9 9 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (9 9 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 8 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (7 7 (:REWRITE DEFAULT-UNARY-MINUS))
 (7 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (7 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (6 6 (:REWRITE BVCAT-SUBST-1))
 (6 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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-OF-EXPT-ALT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 SLICE-OF-GETBIT-TOO-HIGH))
 (2 2 (:REWRITE FOLD-CONSTS-IN-+))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 )
(BVCAT-OF-BVCAT-HIGH-TIGHTEN
 (116 61 (:REWRITE DEFAULT-+-2))
 (90 90 (:TYPE-PRESCRIPTION EVENP))
 (77 22 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (72 18 (:DEFINITION POSP))
 (61 61 (:REWRITE DEFAULT-+-1))
 (60 30 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (60 30 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (60 30 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (57 22 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (42 22 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (40 22 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (32 32 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (30 30 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (30 30 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (26 26 (:REWRITE DEFAULT-<-2))
 (26 26 (:REWRITE DEFAULT-<-1))
 (26 26 (:REWRITE BOUND-WHEN-USB))
 (22 22 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (18 18 (:TYPE-PRESCRIPTION POSP))
 (16 16 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (16 16 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (12 12 (:REWRITE FOLD-CONSTS-IN-+))
 (12 12 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (12 12 (:REWRITE +-COMBINE-CONSTANTS))
 (8 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (8 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (6 6 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (3 3 (:LINEAR EXPT-BOUND-LINEAR-2))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (2 2 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-WHEN-LOWSIZE-IS-NOT-POSITIVE
 (156 69 (:REWRITE DEFAULT-<-2))
 (138 69 (:REWRITE DEFAULT-<-1))
 (121 17 (:REWRITE BVCHOP-IDENTITY))
 (87 87 (:TYPE-PRESCRIPTION EVENP))
 (60 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (58 29 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (58 29 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (58 29 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (52 52 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (52 52 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (52 52 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (42 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (36 36 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (35 35 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (35 5 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (34 34 (:REWRITE BOUND-WHEN-USB))
 (30 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (30 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (29 29 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (29 29 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (29 29 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (26 6 (:DEFINITION NATP))
 (25 10 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (24 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (24 1 (:REWRITE LOGTAIL-IDENTITY))
 (21 6 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (20 5 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 17 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (18 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (17 17 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (17 17 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (17 17 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (17 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (16 16 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (16 16 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (16 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR))
 (12 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (11 11 (:TYPE-PRESCRIPTION NATP))
 (10 5 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 5 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-2))
 (5 5 (:TYPE-PRESCRIPTION POSP))
 (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 NOT-0-WHEN-BIT-NOT-0))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 )
(BVCAT-NORMALIZE-CONSTANT-ARG2
 (27 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (27 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (15 12 (:REWRITE DEFAULT-<-2))
 (14 14 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (13 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (12 12 (:REWRITE DEFAULT-<-1))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (9 9 (:TYPE-PRESCRIPTION NATP))
 (9 2 (:DEFINITION POSP))
 (9 1 (:REWRITE BVCAT-OF-BVCHOP-HIGH))
 (8 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (8 2 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (7 2 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (6 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (5 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (4 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (1 1 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP-TYPE))
 (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 BVCAT-OF-BVCHOP-TIGHTEN))
 (1 1 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (1 1 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-NORMALIZE-CONSTANT-ARG4
 (27 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (27 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:REWRITE DEFAULT-<-2))
 (10 10 (:REWRITE DEFAULT-<-1))
 (10 10 (:REWRITE BOUND-WHEN-USB))
 (9 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (9 2 (:DEFINITION POSP))
 (8 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 6 (:TYPE-PRESCRIPTION NATP))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 1 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (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 (:REWRITE BVCAT-WHEN-ARG2-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-UNSIGNED-BYTE-P-SMALLER))
 (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 BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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-OF-EXPT-ALT))
 (1 1 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE BVCHOP-IDENTITY))
 )
(SPLIT-BV
 (255 255 (:TYPE-PRESCRIPTION EVENP))
 (170 85 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (170 85 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (170 85 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (85 85 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (73 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (68 44 (:REWRITE DEFAULT-+-2))
 (66 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (44 44 (:REWRITE DEFAULT-+-1))
 (40 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (30 30 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (30 5 (:DEFINITION POSP))
 (26 26 (:REWRITE DEFAULT-<-2))
 (26 26 (:REWRITE DEFAULT-<-1))
 (22 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (19 19 (:REWRITE FOLD-CONSTS-IN-+))
 (17 17 (:REWRITE BOUND-WHEN-USB))
 (15 15 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (15 15 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (15 9 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (13 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (13 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (11 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (11 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (10 10 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (10 10 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (10 10 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (10 10 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (9 9 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (9 9 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (9 9 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (8 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (8 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (7 1 (:REWRITE BVCHOP-IDENTITY))
 (6 6 (:REWRITE DEFAULT-UNARY-MINUS))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (5 5 (:TYPE-PRESCRIPTION POSP))
 (5 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (4 1 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (4 1 (:REWRITE <-OF-EXPT-AND-EXPT-SAME-BASE))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:LINEAR EXPT-BOUND-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 SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (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 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-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))
 (1 1 (:REWRITE BVCHOP-OF-EXPT-ALT))
 )
(SPLIT-BV-TOP
 (1483 12 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (847 4 (:REWRITE BVCHOP-IDENTITY))
 (764 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (471 471 (:TYPE-PRESCRIPTION EVENP))
 (346 10 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (339 182 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (339 182 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (339 182 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (284 4 (:LINEAR EXPT-OF-ONE-LESS-LINEAR))
 (182 182 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (182 182 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (176 4 (:LINEAR EXPT-HALF-LINEAR))
 (132 4 (:REWRITE BVCHOP-OF-GETBIT))
 (117 73 (:REWRITE DEFAULT-<-2))
 (100 4 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (100 4 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (81 14 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (76 73 (:REWRITE DEFAULT-<-1))
 (74 74 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (63 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (56 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (52 4 (:REWRITE DEFAULT-*-2))
 (44 8 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (42 42 (:REWRITE DEFAULT-+-2))
 (42 42 (:REWRITE DEFAULT-+-1))
 (38 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (38 8 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (37 37 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (37 37 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (34 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (32 8 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (29 29 (:REWRITE BOUND-WHEN-USB))
 (28 4 (:REWRITE <-OF-EXPT-AND-EXPT-SAME-BASE))
 (20 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (20 4 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (20 2 (:REWRITE BVCAT-OF-BVCHOP-LOW))
 (19 5 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (18 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (16 8 (:REWRITE GETBIT-WHEN-NOT-1))
 (14 14 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (14 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (14 2 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (13 13 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (11 3 (:REWRITE +-COMBINE-CONSTANTS))
 (10 10 (:TYPE-PRESCRIPTION NATP))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR))
 (10 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE-ALT))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (9 9 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (9 9 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (9 9 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (9 9 (:LINEAR EXPT-BOUND-LINEAR-2))
 (9 8 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (8 8 (:TYPE-PRESCRIPTION GETBIT))
 (8 8 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (8 8 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (8 8 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (8 8 (:REWRITE GETBIT-WHEN->-FREE))
 (8 8 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (8 8 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (8 8 (:REWRITE BVCAT-SUBST-1))
 (8 8 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (8 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (8 2 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (7 7 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (7 7 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (4 4 (:REWRITE DEFAULT-*-1))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (4 4 (:REWRITE BVCAT-OF-GETBIT-HIGH-TIGHTEN))
 (4 2 (:REWRITE UNICITY-OF-0))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (4 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP-TYPE))
 (2 2 (:TYPE-PRESCRIPTION BITP-OF-SLICE-SAME-TYPE))
 (2 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (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 BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (2 2 (:DEFINITION FIX))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE FOLD-CONSTS-IN-+))
 (1 1 (:REWRITE DEFAULT-UNARY-MINUS))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(SPLIT-BV-TOP-ADD
 (3639 23 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3159 22 (:REWRITE BVCHOP-IDENTITY))
 (1227 1227 (:TYPE-PRESCRIPTION EVENP))
 (859 450 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (772 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (602 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (450 450 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (352 8 (:LINEAR EXPT-HALF-LINEAR))
 (276 276 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (211 133 (:REWRITE DEFAULT-<-2))
 (141 19 (:REWRITE DEFAULT-*-2))
 (139 133 (:REWRITE DEFAULT-<-1))
 (138 138 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (138 138 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (124 16 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (112 64 (:REWRITE DEFAULT-+-2))
 (94 30 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (90 64 (:REWRITE DEFAULT-+-1))
 (72 24 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (72 15 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (66 30 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (62 54 (:REWRITE BOUND-WHEN-USB))
 (54 19 (:REWRITE DEFAULT-*-1))
 (49 7 (:REWRITE <-OF-EXPT-AND-EXPT-SAME-BASE))
 (46 15 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (40 8 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (30 15 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (27 3 (:LINEAR <-OF-*-SAME-LINEAR-2))
 (25 25 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (24 6 (:REWRITE <-OF-EXPT-AND-2))
 (21 21 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (21 21 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (21 21 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (21 21 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (21 21 (:REWRITE <-OF-+-CANCEL-1-2))
 (18 6 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (18 6 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (18 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (14 2 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-1))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-0))
 (10 5 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (10 3 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (10 2 (:REWRITE +-COMBINE-CONSTANTS))
 (10 2 (:DEFINITION NATP))
 (10 1 (:REWRITE EQUAL-OF-EXPT2-AND-CONSTANT))
 (8 5 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (6 6 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (6 6 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (6 6 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (6 6 (:REWRITE GETBIT-WHEN->-FREE))
 (6 6 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (6 6 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (6 6 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (6 6 (:LINEAR <-OF-*-AND-*-LINEAR))
 (6 3 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (5 5 (:TYPE-PRESCRIPTION POSP))
 (5 5 (:TYPE-PRESCRIPTION NATP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (5 5 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (5 5 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (5 5 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (5 5 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (5 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (5 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (5 2 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (4 2 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (3 3 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (3 3 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (3 3 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (2 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (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 NOT-0-WHEN-BIT-NOT-0))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (2 2 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(EQUAL-OF-BVCHOP-AND-BVCHOP-WHEN-UNSIGNED-BYTE-P-OF-BVCHOP
 (159 159 (:TYPE-PRESCRIPTION EVENP))
 (147 19 (:REWRITE BVCHOP-IDENTITY))
 (106 53 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (106 53 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (106 53 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (64 16 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (53 53 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (53 53 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (38 32 (:REWRITE DEFAULT-<-1))
 (32 32 (:REWRITE DEFAULT-<-2))
 (32 16 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (29 3 (:REWRITE UNSIGNED-BYTE-P-0))
 (28 28 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (28 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (26 26 (:REWRITE BOUND-WHEN-USB))
 (24 2 (:REWRITE DEFAULT-+-2))
 (20 19 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (19 19 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (19 19 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (17 17 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (17 17 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (17 17 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (17 17 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (16 16 (:TYPE-PRESCRIPTION POSP))
 (16 16 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (16 16 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (14 14 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 14 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (14 14 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (12 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (12 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (8 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (8 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (6 2 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (3 3 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (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))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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
 (3162 3162 (:TYPE-PRESCRIPTION EVENP))
 (2171 327 (:REWRITE BVCHOP-IDENTITY))
 (2108 1054 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (2108 1054 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (2108 1054 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (1500 1500 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (1054 1054 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (992 305 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (785 653 (:REWRITE DEFAULT-<-1))
 (750 750 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (750 750 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (703 219 (:REWRITE DEFAULT-+-2))
 (653 653 (:REWRITE DEFAULT-<-2))
 (539 305 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (524 305 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (497 497 (:REWRITE BOUND-WHEN-USB))
 (379 379 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (379 379 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (379 379 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (379 379 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (340 126 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (327 327 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (327 327 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (327 327 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (327 327 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (323 95 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (308 44 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (305 305 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (305 305 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (269 269 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (249 249 (:TYPE-PRESCRIPTION POSP))
 (234 19 (:REWRITE DEFAULT-*-2))
 (232 63 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (232 63 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (219 219 (:REWRITE DEFAULT-+-1))
 (162 126 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (130 22 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (97 19 (:REWRITE LOGTAIL-BECOMES-0))
 (94 19 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (81 63 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (81 63 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (79 31 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (63 7 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (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))
 (28 7 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (27 27 (:REWRITE FOLD-CONSTS-IN-+))
 (24 24 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (24 24 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (22 22 (:REWRITE UNSIGNED-BYTE-P-0))
 (19 19 (:REWRITE DEFAULT-*-1))
 (14 14 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (14 14 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (9 9 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (9 9 (:REWRITE DEFAULT-UNARY-MINUS))
 (7 7 (:TYPE-PRESCRIPTION NATP))
 (7 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 )
(UNSIGNED-BYTE-P-OF-BVCHOP-TIGHTER
 (1632 1632 (:TYPE-PRESCRIPTION EVENP))
 (1088 544 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1088 544 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1088 544 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (544 544 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (516 516 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (514 275 (:REWRITE DEFAULT-+-2))
 (275 275 (:REWRITE DEFAULT-+-1))
 (265 247 (:REWRITE DEFAULT-<-1))
 (258 258 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (258 258 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (247 247 (:REWRITE DEFAULT-<-2))
 (240 70 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (176 22 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (158 26 (:REWRITE SLICE-OUT-OF-ORDER))
 (155 155 (:REWRITE BOUND-WHEN-USB))
 (151 35 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (151 35 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (142 22 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (131 89 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (130 82 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (120 35 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (120 35 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (103 40 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (99 75 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (88 7 (:REWRITE DEFAULT-*-2))
 (78 12 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (75 75 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (75 75 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (75 75 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (75 75 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (70 70 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (63 40 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (60 60 (:REWRITE FOLD-CONSTS-IN-+))
 (54 54 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (50 8 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (48 47 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (47 47 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (47 47 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (45 45 (:TYPE-PRESCRIPTION POSP))
 (44 22 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (42 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (40 40 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (40 40 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (40 40 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (28 28 (:REWRITE DEFAULT-UNARY-MINUS))
 (27 27 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (27 27 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (27 27 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (25 25 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (25 25 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (25 25 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (24 6 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (23 22 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (22 22 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (22 22 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (22 22 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (22 22 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (22 22 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (22 22 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (22 22 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (22 22 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (14 14 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (12 12 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (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 NOT-0-WHEN-BIT-NOT-0))
 (7 7 (:REWRITE DEFAULT-*-1))
 (6 6 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (6 6 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (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))
 (2 2 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 )
(BVCAT-SPECIAL-OPENER
 (411 411 (:TYPE-PRESCRIPTION EVENP))
 (377 240 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (291 6 (:REWRITE MOD-WHEN-INTEGERP-OF-QUOTIENT))
 (240 240 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (102 6 (:REWRITE MOD-WHEN-<))
 (73 6 (:REWRITE DEFAULT-+-2))
 (67 6 (:REWRITE DEFAULT-+-1))
 (64 4 (:REWRITE INTEGERP-OF-*))
 (50 6 (:REWRITE THIS-NEEDS-TO-BE-ADDED-TO-QUOTIENT-REMAINDER-LEMMAS))
 (50 6 (:REWRITE MOD-WHEN-RATIONALP-ARG1-AND-NOT-RATIONALP-ARG2))
 (50 6 (:REWRITE MOD-WHEN-NOT-ACL2-NUMBERP-ARG2))
 (48 48 (:TYPE-PRESCRIPTION NONNEG-OF-MOD-TYPE))
 (46 2 (:REWRITE DEFAULT-UNARY-/))
 (43 21 (:REWRITE DEFAULT-<-2))
 (42 9 (:REWRITE DEFAULT-*-2))
 (35 4 (:REWRITE MULTIPLE-WHEN-MOD-0-CHEAP))
 (34 4 (:REWRITE COMMUTATIVITY-OF-*))
 (31 9 (:REWRITE DEFAULT-*-1))
 (24 21 (:REWRITE DEFAULT-<-1))
 (21 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (19 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (16 2 (:REWRITE INTEGERP-OF-/-OF-EXPT-2))
 (14 6 (:REWRITE MOD-WHEN-<-OF-0))
 (13 13 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (8 8 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (8 8 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (7 1 (:REWRITE BVCHOP-IDENTITY))
 (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 (:REWRITE INTEGERP-OF-*-1/2-WHEN-POWER-OF-2P))
 (4 4 (:TYPE-PRESCRIPTION POWER-OF-2P))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (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-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-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->-FREE))
 (1 1 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (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-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-OF-EXPT-ALT))
 (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
 (30 6 (:DEFINITION NATP))
 (27 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (27 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (21 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (19 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (15 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (11 8 (:REWRITE DEFAULT-<-1))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (8 8 (:REWRITE DEFAULT-<-2))
 (7 7 (:REWRITE BOUND-WHEN-USB))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (6 6 (:TYPE-PRESCRIPTION NATP))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (5 5 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (5 5 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (5 5 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (5 1 (:DEFINITION POSP))
 (3 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (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 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (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))
 (1 1 (:TYPE-PRESCRIPTION POSP))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->-FREE))
 (1 1 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (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-EQUAL-OF-GETBIT-0-HIGH
 (30 6 (:DEFINITION NATP))
 (27 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (27 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (21 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (19 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (15 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (11 8 (:REWRITE DEFAULT-<-1))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (8 8 (:REWRITE DEFAULT-<-2))
 (7 7 (:REWRITE BOUND-WHEN-USB))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (6 6 (:TYPE-PRESCRIPTION NATP))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (5 5 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (5 5 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (5 5 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (5 1 (:DEFINITION POSP))
 (3 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (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 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (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))
 (1 1 (:TYPE-PRESCRIPTION POSP))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->-FREE))
 (1 1 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (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
 (342 26 (:REWRITE BVCHOP-IDENTITY))
 (189 101 (:REWRITE DEFAULT-+-2))
 (180 22 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (156 156 (:TYPE-PRESCRIPTION EVENP))
 (106 54 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (106 54 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (106 54 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (101 101 (:REWRITE DEFAULT-+-1))
 (93 57 (:REWRITE DEFAULT-<-1))
 (91 13 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (83 11 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (81 24 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (71 45 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (69 57 (:REWRITE DEFAULT-<-2))
 (64 60 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (64 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (60 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (54 54 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (46 24 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (45 45 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (45 45 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (45 45 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (42 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (40 24 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (36 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (36 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (34 34 (:REWRITE BOUND-WHEN-USB))
 (34 30 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (34 2 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (30 30 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (30 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (30 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (28 24 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (26 26 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (26 26 (:REWRITE FOLD-CONSTS-IN-+))
 (26 26 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (26 26 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (26 26 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (26 26 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (26 24 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (21 12 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (14 14 (:TYPE-PRESCRIPTION POSP))
 (13 13 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR))
 (12 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (11 10 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (10 10 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (10 10 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (9 9 (:REWRITE DEFAULT-UNARY-MINUS))
 (8 8 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (8 8 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (8 8 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (7 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (6 6 (:TYPE-PRESCRIPTION NATP))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-2))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (3 1 (:REWRITE <-OF-+-CANCEL-2-2))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-0))
 (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 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-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 )
(BVCHOP-WHEN-TOP-BIT-1
 (2084 19 (:REWRITE MOD-WHEN-INTEGERP-OF-QUOTIENT))
 (2073 2073 (:TYPE-PRESCRIPTION EVENP))
 (1394 703 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1394 703 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1394 703 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (703 703 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (632 19 (:REWRITE INTEGERP-OF-*))
 (430 18 (:REWRITE DEFAULT-UNARY-/))
 (413 151 (:REWRITE DEFAULT-<-2))
 (329 33 (:REWRITE DEFAULT-*-2))
 (232 18 (:REWRITE MOD-WHEN-RATIONALP-ARG1-AND-NOT-RATIONALP-ARG2))
 (225 19 (:REWRITE THIS-NEEDS-TO-BE-ADDED-TO-QUOTIENT-REMAINDER-LEMMAS))
 (224 18 (:REWRITE MOD-WHEN-NOT-ACL2-NUMBERP-ARG2))
 (220 5 (:LINEAR EXPT-HALF-LINEAR))
 (193 18 (:REWRITE INTEGERP-OF-/-OF-EXPT-2))
 (183 62 (:REWRITE DEFAULT-+-2))
 (182 40 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (174 166 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (174 151 (:REWRITE DEFAULT-<-1))
 (125 36 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (115 20 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (115 20 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (112 62 (:REWRITE DEFAULT-+-1))
 (98 33 (:REWRITE DEFAULT-*-1))
 (91 83 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (90 19 (:REWRITE MOD-WHEN-<-OF-0))
 (85 1 (:LINEAR <-OF-*-SAME-LINEAR-2))
 (83 83 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (71 71 (:REWRITE BOUND-WHEN-USB))
 (70 40 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (67 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (53 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (48 6 (:LINEAR MOD-BOUND-LINEAR-ARG1))
 (40 40 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (40 40 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (35 20 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (35 20 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (35 3 (:REWRITE MULTIPLE-WHEN-MOD-0-CHEAP))
 (31 6 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (26 18 (:REWRITE MOD-WHEN-NOT-RATIONALP-ARG1-AND-RATIONALP-ARG2))
 (26 18 (:REWRITE MOD-WHEN-NOT-ACL2-NUMBERP-ARG1))
 (25 5 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (24 24 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (19 19 (:REWRITE MOD-WHEN-EQUAL-OF-MOD-AND-0-FREE-CHEAP))
 (18 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (16 16 (:REWRITE INTEGERP-OF-POWER2-HACK))
 (15 15 (:TYPE-PRESCRIPTION NONNEG-OF-MOD-TYPE))
 (12 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (6 6 (:REWRITE FOLD-CONSTS-IN-+))
 (6 6 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 4 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-1))
 (4 2 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE INTEGERP-OF-*-1/2-WHEN-POWER-OF-2P))
 (2 2 (:TYPE-PRESCRIPTION POWER-OF-2P))
 (2 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (2 2 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (2 2 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN->-FREE))
 (2 2 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (2 2 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (2 2 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (2 2 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (2 2 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (2 2 (:LINEAR <-OF-*-AND-*-LINEAR))
 (2 1 (:REWRITE MOD-OF-2-WHEN-EVEN-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))
 (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
 (730 36 (:REWRITE BVCHOP-IDENTITY))
 (690 690 (:TYPE-PRESCRIPTION EVENP))
 (564 44 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (487 257 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (487 257 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (487 257 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (360 80 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (352 8 (:LINEAR EXPT-HALF-LINEAR))
 (293 105 (:REWRITE DEFAULT-+-2))
 (262 262 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (257 257 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (214 106 (:REWRITE DEFAULT-<-1))
 (131 131 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (131 131 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (124 13 (:REWRITE DEFAULT-*-2))
 (115 5 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (112 16 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (108 36 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (106 106 (:REWRITE DEFAULT-<-2))
 (106 105 (:REWRITE DEFAULT-+-1))
 (82 34 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (80 80 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (80 80 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (80 80 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (70 36 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (56 17 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (56 17 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (54 54 (:REWRITE BOUND-WHEN-USB))
 (54 36 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (48 34 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (47 13 (:REWRITE DEFAULT-*-1))
 (40 40 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (40 8 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (37 5 (:REWRITE SLICE-OUT-OF-ORDER))
 (36 36 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (36 36 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (36 36 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (36 36 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (36 36 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (36 36 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (36 36 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (36 36 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (36 36 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (34 34 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (34 34 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (32 32 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (25 9 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (24 17 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (24 17 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (18 18 (:TYPE-PRESCRIPTION POSP))
 (13 5 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (13 1 (:REWRITE UNICITY-OF-1))
 (12 12 (:REWRITE FOLD-CONSTS-IN-+))
 (12 12 (:REWRITE DEFAULT-UNARY-MINUS))
 (9 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (5 5 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (5 5 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (5 5 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (5 5 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (5 5 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (5 5 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 4 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (4 4 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (4 4 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (4 4 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (4 4 (:LINEAR <-OF-*-AND-*-LINEAR))
 (2 2 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (2 2 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (2 2 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN->-FREE))
 (2 2 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (2 2 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (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 GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (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 EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:LINEAR *-OF-EXPT-AND-SLICE-SAME-LINEAR))
 )
(BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE
 (168 8 (:REWRITE BVCHOP-IDENTITY))
 (138 138 (:TYPE-PRESCRIPTION EVENP))
 (112 8 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (96 50 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (96 50 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (96 50 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (88 2 (:LINEAR EXPT-HALF-LINEAR))
 (72 16 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (64 64 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (56 12 (:REWRITE DEFAULT-+-2))
 (50 50 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (50 14 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (46 22 (:REWRITE DEFAULT-<-1))
 (32 32 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (32 32 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (28 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (24 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (24 2 (:REWRITE DEFAULT-*-2))
 (22 22 (:REWRITE DEFAULT-<-2))
 (20 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (16 16 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (16 16 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (16 16 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (16 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE DEFAULT-+-1))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (12 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (12 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (10 2 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (8 8 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (8 8 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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-OF-EXPT-ALT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (8 8 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (8 8 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:REWRITE DEFAULT-*-1))
 )
(BVCHOP-REDUCE-WHEN-TOP-BIT-KNOWN
 (78 78 (:TYPE-PRESCRIPTION EVENP))
 (64 10 (:REWRITE BVCHOP-IDENTITY))
 (59 15 (:REWRITE DEFAULT-+-2))
 (52 26 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (52 26 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (52 26 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (32 32 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (26 26 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (26 26 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (19 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 16 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (16 16 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (15 15 (:REWRITE DEFAULT-+-1))
 (14 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (10 10 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (10 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (10 10 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (10 10 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (10 10 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (9 3 (:REWRITE DEFAULT-<-1))
 (5 5 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-HIGH))
 (5 5 (:REWRITE BVCAT-SUBST-1))
 (5 5 (:REWRITE BVCAT-OF-GETBIT-HIGH-TIGHTEN))
 (5 5 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (5 5 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (3 3 (:REWRITE DEFAULT-<-2))
 (3 3 (:REWRITE BOUND-WHEN-USB))
 (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 EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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))
 (1 1 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->-FREE))
 (1 1 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 )
(BVCHOP-NOT-0-WHEN-GETBIT-NOT-0
 (60 60 (:TYPE-PRESCRIPTION EVENP))
 (50 8 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (41 21 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (41 21 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (41 21 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (35 13 (:REWRITE DEFAULT-+-2))
 (26 17 (:REWRITE DEFAULT-<-1))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (23 13 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (22 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (21 21 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (21 21 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (17 17 (:REWRITE DEFAULT-<-2))
 (15 15 (:REWRITE BOUND-WHEN-USB))
 (14 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (13 13 (:REWRITE DEFAULT-+-1))
 (13 13 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (12 12 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (12 12 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (12 2 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (9 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (7 1 (:REWRITE EQUAL-OF-+-AND-+-CANCEL-CONSTANTS))
 (7 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 6 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-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))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (1 1 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (1 1 (:TYPE-PRESCRIPTION POSP))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (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 GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->-FREE))
 (1 1 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (1 1 (:REWRITE EQUAL-OF-+-CANCEL-2))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (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))
 )
(BVCHOP-NOT-0-WHEN-LOW-BIT-NOT-0
 (60 60 (:TYPE-PRESCRIPTION EVENP))
 (45 25 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (38 16 (:REWRITE DEFAULT-+-2))
 (35 5 (:REWRITE BVCHOP-IDENTITY))
 (25 25 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (25 25 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (21 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (20 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (19 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (17 5 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (16 16 (:REWRITE DEFAULT-+-1))
 (14 5 (:REWRITE DEFAULT-<-1))
 (14 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (12 12 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (12 12 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (10 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (7 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (6 6 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 3 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (5 5 (:REWRITE DEFAULT-<-2))
 (5 5 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (5 5 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (5 5 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (5 5 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (5 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (5 5 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (5 5 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (4 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (4 1 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (3 3 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (3 3 (:REWRITE BOUND-WHEN-USB))
 (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))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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 POSP))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->-FREE))
 (1 1 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (1 1 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 )
(BVCHOP-OF-BVCAT-CASES-GEN
 (987 987 (:TYPE-PRESCRIPTION EVENP))
 (885 349 (:REWRITE DEFAULT-+-2))
 (868 71 (:REWRITE BVCHOP-OF-BVCAT-SAME))
 (720 71 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (658 329 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (658 329 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (658 329 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (601 421 (:REWRITE DEFAULT-<-1))
 (536 421 (:REWRITE DEFAULT-<-2))
 (499 349 (:REWRITE DEFAULT-+-1))
 (441 404 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (363 363 (:REWRITE BOUND-WHEN-USB))
 (329 329 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (268 66 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (249 130 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (238 202 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (230 157 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (202 202 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (186 186 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (166 166 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (166 166 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (166 166 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (163 163 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (157 157 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (157 157 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (155 128 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (155 128 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (152 33 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (152 33 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (140 140 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (135 135 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (135 135 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (135 135 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (135 135 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (131 23 (:REWRITE UNSIGNED-BYTE-P-0))
 (100 66 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (100 23 (:DEFINITION POSP))
 (95 71 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT-ALL-CASES))
 (71 71 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (71 71 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (62 62 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (62 62 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (50 33 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (50 33 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (38 38 (:TYPE-PRESCRIPTION NATP))
 (36 36 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (36 36 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (33 33 (:LINEAR EXPT-BOUND-LINEAR-2))
 (22 22 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (22 22 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (22 12 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (22 12 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (12 12 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE BVCAT-EQUAL-REWRITE-ALT))
 (12 12 (:REWRITE BVCAT-EQUAL-REWRITE))
 (9 9 (:REWRITE DEFAULT-UNARY-MINUS))
 (9 9 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (9 9 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (3 3 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVCHOP-32-SPLIT-HACK
 (180 11 (:REWRITE BVCHOP-IDENTITY))
 (119 10 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (90 2 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (62 2 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR))
 (45 12 (:REWRITE DEFAULT-<-1))
 (20 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (14 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (12 12 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (12 12 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (12 12 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (12 12 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (12 12 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (12 12 (:REWRITE DEFAULT-<-2))
 (11 11 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (11 11 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (11 11 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (11 11 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (11 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (11 11 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (11 11 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (11 11 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (11 11 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (11 11 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (11 11 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-HIGH))
 (10 10 (:REWRITE BVCAT-SUBST-1))
 (10 10 (:REWRITE BVCAT-OF-GETBIT-HIGH-TIGHTEN))
 (10 10 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (10 10 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (5 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (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-TOO-HIGH-CHEAP-2))
 (1 1 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->-FREE))
 (1 1 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 )
(BVCAT-LOWER-BOUND-LINEAR-ARG2-CONSTANT
 (129 129 (:TYPE-PRESCRIPTION EVENP))
 (119 76 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (119 76 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (119 76 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (76 76 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (26 3 (:REWRITE DEFAULT-*-1))
 (16 3 (:REWRITE DEFAULT-*-2))
 (15 3 (:REWRITE BVCHOP-IDENTITY))
 (13 1 (:REWRITE DEFAULT-+-2))
 (12 3 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (7 4 (:REWRITE DEFAULT-<-2))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (5 5 (:REWRITE BOUND-WHEN-USB))
 (5 3 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (5 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (4 4 (:REWRITE DEFAULT-<-1))
 (4 3 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (3 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (2 2 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (2 1 (:REWRITE DEFAULT-+-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 (:REWRITE <-OF-CONSTANT-AND-*-OF-CONSTANT))
 (1 1 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-LOWER-BOUND-LINEAR-ARG4-CONSTANT
 (45 39 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (45 39 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (45 39 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (39 39 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (18 18 (:TYPE-PRESCRIPTION EVENP))
 (15 3 (:REWRITE BVCHOP-IDENTITY))
 (14 2 (:REWRITE DEFAULT-*-2))
 (14 2 (:REWRITE DEFAULT-*-1))
 (13 1 (:REWRITE DEFAULT-+-2))
 (12 3 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (7 4 (:REWRITE DEFAULT-<-2))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (5 5 (:REWRITE BOUND-WHEN-USB))
 (5 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:REWRITE DEFAULT-<-1))
 (4 3 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (4 3 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (3 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 EXPT-WITH-VIOLATED-GUARDS))
 (2 1 (:REWRITE DEFAULT-+-1))
 (1 1 (:TYPE-PRESCRIPTION NATP))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (1 1 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE <-OF-*-OF-CONSTANT-AND-CONSTANT))
 )
(UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0
 (528 528 (:TYPE-PRESCRIPTION EVENP))
 (527 14 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (353 177 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (353 177 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (353 177 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (177 177 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (169 113 (:REWRITE DEFAULT-<-1))
 (152 113 (:REWRITE DEFAULT-<-2))
 (117 79 (:REWRITE DEFAULT-+-2))
 (96 88 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (90 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (90 8 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (82 79 (:REWRITE DEFAULT-+-1))
 (80 29 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (70 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (63 63 (:REWRITE BOUND-WHEN-USB))
 (56 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (56 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (47 44 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (46 18 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (46 1 (:LINEAR EXPT-HALF-LINEAR))
 (45 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (45 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (45 1 (:REWRITE BVCAT-OF-SLICE-AND-X-ADJACENT))
 (44 44 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (42 6 (:REWRITE SLICE-OUT-OF-ORDER))
 (32 8 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (29 13 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (28 15 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (28 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (28 4 (:DEFINITION POSP))
 (27 6 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (24 2 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (19 19 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (19 19 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (19 7 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (18 18 (:REWRITE FOLD-CONSTS-IN-+))
 (17 17 (:REWRITE DEFAULT-UNARY-MINUS))
 (17 17 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (17 17 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (16 16 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (16 16 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (15 15 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (15 15 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (14 11 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (14 3 (:REWRITE <-OF-EXPT-AND-EXPT-SAME-BASE))
 (14 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (14 1 (:REWRITE BVCAT-EQUAL-REWRITE-ALT))
 (14 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (13 1 (:REWRITE DEFAULT-*-2))
 (12 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (12 2 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (10 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (9 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (6 6 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (6 6 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (6 1 (:REWRITE EQUAL-OF-+-AND-+-CANCEL-1+-1+))
 (5 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (5 5 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (5 5 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (5 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (5 1 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (4 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (2 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 2 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (2 2 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (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 NOT-0-WHEN-BIT-NOT-0))
 (1 1 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (1 1 (:REWRITE EQUAL-OF-+-AND-+-CANCEL-CONSTANTS))
 (1 1 (:REWRITE DEFAULT-*-1))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 )
(EQUAL-OF-BVCHOP-AND-BVCHOP-WHEN-SMALLER-BVCHOPS-EQUAL
 (687 687 (:TYPE-PRESCRIPTION EVENP))
 (465 177 (:REWRITE DEFAULT-+-2))
 (458 229 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (458 229 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (458 229 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (314 314 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (287 140 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (244 190 (:REWRITE DEFAULT-<-1))
 (241 140 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (229 229 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (192 140 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (190 190 (:REWRITE DEFAULT-<-2))
 (177 177 (:REWRITE DEFAULT-+-1))
 (160 160 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (160 160 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (159 159 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (157 157 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (157 157 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (157 157 (:REWRITE BOUND-WHEN-USB))
 (156 154 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (154 154 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (154 154 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (147 147 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (147 147 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (147 147 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (147 147 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (140 140 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (140 140 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (134 22 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (131 131 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (126 18 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (120 15 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (88 2 (:LINEAR EXPT-HALF-LINEAR))
 (73 13 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (71 47 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (56 14 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (48 24 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (37 37 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (37 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (37 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (36 36 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (36 36 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (36 36 (:REWRITE FOLD-CONSTS-IN-+))
 (34 24 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (30 15 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (29 28 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (28 28 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (25 25 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (25 25 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (25 25 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (25 25 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (24 2 (:REWRITE DEFAULT-*-2))
 (20 20 (:REWRITE DEFAULT-UNARY-MINUS))
 (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))
 (17 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (17 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (16 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (15 15 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (15 15 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (15 15 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (15 15 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (14 14 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (12 12 (:REWRITE UNSIGNED-BYTE-P-0))
 (12 12 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (12 4 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (11 5 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (10 2 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (6 6 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG4-CONSTANT))
 (6 6 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG2-CONSTANT))
 (5 5 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE DEFAULT-*-1))
 )
(SLICE-LOW-CASES
 (933 34 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (536 63 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (482 32 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (432 204 (:REWRITE DEFAULT-+-2))
 (363 363 (:TYPE-PRESCRIPTION EVENP))
 (251 130 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (251 130 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (251 130 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (236 108 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (224 28 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (208 185 (:REWRITE DEFAULT-<-1))
 (208 26 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (204 204 (:REWRITE DEFAULT-+-1))
 (204 10 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (185 185 (:REWRITE DEFAULT-<-2))
 (168 28 (:DEFINITION POSP))
 (130 130 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (130 70 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (114 114 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (108 108 (:REWRITE BOUND-WHEN-USB))
 (108 108 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (106 106 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (104 13 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (104 13 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (104 13 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (104 13 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (84 32 (:REWRITE SLICE-OUT-OF-ORDER))
 (80 20 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (64 64 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (64 64 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (63 63 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (63 63 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (63 63 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (63 63 (:REWRITE FOLD-CONSTS-IN-+))
 (58 32 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (56 28 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (56 28 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (53 53 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (53 53 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (52 52 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (52 34 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (41 41 (:REWRITE DEFAULT-UNARY-MINUS))
 (37 37 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (34 34 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (34 34 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (32 32 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (32 32 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (32 32 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (28 28 (:TYPE-PRESCRIPTION POSP))
 (28 28 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (28 28 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (28 28 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-LOW))
 (28 28 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (28 28 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (26 26 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (26 26 (:LINEAR EXPT-BOUND-LINEAR))
 (26 26 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (26 26 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (26 26 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (20 2 (:REWRITE <-OF-+-CANCEL-1-2+))
 (16 2 (:REWRITE <-OF-+-CANCEL-1-3))
 (13 13 (:LINEAR EXPT-BOUND-LINEAR-2))
 (12 2 (:REWRITE <-OF-+-CANCEL-1+-2+))
 (10 10 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (10 2 (:REWRITE <-OF---AND--))
 (8 8 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG2-CONSTANT))
 (7 7 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (7 7 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (7 7 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (7 2 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (6 6 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (6 3 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (6 3 (:REWRITE GETBIT-WHEN-NOT-1))
 (6 3 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (5 5 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (5 5 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (5 5 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (5 5 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (5 5 (:REWRITE GETBIT-WHEN->-FREE))
 (5 5 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (5 5 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (5 5 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (4 4 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (4 4 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (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))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-0))
 (2 2 (:REWRITE SLICE-BOUND))
 (2 2 (:REWRITE <-OF-SLICE-AND-CONSTANT))
 (2 2 (:REWRITE <-OF-+-CANCEL-1-2))
 (1 1 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (1 1 (:REWRITE EQUAL-OF-+-CANCEL-2))
 )
(BVCHOP-TOP-BIT-CASES
 (987 32 (:REWRITE BVCHOP-IDENTITY))
 (808 32 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (633 64 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (480 480 (:TYPE-PRESCRIPTION EVENP))
 (334 174 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (334 174 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (334 174 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (314 116 (:REWRITE DEFAULT-+-2))
 (198 198 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (174 174 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (165 45 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (164 1 (:REWRITE BVCHOP-BOUND-2))
 (150 74 (:REWRITE DEFAULT-<-1))
 (116 116 (:REWRITE DEFAULT-+-1))
 (99 99 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (99 99 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (98 14 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (88 2 (:LINEAR EXPT-HALF-LINEAR))
 (86 3 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (85 74 (:REWRITE DEFAULT-<-2))
 (84 12 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (77 11 (:REWRITE EQUAL-OF-+-AND-+-CANCEL-CONSTANTS))
 (75 31 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (64 64 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (64 64 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (64 64 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (64 64 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (59 31 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (51 51 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (47 47 (:REWRITE BOUND-WHEN-USB))
 (46 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (44 31 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (42 28 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (40 28 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (33 32 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (32 32 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (32 32 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (32 32 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (31 31 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (31 31 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (29 14 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (29 14 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (28 28 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (28 28 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (28 14 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (28 14 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (27 27 (:TYPE-PRESCRIPTION POSP))
 (27 3 (:REWRITE SLICE-OUT-OF-ORDER))
 (25 25 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (25 25 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (25 25 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 24 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (24 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (24 2 (:REWRITE DEFAULT-*-2))
 (21 14 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (21 14 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (15 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (14 14 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (14 14 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (14 14 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-HIGH))
 (14 14 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (14 14 (:REWRITE BVCAT-SUBST-1))
 (14 14 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (11 11 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (11 11 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (11 11 (:REWRITE EQUAL-OF-+-CANCEL-2))
 (10 10 (:REWRITE FOLD-CONSTS-IN-+))
 (10 10 (:REWRITE DEFAULT-UNARY-MINUS))
 (10 2 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (8 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (6 6 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (6 6 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG4-CONSTANT))
 (6 6 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG2-CONSTANT))
 (6 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (6 3 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (6 3 (:REWRITE GETBIT-WHEN-NOT-1))
 (6 3 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (4 4 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN->-FREE))
 (4 4 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (4 4 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (3 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (3 3 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (3 3 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (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))
 (2 2 (:REWRITE DEFAULT-*-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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE BVCHOP-BOUND))
 (1 1 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 )
(EQUAL-OF-BVCHOP-AND-BVCHOP-ONE-WIDER
 (431 22 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (278 35 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (165 165 (:TYPE-PRESCRIPTION EVENP))
 (121 66 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (121 66 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (121 66 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (88 51 (:REWRITE DEFAULT-<-1))
 (88 2 (:LINEAR EXPT-HALF-LINEAR))
 (85 41 (:REWRITE DEFAULT-+-2))
 (66 66 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (66 66 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (63 1 (:REWRITE BVCHOP-BOUND-2))
 (62 51 (:REWRITE DEFAULT-<-2))
 (42 6 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (41 41 (:REWRITE DEFAULT-+-1))
 (41 11 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (38 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (33 33 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (33 33 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (26 26 (:REWRITE BOUND-WHEN-USB))
 (24 2 (:REWRITE DEFAULT-*-2))
 (23 23 (:TYPE-PRESCRIPTION POSP))
 (21 3 (:REWRITE EQUAL-OF-+-AND-+-CANCEL-CONSTANTS))
 (20 20 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (20 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (20 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (20 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (14 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (12 12 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (12 12 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (12 12 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 6 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (12 6 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (12 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (12 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (11 11 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (11 11 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (10 10 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (10 10 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (10 2 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (8 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (6 6 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (6 6 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (6 6 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (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-NORMALIZE-CONSTANT-ARG4))
 (6 3 (:REWRITE GETBIT-WHEN-NOT-1))
 (6 3 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (5 3 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (3 3 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (3 3 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (3 3 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (3 3 (:REWRITE GETBIT-WHEN->-FREE))
 (3 3 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (3 3 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (3 3 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 (3 3 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (3 3 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (3 3 (:REWRITE EQUAL-OF-+-CANCEL-2))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 2 (:REWRITE NOT-0-WHEN-BIT-NOT-0))
 (2 2 (:REWRITE EQUAL-OF-BVCHOP-AND-BVCHOP-WHEN-SMALLER-BVCHOPS-EQUAL))
 (2 2 (:REWRITE DEFAULT-*-1))
 (2 2 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (2 2 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG4-CONSTANT))
 (2 2 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG2-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 BVCHOP-BOUND))
 (1 1 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 )
(+-OF-1-AND-BVCAT-1-0
 (2291 24 (:REWRITE BVCHOP-IDENTITY))
 (1397 18 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR))
 (1382 1 (:REWRITE LOGTAIL-IDENTITY))
 (1256 6 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (1240 38 (:REWRITE <-OF-*-OF-CONSTANT-AND-CONSTANT))
 (1238 24 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1074 6 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (1054 14 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (720 334 (:REWRITE DEFAULT-<-2))
 (672 334 (:REWRITE DEFAULT-<-1))
 (374 22 (:DEFINITION NATP))
 (342 38 (:LINEAR <-OF-*-SAME-LINEAR-2))
 (330 2 (:LINEAR <=-OF-LOGTAIL-SAME-LINEAR))
 (304 38 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (278 8 (:REWRITE BVCHOP-BOUND-2))
 (252 18 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (216 36 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (216 36 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (196 196 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (196 196 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (196 196 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (172 2 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (152 152 (:REWRITE BOUND-WHEN-USB))
 (140 2 (:LINEAR LOGTAIL-NON-NEGATIVE-LINEAR))
 (140 2 (:LINEAR LOGTAIL-LEQ))
 (130 22 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (126 126 (:TYPE-PRESCRIPTION EVENP))
 (126 18 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (126 18 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (108 18 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (108 18 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (108 18 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (96 54 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (96 54 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (96 54 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (88 88 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (76 76 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (76 76 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (76 76 (:LINEAR <-OF-*-AND-*-LINEAR))
 (58 2 (:REWRITE <-OF-*-AND-0))
 (54 54 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (54 54 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (54 54 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (54 54 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (54 54 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (54 36 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (43 22 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (42 42 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (41 41 (:TYPE-PRESCRIPTION NATP))
 (41 22 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (41 22 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (40 22 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (38 38 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (38 38 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (38 38 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (38 38 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (36 36 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (36 36 (:LINEAR EXPT-BOUND-LINEAR))
 (36 36 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (36 36 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (36 36 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (36 18 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (34 2 (:REWRITE NATP-OF-*-WHEN-NATP-AND-NATP))
 (28 28 (:REWRITE <-OF-*-OF-CONSTANT-AND-CONSTANT-GEN))
 (25 22 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (24 24 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (24 24 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (24 24 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (24 24 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (24 24 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (22 22 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (22 22 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (20 20 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (19 19 (:TYPE-PRESCRIPTION POSP))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (18 18 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (18 18 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (18 18 (:LINEAR EXPT-BOUND-LINEAR-2))
 (14 14 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (12 6 (:REWRITE UNSIGNED-BYTE-P-OF-+))
 (10 10 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (8 8 (:REWRITE BVCHOP-BOUND))
 (6 4 (:REWRITE DEFAULT-*-2))
 (6 4 (:REWRITE DEFAULT-*-1))
 (6 3 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (4 2 (:REWRITE DEFAULT-+-2))
 (3 3 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (3 3 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (2 2 (:REWRITE DEFAULT-+-1))
 (2 2 (:REWRITE BVCHOP-NUMERIC-BOUND))
 (2 1 (:REWRITE GETBIT-OF-+-OF-CONSTANT-IRREL))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->-FREE))
 (1 1 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 )
(+-OF-1-AND-BVCAT-1-1
 (822 822 (:TYPE-PRESCRIPTION EVENP))
 (570 296 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (570 296 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (570 296 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (448 23 (:REWRITE BVCHOP-IDENTITY))
 (296 296 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (290 1 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (141 2 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (65 5 (:REWRITE DEFAULT-*-2))
 (54 15 (:REWRITE DEFAULT-+-2))
 (54 5 (:REWRITE DEFAULT-*-1))
 (50 28 (:REWRITE DEFAULT-<-2))
 (40 40 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (37 15 (:REWRITE DEFAULT-+-1))
 (29 29 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (29 28 (:REWRITE DEFAULT-<-1))
 (27 1 (:REWRITE UNSIGNED-BYTE-P-OF-+))
 (23 23 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (23 23 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (21 5 (:REWRITE UNSIGNED-BYTE-P-OF-1))
 (20 20 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (20 20 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (20 20 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (20 20 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (20 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (19 19 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (16 16 (:REWRITE BOUND-WHEN-USB))
 (16 5 (:DEFINITION POSP))
 (14 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (14 1 (:REWRITE COMMUTATIVITY-OF-+))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (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 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (13 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (12 3 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (12 1 (:REWRITE DEFAULT-UNARY-MINUS))
 (9 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (9 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (8 8 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (8 8 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-0))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (5 5 (:TYPE-PRESCRIPTION POSP))
 (5 5 (:LINEAR EXPT-BOUND-LINEAR-2))
 (3 3 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE EQUAL-OF-EXPT2-AND-CONSTANT))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (1 1 (:REWRITE FOLD-CONSTS-IN-+))
 (1 1 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (1 1 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (1 1 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 )
(BVCAT-1-1-LOWSIZE-0
 (66 66 (:TYPE-PRESCRIPTION EVENP))
 (44 22 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (44 22 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (44 22 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (22 22 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (22 22 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (4 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (2 2 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (2 2 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-OF-IF-ARG1)
(BVCAT-OF-IF-ARG2)
(BVCAT-OF-IF-ARG3)
(BVCAT-OF-IF-ARG4)
(BVCAT-EQUAL-REWRITE-CONSTANT
 (60 6 (:REWRITE BVCHOP-IDENTITY))
 (36 12 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (32 8 (:REWRITE <-OF-+-CANCEL-1-2))
 (28 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (24 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (22 4 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (18 18 (:REWRITE DEFAULT-<-2))
 (18 18 (:REWRITE DEFAULT-<-1))
 (18 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (18 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (18 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (16 16 (:REWRITE BOUND-WHEN-USB))
 (14 2 (:REWRITE SLICE-TOO-HIGH-WHEN-UNSIGNED-BYTE-P))
 (12 12 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (12 12 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (12 12 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (12 12 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:REWRITE DEFAULT-+-2))
 (12 12 (:REWRITE DEFAULT-+-1))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 10 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (10 10 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (8 2 (:DEFINITION POSP))
 (6 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (6 6 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (6 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (6 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (6 6 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (6 6 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (6 2 (:REWRITE <-OF-+-CANCEL-2-2))
 (6 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (4 4 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (4 4 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (4 4 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (4 2 (: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 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 FOLD-CONSTS-IN-+))
 (2 2 (:REWRITE EQUAL-OF-BVCHOP-AND-BVCHOP-WHEN-SMALLER-BVCHOPS-EQUAL))
 (2 2 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (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 BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (1 1 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 )
(BVCAT-OF-EXPT-SAME-HIGH)
(PLUS-BVCAT-WITH-0-SPECIAL
 (255 255 (:TYPE-PRESCRIPTION EVENP))
 (202 117 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (202 117 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (202 117 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (117 117 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (28 4 (:REWRITE DEFAULT-*-2))
 (28 4 (:REWRITE DEFAULT-*-1))
 (26 2 (:REWRITE DEFAULT-+-2))
 (10 10 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (10 10 (:REWRITE DEFAULT-<-2))
 (10 10 (:REWRITE DEFAULT-<-1))
 (9 2 (:REWRITE BVCHOP-IDENTITY))
 (7 7 (:REWRITE BOUND-WHEN-USB))
 (6 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (5 5 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (5 5 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (5 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (4 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (3 3 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (3 1 (:LINEAR <=-OF-2-AND-EXPT2-LINEAR))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE DEFAULT-+-1))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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-OF-EXPT-ALT))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (2 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (2 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (1 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(BVCAT-BLAST-HIGH
 (95 51 (:REWRITE DEFAULT-+-2))
 (66 66 (:TYPE-PRESCRIPTION EVENP))
 (61 16 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (51 51 (:REWRITE DEFAULT-+-1))
 (44 22 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (44 22 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (44 22 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (41 10 (:DEFINITION POSP))
 (40 5 (:REWRITE BVCHOP-IDENTITY))
 (30 16 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (26 26 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (25 16 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (22 22 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (22 16 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (21 21 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (21 21 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (16 16 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (15 15 (:REWRITE FOLD-CONSTS-IN-+))
 (12 12 (:REWRITE EXPT-WHEN-NOT-INTEGERP-ARG1-CHEAP))
 (12 12 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (12 12 (:REWRITE DEFAULT-<-2))
 (12 12 (:REWRITE DEFAULT-<-1))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (10 10 (:TYPE-PRESCRIPTION POSP))
 (10 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (5 5 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP-TYPE))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (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))
 (5 5 (:REWRITE SLICE-OUT-OF-ORDER))
 (5 5 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (5 5 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (5 5 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (5 5 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (5 5 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (5 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (5 5 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (5 5 (:REWRITE BVCHOP-OF-EXPT-ALT))
 (5 5 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (5 5 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-HIGH))
 (5 5 (:REWRITE BVCAT-OF-GETBIT-HIGH-TIGHTEN))
 (5 5 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (5 5 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (5 5 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG4-CONSTANT))
 (4 4 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG2-CONSTANT))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 1 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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))
 (1 1 (:TYPE-PRESCRIPTION GETBIT))
 (1 1 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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-WHEN->=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->=-OF-BVCHOP-AND-CONSTANT-HIGH))
 (1 1 (:REWRITE GETBIT-WHEN->-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN->-FREE))
 (1 1 (:REWRITE GETBIT-WHEN-<=-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-<-OF-BVCHOP-AND-CONSTANT-HIGH))
 )
