(*-OF-EXPT-AND-/-OF-EXPT-COLLECT
 (327 327 (:TYPE-PRESCRIPTION EVENP))
 (262 4 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (218 109 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (218 109 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (218 109 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (109 109 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (109 109 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (96 7 (:REWRITE DEFAULT-*-2))
 (71 7 (:REWRITE DEFAULT-*-1))
 (50 2 (:REWRITE DEFAULT-UNARY-/))
 (50 2 (:REWRITE <-OF-*-OF-/-ARG2-ARG1))
 (34 4 (:REWRITE DEFAULT-<-2))
 (26 2 (:REWRITE <-OF-*-OF-/-ARG2-ARG1-GEN))
 (26 2 (:LINEAR FLOOR-UPPER-BOUND-STRONG-LINEAR-CHEAP))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (8 8 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (8 8 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (8 8 (:LINEAR <-OF-*-AND-*-LINEAR))
 (6 6 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (4 4 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (4 4 (:REWRITE DEFAULT-<-1))
 (4 4 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (3 3 (:TYPE-PRESCRIPTION INTEGERP-OF-*-OF-EXPT2-AND-/-OF-EXPT2-TYPE))
 (3 3 (:REWRITE *-OF-*-COMBINE-CONSTANTS))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE <-OF-CONSTANT-AND-*-OF-CONSTANT))
 (1 1 (:REWRITE DEFAULT-UNARY-MINUS))
 (1 1 (:REWRITE DEFAULT-+-2))
 (1 1 (:REWRITE DEFAULT-+-1))
 )
(*-OF-HALF-AND-EXPT-OF-ONE-MORE
 (2657 14 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (1713 1713 (:TYPE-PRESCRIPTION EVENP))
 (1142 571 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1142 571 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1142 571 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (1021 17 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (953 80 (:REWRITE DEFAULT-*-2))
 (571 571 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (497 17 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (193 28 (:REWRITE ZIP-OPEN))
 (152 40 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (143 26 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (129 114 (:REWRITE DEFAULT-<-2))
 (128 34 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (118 34 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (114 114 (:REWRITE DEFAULT-<-1))
 (113 113 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (104 80 (:REWRITE DEFAULT-*-1))
 (100 100 (:REWRITE DEFAULT-+-2))
 (100 100 (:REWRITE DEFAULT-+-1))
 (78 78 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (70 70 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (64 17 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (64 17 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (52 14 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (44 44 (:REWRITE BOUND-WHEN-USB))
 (40 40 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (36 36 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (34 34 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (34 34 (:LINEAR EXPT-BOUND-LINEAR))
 (34 34 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (34 34 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (32 17 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (28 28 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (28 28 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (28 28 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (28 28 (:LINEAR <-OF-*-AND-*-LINEAR))
 (26 26 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (23 23 (:REWRITE MOVE-MINUS-TO-CONSTANT))
 (23 23 (:REWRITE EQUAL-OF---WHEN-VARIABLE))
 (23 23 (:REWRITE EQUAL-OF---AND-CONSTANT))
 (17 17 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (17 17 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (17 17 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (17 17 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (5 5 (:REWRITE EQUAL-OF-*-AND-CONSTANT))
 (4 1 (:REWRITE <-OF-+-CANCEL-1-2))
 (3 3 (:REWRITE FOLD-CONSTS-IN-+))
 (1 1 (:REWRITE EQUAL-OF-EXPT2-AND-CONSTANT))
 (1 1 (:REWRITE EQUAL-OF-+-AND-+-CANCEL-CONSTANTS))
 )
(/-OF-EXPT-OF-DIFF
 (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))
 (115 5 (:REWRITE DEFAULT-UNARY-/))
 (100 100 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (58 1 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (48 4 (:REWRITE DEFAULT-*-2))
 (48 4 (:REWRITE DEFAULT-*-1))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (22 11 (:REWRITE DEFAULT-<-2))
 (12 12 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (12 4 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (12 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (11 11 (:REWRITE DEFAULT-<-1))
 (10 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (6 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (6 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (6 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (6 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (4 4 (:REWRITE BOUND-WHEN-USB))
 (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 (:TYPE-PRESCRIPTION INTEGERP-OF-*-OF-EXPT2-AND-/-OF-EXPT2-TYPE))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (2 2 (:REWRITE DEFAULT-+-2))
 (2 2 (:REWRITE DEFAULT-+-1))
 (2 2 (: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-*-AND-*-SAME-LINEAR))
 (2 2 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (2 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (2 2 (:LINEAR <-OF-*-AND-*-LINEAR))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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))
 )
(UNSIGNED-BYTE-P-OF-BVCAT
 (49 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (29 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (14 14 (:REWRITE DEFAULT-<-2))
 (14 14 (:REWRITE DEFAULT-<-1))
 (14 14 (:REWRITE BOUND-WHEN-USB))
 (14 2 (:REWRITE BVCHOP-IDENTITY))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (11 11 (:REWRITE UBP-LONGER-BETTER))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (5 5 (:REWRITE DEFAULT-+-2))
 (5 5 (:REWRITE DEFAULT-+-1))
 (5 2 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (4 1 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (2 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (2 2 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE DEFAULT-UNARY-MINUS))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCHOP-OF-BVCAT-SAME
 (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 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (10 10 (:REWRITE DEFAULT-<-2))
 (10 10 (:REWRITE DEFAULT-<-1))
 (10 10 (:REWRITE DEFAULT-+-1))
 (8 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (8 8 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (7 7 (:REWRITE BVCHOP-IDENTITY-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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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
 (1012 4 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (652 88 (:REWRITE BVCHOP-IDENTITY))
 (573 573 (:TYPE-PRESCRIPTION EVENP))
 (382 191 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (382 191 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (382 191 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (220 175 (:REWRITE DEFAULT-<-1))
 (215 175 (:REWRITE DEFAULT-<-2))
 (208 208 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (191 191 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (191 191 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (181 181 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (158 14 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (148 16 (:REWRITE DEFAULT-+-2))
 (123 123 (:REWRITE BOUND-WHEN-USB))
 (104 28 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (102 102 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (88 88 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (88 88 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (85 85 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (85 85 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (85 85 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (85 85 (:REWRITE UBP-LONGER-BETTER))
 (76 28 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (72 72 (:TYPE-PRESCRIPTION POSP))
 (68 6 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (50 14 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (50 5 (:REWRITE DEFAULT-*-1))
 (46 39 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (38 35 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (38 35 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (38 35 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (38 14 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (38 14 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (35 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (33 33 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (28 28 (:LINEAR EXPT-BOUND-LINEAR))
 (28 28 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (27 27 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (27 27 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (27 27 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (19 19 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (18 5 (:REWRITE DEFAULT-*-2))
 (18 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (16 16 (:REWRITE DEFAULT-+-1))
 (14 14 (:TYPE-PRESCRIPTION NATP))
 (14 14 (:LINEAR EXPT-BOUND-LINEAR-2))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-0))
 (10 10 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (10 10 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (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 NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (4 4 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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 EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 )
(UNSIGNED-BYTE-P-OF-+-WHEN-<-OF-LOGTAIL-AND-EXPT
 (966 966 (:TYPE-PRESCRIPTION EVENP))
 (719 7 (:REWRITE FLOOR-WHEN-<))
 (644 322 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (644 322 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (644 322 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (322 322 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (322 322 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (276 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (165 53 (:REWRITE DEFAULT-<-2))
 (134 2 (:LINEAR FLOOR-BOUND-STRICT-LINEAR))
 (109 8 (:REWRITE FLOOR-WHEN-NOT-RATIONALP-OF-QUOTIENT))
 (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))
 (73 53 (: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))
 (47 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-ACL2-NUMBERP-CHEAP))
 (33 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (7 7 (:REWRITE FLOOR-MINUS-NEGATIVE-CONSTANT))
 (5 5 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (3 3 (:REWRITE 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 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))
 (630 157 (: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))
 (231 194 (:REWRITE DEFAULT-<-1))
 (216 194 (: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))
 (176 176 (:REWRITE BOUND-WHEN-USB))
 (159 159 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (159 159 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (132 132 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (121 24 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (106 106 (:REWRITE DEFAULT-+-1))
 (96 16 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (93 93 (:TYPE-PRESCRIPTION POSP))
 (92 68 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (68 68 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (68 68 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (68 68 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (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 12 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (28 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (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 BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-EQUAL-REWRITE-BK
 (285 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))
 (58 16 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (57 51 (:REWRITE DEFAULT-<-1))
 (52 19 (:REWRITE DEFAULT-+-2))
 (52 13 (:REWRITE <-OF-+-CANCEL-1-1+))
 (51 51 (:REWRITE DEFAULT-<-2))
 (46 46 (:REWRITE BOUND-WHEN-USB))
 (34 34 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (34 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (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))
 (23 23 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (23 23 (: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-SUBST-CONSTANT))
 (18 18 (:TYPE-PRESCRIPTION POSP))
 (18 18 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (17 17 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (16 16 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (16 16 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (16 16 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (16 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (14 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))
 (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))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-EQUAL-REWRITE
 (69 9 (:REWRITE BVCHOP-IDENTITY))
 (66 6 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (36 3 (:REWRITE SLICE-OUT-OF-ORDER))
 (35 8 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (28 7 (:REWRITE <-OF-+-CANCEL-1-2))
 (27 9 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (27 9 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (27 3 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (21 21 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (21 21 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (20 20 (:REWRITE DEFAULT-<-2))
 (20 20 (:REWRITE DEFAULT-<-1))
 (19 19 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (19 19 (:REWRITE BOUND-WHEN-USB))
 (18 18 (:REWRITE DEFAULT-+-2))
 (18 18 (:REWRITE DEFAULT-+-1))
 (18 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (17 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (12 12 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (9 9 (:TYPE-PRESCRIPTION POSP))
 (9 9 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (9 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (9 9 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (9 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (9 9 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (9 3 (:REWRITE <-OF-+-CANCEL-2-2))
 (8 2 (:REWRITE <-OF-+-CANCEL-1-1+))
 (5 5 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (5 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (3 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (3 3 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (3 3 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (3 3 (:REWRITE FOLD-CONSTS-IN-+))
 (3 3 (:REWRITE <-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))
 (36 3 (:REWRITE SLICE-OUT-OF-ORDER))
 (34 7 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (33 3 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (32 8 (:REWRITE <-OF-+-CANCEL-1-2))
 (27 9 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (27 9 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (24 24 (:REWRITE DEFAULT-<-2))
 (24 24 (:REWRITE DEFAULT-<-1))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (22 22 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (22 22 (:REWRITE BOUND-WHEN-USB))
 (20 20 (:REWRITE DEFAULT-+-2))
 (20 20 (:REWRITE DEFAULT-+-1))
 (18 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (17 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 16 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (12 12 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (9 9 (:TYPE-PRESCRIPTION POSP))
 (9 9 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (9 9 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (9 9 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (9 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (9 9 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (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 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (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-+-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))
 (346 36 (:REWRITE UNSIGNED-BYTE-P-0))
 (326 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (240 114 (:REWRITE DEFAULT-<-1))
 (210 210 (:TYPE-PRESCRIPTION EVENP))
 (174 114 (:REWRITE DEFAULT-<-2))
 (169 1 (:REWRITE LOGTAIL-IDENTITY))
 (169 1 (:REWRITE LOGTAIL-BECOMES-0))
 (147 36 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (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))
 (128 16 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (122 122 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (90 90 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (90 90 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (80 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (78 78 (:REWRITE BOUND-WHEN-USB))
 (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))
 (62 62 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (62 62 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (62 62 (: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))
 (46 38 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (45 45 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (45 45 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (45 45 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (45 45 (:REWRITE UBP-LONGER-BETTER))
 (42 36 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (40 38 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-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))
 (39 39 (:TYPE-PRESCRIPTION POSP))
 (29 4 (:REWRITE DEFAULT-*-2))
 (29 4 (:REWRITE DEFAULT-*-1))
 (28 28 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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))
 (18 18 (:TYPE-PRESCRIPTION NATP))
 (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 (: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))
 )
(SLICE-OF-BVCAT
 (2388 34 (:REWRITE BVCHOP-IDENTITY))
 (2178 86 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (1524 8 (:REWRITE UNSIGNED-BYTE-P-OF-LOGTAIL-STRONG))
 (1078 134 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (638 10 (:REWRITE LOGTAIL-UNSIGNED-BYTE-P))
 (508 42 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (244 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (157 113 (:REWRITE DEFAULT-+-2))
 (151 147 (:REWRITE DEFAULT-<-1))
 (147 147 (:REWRITE DEFAULT-<-2))
 (144 4 (:LINEAR BVCHOP-UPPER-BOUND))
 (134 134 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (133 133 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (133 133 (:REWRITE UBP-LONGER-BETTER))
 (131 131 (:REWRITE BOUND-WHEN-USB))
 (116 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (113 113 (:REWRITE DEFAULT-+-1))
 (104 4 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (102 102 (:TYPE-PRESCRIPTION EVENP))
 (92 8 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (80 21 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (76 46 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (76 42 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (76 42 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (76 42 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (74 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT))
 (72 18 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (64 34 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (64 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (64 8 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (52 52 (:REWRITE +-COMBINE-CONSTANTS))
 (46 46 (:REWRITE FOLD-CONSTS-IN-+))
 (46 46 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (42 42 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (42 42 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (42 42 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (42 42 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (42 42 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (42 42 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (42 6 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (34 34 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (34 34 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (34 16 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (33 25 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (33 21 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (32 32 (:TYPE-PRESCRIPTION POSP))
 (25 21 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (24 24 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (24 24 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (24 4 (:REWRITE LOGTAIL-BECOMES-0))
 (23 23 (:REWRITE DEFAULT-UNARY-MINUS))
 (21 21 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (21 21 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (20 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (18 4 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (16 8 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (16 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (16 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (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 LOGTAIL-TYPE))
 (8 8 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (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 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-BOUND))
 (4 4 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (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 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (4 1 (:REWRITE LOGTAIL-SHIFT-GEN2-ALT))
 (2 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 )
(BVCHOP-OF-BVCAT-CASES
 (1083 1083 (:TYPE-PRESCRIPTION EVENP))
 (722 361 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (722 361 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (722 361 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (534 534 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (452 135 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (410 162 (:REWRITE DEFAULT-+-2))
 (361 361 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (351 303 (:REWRITE DEFAULT-<-1))
 (303 303 (:REWRITE DEFAULT-<-2))
 (267 267 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (238 135 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (227 227 (:REWRITE BOUND-WHEN-USB))
 (200 5 (:LINEAR EXPT-HALF-LINEAR))
 (182 136 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (181 135 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (176 22 (:REWRITE BVCHOP-OF-BVCAT-SAME))
 (162 162 (:REWRITE DEFAULT-+-1))
 (150 136 (: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))
 (135 135 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (129 129 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (129 129 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (129 129 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (129 129 (:REWRITE UBP-LONGER-BETTER))
 (119 119 (:TYPE-PRESCRIPTION POSP))
 (107 107 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (92 24 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (92 24 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (88 38 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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))
 (38 38 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (27 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (26 26 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (26 26 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (22 22 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (22 22 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (20 5 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (19 3 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (18 18 (: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 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (8 2 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (5 5 (:REWRITE DEFAULT-*-1))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-0))
 (4 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (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))
 (2 2 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 )
(BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER
 (62 42 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (62 42 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (62 42 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (60 60 (:TYPE-PRESCRIPTION EVENP))
 (42 42 (: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))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (4 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (4 2 (:REWRITE DEFAULT-*-1))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (3 3 (:REWRITE BOUND-WHEN-USB))
 (3 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 1 (:REWRITE DEFAULT-<-2))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (3 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE DEFAULT-<-1))
 (1 1 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER
 (15 3 (:REWRITE BVCHOP-IDENTITY))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 1 (:REWRITE DEFAULT-<-2))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (3 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE DEFAULT-<-1))
 (1 1 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-OF-IFIX-ARG2
 (12 2 (:DEFINITION NATP))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE-ALT))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 4 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCAT-OF-IFIX-ARG4
 (12 2 (:DEFINITION NATP))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE-ALT))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (7 5 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCAT-RECOMBINE)
(BVCAT-EQUAL-0-REWRITE
 (21 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (19 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (15 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (12 2 (:DEFINITION NATP))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (6 6 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 3 (:REWRITE DEFAULT-<-1))
 (6 3 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:REWRITE DEFAULT-<-2))
 (3 3 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (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-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-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))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (11 11 (:REWRITE DEFAULT-<-1))
 (10 10 (:TYPE-PRESCRIPTION NATP))
 (9 9 (:REWRITE BOUND-WHEN-USB))
 (9 5 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (9 5 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (7 5 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:TYPE-PRESCRIPTION EVENP))
 (6 6 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (6 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 3 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (4 4 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-ACL2-NUMBERP-CHEAP))
 )
(BVCAT-SLICE-SAME
 (1090 90 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (915 26 (:REWRITE BVCHOP-IDENTITY))
 (618 110 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (200 82 (:REWRITE DEFAULT-<-1))
 (193 5 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (168 168 (:TYPE-PRESCRIPTION EVENP))
 (147 59 (:REWRITE DEFAULT-+-2))
 (138 82 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (138 82 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (138 82 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (113 24 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (110 110 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (110 110 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (110 110 (:REWRITE UBP-LONGER-BETTER))
 (92 82 (:REWRITE DEFAULT-<-2))
 (82 82 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (80 10 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (76 6 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (68 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (64 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (60 56 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (59 59 (:REWRITE DEFAULT-+-1))
 (55 24 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (48 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (46 24 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (39 39 (:REWRITE BOUND-WHEN-USB))
 (39 5 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (36 4 (:REWRITE <-OF-+-CANCEL-1-2+))
 (35 35 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (35 35 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (35 35 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (34 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (34 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (34 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (34 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (32 32 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (32 25 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (30 24 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (28 28 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (26 26 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (26 26 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (26 26 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (26 25 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (26 24 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (25 25 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (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))
 (16 16 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (16 4 (:REWRITE <-OF---AND--))
 (15 15 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (14 14 (:REWRITE FOLD-CONSTS-IN-+))
 (14 7 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (10 10 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (10 10 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR-2))
 (9 9 (:REWRITE DEFAULT-UNARY-MINUS))
 (9 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (8 2 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (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 5 (:TYPE-PRESCRIPTION POSP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-0))
 (5 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (5 1 (:REWRITE <-OF-+-CANCEL-1+-2))
 (4 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (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 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 BVCHOP-BOUND))
 (1 1 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 )
(BVCAT-OF-GETBIT-ARG4
 (115 8 (:REWRITE BVCHOP-IDENTITY))
 (104 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (50 3 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (44 3 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (36 9 (:REWRITE DEFAULT-<-1))
 (21 3 (:REWRITE GETBIT-IDENTITY))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (13 13 (:REWRITE UBP-LONGER-BETTER))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 9 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (9 9 (:REWRITE DEFAULT-<-2))
 (9 9 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (9 9 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (8 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (8 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (8 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (8 8 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (7 7 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (7 7 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (7 7 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (7 7 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (7 7 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (7 7 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (7 7 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (7 7 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (6 3 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (6 3 (:REWRITE GETBIT-WHEN-NOT-1))
 (6 3 (:REWRITE GETBIT-WHEN-NOT-0))
 (6 3 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (3 3 (:TYPE-PRESCRIPTION BITP))
 (3 3 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (3 3 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (3 3 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (3 3 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (3 3 (:REWRITE SLICE-OUT-OF-ORDER))
 (3 3 (:REWRITE GETBIT-WHEN-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-IDENTITY-FREE))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 )
(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))
 (4 1 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (2 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (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-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-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-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
 (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))
 (152 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (107 11 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (100 100 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (81 13 (:REWRITE BVCHOP-IDENTITY))
 (76 70 (:REWRITE DEFAULT-<-1))
 (74 74 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (70 70 (:REWRITE DEFAULT-<-2))
 (63 9 (:REWRITE UNSIGNED-BYTE-P-WHEN-N-IS-NOT-NATP))
 (58 58 (:REWRITE BOUND-WHEN-USB))
 (45 12 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (44 1 (:LINEAR EXPT-HALF-LINEAR))
 (41 41 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (41 41 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (41 41 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (41 41 (:REWRITE UBP-LONGER-BETTER))
 (37 37 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (32 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (28 17 (:REWRITE DEFAULT-+-2))
 (26 26 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (26 12 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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-SUBST-CONSTANT))
 (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-SIZE-IS-NOT-NATP))
 (12 12 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (12 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (12 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (12 1 (:REWRITE DEFAULT-*-2))
 (10 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (8 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (8 2 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (7 7 (:TYPE-PRESCRIPTION NATP))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (7 4 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (7 1 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (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))
 (4 4 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (4 4 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 1 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (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 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-<=-CHEAP))
 (47 47 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (47 47 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (47 47 (:REWRITE UBP-LONGER-BETTER))
 (47 47 (:REWRITE DEFAULT-<-2))
 (47 47 (:REWRITE DEFAULT-<-1))
 (47 47 (:REWRITE BOUND-WHEN-USB))
 (40 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (30 6 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (22 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (20 20 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (18 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (15 15 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (12 12 (:REWRITE DEFAULT-+-2))
 (12 12 (:REWRITE DEFAULT-+-1))
 (12 12 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (11 11 (:TYPE-PRESCRIPTION POSP))
 (11 11 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (10 10 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (6 6 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (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))
 (106 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (100 100 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (59 15 (:REWRITE DEFAULT-<-2))
 (24 15 (: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-ACL2-NUMBERP-CHEAP))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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 UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (: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-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 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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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 4 (:TYPE-PRESCRIPTION NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (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 (: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-IDENTITY-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE 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
 (60 10 (:REWRITE BVCHOP-IDENTITY))
 (32 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (22 10 (:REWRITE DEFAULT-<-2))
 (18 18 (:TYPE-PRESCRIPTION NATP))
 (16 16 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (16 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (16 8 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (15 15 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (13 10 (:REWRITE DEFAULT-<-1))
 (12 8 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (12 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (9 1 (:REWRITE LOGTAIL-IDENTITY))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 8 (:REWRITE UBP-LONGER-BETTER))
 (8 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (8 8 (:REWRITE BOUND-WHEN-USB))
 (8 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (8 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (8 2 (:DEFINITION NATP))
 (5 5 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (5 5 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (5 5 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (3 2 (:REWRITE DEFAULT-*-2))
 (3 2 (:REWRITE DEFAULT-*-1))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 )
(BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP
 (41 9 (:REWRITE BVCHOP-IDENTITY))
 (24 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (13 4 (:REWRITE DEFAULT-<-2))
 (12 12 (:TYPE-PRESCRIPTION NATP))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 11 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (9 9 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (9 9 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (9 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (9 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (5 5 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:REWRITE DEFAULT-<-1))
 (4 4 (:REWRITE BOUND-WHEN-USB))
 (4 4 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (3 3 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (3 3 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCAT-OF-SLICE-AND-SLICE-ADJACENT
 (446 18 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (254 30 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (225 177 (:REWRITE DEFAULT-+-2))
 (188 14 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (177 177 (:REWRITE DEFAULT-+-1))
 (124 47 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (102 5 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (92 92 (:REWRITE FOLD-CONSTS-IN-+))
 (79 66 (:REWRITE DEFAULT-<-1))
 (78 10 (:DEFINITION POSP))
 (66 66 (:TYPE-PRESCRIPTION EVENP))
 (66 66 (:REWRITE DEFAULT-<-2))
 (64 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (50 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (49 49 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (49 27 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (49 27 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (49 27 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (48 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (42 42 (:REWRITE BOUND-WHEN-USB))
 (42 42 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (36 9 (: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 UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (30 30 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (30 30 (:REWRITE UBP-LONGER-BETTER))
 (30 30 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (30 30 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (27 27 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (27 27 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (24 14 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (20 14 (:REWRITE SLICE-OUT-OF-ORDER))
 (17 17 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (15 15 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (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-LEMMA))
 (14 14 (:REWRITE DEFAULT-UNARY-MINUS))
 (13 13 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:TYPE-PRESCRIPTION POSP))
 (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))
 (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))
 (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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE 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
 (489 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (251 26 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (212 152 (:REWRITE DEFAULT-+-2))
 (152 152 (:REWRITE DEFAULT-+-1))
 (128 14 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (119 5 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (85 32 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (68 58 (:REWRITE DEFAULT-<-1))
 (63 63 (:TYPE-PRESCRIPTION EVENP))
 (58 58 (:REWRITE DEFAULT-<-2))
 (56 56 (:REWRITE FOLD-CONSTS-IN-+))
 (52 14 (:REWRITE SLICE-OUT-OF-ORDER))
 (50 50 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (50 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (48 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (46 25 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (46 25 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (46 25 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (40 5 (:DEFINITION POSP))
 (39 39 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (29 29 (:REWRITE BOUND-WHEN-USB))
 (26 26 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (26 26 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (26 26 (:REWRITE UBP-LONGER-BETTER))
 (25 25 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (25 25 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (24 14 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (24 6 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (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 NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (23 23 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (23 14 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (20 3 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (19 19 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (15 15 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (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-LEMMA))
 (14 14 (:REWRITE DEFAULT-UNARY-MINUS))
 (13 13 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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))
 (10 1 (:REWRITE <-OF-+-CANCEL-1-2+))
 (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-VAL-IS-NOT-AN-INTEGER))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-1))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-0))
 (4 2 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (3 3 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (3 3 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:LINEAR EXPT-BOUND-LINEAR-2))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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))
 (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 SLICE-BOUND))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE <-OF-SLICE-AND-CONSTANT))
 (1 1 (:REWRITE <-OF-+-CANCEL-1-2))
 )
(BVCAT-OF-SLICE-AND-GETBIT-ADJACENT
 (2200 90 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (1244 124 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (784 40 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (480 25 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (458 350 (:REWRITE DEFAULT-+-2))
 (353 350 (:REWRITE DEFAULT-+-1))
 (250 179 (:REWRITE DEFAULT-<-1))
 (227 94 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (182 179 (:REWRITE DEFAULT-<-2))
 (144 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (141 141 (:TYPE-PRESCRIPTION EVENP))
 (124 124 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (124 124 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (124 124 (:REWRITE UBP-LONGER-BETTER))
 (119 72 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (119 72 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (119 72 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (112 112 (:REWRITE FOLD-CONSTS-IN-+))
 (107 107 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (97 97 (:REWRITE BOUND-WHEN-USB))
 (94 94 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (87 10 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (73 40 (:REWRITE SLICE-OUT-OF-ORDER))
 (72 72 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (72 72 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (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))
 (68 40 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (67 10 (:DEFINITION POSP))
 (63 63 (:REWRITE DEFAULT-UNARY-MINUS))
 (58 58 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (50 5 (:REWRITE <-OF-+-CANCEL-1-2+))
 (49 49 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (45 45 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (45 45 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (45 45 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (45 45 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (45 45 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (45 40 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (41 41 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (40 40 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (40 40 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (40 40 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (40 20 (:REWRITE GETBIT-WHEN-NOT-1))
 (40 20 (:REWRITE GETBIT-WHEN-NOT-0))
 (40 10 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (40 5 (:REWRITE GETBIT-OF-SLICE-TOO-HIGH))
 (30 15 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (30 5 (:REWRITE <-OF-+-CANCEL-1+-2+))
 (25 15 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (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 20 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (20 20 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (20 20 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (20 20 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (20 20 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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))
 (12 12 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (10 10 (:TYPE-PRESCRIPTION POSP))
 (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))
 (10 5 (:REWRITE GETBIT-OF-SLICE-GEN))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (9 9 (:LINEAR EXPT-BOUND-LINEAR-2))
 (8 8 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (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))
 (1 1 (:TYPE-PRESCRIPTION BITP-OF-SLICE-SAME-TYPE))
 (1 1 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 )
(BVCAT-OF-GETBIT-AND-GETBIT-ADJACENT
 (62 5 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (32 32 (:REWRITE DEFAULT-+-2))
 (32 32 (:REWRITE DEFAULT-+-1))
 (27 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (26 5 (:REWRITE SLICE-OUT-OF-ORDER))
 (16 1 (:REWRITE GETBIT-OF-SLICE-TOO-HIGH))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-1))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-0))
 (10 5 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (10 5 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (9 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (7 7 (:REWRITE UBP-LONGER-BETTER))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (7 7 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (7 4 (:REWRITE DEFAULT-<-1))
 (6 6 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (6 6 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (6 6 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (6 6 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (6 6 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (6 5 (:REWRITE GETBIT-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-TOO-HIGH-LEMMA))
 (5 5 (:REWRITE FOLD-CONSTS-IN-+))
 (5 5 (:REWRITE DEFAULT-UNARY-MINUS))
 (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-+-COMBINE-CONSTANTS-2))
 (4 4 (:REWRITE DEFAULT-<-2))
 (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 EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (2 2 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 2 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (2 1 (:REWRITE GETBIT-OF-SLICE-GEN))
 (1 1 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-OF-SLICE-AND-X-ADJACENT
 (307 10 (:REWRITE BVCHOP-IDENTITY))
 (243 18 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (145 28 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (113 65 (:REWRITE DEFAULT-+-2))
 (87 54 (:REWRITE DEFAULT-<-1))
 (82 23 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (65 65 (:REWRITE DEFAULT-+-1))
 (60 10 (:DEFINITION POSP))
 (57 57 (:TYPE-PRESCRIPTION EVENP))
 (55 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (54 54 (:REWRITE DEFAULT-<-2))
 (50 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (47 28 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (47 28 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (47 28 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (32 32 (:REWRITE BOUND-WHEN-USB))
 (32 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (30 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (28 28 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (28 28 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (28 28 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (28 28 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (28 28 (:REWRITE UBP-LONGER-BETTER))
 (24 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (23 23 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (20 20 (:TYPE-PRESCRIPTION POSP))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (20 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (20 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (20 10 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (20 5 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (19 19 (:REWRITE FOLD-CONSTS-IN-+))
 (19 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 16 (:REWRITE DEFAULT-UNARY-MINUS))
 (16 6 (:REWRITE SLICE-OUT-OF-ORDER))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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 ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (11 11 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (10 10 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (10 10 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (8 8 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (8 8 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (7 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (6 6 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (6 6 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (6 6 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (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))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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))
 )
(BVCAT-OF-GETBIT-AND-X-ADJACENT
 (390 18 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (304 30 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (255 10 (:REWRITE BVCHOP-IDENTITY))
 (72 72 (:TYPE-PRESCRIPTION EVENP))
 (70 15 (:REWRITE DEFAULT-+-2))
 (56 32 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (56 32 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (56 32 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (51 20 (:REWRITE DEFAULT-<-1))
 (32 32 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (30 30 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (30 30 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (30 30 (:REWRITE UBP-LONGER-BETTER))
 (30 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (26 26 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (24 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (24 3 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (20 20 (:REWRITE DEFAULT-<-2))
 (20 5 (:DEFINITION POSP))
 (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))
 (13 13 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (13 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 9 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (11 11 (:REWRITE BOUND-WHEN-USB))
 (11 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (11 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (10 10 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (10 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (10 10 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (10 10 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (10 10 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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 (:TYPE-PRESCRIPTION POSP))
 (7 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (7 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (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-BVCHOP-SAME-LINEAR-2))
 (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))
 (5 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-1))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-0))
 (4 2 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (3 3 (:LINEAR EXPT-BOUND-LINEAR-2))
 (3 2 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (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-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 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 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))
 (82 49 (:REWRITE DEFAULT-<-1))
 (82 23 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (60 10 (:DEFINITION POSP))
 (59 11 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (57 57 (:TYPE-PRESCRIPTION EVENP))
 (50 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (49 49 (:REWRITE DEFAULT-<-2))
 (47 28 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (47 28 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (47 28 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (40 40 (:REWRITE DEFAULT-+-1))
 (32 32 (:REWRITE BOUND-WHEN-USB))
 (32 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (30 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (29 29 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (29 29 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (29 29 (:REWRITE UBP-LONGER-BETTER))
 (28 28 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (28 28 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (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 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (21 11 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (20 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 4 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (14 14 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (14 14 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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-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 EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-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))
 (58 14 (:REWRITE DEFAULT-+-2))
 (54 54 (:TYPE-PRESCRIPTION EVENP))
 (51 18 (:REWRITE DEFAULT-<-1))
 (45 27 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (45 27 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (45 27 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (30 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (28 28 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (28 28 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (28 28 (:REWRITE UBP-LONGER-BETTER))
 (27 27 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (20 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (20 5 (:DEFINITION POSP))
 (18 18 (:REWRITE DEFAULT-<-2))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (14 14 (:REWRITE DEFAULT-+-1))
 (14 11 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (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-SIZE-IS-NOT-NATP))
 (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-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 EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (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-WHEN-NOT-0))
 (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))
 )
(GETBIT-OF-BVCAT-LOW
 (1424 29 (:REWRITE BVCHOP-IDENTITY))
 (1143 62 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (725 124 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (576 6 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (534 3 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (350 10 (:REWRITE LOGTAIL-UNSIGNED-BYTE-P))
 (246 18 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (168 6 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (148 145 (:REWRITE DEFAULT-<-1))
 (145 145 (:REWRITE DEFAULT-<-2))
 (124 124 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (124 124 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (124 124 (:REWRITE UBP-LONGER-BETTER))
 (100 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (80 80 (:REWRITE BOUND-WHEN-USB))
 (78 18 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (72 72 (:TYPE-PRESCRIPTION EVENP))
 (67 43 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (67 43 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (67 43 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (67 7 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (52 29 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (48 29 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (48 29 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (43 43 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (43 43 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (43 43 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (43 43 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (43 43 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (43 23 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (42 6 (:REWRITE LOGTAIL-IDENTITY))
 (42 6 (:REWRITE LOGTAIL-BECOMES-0))
 (38 38 (:REWRITE DEFAULT-+-2))
 (38 38 (:REWRITE DEFAULT-+-1))
 (36 23 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (36 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (36 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (36 6 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (32 32 (:TYPE-PRESCRIPTION LOGTAIL-TYPE))
 (32 32 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (30 6 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (29 29 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (29 29 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (28 28 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (25 25 (:TYPE-PRESCRIPTION POSP))
 (24 24 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (24 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (24 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (24 6 (:DEFINITION POSP))
 (23 23 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (21 21 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (19 7 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (18 6 (:REWRITE SLICE-OUT-OF-ORDER))
 (18 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (18 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (18 2 (:REWRITE LOGTAIL-LESSP))
 (18 2 (:LINEAR <=-OF-LOGTAIL-SAME-LINEAR))
 (16 16 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (15 15 (:REWRITE DEFAULT-UNARY-MINUS))
 (15 15 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (15 15 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (15 6 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (14 14 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (14 7 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (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-BASE-LINEAR))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-1))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-0))
 (12 6 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (10 2 (:LINEAR LOGTAIL-NON-NEGATIVE-LINEAR))
 (10 2 (:LINEAR LOGTAIL-LEQ))
 (9 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (9 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (9 6 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (9 3 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (6 6 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (6 6 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (6 6 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (6 6 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (6 6 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (6 6 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (6 6 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (6 6 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (6 6 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-2))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (3 3 (:REWRITE FOLD-CONSTS-IN-+))
 (3 3 (:REWRITE BVCHOP-BOUND))
 (3 3 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (3 3 (:REWRITE +-COMBINE-CONSTANTS))
 (2 2 (:REWRITE HOW-COULD-THIS-HAVE-BEEN-LEFT-OUT??))
 (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))
 )
(GETBIT-OF-BVCAT-LOW-BETTER
 (68 34 (:REWRITE GETBIT-WHEN-NOT-1))
 (68 34 (:REWRITE GETBIT-WHEN-NOT-0))
 (68 34 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (40 10 (:DEFINITION POSP))
 (38 38 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (34 34 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (34 34 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (34 34 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (34 34 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (34 9 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (28 4 (:REWRITE BVCHOP-IDENTITY))
 (24 24 (:REWRITE DEFAULT-<-2))
 (24 24 (:REWRITE DEFAULT-<-1))
 (24 24 (:REWRITE BOUND-WHEN-USB))
 (14 14 (:TYPE-PRESCRIPTION POSP))
 (8 8 (:TYPE-PRESCRIPTION NATP-OF-BVCAT-TYPE))
 (8 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (6 6 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (6 6 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (4 4 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE GETBIT-OF-BVCHOP-TOO-HIGH))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 )
(GETBIT-OF-BVCAT-TOO-HIGH
 (141 141 (:TYPE-PRESCRIPTION EVENP))
 (94 47 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (94 47 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (94 47 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (56 14 (:DEFINITION POSP))
 (47 47 (: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))
 (32 32 (:REWRITE DEFAULT-<-2))
 (32 32 (:REWRITE DEFAULT-<-1))
 (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))
 (15 5 (:REWRITE GETBIT-OF-BVCAT-LOW-BETTER))
 (14 14 (:TYPE-PRESCRIPTION POSP))
 (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 (:LINEAR EXPT-BOUND-LINEAR))
 (5 5 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (4 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (4 4 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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))
 (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-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 )
(GETBIT-OF-BVCAT-HIGH
 (4280 68 (:REWRITE LOGTAIL-UNSIGNED-BYTE-P))
 (3188 334 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (1558 404 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (803 731 (:REWRITE DEFAULT-+-2))
 (746 731 (:REWRITE DEFAULT-+-1))
 (578 46 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (490 14 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (479 434 (:REWRITE DEFAULT-<-2))
 (466 434 (:REWRITE DEFAULT-<-1))
 (446 430 (:REWRITE +-COMBINE-CONSTANTS))
 (404 404 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (403 403 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (403 403 (:REWRITE UBP-LONGER-BETTER))
 (394 394 (:REWRITE FOLD-CONSTS-IN-+))
 (291 291 (:TYPE-PRESCRIPTION EVENP))
 (238 141 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (238 141 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (238 141 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (234 234 (:REWRITE BOUND-WHEN-USB))
 (208 38 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (167 11 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (152 104 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (141 141 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (138 40 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (133 133 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (133 133 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (126 14 (:REWRITE LOGTAIL-LESSP))
 (126 14 (:LINEAR <=-OF-LOGTAIL-SAME-LINEAR))
 (120 108 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (113 113 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (113 113 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (110 110 (:TYPE-PRESCRIPTION LOGTAIL-TYPE))
 (110 110 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (108 40 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (104 104 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (98 26 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (96 32 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (94 94 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (91 25 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (88 88 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (87 5 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (80 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (75 10 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (72 57 (:REWRITE DEFAULT-UNARY-MINUS))
 (70 44 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (70 14 (:LINEAR LOGTAIL-NON-NEGATIVE-LINEAR))
 (70 14 (:LINEAR LOGTAIL-LEQ))
 (69 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT))
 (68 68 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (65 42 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (64 32 (:REWRITE +-OF-+-OF---SAME))
 (63 40 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (56 8 (:REWRITE LOGTAIL-BECOMES-0))
 (52 52 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (48 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (48 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (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 42 (:TYPE-PRESCRIPTION POSP))
 (42 5 (:REWRITE SLICE-OUT-OF-ORDER))
 (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 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (40 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (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--))
 (26 3 (:REWRITE DEFAULT-*-2))
 (21 5 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (21 5 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (20 10 (:REWRITE GETBIT-WHEN-NOT-1))
 (20 10 (:REWRITE GETBIT-WHEN-NOT-0))
 (20 10 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (19 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (19 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (16 16 (:LINEAR EXPT-BOUND-LINEAR))
 (16 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (16 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (16 3 (:REWRITE DEFAULT-*-1))
 (14 14 (:REWRITE HOW-COULD-THIS-HAVE-BEEN-LEFT-OUT??))
 (14 9 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1))
 (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 1 (:REWRITE SLICE-OF-BVCHOP-LOW-GEN))
 (10 1 (:REWRITE GETBIT-OF-*-OF-EXPT-ARG2))
 (9 9 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (9 9 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (9 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (8 8 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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-LEMMA))
 (5 5 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (5 5 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 4 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (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 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
 (99 99 (:TYPE-PRESCRIPTION EVENP))
 (78 72 (:REWRITE DEFAULT-<-1))
 (72 72 (:REWRITE DEFAULT-<-2))
 (67 34 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (67 34 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (67 34 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (64 32 (:REWRITE GETBIT-WHEN-NOT-1))
 (62 31 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (57 57 (:REWRITE BOUND-WHEN-USB))
 (53 28 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (52 52 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (52 8 (:REWRITE BVCHOP-IDENTITY))
 (46 24 (:REWRITE DEFAULT-+-2))
 (44 11 (:DEFINITION POSP))
 (34 34 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (34 34 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (31 31 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (31 31 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (31 6 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (25 7 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (24 24 (:REWRITE DEFAULT-+-1))
 (22 9 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (21 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (19 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (18 18 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (18 6 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (17 17 (:TYPE-PRESCRIPTION POSP))
 (16 16 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (13 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (12 12 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (12 6 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (12 6 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (10 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (9 9 (:REWRITE UBP-LONGER-BETTER))
 (9 9 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (9 9 (:REWRITE DEFAULT-UNARY-MINUS))
 (9 9 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (9 9 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (8 1 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (7 7 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (7 7 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (7 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (7 4 (:REWRITE GETBIT-OF-BVCHOP-TOO-HIGH))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (6 6 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (6 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (6 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (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 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (1 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 )
(GETBIT-OF-BVCAT-HIGH-BETTER
 (532 15 (:REWRITE GETBIT-TOO-HIGH))
 (384 42 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (186 18 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (75 18 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (73 73 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (73 73 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (73 73 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (73 73 (:REWRITE UBP-LONGER-BETTER))
 (66 8 (:REWRITE BVCHOP-IDENTITY))
 (65 15 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (60 57 (:REWRITE DEFAULT-<-1))
 (57 57 (:TYPE-PRESCRIPTION EVENP))
 (57 57 (:REWRITE DEFAULT-<-2))
 (44 44 (:REWRITE BOUND-WHEN-USB))
 (39 3 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (38 19 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (38 19 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (38 19 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (30 15 (:REWRITE GETBIT-WHEN-NOT-1))
 (30 15 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (30 10 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (30 7 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (23 23 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (23 23 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (23 12 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (22 22 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (22 11 (:REWRITE DEFAULT-+-2))
 (21 6 (:REWRITE GETBIT-OF-BVCHOP-TOO-HIGH))
 (19 19 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (19 19 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (18 9 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (16 16 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (15 15 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (15 15 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (13 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (11 11 (:REWRITE DEFAULT-+-1))
 (10 10 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (10 10 (:REWRITE DEFAULT-UNARY-MINUS))
 (9 9 (:TYPE-PRESCRIPTION POSP))
 (9 9 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (9 9 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (8 2 (:DEFINITION POSP))
 (8 1 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (7 7 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (7 7 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (7 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (6 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (5 5 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (1 1 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(GETBIT-OF-BVCAT-ALL
 (6296 78 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (6080 70 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (5435 243 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (975 975 (:TYPE-PRESCRIPTION EVENP))
 (969 565 (:REWRITE DEFAULT-<-1))
 (728 403 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (728 403 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (728 403 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (701 127 (:REWRITE BVCHOP-IDENTITY))
 (673 565 (:REWRITE DEFAULT-<-2))
 (566 78 (:REWRITE GETBIT-IDENTITY))
 (562 64 (:REWRITE GETBIT-OF-BVCAT-TOO-HIGH))
 (419 147 (:REWRITE DEFAULT-+-2))
 (403 403 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (378 36 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (346 346 (:REWRITE BOUND-WHEN-USB))
 (344 172 (:REWRITE GETBIT-WHEN-NOT-1))
 (298 46 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (298 46 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (291 64 (:REWRITE GETBIT-OF-BVCAT-HIGH))
 (258 129 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (243 243 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (243 243 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (243 243 (:REWRITE UBP-LONGER-BETTER))
 (240 240 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (220 46 (:LINEAR EXPT-BOUND-LINEAR))
 (220 46 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (216 114 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (216 32 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (208 26 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (205 79 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (194 194 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (194 194 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (194 194 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (188 188 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (186 147 (:REWRITE DEFAULT-+-1))
 (156 79 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (153 153 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (127 127 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (127 127 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (115 115 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (106 46 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (90 36 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (84 79 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (84 79 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (82 79 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (79 79 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (78 78 (:REWRITE GETBIT-IDENTITY-FREE))
 (73 73 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (70 70 (:TYPE-PRESCRIPTION BITP))
 (66 66 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (66 66 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (66 46 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (66 23 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (64 23 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (62 15 (:DEFINITION POSP))
 (56 56 (:TYPE-PRESCRIPTION POSP))
 (35 23 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (33 23 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (32 32 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT-ALL-CASES))
 (32 32 (:REWRITE UNSIGNED-BYTE-P-0))
 (27 3 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (25 23 (:LINEAR EXPT-BOUND-LINEAR-2))
 (22 22 (:REWRITE DEFAULT-UNARY-MINUS))
 (20 11 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (18 18 (:REWRITE BVCHOP-BOUND))
 (18 18 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (18 6 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (16 8 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (16 8 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (12 12 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (8 8 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCAT-GETBIT-GETBIT-SAME
 (114 70 (:REWRITE DEFAULT-+-2))
 (70 70 (:REWRITE DEFAULT-+-1))
 (54 54 (:TYPE-PRESCRIPTION EVENP))
 (46 4 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (38 20 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (28 14 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (26 14 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (24 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (20 20 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (20 5 (:REWRITE SLICE-OUT-OF-ORDER))
 (15 15 (:REWRITE DEFAULT-<-2))
 (15 15 (: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 6 (:REWRITE GETBIT-WHEN-NOT-1))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-0))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (10 10 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (10 5 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (10 4 (:REWRITE BVCHOP-IDENTITY))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 8 (:REWRITE UBP-LONGER-BETTER))
 (7 7 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (7 7 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (7 7 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (6 6 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (6 6 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (6 6 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (5 5 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (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 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 BVCHOP-WITH-N-NOT-AN-INTEGER))
 (4 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (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))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (2 2 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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))
 )
(LOGTAIL-OF-BVCAT-SAME
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (8 2 (:REWRITE BVCHOP-IDENTITY))
 (6 3 (:REWRITE DEFAULT-<-2))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 3 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE BOUND-WHEN-USB))
 (3 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCHOP-OF-LOGAPP-BIGGER
 (7468 38 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (4068 4068 (:TYPE-PRESCRIPTION EVENP))
 (2721 1365 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (2721 1365 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (2721 1365 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (2546 19 (:REWRITE UNSIGNED-BYTE-P-0))
 (1365 1365 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (1220 1218 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (840 21 (:LINEAR EXPT-HALF-LINEAR))
 (773 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (772 451 (:REWRITE DEFAULT-<-1))
 (750 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (711 451 (:REWRITE DEFAULT-<-2))
 (609 609 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (605 227 (:REWRITE DEFAULT-+-2))
 (503 53 (:REWRITE DEFAULT-*-2))
 (484 227 (:REWRITE DEFAULT-+-1))
 (412 64 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (356 56 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (338 128 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (329 119 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (264 128 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (244 64 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (219 219 (:REWRITE BOUND-WHEN-USB))
 (217 56 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (196 53 (:REWRITE DEFAULT-*-1))
 (132 64 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (132 64 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (110 22 (:DEFINITION POSP))
 (93 16 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (87 87 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (86 86 (:TYPE-PRESCRIPTION POSP))
 (84 21 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (83 83 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (82 10 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (76 76 (:LINEAR <-OF-*-AND-*-LINEAR))
 (74 74 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (74 74 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (73 73 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (73 73 (:REWRITE UBP-LONGER-BETTER))
 (71 16 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (63 63 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (61 57 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (60 56 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (58 56 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (44 44 (:TYPE-PRESCRIPTION FIX))
 (42 28 (:REWRITE DEFAULT-UNARY-MINUS))
 (36 12 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (36 9 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (35 35 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (28 28 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (28 28 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (28 28 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (27 27 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (24 24 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (23 1 (:REWRITE DEFAULT-UNARY-/))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (21 21 (:REWRITE <-OF-*-OF-CONSTANT-AND-CONSTANT-GEN))
 (21 21 (:REWRITE <-OF-*-OF-CONSTANT-AND-CONSTANT))
 (15 15 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (15 15 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (15 15 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (13 13 (:REWRITE FOLD-CONSTS-IN-+))
 (13 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (13 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (12 6 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (11 11 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (9 9 (:TYPE-PRESCRIPTION NFIX))
 (9 9 (:TYPE-PRESCRIPTION IFIX))
 (8 8 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (8 8 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (8 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (6 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT-ALT))
 (4 4 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (4 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (2 2 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE *-OF-*-COMBINE-CONSTANTS))
 )
(BVCHOP-OF-LOGAPP-BOTH
 (395 43 (:REWRITE BVCHOP-IDENTITY))
 (168 117 (:REWRITE DEFAULT-<-1))
 (159 159 (:TYPE-PRESCRIPTION EVENP))
 (156 117 (:REWRITE DEFAULT-<-2))
 (139 33 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (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))
 (102 9 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (100 100 (:REWRITE BOUND-WHEN-USB))
 (86 86 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (80 80 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (74 8 (:REWRITE DEFAULT-+-2))
 (61 33 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (60 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))
 (43 43 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (43 43 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (40 40 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (40 40 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (40 40 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (40 40 (:REWRITE UBP-LONGER-BETTER))
 (37 33 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (37 33 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (36 6 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (35 33 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (35 33 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (35 5 (:REWRITE <-OF-LOGAPP-AND-0))
 (34 34 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (34 34 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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 30 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (30 30 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (30 30 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (28 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (18 7 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (17 7 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (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))
 (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
 (4403 20 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (2796 26 (:REWRITE LOGTAIL-BECOMES-0))
 (2160 2160 (:TYPE-PRESCRIPTION EVENP))
 (1440 720 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1440 720 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1440 720 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (1393 2 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (1202 443 (:REWRITE DEFAULT-+-2))
 (945 678 (:REWRITE DEFAULT-<-1))
 (941 18 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (852 804 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (797 678 (:REWRITE DEFAULT-<-2))
 (739 244 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (720 720 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (584 584 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (584 584 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (584 98 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (571 571 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (571 571 (:REWRITE UBP-LONGER-BETTER))
 (561 561 (:REWRITE BOUND-WHEN-USB))
 (484 156 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (474 474 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (443 443 (:REWRITE DEFAULT-+-1))
 (422 244 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (402 402 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (340 244 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (324 156 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (306 306 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (304 256 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (292 244 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (281 78 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (243 243 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (168 26 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (162 78 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (162 78 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (154 154 (:TYPE-PRESCRIPTION POSP))
 (149 19 (:REWRITE DEFAULT-*-1))
 (118 24 (:DEFINITION POSP))
 (118 19 (:REWRITE DEFAULT-*-2))
 (106 106 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (106 106 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (101 101 (:REWRITE DEFAULT-UNARY-MINUS))
 (78 78 (:LINEAR EXPT-BOUND-LINEAR-2))
 (73 73 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (73 73 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (73 73 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (65 31 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (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))
 (28 10 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (19 19 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (19 19 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (14 2 (:REWRITE LOGTAIL-SHIFT-GEN2-ALT))
 (12 12 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (10 10 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (10 2 (:REWRITE DISTRIBUTIVITY-OF-MINUS-OVER-+))
 (7 1 (:REWRITE LOGHEAD-IDENTITY))
 (7 1 (:REWRITE BVCHOP-OF-*-OF-EXPT-WHEN-<=))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (4 4 (: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 EQUAL-OF-*-AND-CONSTANT))
 (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 (: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))
 (64 64 (:REWRITE DEFAULT-<-2))
 (64 64 (:REWRITE DEFAULT-<-1))
 (60 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (52 52 (:REWRITE BOUND-WHEN-USB))
 (47 47 (:REWRITE DEFAULT-+-1))
 (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))
 (37 37 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (37 37 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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))
 (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-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))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 )
(BVCAT-OF-BVCHOP-HIGH-TIGHTEN
 (53 7 (:REWRITE BVCHOP-IDENTITY))
 (27 1 (:REWRITE LOGTAIL-IDENTITY))
 (22 4 (:DEFINITION NATP))
 (18 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (17 17 (:TYPE-PRESCRIPTION NATP))
 (17 14 (:REWRITE DEFAULT-<-2))
 (17 14 (:REWRITE DEFAULT-<-1))
 (15 15 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (14 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (14 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (13 13 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (11 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (10 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (10 1 (:REWRITE BVCHOP-OF-LOGAPP-BOTH))
 (9 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (9 1 (:REWRITE LOGTAIL-BECOMES-0))
 (9 1 (:REWRITE BVCHOP-OF-LOGAPP-BIGGER))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 8 (:REWRITE UBP-LONGER-BETTER))
 (8 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (7 7 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (7 7 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (7 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (7 1 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (5 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (5 1 (:DEFINITION POSP))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (3 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (2 1 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (1 1 (:REWRITE 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
 (53 7 (:REWRITE BVCHOP-IDENTITY))
 (27 1 (:REWRITE LOGTAIL-IDENTITY))
 (22 4 (:DEFINITION NATP))
 (18 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (17 17 (:TYPE-PRESCRIPTION NATP))
 (17 14 (:REWRITE DEFAULT-<-2))
 (17 14 (:REWRITE DEFAULT-<-1))
 (15 15 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (14 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (14 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (13 13 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (11 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (10 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (10 1 (:REWRITE BVCHOP-OF-LOGAPP-BOTH))
 (9 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (9 1 (:REWRITE LOGTAIL-BECOMES-0))
 (9 1 (:REWRITE BVCHOP-OF-LOGAPP-BIGGER))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 8 (:REWRITE UBP-LONGER-BETTER))
 (8 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (7 7 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (7 7 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (7 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (7 1 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (5 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (5 1 (:DEFINITION POSP))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (3 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (2 1 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (1 1 (:REWRITE 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))
 (8 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (7 7 (:REWRITE DEFAULT-<-2))
 (7 7 (:REWRITE DEFAULT-<-1))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (6 6 (:REWRITE BOUND-WHEN-USB))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (5 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (4 4 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (3 3 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP-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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (2 2 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (1 1 (:TYPE-PRESCRIPTION NATP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 )
(BVCAT-EQUAL-REWRITE-NO-FIRST-COMPONENTS-SAME
 (34 10 (:REWRITE BVCHOP-IDENTITY))
 (17 17 (:REWRITE DEFAULT-+-2))
 (17 17 (:REWRITE DEFAULT-+-1))
 (13 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (13 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (10 10 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (10 10 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (10 10 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (10 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (9 9 (:REWRITE DEFAULT-<-2))
 (9 9 (:REWRITE DEFAULT-<-1))
 (9 9 (:REWRITE BOUND-WHEN-USB))
 (7 2 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (6 6 (:REWRITE UBP-LONGER-BETTER))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE FOLD-CONSTS-IN-+))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 1 (:DEFINITION POSP))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (3 3 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (2 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (2 2 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE 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
 (609 1 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (463 36 (:REWRITE BVCHOP-IDENTITY))
 (273 273 (:TYPE-PRESCRIPTION EVENP))
 (212 121 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (212 121 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (212 121 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (192 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (187 17 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (148 8 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (137 1 (:REWRITE FLOOR-OF-+-WHEN-MULT-ARG2))
 (136 6 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF--1))
 (121 121 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (120 87 (:REWRITE DEFAULT-<-1))
 (117 15 (:REWRITE DEFAULT-+-2))
 (108 27 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (104 4 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (99 9 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (93 87 (:REWRITE DEFAULT-<-2))
 (86 86 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (82 80 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (76 76 (:REWRITE BOUND-WHEN-USB))
 (49 7 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (48 27 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (48 4 (:REWRITE UNSIGNED-BYTE-P-OF-1))
 (46 2 (:REWRITE DEFAULT-UNARY-/))
 (40 40 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (40 15 (:REWRITE DEFAULT-+-1))
 (40 4 (:DEFINITION POSP))
 (37 2 (:REWRITE FLOOR-WHEN-NOT-RATIONALP-OF-QUOTIENT))
 (36 36 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (36 36 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (34 34 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (34 34 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (34 34 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (34 34 (:REWRITE UBP-LONGER-BETTER))
 (31 1 (:REWRITE INTEGERP-OF-*))
 (29 29 (:TYPE-PRESCRIPTION POSP))
 (27 27 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (27 27 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (27 27 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (27 27 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (24 24 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (21 21 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (16 4 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (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))
 (8 8 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (8 8 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (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 2 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (8 1 (:REWRITE INTEGERP-OF-/-OF-EXPT-2))
 (7 7 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (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))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-0))
 (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))
 (2 2 (:REWRITE FOLD-CONSTS-IN-+))
 (2 2 (:REWRITE FLOOR-MINUS-NEGATIVE-CONSTANT))
 (2 2 (:REWRITE +-COMBINE-CONSTANTS))
 (1 1 (:TYPE-PRESCRIPTION NONNEG-OF-MOD-TYPE-2))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-MOD-TYPE))
 (1 1 (:REWRITE FLOOR-PEEL-OFF-CONSTANT))
 (1 1 (:REWRITE FLOOR-OF-PLUS-NORMALIZE-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-UPPER-BOUND))
 (1 1 (:REWRITE BVCHOP-NUMERIC-BOUND))
 (1 1 (:REWRITE BVCHOP-BOUND))
 (1 1 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 )
(SLICE-OF-BVCAT-LOW
 (4005 4005 (:TYPE-PRESCRIPTION EVENP))
 (2678 1343 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (2678 1343 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (2678 1343 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (1343 1343 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (1092 167 (:REWRITE DEFAULT-*-1))
 (1082 167 (:REWRITE DEFAULT-*-2))
 (915 84 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (524 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (514 85 (:REWRITE DEFAULT-+-2))
 (382 85 (:REWRITE DEFAULT-+-1))
 (337 7 (:REWRITE LOGTAIL-IDENTITY))
 (326 7 (:REWRITE LOGTAIL-BECOMES-0))
 (310 5 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (185 5 (:LINEAR BVCHOP-UPPER-BOUND))
 (178 137 (:REWRITE DEFAULT-<-1))
 (174 16 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (150 10 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (140 19 (:REWRITE DEFAULT-UNARY-MINUS))
 (138 137 (:REWRITE DEFAULT-<-2))
 (100 100 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (100 100 (:REWRITE BOUND-WHEN-USB))
 (84 84 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (84 84 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (84 84 (:REWRITE UBP-LONGER-BETTER))
 (67 16 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (57 32 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (50 50 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (46 46 (:LINEAR <-OF-*-AND-*-LINEAR))
 (42 23 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (40 5 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (36 36 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (34 34 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (34 14 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (33 33 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (31 27 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (29 27 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (27 27 (:TYPE-PRESCRIPTION POSP))
 (26 26 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (25 7 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (25 7 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (23 23 (:REWRITE FOLD-CONSTS-IN-+))
 (23 23 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (23 23 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (23 23 (:REWRITE +-COMBINE-CONSTANTS))
 (22 10 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (19 8 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT))
 (18 6 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (17 7 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (15 1 (:REWRITE UNSIGNED-BYTE-P-OF-*))
 (14 14 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (13 1 (:REWRITE UNSIGNED-BYTE-P-OF-EXPT2))
 (11 11 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (10 10 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (9 9 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (9 9 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (9 9 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (8 2 (:DEFINITION POSP))
 (7 7 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (7 7 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (7 7 (:LINEAR EXPT-BOUND-LINEAR-2))
 (6 3 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (6 1 (:REWRITE BVCHOP-TIMES-CANCEL-BETTER-ALT))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-0))
 (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))
 (3 3 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (2 2 (:REWRITE BVCHOP-BOUND))
 (2 2 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (2 2 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (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 <-OF-*-OF-CONSTANT-AND-CONSTANT-GEN))
 (1 1 (:REWRITE <-OF-*-OF-CONSTANT-AND-CONSTANT))
 )
(SLICE-OF-BVCAT-TOO-HIGH
 (28 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (25 25 (:REWRITE DEFAULT-<-2))
 (25 25 (:REWRITE DEFAULT-<-1))
 (21 21 (:TYPE-PRESCRIPTION EVENP))
 (21 9 (:REWRITE DEFAULT-+-2))
 (17 17 (:REWRITE BOUND-WHEN-USB))
 (16 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (16 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (14 7 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (14 7 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (14 7 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (12 12 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (10 2 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (9 9 (:REWRITE DEFAULT-+-1))
 (9 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (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 7 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (7 1 (:REWRITE BVCHOP-IDENTITY))
 (6 6 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 2 (:REWRITE SLICE-OF-BVCAT-LOW))
 (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-<=-CHEAP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (4 4 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:REWRITE 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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (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 DEFAULT-UNARY-MINUS))
 (3 1 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (3 1 (:REWRITE <-OF-+-CANCEL-2-2))
 (2 2 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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-SIZE-IS-NOT-NATP))
 (1 1 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (1 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (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-TRIM-HIGH-ARG
 (7391 10 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (6457 282 (:REWRITE BVCHOP-IDENTITY))
 (4205 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (3321 3321 (:TYPE-PRESCRIPTION EVENP))
 (2214 1107 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (2214 1107 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (2214 1107 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (1606 1606 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (1107 1107 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (1092 487 (:REWRITE DEFAULT-+-2))
 (952 22 (:LINEAR EXPT-HALF-LINEAR))
 (820 748 (:REWRITE DEFAULT-<-1))
 (803 803 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (748 748 (: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))
 (608 47 (: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))
 (368 192 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (297 254 (: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-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 UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (254 254 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (254 254 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (254 254 (:REWRITE UBP-LONGER-BETTER))
 (254 254 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (254 254 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (254 254 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (245 245 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (222 178 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (156 15 (:REWRITE SLICE-OF-BVCAT-LOW))
 (152 16 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (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-+))
 (112 61 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (105 48 (:REWRITE BVCHOP-OF-BVCAT-LOW))
 (103 61 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (88 22 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (78 10 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (77 77 (:REWRITE DEFAULT-UNARY-MINUS))
 (61 61 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (58 58 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-LOW-IS-NEGATIVE))
 (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+))
 (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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(SLICE-OF-BVCAT-HACK
 (6448 10 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (2450 377 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1521 1521 (:TYPE-PRESCRIPTION EVENP))
 (1064 557 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1064 557 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1064 557 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (790 144 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (647 5 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (603 74 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (596 5 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT-ALT))
 (569 332 (:REWRITE DEFAULT-+-2))
 (557 557 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (555 96 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (540 20 (:REWRITE LOGTAIL-IDENTITY))
 (507 473 (:REWRITE DEFAULT-<-1))
 (495 473 (:REWRITE DEFAULT-<-2))
 (484 392 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (418 49 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (414 13 (:REWRITE LOGTAIL-BECOMES-0))
 (377 377 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (374 374 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (374 374 (:REWRITE UBP-LONGER-BETTER))
 (352 352 (:REWRITE BOUND-WHEN-USB))
 (332 332 (:REWRITE DEFAULT-+-1))
 (303 60 (:LINEAR EXPT-BOUND-LINEAR))
 (297 33 (:LINEAR EXPT-BOUND-LINEAR-2))
 (244 60 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (239 30 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (239 30 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (234 60 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (234 39 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-2))
 (215 113 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (207 3 (:LINEAR EXPT-OF-ONE-LESS-LINEAR))
 (196 196 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (196 178 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (188 96 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (177 133 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (132 132 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (129 15 (:REWRITE DEFAULT-*-2))
 (126 98 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (122 96 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (122 30 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (122 30 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (120 24 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (120 3 (:LINEAR EXPT-HALF-LINEAR))
 (118 118 (:REWRITE FOLD-CONSTS-IN-+))
 (114 114 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (107 107 (:TYPE-PRESCRIPTION POSP))
 (100 100 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (98 96 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (92 15 (:REWRITE DEFAULT-*-1))
 (84 60 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (81 9 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (72 72 (:REWRITE DEFAULT-UNARY-MINUS))
 (69 69 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (66 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGTAIL-STRONG))
 (59 19 (:REWRITE UNSIGNED-BYTE-P-0))
 (58 13 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (45 45 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (45 45 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (36 9 (:DEFINITION POSP))
 (20 20 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (20 20 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (20 20 (:LINEAR <-OF-*-AND-*-LINEAR))
 (14 4 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (12 3 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (12 2 (:REWRITE <-OF-+-CANCEL-1+-2+))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (9 4 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (9 1 (:REWRITE BVCHOP-OF-*-OF-EXPT-WHEN-<=))
 (8 8 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (6 1 (:REWRITE BVCHOP-TIMES-CANCEL-BETTER))
 (5 5 (:REWRITE BVCHOP-BOUND))
 (5 5 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (4 4 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (4 4 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (4 1 (:REWRITE <-OF-+-CANCEL-1-1+))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (3 3 (:REWRITE EQUAL-OF-LOGTAIL-CONSTANT-VERSION))
 (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
 (1158 1158 (:TYPE-PRESCRIPTION EVENP))
 (774 388 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (774 388 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (774 388 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (592 22 (:REWRITE UNSIGNED-BYTE-P-OF-LOGTAIL-STRONG))
 (388 388 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (352 33 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (200 200 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (196 185 (:REWRITE DEFAULT-<-2))
 (185 185 (:REWRITE DEFAULT-<-1))
 (178 81 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (153 153 (:REWRITE BOUND-WHEN-USB))
 (127 127 (:REWRITE DEFAULT-+-2))
 (127 127 (:REWRITE DEFAULT-+-1))
 (118 34 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (100 100 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (96 26 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (92 23 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (81 81 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (80 2 (:LINEAR EXPT-HALF-LINEAR))
 (79 31 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (76 66 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (74 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (66 66 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (63 17 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (62 34 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (59 39 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (52 13 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (50 10 (:DEFINITION NFIX))
 (48 6 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (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))
 (29 29 (:TYPE-PRESCRIPTION NATP))
 (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 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (24 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (24 2 (:REWRITE DEFAULT-*-2))
 (22 22 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (18 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 4 (:REWRITE LOGTAIL-BECOMES-0))
 (14 3 (:REWRITE <-OF-EXPT-AND-EXPT-SAME-BASE))
 (13 13 (:TYPE-PRESCRIPTION POSP))
 (12 12 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (9 4 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (8 2 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:REWRITE DEFAULT-UNARY-MINUS))
 (6 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (4 4 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (4 1 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (4 1 (:DEFINITION POSP))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE DEFAULT-*-1))
 (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
 (30923 2634 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (10204 98 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (5612 453 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (5065 3222 (:REWRITE DEFAULT-+-2))
 (4404 4404 (:TYPE-PRESCRIPTION EVENP))
 (4282 2809 (:REWRITE DEFAULT-<-1))
 (3320 1852 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (3320 1852 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (3320 1852 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (3302 3222 (:REWRITE DEFAULT-+-1))
 (3213 2809 (:REWRITE DEFAULT-<-2))
 (3059 583 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (2924 34 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (2652 2634 (:REWRITE UBP-LONGER-BETTER))
 (2634 2634 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2634 2634 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2094 1912 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (1879 1879 (:REWRITE BOUND-WHEN-USB))
 (1852 1852 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (1678 1678 (:REWRITE FOLD-CONSTS-IN-+))
 (1218 260 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (1147 583 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (1137 29 (:REWRITE SLICE-OF-BVCAT-TOO-HIGH))
 (1073 27 (:REWRITE UNSIGNED-BYTE-P-0))
 (956 956 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (924 137 (:DEFINITION POSP))
 (858 260 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (841 841 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (824 130 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (824 130 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (773 583 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (739 586 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (705 586 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (701 583 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (642 115 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (624 624 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (618 618 (:TYPE-PRESCRIPTION POSP))
 (609 130 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (609 130 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (434 434 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (434 434 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (410 410 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (410 410 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (410 410 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (346 346 (:REWRITE DEFAULT-UNARY-MINUS))
 (314 314 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (280 7 (:LINEAR EXPT-HALF-LINEAR))
 (221 113 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (211 113 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (172 98 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (170 44 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (166 140 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (145 145 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (145 145 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (140 140 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (136 44 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (113 113 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (113 98 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (103 103 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (89 7 (:REWRITE DEFAULT-*-2))
 (87 16 (:REWRITE <-OF-+-CANCEL-2-1+))
 (74 74 (:REWRITE BVCHOP-BOUND))
 (74 74 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (66 8 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (63 9 (:REWRITE ASSOCIATIVITY-OF-+))
 (48 8 (:REWRITE <-OF-+-CANCEL-1-1+))
 (44 44 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (42 1 (:REWRITE BVCHOP-1-BECOMES-GETBIT))
 (36 36 (:TYPE-PRESCRIPTION MIN))
 (28 7 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (21 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (19 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (12 12 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (8 8 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (7 7 (:REWRITE DEFAULT-*-1))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (7 1 (:REWRITE <-OF-+-CANCEL-1+-1))
 (6 1 (:REWRITE SLICE-OF-BVCHOP-TIGHTEN))
 (5 1 (:REWRITE SLICE-OF-BVCHOP-LOW))
 (3 3 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE SLICE-OF-BVCHOP-TOO-HIGH))
 (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-IDENTITY-FREE))
 )
(SLICE-OF-BVCAT-LOW-BETTER
 (72 24 (:REWRITE DEFAULT-+-2))
 (54 54 (:TYPE-PRESCRIPTION EVENP))
 (48 16 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (36 18 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (36 18 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (36 18 (: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))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (18 6 (:REWRITE COMMUTATIVITY-OF-+))
 (18 3 (:REWRITE SLICE-OF-BVCAT-HACK))
 (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))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (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 <-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-LEMMA))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (6 6 (:REWRITE SLICE-OUT-OF-ORDER))
 (6 6 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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-<=-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (5 5 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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
 (1125 790 (:REWRITE DEFAULT-+-2))
 (790 790 (:REWRITE DEFAULT-+-1))
 (712 103 (:DEFINITION POSP))
 (612 26 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (537 77 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (508 480 (:REWRITE DEFAULT-<-1))
 (488 480 (:REWRITE DEFAULT-<-2))
 (440 77 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (434 434 (:REWRITE FOLD-CONSTS-IN-+))
 (405 405 (:TYPE-PRESCRIPTION EVENP))
 (387 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT-ALL-CASES))
 (355 355 (:REWRITE BOUND-WHEN-USB))
 (326 194 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (276 27 (:REWRITE BVCHOP-IDENTITY))
 (273 138 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (273 138 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (273 138 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (244 26 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (223 61 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (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))
 (155 155 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (155 155 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (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))
 (138 138 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (128 128 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (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))
 (94 94 (:REWRITE DEFAULT-UNARY-MINUS))
 (77 77 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (74 74 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (74 74 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (74 74 (:REWRITE UBP-LONGER-BETTER))
 (72 12 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-2))
 (67 42 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (64 64 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (64 6 (:REWRITE SLICE-OF-BVCAT-TOO-HIGH))
 (62 1 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (51 27 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (50 50 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (49 26 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (46 26 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (44 30 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (44 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))
 (37 1 (:LINEAR BVCHOP-UPPER-BOUND))
 (34 30 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (33 33 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-SIZE-IS-NOT-NATP))
 (30 26 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (30 6 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (30 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (27 27 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (27 27 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (27 26 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (26 26 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (26 26 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (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))
 (8 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))
 )
(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 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-LEMMA))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 )
(SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-2
 (84 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (84 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))
 (24 24 (:TYPE-PRESCRIPTION NATP))
 (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 EVENP))
 (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 9 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (16 9 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (16 9 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (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 3 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (11 3 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (10 10 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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))
 (9 9 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 8 (:REWRITE UBP-LONGER-BETTER))
 (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 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (6 3 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (5 5 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (5 5 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (5 5 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (5 5 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (5 5 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (5 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (5 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (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 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-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 EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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))
 (27 11 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (26 26 (:REWRITE DEFAULT-<-2))
 (26 26 (:REWRITE DEFAULT-<-1))
 (24 3 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (21 21 (:REWRITE BOUND-WHEN-USB))
 (14 4 (:REWRITE <-OF-+-CANCEL-2-2))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (13 13 (:REWRITE UBP-LONGER-BETTER))
 (12 4 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (11 6 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (10 10 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (9 9 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (8 8 (:REWRITE DEFAULT-+-2))
 (8 8 (:REWRITE DEFAULT-+-1))
 (8 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (8 4 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (8 2 (:REWRITE BVCHOP-IDENTITY))
 (8 2 (:DEFINITION POSP))
 (6 6 (:TYPE-PRESCRIPTION EVENP))
 (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 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 4 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (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 BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 1 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (2 2 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (2 2 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (2 2 (:REWRITE FOLD-CONSTS-IN-+))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (2 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:REWRITE +-COMBINE-CONSTANTS))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-2))
 (1 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-1))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 )
(SLICE-OF-BVCAT-GEN
 (868 628 (:REWRITE DEFAULT-+-2))
 (628 628 (:REWRITE DEFAULT-+-1))
 (628 84 (:DEFINITION POSP))
 (439 66 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (413 66 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (397 397 (:REWRITE FOLD-CONSTS-IN-+))
 (331 309 (:REWRITE DEFAULT-<-1))
 (317 309 (:REWRITE DEFAULT-<-2))
 (310 62 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (282 282 (:TYPE-PRESCRIPTION EVENP))
 (225 225 (:REWRITE BOUND-WHEN-USB))
 (216 30 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (197 127 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (190 96 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (190 96 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (190 96 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (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))
 (117 7 (:REWRITE BVCHOP-IDENTITY))
 (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))
 (100 100 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (96 96 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (95 17 (:REWRITE SLICE-OUT-OF-ORDER))
 (89 89 (:TYPE-PRESCRIPTION POSP))
 (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))
 (59 33 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (50 50 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (42 42 (:REWRITE DEFAULT-UNARY-MINUS))
 (37 37 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (33 33 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (33 33 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (33 33 (:REWRITE UBP-LONGER-BETTER))
 (29 19 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (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))
 (19 19 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (16 16 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (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-SIZE-IS-NOT-NATP))
 (9 7 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (7 7 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (7 7 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (7 7 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (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
 (418 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))
 (73 40 (:REWRITE DEFAULT-<-2))
 (70 2 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (56 14 (:DEFINITION POSP))
 (48 40 (: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))
 (16 16 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (16 16 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (16 16 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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-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 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-NUMERIC-BOUND
 (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))
 (126 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (82 82 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (64 31 (:REWRITE DEFAULT-<-2))
 (40 10 (:DEFINITION POSP))
 (38 31 (:REWRITE DEFAULT-<-1))
 (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))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (12 12 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (11 11 (:REWRITE DEFAULT-+-1))
 (10 10 (:TYPE-PRESCRIPTION POSP))
 (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))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (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))
 (116 116 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (86 86 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (86 86 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (59 59 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (59 59 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (59 59 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (59 59 (:REWRITE UBP-LONGER-BETTER))
 (47 30 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (39 39 (:REWRITE DEFAULT-+-2))
 (39 39 (:REWRITE DEFAULT-+-1))
 (34 34 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (30 30 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (30 30 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (30 30 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (30 30 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (30 30 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (20 20 (:REWRITE DEFAULT-<-2))
 (20 20 (:REWRITE DEFAULT-<-1))
 (20 20 (: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))
 (7 7 (:REWRITE FOLD-CONSTS-IN-+))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (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-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))
 (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))
 (40 10 (:DEFINITION POSP))
 (39 27 (:REWRITE DEFAULT-<-2))
 (30 27 (: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))
 (14 14 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (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-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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCAT-EQUAL-0-REWRITE2
 (22 2 (: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))
 (8 8 (:REWRITE DEFAULT-<-2))
 (8 2 (:REWRITE GETBIT-IDENTITY))
 (6 6 (:REWRITE BOUND-WHEN-USB))
 (6 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (5 5 (:REWRITE DEFAULT-+-2))
 (5 5 (:REWRITE DEFAULT-+-1))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-1))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-0))
 (4 2 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (4 1 (:DEFINITION POSP))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 2 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE GETBIT-WHEN-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-IDENTITY-FREE))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:TYPE-PRESCRIPTION POSP))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (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-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-EQUAL-0-REWRITE))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(SLICE-OF-BVCAT-HACK-GEN
 (807 615 (:REWRITE DEFAULT-+-2))
 (615 615 (:REWRITE DEFAULT-+-1))
 (556 75 (:DEFINITION POSP))
 (424 51 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (386 386 (: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))
 (222 222 (:TYPE-PRESCRIPTION EVENP))
 (216 30 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (203 203 (:REWRITE BOUND-WHEN-USB))
 (185 115 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (168 42 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (152 18 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (150 76 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (150 76 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (150 76 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (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))
 (94 94 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (80 80 (:TYPE-PRESCRIPTION POSP))
 (80 80 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (76 76 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (62 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (62 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (61 35 (: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))
 (40 40 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (36 36 (:REWRITE DEFAULT-UNARY-MINUS))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (35 35 (:REWRITE UBP-LONGER-BETTER))
 (31 18 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (30 20 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (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))
 (16 16 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-SIZE-IS-NOT-NATP))
 (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 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (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))
 (55 5 (:REWRITE BVCAT-OF-BVCAT-TRIM-HIGH-ARG))
 (53 53 (:REWRITE DEFAULT-<-2))
 (53 53 (:REWRITE DEFAULT-<-1))
 (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))
 (33 17 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (31 17 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (30 30 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (30 30 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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))
 (17 17 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (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 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-TRIM-HIGH-ARG))
 (66 66 (:REWRITE DEFAULT-+-1))
 (54 54 (:TYPE-PRESCRIPTION EVENP))
 (42 17 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (36 18 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (36 18 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (36 18 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (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 BOUND-WHEN-USB))
 (23 23 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (20 20 (:TYPE-PRESCRIPTION POSP))
 (20 20 (:REWRITE FOLD-CONSTS-IN-+))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (20 20 (:REWRITE +-COMBINE-CONSTANTS))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (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 4 (:REWRITE <-OF-+-CANCEL-2-1+))
 (10 10 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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
 (36 6 (:DEFINITION NATP))
 (30 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (30 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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (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-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (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-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION POSP))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (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-IDENTITY-FREE))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(EQUAL-BVCAT-0-RIGHT
 (8 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (8 2 (:REWRITE BVCHOP-IDENTITY))
 (6 6 (:REWRITE DEFAULT-<-2))
 (6 6 (:REWRITE DEFAULT-<-1))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE BOUND-WHEN-USB))
 (5 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 1 (:DEFINITION POSP))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:REWRITE DEFAULT-+-2))
 (3 3 (:REWRITE DEFAULT-+-1))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (2 2 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (2 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 )
(EQUAL-BVCAT-0-LEFT
 (14 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (8 2 (:REWRITE BVCHOP-IDENTITY))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE DEFAULT-<-2))
 (5 5 (:REWRITE DEFAULT-<-1))
 (5 5 (:REWRITE BOUND-WHEN-USB))
 (5 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 1 (:DEFINITION POSP))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (2 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 )
(BVCAT-ASSOCIATIVE-GEN
 (513 282 (:REWRITE DEFAULT-+-2))
 (435 435 (:TYPE-PRESCRIPTION EVENP))
 (291 271 (:REWRITE DEFAULT-<-1))
 (290 145 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (290 145 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (290 145 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (282 282 (:REWRITE DEFAULT-+-1))
 (271 271 (:REWRITE DEFAULT-<-2))
 (235 235 (:REWRITE BOUND-WHEN-USB))
 (150 150 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (145 145 (: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))
 (97 97 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (94 34 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (80 15 (:REWRITE BVCAT-OF-BVCAT-TRIM-HIGH-ARG))
 (75 75 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (74 74 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (74 74 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (74 74 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (74 74 (:REWRITE UBP-LONGER-BETTER))
 (69 40 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (65 17 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (63 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (62 62 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (61 61 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (59 59 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (56 8 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (55 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (48 48 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (48 48 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (48 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (41 41 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-LOW-IS-NEGATIVE))
 (15 15 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (15 15 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (15 15 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (15 15 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (15 15 (:REWRITE BVCAT-COMBINE-CONSTANTS-OLD))
 (14 6 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (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-SAME-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 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))
 )
(LOGTAIL-OF-BVCAT-LOW
 (2237 19 (:REWRITE LOGTAIL-IDENTITY))
 (2083 19 (:REWRITE LOGTAIL-BECOMES-0))
 (423 423 (:TYPE-PRESCRIPTION EVENP))
 (379 170 (:REWRITE DEFAULT-+-2))
 (317 269 (:REWRITE DEFAULT-<-1))
 (289 85 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (282 141 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (282 141 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (282 141 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (269 269 (:REWRITE DEFAULT-<-2))
 (249 12 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (233 233 (:REWRITE BOUND-WHEN-USB))
 (232 36 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (232 36 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (201 39 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (179 170 (:REWRITE DEFAULT-+-1))
 (164 164 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (159 85 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (155 155 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (155 155 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (155 155 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (155 155 (:REWRITE UBP-LONGER-BETTER))
 (150 35 (:DEFINITION POSP))
 (141 141 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (128 16 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (114 114 (:TYPE-PRESCRIPTION POSP))
 (112 112 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (109 109 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (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))
 (85 85 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (85 85 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (85 85 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (85 85 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (83 23 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (82 82 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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))
 (24 24 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (22 22 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (22 22 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (22 22 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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))
 (8 8 (:TYPE-PRESCRIPTION IFIX))
 (4 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (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
 (4032 24 (:REWRITE <-OF-*-AND-0))
 (3529 27 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (2385 2385 (:TYPE-PRESCRIPTION EVENP))
 (1590 795 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1590 795 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1590 795 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (795 795 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (552 110 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (547 454 (:REWRITE DEFAULT-<-1))
 (541 454 (:REWRITE DEFAULT-<-2))
 (482 444 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (307 307 (:REWRITE BOUND-WHEN-USB))
 (302 38 (:REWRITE LOGTAIL-BECOMES-0))
 (247 55 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (222 222 (: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 168 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (168 19 (:REWRITE DEFAULT-*-2))
 (142 142 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (142 142 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (140 140 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (140 140 (:REWRITE UBP-LONGER-BETTER))
 (135 21 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (134 30 (:DEFINITION POSP))
 (122 19 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (87 55 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (85 85 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (66 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))
 (43 19 (:REWRITE DEFAULT-*-1))
 (40 1 (:LINEAR EXPT-HALF-LINEAR))
 (38 38 (:TYPE-PRESCRIPTION NATP))
 (35 35 (:TYPE-PRESCRIPTION POSP))
 (34 34 (:REWRITE DEFAULT-+-2))
 (34 34 (:REWRITE DEFAULT-+-1))
 (30 6 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (29 29 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (29 29 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (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 3 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (23 23 (:REWRITE DEFAULT-UNARY-MINUS))
 (21 11 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (21 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (21 3 (:REWRITE <-OF-LOGAPP-AND-0))
 (19 19 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (19 19 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (19 19 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (19 3 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (18 18 (:REWRITE <-OF-0-AND-EXPT))
 (18 10 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (17 6 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (15 6 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (14 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (12 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 3 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (11 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (11 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 1 (:REWRITE NATP-OF-LOGAPP))
 (9 9 (:REWRITE EQUAL-OF-LOGTAIL-CONSTANT-VERSION))
 (9 9 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (7 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (6 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (6 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (6 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (4 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
 (1816 188 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (1135 127 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (528 300 (:REWRITE DEFAULT-<-2))
 (450 300 (:REWRITE DEFAULT-<-1))
 (445 5 (:REWRITE UNSIGNED-BYTE-P-0))
 (297 297 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (297 297 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (297 297 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (297 297 (:REWRITE UBP-LONGER-BETTER))
 (276 26 (:REWRITE LOGTAIL-BECOMES-0))
 (260 260 (:REWRITE BOUND-WHEN-USB))
 (201 26 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (150 25 (:DEFINITION POSP))
 (128 128 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (128 128 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (128 128 (: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))
 (88 10 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (80 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (80 10 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (70 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (70 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (68 68 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (68 68 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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))
 (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-SIZE-IS-NOT-NATP))
 (32 16 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (30 30 (:REWRITE DEFAULT-UNARY-MINUS))
 (30 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (29 16 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (29 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (25 25 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (25 25 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (20 20 (:TYPE-PRESCRIPTION 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))
 (18 18 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (18 18 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (16 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (16 16 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (16 16 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (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
 (1047 16 (:REWRITE LOGTAIL-IDENTITY))
 (760 84 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (504 56 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (242 56 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (205 133 (:REWRITE DEFAULT-<-2))
 (164 16 (:REWRITE LOGTAIL-BECOMES-0))
 (163 133 (:REWRITE DEFAULT-<-1))
 (161 29 (:DEFINITION POSP))
 (143 143 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (143 143 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (143 143 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (143 143 (:REWRITE UBP-LONGER-BETTER))
 (119 16 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (115 115 (:REWRITE BOUND-WHEN-USB))
 (76 5 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (76 5 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (71 11 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (71 11 (:REWRITE BVCHOP-IDENTITY))
 (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))
 (43 43 (:TYPE-PRESCRIPTION NATP))
 (41 6 (:REWRITE SLICE-OUT-OF-ORDER))
 (40 40 (:TYPE-PRESCRIPTION POSP))
 (39 36 (:REWRITE DEFAULT-+-2))
 (39 36 (:REWRITE DEFAULT-+-1))
 (36 36 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (36 36 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (36 36 (: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 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-SIZE-IS-NOT-NATP))
 (22 11 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (21 21 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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))
 (20 2 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (18 9 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (18 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (16 9 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 15 (:REWRITE DEFAULT-UNARY-MINUS))
 (14 14 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (14 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (14 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (12 12 (:TYPE-PRESCRIPTION EVENP))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (11 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (11 11 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (11 11 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (11 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (11 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT-ALL-CASES))
 (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-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-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
 (942 775 (:REWRITE DEFAULT-+-2))
 (775 775 (:REWRITE DEFAULT-+-1))
 (478 139 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (474 21 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (405 36 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (404 404 (:REWRITE FOLD-CONSTS-IN-+))
 (293 250 (:REWRITE DEFAULT-<-1))
 (250 250 (:REWRITE DEFAULT-<-2))
 (219 219 (:TYPE-PRESCRIPTION EVENP))
 (184 184 (:REWRITE BOUND-WHEN-USB))
 (178 24 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (160 87 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (160 87 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (160 87 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (152 38 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (146 24 (:DEFINITION POSP))
 (139 139 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (139 139 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (139 139 (:REWRITE UBP-LONGER-BETTER))
 (102 102 (:REWRITE DEFAULT-UNARY-MINUS))
 (99 1 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (89 89 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (89 89 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (89 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (89 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (89 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (89 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (87 87 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (87 87 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (74 1 (:LINEAR BVCHOP-UPPER-BOUND))
 (66 66 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (64 36 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (64 1 (:REWRITE SLICE-BECOMES-BVCHOP))
 (53 9 (:REWRITE <-OF---AND--))
 (52 52 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (52 48 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (50 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (42 42 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (42 42 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (42 42 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (39 39 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (36 36 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (33 33 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (31 31 (:TYPE-PRESCRIPTION POSP))
 (31 12 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (28 14 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (27 14 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (24 24 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (24 24 (:LINEAR EXPT-BOUND-LINEAR))
 (24 24 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (24 24 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (24 24 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (24 6 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (22 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (20 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (19 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (15 15 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (14 14 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (14 14 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (14 14 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (14 14 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (14 14 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (13 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (13 12 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (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 (:LINEAR EXPT-BOUND-LINEAR-2))
 (11 3 (:REWRITE <-OF-+-CANCEL-1-2))
 (10 1 (:REWRITE <-OF-+-CANCEL-1-2+))
 (8 1 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (6 6 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (6 1 (:REWRITE <-OF-+-CANCEL-1+-2+))
 (5 1 (:REWRITE <-OF-+-CANCEL-2-1))
 (4 4 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-BVCHOP-SAME))
 (2 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (2 1 (:REWRITE <-OF-+-CANCEL-1-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 UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE SLICE-BOUND))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE <-OF-SLICE-AND-CONSTANT))
 (1 1 (:DEFINITION IFIX))
 )
(BVCAT-OF-SLICE-AND-GETBIT-ADJACENT-2
 (1675 91 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (408 325 (:REWRITE DEFAULT-+-2))
 (346 14 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (325 325 (:REWRITE DEFAULT-+-1))
 (246 246 (:TYPE-PRESCRIPTION EVENP))
 (210 169 (:REWRITE DEFAULT-<-1))
 (199 10 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (199 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (181 2 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (178 73 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (177 95 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (177 95 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (177 95 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (169 169 (:REWRITE DEFAULT-<-2))
 (146 146 (:REWRITE FOLD-CONSTS-IN-+))
 (117 117 (:REWRITE BOUND-WHEN-USB))
 (117 18 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (116 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (105 18 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (104 104 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (104 2 (:LINEAR BVCHOP-UPPER-BOUND))
 (102 7 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (98 10 (:LINEAR EXPT-BOUND-LINEAR-2))
 (95 95 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (95 95 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (91 91 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (91 91 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (91 91 (:REWRITE UBP-LONGER-BETTER))
 (88 18 (:LINEAR EXPT-BOUND-LINEAR))
 (84 21 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (76 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (69 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (69 1 (:LINEAR EXPT-OF-ONE-LESS-LINEAR))
 (63 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (63 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (59 13 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (58 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (58 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (52 52 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (46 46 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (46 46 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (45 45 (:REWRITE DEFAULT-UNARY-MINUS))
 (40 1 (:LINEAR EXPT-HALF-LINEAR))
 (33 33 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (33 5 (:REWRITE <-OF---AND--))
 (28 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (26 26 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (26 13 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (25 13 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (25 13 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (24 6 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (22 13 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (22 11 (:REWRITE GETBIT-WHEN-NOT-1))
 (22 11 (:REWRITE GETBIT-WHEN-NOT-0))
 (20 10 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (18 10 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (17 17 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP-TYPE))
 (17 13 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (17 13 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (16 10 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 15 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (15 15 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (15 15 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (14 14 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (13 13 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (13 13 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (13 13 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (13 13 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (13 13 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (13 13 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (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 1 (:REWRITE DEFAULT-*-2))
 (11 11 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (11 11 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (11 11 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (11 11 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (10 10 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (10 1 (:REWRITE <-OF-+-CANCEL-1-2+))
 (9 9 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (9 1 (:REWRITE GETBIT-OF-SLICE-TOO-HIGH))
 (6 1 (:REWRITE <-OF-+-CANCEL-1+-2+))
 (5 5 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (4 1 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (3 3 (:REWRITE BVCAT-SUBST-1))
 (2 2 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (2 2 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 1 (:REWRITE GETBIT-OF-SLICE-GEN))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-BVCHOP-SAME))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE SLICE-BOUND))
 (1 1 (:REWRITE DEFAULT-*-1))
 (1 1 (:REWRITE BVCHOP-BOUND))
 (1 1 (:REWRITE <-OF-SLICE-AND-CONSTANT))
 (1 1 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 )
(BVCAT-OF-GETBIT-AND-SLICE-ADJACENT-2
 (449 341 (:REWRITE DEFAULT-+-2))
 (397 16 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (341 341 (:REWRITE DEFAULT-+-1))
 (153 153 (:REWRITE FOLD-CONSTS-IN-+))
 (141 141 (:TYPE-PRESCRIPTION EVENP))
 (129 125 (:REWRITE DEFAULT-<-1))
 (125 125 (:REWRITE DEFAULT-<-2))
 (125 9 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (112 14 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (110 20 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (97 50 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (97 50 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (97 50 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (94 94 (:REWRITE BOUND-WHEN-USB))
 (76 19 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (56 7 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (56 7 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (56 7 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (56 7 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (55 55 (:REWRITE DEFAULT-UNARY-MINUS))
 (50 50 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (49 49 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (49 49 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (44 44 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (35 20 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (34 34 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (33 33 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (33 33 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (33 33 (:REWRITE UBP-LONGER-BETTER))
 (29 29 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (26 13 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (25 25 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (25 25 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (25 25 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (25 13 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (25 5 (:REWRITE <-OF---AND--))
 (23 23 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (22 22 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (21 21 (:TYPE-PRESCRIPTION POSP))
 (20 20 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (14 14 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (14 14 (:LINEAR EXPT-BOUND-LINEAR))
 (14 14 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (14 14 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (14 14 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (13 13 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (12 6 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-1))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-0))
 (12 6 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (12 3 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (11 11 (:REWRITE BVCAT-SUBST-1))
 (10 1 (:REWRITE <-OF-+-CANCEL-1-2+))
 (8 2 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (7 7 (:LINEAR EXPT-BOUND-LINEAR-2))
 (7 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (7 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (6 6 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (6 6 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (6 6 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (6 6 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (6 6 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (6 6 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (6 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (4 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (1 1 (:REWRITE SLICE-BOUND))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE <-OF-SLICE-AND-CONSTANT))
 )
(BVCAT-OF-GETBIT-AND-GETBIT-ADJACENT-2
 (107 63 (:REWRITE DEFAULT-+-2))
 (63 63 (:REWRITE DEFAULT-+-1))
 (54 54 (:TYPE-PRESCRIPTION EVENP))
 (37 19 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (37 19 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (37 19 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (22 11 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (21 11 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (20 5 (:DEFINITION POSP))
 (19 19 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (18 9 (:REWRITE GETBIT-WHEN-NOT-1))
 (18 9 (:REWRITE GETBIT-WHEN-NOT-0))
 (18 9 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (16 4 (:REWRITE BVCHOP-IDENTITY))
 (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))
 (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))
 (10 10 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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 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-LOW-IS-NEGATIVE))
 (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-SIZE-IS-NOT-NATP))
 (4 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:REWRITE <-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-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (3 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (3 3 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 )
(BVCAT-OF-SLICE-AND-X-ADJACENT-2
 (477 325 (:REWRITE DEFAULT-+-2))
 (476 98 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (325 325 (:REWRITE DEFAULT-+-1))
 (321 321 (:TYPE-PRESCRIPTION EVENP))
 (231 124 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (231 124 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (231 124 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (183 108 (:REWRITE DEFAULT-<-1))
 (140 140 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (124 124 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (121 5 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (116 116 (:REWRITE FOLD-CONSTS-IN-+))
 (112 108 (:REWRITE DEFAULT-<-2))
 (100 100 (:TYPE-PRESCRIPTION IFIX))
 (98 98 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (98 98 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (98 98 (:REWRITE UBP-LONGER-BETTER))
 (90 17 (:DEFINITION POSP))
 (82 47 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (79 79 (:REWRITE BOUND-WHEN-USB))
 (78 6 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (70 70 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (70 6 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (67 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (56 56 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (53 47 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (52 52 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (51 51 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (48 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (47 47 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (47 47 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (47 47 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (47 47 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (42 6 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (32 8 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (31 31 (:REWRITE DEFAULT-UNARY-MINUS))
 (30 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (27 14 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (26 14 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (25 25 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (25 25 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (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 (:TYPE-PRESCRIPTION POSP))
 (21 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (16 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (15 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (15 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (15 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (15 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (14 14 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (14 14 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (14 14 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (14 14 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (14 14 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (13 13 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (13 13 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (12 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-0))
 (6 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (6 6 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (6 1 (:REWRITE <-OF-+-CANCEL-1+-2+))
 (5 5 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (5 5 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE SLICE-BOUND))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (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))
 (100 100 (:TYPE-PRESCRIPTION IFIX))
 (90 90 (:TYPE-PRESCRIPTION EVENP))
 (82 44 (:REWRITE DEFAULT-<-1))
 (78 6 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (70 6 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (69 39 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (69 39 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (69 39 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (54 11 (:DEFINITION POSP))
 (48 44 (:REWRITE DEFAULT-<-2))
 (43 3 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (39 39 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (39 39 (:REWRITE FOLD-CONSTS-IN-+))
 (38 2 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (32 32 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (28 28 (:REWRITE BOUND-WHEN-USB))
 (24 24 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (24 24 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (24 24 (:REWRITE UBP-LONGER-BETTER))
 (24 15 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (23 12 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (22 22 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (22 12 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (20 20 (:REWRITE DEFAULT-UNARY-MINUS))
 (18 15 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (18 15 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (16 16 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (16 16 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 15 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (15 15 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (15 15 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (15 15 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (15 15 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (15 3 (:REWRITE GETBIT-IDENTITY))
 (14 14 (:TYPE-PRESCRIPTION POSP))
 (12 12 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-1))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-0))
 (12 6 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (11 6 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (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-+-COMBINE-CONSTANTS-1))
 (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 BVCAT-SUBST-1))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (6 6 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (6 6 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (6 6 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (6 6 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (6 6 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (6 6 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (6 6 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (6 6 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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 GETBIT-IDENTITY-FREE))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:TYPE-PRESCRIPTION BITP))
 (2 2 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (2 2 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (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))
 (100 100 (:TYPE-PRESCRIPTION IFIX))
 (97 45 (:REWRITE DEFAULT-+-2))
 (79 7 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (71 7 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (67 14 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (54 54 (:TYPE-PRESCRIPTION EVENP))
 (48 10 (:DEFINITION POSP))
 (45 45 (:REWRITE DEFAULT-+-1))
 (42 3 (:REWRITE BVCHOP-IDENTITY))
 (37 26 (:REWRITE DEFAULT-<-1))
 (37 19 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (37 19 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (37 19 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (32 12 (:REWRITE UNICITY-OF-0))
 (30 26 (:REWRITE DEFAULT-<-2))
 (27 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (26 14 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (23 14 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (20 12 (:DEFINITION FIX))
 (19 19 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (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 <-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))
 (10 10 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (7 7 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP-TYPE))
 (7 7 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (6 6 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (6 3 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (4 4 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:REWRITE 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-SIZE-IS-NOT-NATP))
 (3 3 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (: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-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-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 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))
 (100 100 (:TYPE-PRESCRIPTION IFIX))
 (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))
 (56 56 (:REWRITE +-COMBINE-CONSTANTS))
 (54 54 (:TYPE-PRESCRIPTION EVENP))
 (52 52 (:REWRITE FOLD-CONSTS-IN-+))
 (51 40 (:REWRITE DEFAULT-<-1))
 (47 14 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (44 40 (:REWRITE DEFAULT-<-2))
 (42 3 (:REWRITE BVCHOP-IDENTITY))
 (37 19 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (37 19 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (37 19 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (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 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (23 14 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (20 20 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (20 4 (:REWRITE <-OF---AND--))
 (19 19 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (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))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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-<=-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (5 5 (:REWRITE UBP-LONGER-BETTER))
 (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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (3 3 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (2 2 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (2 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (2 2 (:REWRITE 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 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
 (77 33 (:REWRITE DEFAULT-+-2))
 (72 72 (:TYPE-PRESCRIPTION EVENP))
 (49 25 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (49 25 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (49 25 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (36 9 (:DEFINITION POSP))
 (33 33 (:REWRITE DEFAULT-+-1))
 (25 25 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (20 10 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (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-WHEN-NOT-0))
 (18 9 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (17 17 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (16 4 (:REWRITE BVCHOP-IDENTITY))
 (12 12 (:TYPE-PRESCRIPTION POSP))
 (12 12 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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))
 (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-SIZE-IS-NOT-NATP))
 (4 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:LINEAR EXPT-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-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))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (2 2 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE FOLD-CONSTS-IN-+))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE <-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))
 (77 22 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (72 72 (:TYPE-PRESCRIPTION EVENP))
 (72 18 (:DEFINITION POSP))
 (61 61 (:REWRITE DEFAULT-+-1))
 (57 22 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (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))
 (42 22 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (40 22 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (30 30 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (26 26 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (26 26 (:REWRITE DEFAULT-<-2))
 (26 26 (:REWRITE DEFAULT-<-1))
 (26 26 (:REWRITE BOUND-WHEN-USB))
 (24 24 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (22 22 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (18 18 (:TYPE-PRESCRIPTION POSP))
 (13 13 (: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))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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
 (44 6 (:REWRITE BVCHOP-IDENTITY))
 (20 8 (:REWRITE DEFAULT-<-2))
 (16 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (16 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (12 12 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (11 8 (:REWRITE DEFAULT-<-1))
 (10 10 (:TYPE-PRESCRIPTION NATP))
 (9 9 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 1 (:REWRITE LOGTAIL-IDENTITY))
 (8 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (8 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (8 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (8 2 (:DEFINITION NATP))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (6 6 (:REWRITE UBP-LONGER-BETTER))
 (6 6 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (6 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 6 (:REWRITE BOUND-WHEN-USB))
 (6 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (6 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (5 5 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (5 5 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (3 2 (:REWRITE DEFAULT-*-2))
 (3 2 (:REWRITE DEFAULT-*-1))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 )
(BVCAT-NORMALIZE-CONSTANT-ARG2
 (30 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (30 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))
 (11 11 (:TYPE-PRESCRIPTION NATP))
 (10 1 (:REWRITE BVCAT-OF-BVCHOP-HIGH))
 (9 2 (:DEFINITION POSP))
 (8 8 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-SIZE-IS-NOT-NATP))
 (6 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (6 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE 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 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (3 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (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-OF-BVCHOP-WHEN-ALREADY))
 (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
 (30 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (30 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))
 (7 7 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (1 1 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (1 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (1 1 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE BVCHOP-IDENTITY))
 )
(SPLIT-BV
 (237 237 (:TYPE-PRESCRIPTION EVENP))
 (158 79 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (158 79 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (158 79 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (155 5 (:REWRITE BVCAT-OF-SLICE-AND-X-ADJACENT))
 (122 98 (:REWRITE DEFAULT-+-2))
 (98 98 (:REWRITE DEFAULT-+-1))
 (79 79 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (72 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (65 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (55 14 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (45 10 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (30 5 (:DEFINITION POSP))
 (29 29 (:REWRITE FOLD-CONSTS-IN-+))
 (29 29 (:REWRITE DEFAULT-<-2))
 (29 29 (:REWRITE DEFAULT-<-1))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (22 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (21 21 (:REWRITE BOUND-WHEN-USB))
 (16 16 (:REWRITE DEFAULT-UNARY-MINUS))
 (15 15 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (15 15 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (13 6 (:REWRITE SLICE-OUT-OF-ORDER))
 (13 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (13 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (12 12 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (11 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (11 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (10 10 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (10 10 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (10 10 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (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))
 (7 1 (:REWRITE BVCHOP-IDENTITY))
 (6 6 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (6 6 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (6 6 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (6 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 UBP-LONGER-BETTER))
 (5 5 (:TYPE-PRESCRIPTION POSP))
 (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 INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (1 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (1 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (1 1 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (1 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCHOP-SUBST-CONSTANT))
 )
(SPLIT-BV-TOP
 (1433 12 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (821 4 (:REWRITE BVCHOP-IDENTITY))
 (740 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (471 471 (:TYPE-PRESCRIPTION EVENP))
 (346 10 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (324 167 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (324 167 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (324 167 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (276 4 (:LINEAR EXPT-OF-ONE-LESS-LINEAR))
 (167 167 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (167 167 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (160 4 (:LINEAR EXPT-HALF-LINEAR))
 (112 68 (:REWRITE DEFAULT-<-2))
 (81 14 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (74 74 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (71 68 (:REWRITE DEFAULT-<-1))
 (62 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (55 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (54 4 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (54 4 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (52 4 (:REWRITE DEFAULT-*-2))
 (40 40 (:REWRITE DEFAULT-+-2))
 (40 40 (:REWRITE DEFAULT-+-1))
 (40 4 (:REWRITE BVCHOP-OF-GETBIT))
 (38 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (37 37 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (34 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (30 30 (:REWRITE BOUND-WHEN-USB))
 (28 4 (:REWRITE <-OF-EXPT-AND-EXPT-SAME-BASE))
 (20 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (20 2 (:REWRITE BVCAT-OF-BVCHOP-LOW))
 (18 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (16 16 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (16 8 (:REWRITE GETBIT-WHEN-NOT-1))
 (16 8 (:REWRITE GETBIT-WHEN-NOT-0))
 (16 4 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (14 14 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (14 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (13 13 (:TYPE-PRESCRIPTION NATP))
 (11 11 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (11 3 (:REWRITE +-COMBINE-CONSTANTS))
 (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 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (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-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCAT-OF-GETBIT-HIGH-TIGHTEN))
 (4 2 (:REWRITE UNICITY-OF-0))
 (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))
 (3 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (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
 (3419 23 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2997 22 (:REWRITE BVCHOP-IDENTITY))
 (1197 1197 (:TYPE-PRESCRIPTION EVENP))
 (835 436 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (714 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (602 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (436 436 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (320 8 (:LINEAR EXPT-HALF-LINEAR))
 (272 272 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (194 116 (:REWRITE DEFAULT-<-2))
 (141 19 (:REWRITE DEFAULT-*-2))
 (136 136 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (119 116 (:REWRITE DEFAULT-<-1))
 (110 62 (:REWRITE DEFAULT-+-2))
 (94 30 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (88 62 (:REWRITE DEFAULT-+-1))
 (72 24 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (71 15 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (66 30 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (60 52 (: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))
 (32 8 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (30 15 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (25 25 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (24 6 (:REWRITE <-OF-EXPT-AND-2))
 (21 21 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (19 19 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (19 19 (:REWRITE <-OF-+-CANCEL-1-2))
 (18 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (15 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (14 7 (:REWRITE GETBIT-WHEN-NOT-1))
 (14 7 (:REWRITE GETBIT-WHEN-NOT-0))
 (11 11 (:TYPE-PRESCRIPTION POSP))
 (11 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-0))
 (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))
 (10 1 (:LINEAR GETBIT-BOUND-LINEAR))
 (9 9 (:TYPE-PRESCRIPTION NATP))
 (8 5 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (7 7 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (6 6 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (6 6 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (6 6 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (6 6 (:LINEAR <-OF-*-AND-*-LINEAR))
 (6 3 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (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 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))
 (36 30 (:REWRITE DEFAULT-<-1))
 (30 30 (:REWRITE DEFAULT-<-2))
 (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))
 (19 19 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (18 18 (:REWRITE UBP-LONGER-BETTER))
 (16 16 (:TYPE-PRESCRIPTION POSP))
 (16 16 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (16 16 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (16 16 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (16 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (14 14 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 14 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (13 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (12 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (8 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (8 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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
 (3075 3075 (:TYPE-PRESCRIPTION EVENP))
 (2171 327 (:REWRITE BVCHOP-IDENTITY))
 (2050 1025 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (2050 1025 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (2050 1025 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (1462 1462 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (1025 1025 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (992 305 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (741 609 (:REWRITE DEFAULT-<-1))
 (731 731 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (703 219 (:REWRITE DEFAULT-+-2))
 (609 609 (:REWRITE DEFAULT-<-2))
 (524 305 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (497 497 (:REWRITE BOUND-WHEN-USB))
 (400 400 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (400 400 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (400 400 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (400 400 (:REWRITE UBP-LONGER-BETTER))
 (352 44 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (340 126 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (327 327 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (327 327 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (305 305 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (305 305 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (305 305 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (305 305 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (277 43 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (269 269 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (266 76 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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))
 (97 19 (:REWRITE LOGTAIL-BECOMES-0))
 (94 19 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (89 89 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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 DEFAULT-UNARY-MINUS))
 (7 7 (:TYPE-PRESCRIPTION NATP))
 (7 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 )
(UNSIGNED-BYTE-P-OF-BVCHOP-TIGHTER
 (1479 1479 (:TYPE-PRESCRIPTION EVENP))
 (986 493 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (986 493 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (986 493 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (514 275 (:REWRITE DEFAULT-+-2))
 (493 493 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (446 446 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (275 275 (:REWRITE DEFAULT-+-1))
 (265 247 (:REWRITE DEFAULT-<-1))
 (247 247 (:REWRITE DEFAULT-<-2))
 (240 70 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (223 223 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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))
 (84 12 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (76 76 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (76 76 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (76 76 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (76 76 (:REWRITE UBP-LONGER-BETTER))
 (70 70 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (60 60 (:REWRITE FOLD-CONSTS-IN-+))
 (58 10 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (54 54 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (48 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (47 47 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (45 45 (:TYPE-PRESCRIPTION POSP))
 (44 22 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (42 41 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (41 41 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (40 40 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (40 40 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (40 40 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (28 28 (:REWRITE DEFAULT-UNARY-MINUS))
 (27 27 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (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 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))
 (21 21 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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))
 (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
 (441 441 (:TYPE-PRESCRIPTION EVENP))
 (391 244 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (391 244 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (391 244 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (285 6 (:REWRITE MOD-WHEN-INTEGERP-OF-QUOTIENT))
 (244 244 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (225 6 (:REWRITE MOD-WHEN-MULTIPLE))
 (102 6 (:REWRITE MOD-WHEN-<))
 (92 4 (:REWRITE DEFAULT-UNARY-/))
 (73 6 (:REWRITE DEFAULT-+-2))
 (72 17 (:REWRITE DEFAULT-*-2))
 (70 8 (:REWRITE MULTIPLE-WHEN-MOD-0-CHEAP))
 (68 8 (:REWRITE INTEGERP-OF-*))
 (68 8 (:REWRITE COMMUTATIVITY-OF-*))
 (67 6 (:REWRITE DEFAULT-+-1))
 (61 17 (:REWRITE DEFAULT-*-1))
 (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))
 (43 21 (:REWRITE DEFAULT-<-2))
 (24 21 (:REWRITE DEFAULT-<-1))
 (21 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (19 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (17 17 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (8 8 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (3 3 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (2 2 (:REWRITE MOD-OF-2-WHEN-EVEN-CHEAP))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (2 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE EQUAL-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-SIZE-IS-NOT-NATP))
 (1 1 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (1 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (1 1 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-WHEN-EQUAL-OF-GETBIT-0-LOW
 (36 6 (:DEFINITION NATP))
 (30 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (30 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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (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-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (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-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION POSP))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (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-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
 (36 6 (:DEFINITION NATP))
 (30 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (30 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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (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-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (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-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION POSP))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (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-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))
 (193 105 (:REWRITE DEFAULT-+-2))
 (180 22 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (144 144 (:TYPE-PRESCRIPTION EVENP))
 (105 105 (:REWRITE DEFAULT-+-1))
 (98 50 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (98 50 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (98 50 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (89 53 (:REWRITE DEFAULT-<-1))
 (83 11 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (81 24 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (81 15 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (71 45 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (65 20 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (64 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (63 53 (:REWRITE DEFAULT-<-2))
 (60 56 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (60 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (50 50 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (48 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (46 24 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (45 45 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (45 45 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (45 45 (:REWRITE UBP-LONGER-BETTER))
 (36 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (36 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (36 2 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (34 34 (:REWRITE BOUND-WHEN-USB))
 (30 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (30 6 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (28 28 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (28 24 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (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-SUBST-CONSTANT))
 (26 26 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (26 24 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (25 5 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (24 24 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (19 19 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (14 14 (:TYPE-PRESCRIPTION POSP))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR))
 (12 12 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (11 11 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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 (:TYPE-PRESCRIPTION NATP))
 (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 (:LINEAR EXPT-BOUND-LINEAR-2))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE <-OF-+-CANCEL-1-2))
 (3 1 (:REWRITE <-OF-+-CANCEL-2-2))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-0))
 (2 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (2 2 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (2 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCHOP-WHEN-TOP-BIT-1
 (2313 2313 (:TYPE-PRESCRIPTION EVENP))
 (2023 19 (:REWRITE MOD-WHEN-INTEGERP-OF-QUOTIENT))
 (1554 783 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1554 783 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1554 783 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (1385 19 (:REWRITE MOD-WHEN-MULTIPLE))
 (783 783 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (676 38 (:REWRITE INTEGERP-OF-*))
 (630 26 (:REWRITE DEFAULT-UNARY-/))
 (555 53 (:REWRITE DEFAULT-*-2))
 (392 138 (: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))
 (200 5 (:LINEAR EXPT-HALF-LINEAR))
 (193 72 (:REWRITE DEFAULT-+-2))
 (182 40 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (180 172 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (161 138 (:REWRITE DEFAULT-<-1))
 (148 13 (:REWRITE INTEGERP-OF-/-OF-EXPT-2))
 (140 53 (:REWRITE DEFAULT-*-1))
 (122 72 (:REWRITE DEFAULT-+-1))
 (115 20 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (115 20 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (90 26 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (90 19 (:REWRITE MOD-WHEN-<-OF-0))
 (86 86 (: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))
 (70 10 (:REWRITE /-OF-EXPT-OF-DIFF))
 (67 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (60 5 (:REWRITE INTEGERP-OF-EXPT2))
 (54 13 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (54 6 (:LINEAR MOD-BOUND-LINEAR-ARG1))
 (53 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (43 43 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (40 40 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (40 40 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (40 4 (:REWRITE MULTIPLE-WHEN-MOD-0-CHEAP))
 (35 20 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (35 20 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (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---AND--))
 (24 24 (:REWRITE INTEGERP-OF-POWER2-HACK))
 (20 5 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (19 19 (:REWRITE MOD-WHEN-EQUAL-OF-MOD-AND-0-FREE-CHEAP))
 (18 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (16 16 (:REWRITE DEFAULT-UNARY-MINUS))
 (15 15 (:TYPE-PRESCRIPTION NONNEG-OF-MOD-TYPE))
 (12 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (8 8 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (6 6 (:REWRITE UBP-LONGER-BETTER))
 (6 6 (:REWRITE FOLD-CONSTS-IN-+))
 (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 SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (3 3 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (2 2 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (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 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
 (520 26 (:REWRITE BVCHOP-IDENTITY))
 (396 396 (:TYPE-PRESCRIPTION EVENP))
 (366 28 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (284 152 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (284 152 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (284 152 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (240 6 (:LINEAR EXPT-HALF-LINEAR))
 (235 53 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (193 60 (:REWRITE DEFAULT-+-2))
 (182 182 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (152 152 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (144 38 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (139 64 (:REWRITE DEFAULT-<-1))
 (96 12 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (91 91 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (78 26 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (72 6 (:REWRITE DEFAULT-*-2))
 (64 64 (:REWRITE DEFAULT-<-2))
 (61 60 (:REWRITE DEFAULT-+-1))
 (60 24 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (53 53 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (53 53 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (53 53 (:REWRITE UBP-LONGER-BETTER))
 (51 26 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (39 26 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (38 38 (:REWRITE BOUND-WHEN-USB))
 (36 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (36 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (35 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (28 28 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (26 26 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (26 26 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (26 26 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (26 26 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (26 26 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (26 26 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (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))
 (25 1 (:REWRITE GETBIT-OF-SLICE-TOO-HIGH))
 (24 24 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (24 24 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (24 24 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (24 24 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (24 6 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (13 13 (:TYPE-PRESCRIPTION POSP))
 (12 12 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (12 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (12 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (9 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (8 5 (:REWRITE GETBIT-WHEN-NOT-0))
 (6 6 (:REWRITE DEFAULT-*-1))
 (5 5 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (4 4 (:REWRITE FOLD-CONSTS-IN-+))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (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 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (2 1 (:REWRITE GETBIT-OF-SLICE-GEN))
 (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-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE
 (168 8 (:REWRITE BVCHOP-IDENTITY))
 (132 132 (:TYPE-PRESCRIPTION EVENP))
 (112 8 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (92 48 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (92 48 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (92 48 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (80 2 (:LINEAR EXPT-HALF-LINEAR))
 (72 16 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (60 60 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (56 12 (:REWRITE DEFAULT-+-2))
 (48 48 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (44 20 (:REWRITE DEFAULT-<-1))
 (44 12 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (32 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (30 30 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (24 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (24 2 (:REWRITE DEFAULT-*-2))
 (20 20 (:REWRITE DEFAULT-<-2))
 (20 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (16 16 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (16 16 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (16 16 (:REWRITE UBP-LONGER-BETTER))
 (16 8 (:REWRITE BVCHOP-WHEN-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))
 (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-SIZE-IS-NOT-NATP))
 (8 8 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (8 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))
 (8 2 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (4 4 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:REWRITE DEFAULT-*-1))
 (1 1 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-0))
 )
(BVCHOP-REDUCE-WHEN-TOP-BIT-KNOWN
 (72 72 (:TYPE-PRESCRIPTION EVENP))
 (64 10 (:REWRITE BVCHOP-IDENTITY))
 (59 15 (:REWRITE DEFAULT-+-2))
 (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))
 (28 28 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (24 24 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (24 24 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (19 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 15 (:REWRITE DEFAULT-+-1))
 (14 14 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (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-SIZE-IS-NOT-NATP))
 (10 10 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (10 10 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (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 9 (:REWRITE UBP-LONGER-BETTER))
 (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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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-WHEN-NOT-0))
 (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))
 )
(BVCHOP-NOT-0-WHEN-GETBIT-NOT-0
 (54 54 (:TYPE-PRESCRIPTION EVENP))
 (53 8 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (37 19 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (37 19 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (37 19 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (35 13 (:REWRITE DEFAULT-+-2))
 (26 17 (:REWRITE DEFAULT-<-1))
 (23 13 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (22 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (19 19 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (19 19 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (17 17 (:REWRITE DEFAULT-<-2))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 15 (:REWRITE BOUND-WHEN-USB))
 (13 13 (:REWRITE DEFAULT-+-1))
 (13 13 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (12 2 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (11 11 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (10 10 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (9 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 8 (:REWRITE UBP-LONGER-BETTER))
 (7 1 (:REWRITE EQUAL-OF-+-AND-+-CANCEL-CONSTANTS))
 (7 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (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 GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE 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 EQUAL-OF-+-CANCEL-SAME-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
 (54 54 (:TYPE-PRESCRIPTION EVENP))
 (38 16 (:REWRITE DEFAULT-+-2))
 (37 19 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (37 19 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (37 19 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (35 5 (:REWRITE BVCHOP-IDENTITY))
 (21 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (20 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (19 19 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (19 19 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (19 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (17 5 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (16 16 (:REWRITE DEFAULT-+-1))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (14 5 (:REWRITE DEFAULT-<-1))
 (10 10 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (10 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (7 7 (:REWRITE UBP-LONGER-BETTER))
 (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-SIZE-IS-NOT-NATP))
 (5 5 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (5 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (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 GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (1 1 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 )
(BVCHOP-OF-BVCAT-CASES-GEN
 (933 933 (:TYPE-PRESCRIPTION EVENP))
 (885 349 (:REWRITE DEFAULT-+-2))
 (868 71 (:REWRITE BVCHOP-OF-BVCAT-SAME))
 (720 71 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (622 311 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (622 311 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (622 311 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (581 401 (:REWRITE DEFAULT-<-1))
 (499 349 (:REWRITE DEFAULT-+-1))
 (495 401 (:REWRITE DEFAULT-<-2))
 (449 128 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (411 374 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (361 361 (:REWRITE BOUND-WHEN-USB))
 (311 311 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (268 66 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (245 128 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (191 130 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (187 187 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (186 186 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (163 163 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (163 163 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (163 163 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (163 163 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (157 157 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (157 130 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (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))
 (138 138 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (137 137 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (137 137 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (137 137 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (137 137 (:REWRITE UBP-LONGER-BETTER))
 (131 23 (:REWRITE UNSIGNED-BYTE-P-0))
 (100 66 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (100 23 (:DEFINITION POSP))
 (98 71 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT-ALL-CASES))
 (96 96 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (71 71 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (71 71 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (61 61 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (61 61 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (50 33 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (50 33 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (41 41 (: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))
 (28 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (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))
 (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))
 (45 12 (:REWRITE DEFAULT-<-1))
 (20 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (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-SIZE-IS-NOT-NATP))
 (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-IDENTITY-CHEAP))
 (11 11 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (11 11 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (10 10 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (10 10 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (10 10 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (10 10 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (10 10 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (10 10 (:REWRITE UBP-LONGER-BETTER))
 (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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (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))
 )
(BVCAT-LOWER-BOUND-LINEAR-ARG2-CONSTANT
 (123 123 (:TYPE-PRESCRIPTION EVENP))
 (115 74 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (115 74 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (115 74 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (74 74 (: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-SIZE-IS-NOT-NATP))
 (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 (:TYPE-PRESCRIPTION NATP))
 (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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-IDENTITY-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE 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
 (41 37 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (41 37 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (41 37 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (37 37 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (15 3 (:REWRITE BVCHOP-IDENTITY))
 (14 2 (:REWRITE DEFAULT-*-2))
 (14 2 (:REWRITE DEFAULT-*-1))
 (13 1 (:REWRITE DEFAULT-+-2))
 (12 12 (:TYPE-PRESCRIPTION EVENP))
 (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-SIZE-IS-NOT-NATP))
 (4 3 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-IDENTITY-CHEAP))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (2 1 (:REWRITE DEFAULT-+-1))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (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
 (506 14 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (504 504 (:TYPE-PRESCRIPTION EVENP))
 (337 169 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (337 169 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (337 169 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (169 169 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (160 106 (:REWRITE DEFAULT-<-1))
 (142 106 (:REWRITE DEFAULT-<-2))
 (128 90 (:REWRITE DEFAULT-+-2))
 (93 90 (:REWRITE DEFAULT-+-1))
 (90 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (89 8 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (88 80 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (88 30 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (70 18 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (64 64 (:REWRITE BOUND-WHEN-USB))
 (63 1 (:REWRITE BVCAT-SLICE-SAME))
 (56 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (56 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (45 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (45 9 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (44 18 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (42 6 (:REWRITE SLICE-OUT-OF-ORDER))
 (42 1 (:LINEAR EXPT-HALF-LINEAR))
 (40 40 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (40 1 (:REWRITE BVCAT-OF-SLICE-AND-X-ADJACENT))
 (32 8 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (28 15 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (28 12 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (28 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (28 4 (:DEFINITION POSP))
 (27 6 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (25 25 (:REWRITE FOLD-CONSTS-IN-+))
 (24 2 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (22 19 (:REWRITE DEFAULT-UNARY-MINUS))
 (19 7 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (17 17 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (17 17 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (17 17 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (17 17 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (17 17 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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))
 (15 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (14 3 (:REWRITE <-OF-EXPT-AND-EXPT-SAME-BASE))
 (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))
 (11 1 (:REWRITE EQUAL-OF-+-CANCEL-1+))
 (9 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (9 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (9 1 (:REWRITE DISTRIBUTIVITY-OF-MINUS-OVER-+))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (6 6 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (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-SUBST-CONSTANT))
 (5 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (5 2 (:REWRITE EQUAL-OF-0-AND-+-OF---ALT))
 (4 4 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 1 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (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))
 (2 1 (:REWRITE --OF--))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (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
 (660 660 (:TYPE-PRESCRIPTION EVENP))
 (475 187 (:REWRITE DEFAULT-+-2))
 (440 220 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (440 220 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (440 220 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (300 300 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (287 140 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (241 140 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (237 183 (:REWRITE DEFAULT-<-1))
 (220 220 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (187 187 (:REWRITE DEFAULT-+-1))
 (183 183 (:REWRITE DEFAULT-<-2))
 (165 165 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (160 160 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (160 160 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (155 155 (:REWRITE BOUND-WHEN-USB))
 (154 154 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (153 153 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (153 153 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (153 153 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (153 153 (:REWRITE UBP-LONGER-BETTER))
 (150 150 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (144 142 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (144 18 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (142 142 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (140 140 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (140 140 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (131 131 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (120 15 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (101 13 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (80 2 (:LINEAR EXPT-HALF-LINEAR))
 (74 14 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (66 46 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (64 8 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (48 24 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (44 11 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (38 38 (:REWRITE FOLD-CONSTS-IN-+))
 (38 38 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (37 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (37 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (34 24 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (30 15 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (29 29 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (29 28 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (28 28 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (26 26 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (26 26 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (26 26 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (26 26 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (26 26 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (24 24 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (24 24 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (24 2 (:REWRITE DEFAULT-*-2))
 (22 22 (: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))
 (15 15 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (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))
 (8 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
 (970 40 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (536 64 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (484 26 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (421 193 (:REWRITE DEFAULT-+-2))
 (260 20 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (255 255 (:TYPE-PRESCRIPTION EVENP))
 (224 28 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (208 102 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (204 10 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (200 168 (:REWRITE DEFAULT-<-1))
 (193 193 (:REWRITE DEFAULT-+-1))
 (182 97 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (182 97 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (182 97 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (176 22 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (168 168 (:REWRITE DEFAULT-<-2))
 (168 28 (:DEFINITION POSP))
 (102 102 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (102 102 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (100 100 (:REWRITE BOUND-WHEN-USB))
 (97 97 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (97 97 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (88 11 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (88 11 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (88 11 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (88 11 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (80 20 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (76 76 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (66 66 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (64 64 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (64 64 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (64 64 (:REWRITE UBP-LONGER-BETTER))
 (62 62 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (62 62 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (61 61 (:REWRITE FOLD-CONSTS-IN-+))
 (56 28 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (56 28 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (48 26 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (46 46 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (38 38 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (37 37 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (33 33 (:REWRITE DEFAULT-UNARY-MINUS))
 (30 30 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (30 30 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (30 30 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (28 28 (:TYPE-PRESCRIPTION POSP))
 (28 28 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (28 28 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (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 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (22 22 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (22 22 (:LINEAR EXPT-BOUND-LINEAR))
 (22 22 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (22 22 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (22 22 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (20 2 (:REWRITE <-OF-+-CANCEL-1-2+))
 (18 2 (:REWRITE GETBIT-OF-SLICE-TOO-HIGH))
 (16 16 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (12 2 (:REWRITE <-OF-+-CANCEL-1+-2+))
 (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 5 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (10 2 (:REWRITE <-OF---AND--))
 (8 8 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (8 8 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG2-CONSTANT))
 (7 7 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (7 7 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (7 7 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (4 4 (:REWRITE <-OF-+-CANCEL-1-2))
 (4 4 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (4 2 (:REWRITE GETBIT-OF-SLICE-GEN))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-0))
 (2 2 (:REWRITE SLICE-BOUND))
 (2 2 (:REWRITE <-OF-SLICE-AND-CONSTANT))
 )
(BVCHOP-TOP-BIT-CASES
 (804 32 (:REWRITE BVCHOP-IDENTITY))
 (625 32 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (450 65 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (414 414 (:TYPE-PRESCRIPTION EVENP))
 (320 122 (:REWRITE DEFAULT-+-2))
 (290 152 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (290 152 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (290 152 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (166 166 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (159 43 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (152 152 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (147 71 (:REWRITE DEFAULT-<-1))
 (122 122 (:REWRITE DEFAULT-+-1))
 (98 14 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (96 12 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (86 3 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (83 83 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (80 2 (:LINEAR EXPT-HALF-LINEAR))
 (77 11 (:REWRITE EQUAL-OF-+-AND-+-CANCEL-CONSTANTS))
 (75 31 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (71 71 (:REWRITE DEFAULT-<-2))
 (65 65 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (65 65 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (65 65 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (65 65 (:REWRITE UBP-LONGER-BETTER))
 (59 31 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (55 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (51 51 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (46 46 (:REWRITE BOUND-WHEN-USB))
 (46 32 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (40 26 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (38 26 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (33 32 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (32 32 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (32 32 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (32 32 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (31 31 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (31 31 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (28 28 (:TYPE-PRESCRIPTION POSP))
 (28 14 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (28 14 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (28 13 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (28 13 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (27 3 (:REWRITE SLICE-OUT-OF-ORDER))
 (26 26 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (26 26 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (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))
 (20 13 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (20 13 (: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))
 (12 12 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (12 12 (:REWRITE FOLD-CONSTS-IN-+))
 (12 12 (:REWRITE DEFAULT-UNARY-MINUS))
 (11 11 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (11 11 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (11 11 (:REWRITE EQUAL-OF-+-CANCEL-SAME-2))
 (8 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (8 2 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (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-TOO-HIGH-CHEAP-2))
 (5 5 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (4 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 4 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (3 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (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
 (372 24 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (217 37 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (144 144 (:TYPE-PRESCRIPTION EVENP))
 (107 59 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (107 59 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (107 59 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (86 49 (:REWRITE DEFAULT-<-1))
 (86 42 (:REWRITE DEFAULT-+-2))
 (80 2 (:LINEAR EXPT-HALF-LINEAR))
 (60 60 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (59 59 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (49 49 (:REWRITE DEFAULT-<-2))
 (42 42 (:REWRITE DEFAULT-+-1))
 (42 6 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (41 11 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (38 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (37 37 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (37 37 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (37 37 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (37 37 (:REWRITE UBP-LONGER-BETTER))
 (30 30 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (27 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (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))
 (16 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-SIZE-IS-NOT-NATP))
 (10 10 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (10 10 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (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 2 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (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 5 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (5 3 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-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 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 EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (3 3 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (3 3 (:REWRITE EQUAL-OF-+-CANCEL-SAME-2))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 2 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (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
 (1213 1 (:REWRITE LOGTAIL-IDENTITY))
 (480 8 (:LINEAR BVCHOP-UPPER-BOUND))
 (469 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (467 12 (:REWRITE <-OF-*-OF-CONSTANT-AND-CONSTANT))
 (456 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (456 1 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (304 1 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (272 12 (:DEFINITION NATP))
 (260 120 (:REWRITE DEFAULT-<-2))
 (256 120 (:REWRITE DEFAULT-<-1))
 (248 2 (:LINEAR <=-OF-LOGTAIL-SAME-LINEAR))
 (126 2 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (112 14 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (104 2 (:LINEAR LOGTAIL-NON-NEGATIVE-LINEAR))
 (104 2 (:LINEAR LOGTAIL-LEQ))
 (96 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (96 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (82 82 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (82 82 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (82 82 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (81 11 (:REWRITE BVCHOP-IDENTITY))
 (80 8 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (71 11 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (64 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (64 2 (:REWRITE <-OF-*-AND-0))
 (56 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (56 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (55 55 (:REWRITE BOUND-WHEN-USB))
 (48 48 (:TYPE-PRESCRIPTION EVENP))
 (48 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (48 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (44 44 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (34 34 (:TYPE-PRESCRIPTION NATP))
 (34 18 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (34 18 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (34 18 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (28 28 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (28 28 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (28 28 (:LINEAR <-OF-*-AND-*-LINEAR))
 (24 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (22 22 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (22 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (22 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (22 11 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (21 11 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (21 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (18 18 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (18 18 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (18 18 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (16 16 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (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-BVCHOP-SAME-LINEAR-2))
 (16 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (16 8 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (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))
 (12 12 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (12 12 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (11 11 (:TYPE-PRESCRIPTION POSP))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (11 11 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (11 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (11 11 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (11 11 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (10 10 (:REWRITE UBP-LONGER-BETTER))
 (8 8 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (8 8 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-2))
 (7 7 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (6 6 (:REWRITE <-OF-*-OF-CONSTANT-AND-CONSTANT-GEN))
 (6 4 (:REWRITE DEFAULT-*-2))
 (6 4 (:REWRITE DEFAULT-*-1))
 (5 5 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (4 4 (:REWRITE BVCHOP-BOUND))
 (4 2 (:REWRITE DEFAULT-+-2))
 (3 2 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 2 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (2 2 (:REWRITE DEFAULT-+-1))
 (1 1 (:REWRITE BVCHOP-NUMERIC-BOUND))
 )
(+-OF-1-AND-BVCAT-1-1
 (798 798 (:TYPE-PRESCRIPTION EVENP))
 (552 286 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (552 286 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (552 286 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (398 19 (:REWRITE BVCHOP-IDENTITY))
 (286 286 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (277 1 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (132 1 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (65 5 (:REWRITE DEFAULT-*-2))
 (54 5 (:REWRITE DEFAULT-*-1))
 (53 14 (:REWRITE DEFAULT-+-2))
 (43 21 (:REWRITE DEFAULT-<-2))
 (36 14 (:REWRITE DEFAULT-+-1))
 (34 34 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (24 24 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (22 21 (:REWRITE DEFAULT-<-1))
 (20 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (19 19 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (19 19 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (19 19 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (18 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (17 17 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (16 16 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (15 3 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (14 1 (:REWRITE COMMUTATIVITY-OF-+))
 (13 13 (:REWRITE BOUND-WHEN-USB))
 (12 3 (:REWRITE UNSIGNED-BYTE-P-OF-1))
 (12 1 (:REWRITE DEFAULT-UNARY-MINUS))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (11 11 (:REWRITE UBP-LONGER-BETTER))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR))
 (10 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (9 9 (:TYPE-PRESCRIPTION POSP))
 (9 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (9 3 (:DEFINITION POSP))
 (8 8 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (8 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (8 8 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (8 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-0))
 (5 5 (:LINEAR EXPT-BOUND-LINEAR-2))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE ZP-OPEN))
 (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-ACL2-NUMBERP-CHEAP))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-OF-IF-ARG1)
(BVCAT-OF-IF-ARG2)
(BVCAT-OF-IF2-ARG3)
(BVCAT-OF-IF-ARG4)
(BVCAT-EQUAL-REWRITE-CONSTANT
 (60 6 (:REWRITE BVCHOP-IDENTITY))
 (36 12 (:REWRITE UBP-LONGER-BETTER))
 (28 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (24 6 (:REWRITE <-OF-+-CANCEL-1-2))
 (24 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (22 4 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (18 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (18 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (18 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (16 16 (:REWRITE DEFAULT-<-2))
 (16 16 (:REWRITE DEFAULT-<-1))
 (14 14 (:REWRITE BOUND-WHEN-USB))
 (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))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (8 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (8 8 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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-SIZE-IS-NOT-NATP))
 (6 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (6 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (6 6 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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)
