(UNSIGNED-BYTE-P-OF-BVCAT
 (49 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (29 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (14 14 (:REWRITE DEFAULT-<-2))
 (14 14 (:REWRITE DEFAULT-<-1))
 (14 14 (:REWRITE BOUND-WHEN-USB))
 (14 2 (:REWRITE BVCHOP-IDENTITY))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (11 11 (:REWRITE UBP-LONGER-BETTER))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (5 5 (:REWRITE DEFAULT-+-2))
 (5 5 (:REWRITE DEFAULT-+-1))
 (5 2 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (4 1 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (2 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (2 2 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE DEFAULT-UNARY-MINUS))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(BVCHOP-OF-BVCAT-SAME
 (20 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (16 10 (:REWRITE DEFAULT-+-2))
 (10 10 (:REWRITE DEFAULT-+-1))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (7 7 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(BVCHOP-OF-BVCAT-LOW
 (652 88 (:REWRITE BVCHOP-IDENTITY))
 (310 4 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (181 181 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (124 103 (:REWRITE DEFAULT-<-1))
 (120 120 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (119 103 (:REWRITE DEFAULT-<-2))
 (103 103 (:REWRITE BOUND-WHEN-USB))
 (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))
 (72 72 (:TYPE-PRESCRIPTION POSP))
 (68 6 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (52 16 (:REWRITE DEFAULT-+-2))
 (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))
 (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))
 (22 22 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (19 19 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (18 5 (:REWRITE DEFAULT-*-1))
 (18 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (16 16 (:REWRITE DEFAULT-+-1))
 (14 14 (:TYPE-PRESCRIPTION NATP))
 (14 14 (:LINEAR EXPT-BOUND-LINEAR-2))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-0))
 (11 11 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (11 11 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (11 11 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 5 (:REWRITE DEFAULT-*-2))
 (8 8 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (8 8 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (8 8 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (8 8 (:LINEAR <-OF-*-AND-*))
 (7 1 (:REWRITE BVCHOP-TIMES-CANCEL-BETTER-ALT))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (4 2 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (4 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT))
 (2 2 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (2 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 )
(UNSIGNED-BYTE-P-OF-+-WHEN-<-OF-LOGTAIL-AND-EXPT
 (270 10 (:DEFINITION UNSIGNED-BYTE-P))
 (240 10 (:DEFINITION INTEGER-RANGE-P))
 (211 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (136 4 (:REWRITE LOGTAIL-IDENTITY))
 (136 4 (:REWRITE LOGTAIL-BECOMES-0))
 (59 59 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (58 22 (:REWRITE DEFAULT-<-2))
 (56 56 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (36 36 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (30 1 (:REWRITE <-OF-*-CANCEL-1))
 (26 2 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (24 4 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (23 1 (:REWRITE <-OF-*-SAME-ARG2))
 (22 22 (:REWRITE DEFAULT-<-1))
 (22 22 (:LINEAR EXPT-BOUND-LINEAR))
 (16 4 (:DEFINITION POSP))
 (14 4 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (12 3 (:REWRITE DEFAULT-*-2))
 (12 3 (:REWRITE DEFAULT-*-1))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (11 11 (:REWRITE UBP-LONGER-BETTER))
 (11 11 (:LINEAR EXPT-BOUND-LINEAR-2))
 (10 10 (:REWRITE BOUND-WHEN-USB))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (4 4 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (4 4 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (4 4 (:LINEAR <-OF-*-AND-*))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:REWRITE <-OF-CONSTANT-AND-*-OF-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))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE DEFAULT-+-2))
 (1 1 (:REWRITE DEFAULT-+-1))
 )
(BVCAT-EQUAL-REWRITE-FW
 (286 157 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (254 68 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (191 154 (:REWRITE DEFAULT-<-1))
 (177 147 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (160 154 (:REWRITE DEFAULT-<-2))
 (160 106 (:REWRITE DEFAULT-+-2))
 (159 159 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (159 159 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (156 156 (:REWRITE BOUND-WHEN-USB))
 (156 24 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (154 16 (:REWRITE LOGTAIL-IDENTITY))
 (130 16 (:REWRITE LOGTAIL-BECOMES-0))
 (121 24 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (106 106 (:REWRITE DEFAULT-+-1))
 (96 16 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (93 93 (:TYPE-PRESCRIPTION POSP))
 (92 92 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (92 92 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (92 68 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (68 68 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (68 68 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (68 68 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (64 16 (:DEFINITION POSP))
 (60 15 (:REWRITE <-OF-+-CANCEL-1-2))
 (48 48 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (36 36 (:REWRITE UNSIGNED-BYTE-P-0))
 (30 12 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (28 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR))
 (18 18 (:REWRITE FOLD-CONSTS-IN-+))
 (17 17 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (17 17 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (16 16 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (12 12 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (12 12 (:REWRITE 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-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
 (121 25 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (61 20 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (58 16 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (52 13 (:REWRITE <-OF-+-CANCEL-1-1+))
 (45 39 (:REWRITE DEFAULT-<-1))
 (40 40 (:REWRITE BOUND-WHEN-USB))
 (39 39 (:REWRITE DEFAULT-<-2))
 (34 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (28 19 (:REWRITE DEFAULT-+-2))
 (28 4 (:REWRITE <-OF-EXPT-AND-EXPT))
 (27 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (26 26 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (26 26 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (22 22 (:REWRITE BVCAT-EQUAL-REWRITE-FW))
 (20 5 (:REWRITE <-OF-+-CANCEL-1-2))
 (20 2 (:REWRITE LOGTAIL-IDENTITY))
 (19 19 (:REWRITE DEFAULT-+-1))
 (19 19 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (19 19 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (19 19 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (18 18 (:TYPE-PRESCRIPTION POSP))
 (18 18 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (16 16 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (16 16 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (16 16 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (16 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (14 2 (:REWRITE LOGTAIL-BECOMES-0))
 (12 2 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (8 2 (:DEFINITION POSP))
 (7 7 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-0))
 (3 3 (:REWRITE FOLD-CONSTS-IN-+))
 (3 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))
 (202 36 (:REWRITE UNSIGNED-BYTE-P-0))
 (182 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (147 36 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (128 16 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (124 70 (:REWRITE DEFAULT-<-1))
 (122 122 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (97 1 (:REWRITE LOGTAIL-IDENTITY))
 (97 1 (:REWRITE LOGTAIL-BECOMES-0))
 (94 70 (:REWRITE DEFAULT-<-2))
 (90 90 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (90 90 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (70 70 (:REWRITE BOUND-WHEN-USB))
 (62 36 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (52 52 (: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))
 (39 39 (:TYPE-PRESCRIPTION POSP))
 (28 28 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (26 26 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (26 26 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (26 26 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR))
 (18 18 (:TYPE-PRESCRIPTION NATP))
 (14 14 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (13 4 (:REWRITE DEFAULT-*-2))
 (13 4 (:REWRITE DEFAULT-*-1))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR-2))
 (10 4 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (10 4 (:REWRITE DEFAULT-+-2))
 (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
 (1928 34 (:REWRITE BVCHOP-IDENTITY))
 (1718 86 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (1294 8 (:REWRITE UNSIGNED-BYTE-P-OF-LOGTAIL-STRONG))
 (618 134 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (488 42 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (408 10 (:REWRITE LOGTAIL-UNSIGNED-BYTE-P))
 (144 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (135 131 (:REWRITE DEFAULT-<-1))
 (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 DEFAULT-<-2))
 (125 113 (:REWRITE DEFAULT-+-2))
 (123 123 (:REWRITE BOUND-WHEN-USB))
 (116 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (113 113 (:REWRITE DEFAULT-+-1))
 (108 4 (:LINEAR BVCHOP-UPPER-BOUND))
 (92 8 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (80 21 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (76 46 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (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))
 (52 52 (:REWRITE +-COMBINE-CONSTANTS))
 (46 46 (:REWRITE FOLD-CONSTS-IN-+))
 (46 46 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (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))
 (30 30 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (30 30 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (30 30 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (28 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (26 26 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (25 21 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (24 24 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (24 24 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 4 (:REWRITE LOGTAIL-BECOMES-0))
 (23 23 (:REWRITE DEFAULT-UNARY-MINUS))
 (21 21 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (20 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (18 4 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (16 8 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (14 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-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 4 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (6 6 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (6 2 (:REWRITE DEFAULT-*-2))
 (6 2 (:REWRITE DEFAULT-*-1))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-0))
 (4 4 (:REWRITE BVCHOP-BOUND))
 (4 4 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (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
 (452 135 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (332 332 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (264 167 (:REWRITE DEFAULT-+-2))
 (238 135 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (235 187 (:REWRITE DEFAULT-<-1))
 (187 187 (:REWRITE DEFAULT-<-2))
 (186 167 (:REWRITE DEFAULT-+-1))
 (185 185 (:REWRITE BOUND-WHEN-USB))
 (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))
 (150 136 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (149 149 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (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))
 (85 85 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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))
 (24 5 (:REWRITE DEFAULT-*-2))
 (22 22 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (22 22 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (19 3 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (18 18 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (18 18 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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
 (22 22 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (15 3 (:REWRITE BVCHOP-IDENTITY))
 (8 2 (:REWRITE DEFAULT-*-2))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (6 3 (:REWRITE DEFAULT-<-2))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (5 1 (:REWRITE DEFAULT-+-2))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (4 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (4 2 (:REWRITE DEFAULT-*-1))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (3 3 (:REWRITE BOUND-WHEN-USB))
 (3 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE DEFAULT-+-1))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER
 (15 3 (:REWRITE BVCHOP-IDENTITY))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 1 (:REWRITE DEFAULT-<-2))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (3 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE DEFAULT-<-1))
 (1 1 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-OF-IFIX-ARG2
 (12 2 (:DEFINITION NATP))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE-ALT))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 4 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCAT-OF-IFIX-ARG4
 (12 2 (:DEFINITION NATP))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE-ALT))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (7 5 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCAT-RECOMBINE)
(BVCAT-EQUAL-0-REWRITE
 (16 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (12 2 (:DEFINITION NATP))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (7 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))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (1 1 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-OF-BVCHOP-LOW
 (30 6 (:REWRITE BVCHOP-IDENTITY))
 (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))
 (8 2 (:REWRITE DEFAULT-*-2))
 (7 5 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (7 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:REWRITE 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 (:REWRITE DEFAULT-*-1))
 (2 2 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (2 2 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (2 2 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 )
(BVCAT-SLICE-SAME
 (888 90 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (810 26 (:REWRITE BVCHOP-IDENTITY))
 (416 110 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (176 66 (:REWRITE DEFAULT-<-1))
 (173 5 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (110 110 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (110 110 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (110 110 (:REWRITE UBP-LONGER-BETTER))
 (80 10 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (79 55 (:REWRITE DEFAULT-+-2))
 (76 6 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (68 66 (:REWRITE DEFAULT-<-2))
 (55 55 (: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 5 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (38 36 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (35 35 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (35 35 (:REWRITE BOUND-WHEN-USB))
 (35 35 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (35 35 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (33 12 (:REWRITE <-OF-+-COMBINE-CONSTANTS-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))
 (26 26 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (26 26 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (26 25 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (26 24 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR))
 (20 20 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (17 17 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (16 16 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (14 14 (:REWRITE FOLD-CONSTS-IN-+))
 (14 14 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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))
 (7 7 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (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 4 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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))
 (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
 (90 8 (:REWRITE BVCHOP-IDENTITY))
 (69 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (40 3 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (36 9 (:REWRITE DEFAULT-<-1))
 (34 3 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (21 3 (:REWRITE GETBIT-IDENTITY))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (13 13 (:REWRITE UBP-LONGER-BETTER))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 9 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (9 9 (:REWRITE DEFAULT-<-2))
 (9 9 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (9 9 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (8 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (8 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (8 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (8 8 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (7 7 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (7 7 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (7 7 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (6 3 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (6 3 (:REWRITE GETBIT-WHEN-NOT-1))
 (6 3 (:REWRITE GETBIT-WHEN-NOT-0))
 (6 3 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (3 3 (:TYPE-PRESCRIPTION BITP))
 (3 3 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (3 3 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (3 3 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (3 3 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (3 3 (:REWRITE SLICE-OUT-OF-ORDER))
 (3 3 (:REWRITE GETBIT-WHEN-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
 (16 2 (:REWRITE BVCHOP-IDENTITY))
 (11 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (8 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (6 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (4 1 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (2 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (1 1 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-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
 (152 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (107 11 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (81 13 (:REWRITE BVCHOP-IDENTITY))
 (63 9 (:REWRITE UNSIGNED-BYTE-P-WHEN-N-IS-NOT-NATP))
 (60 54 (:REWRITE DEFAULT-<-1))
 (54 54 (:REWRITE DEFAULT-<-2))
 (50 50 (:REWRITE BOUND-WHEN-USB))
 (45 12 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (42 42 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (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))
 (26 26 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 18 (:REWRITE DEFAULT-+-2))
 (24 3 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (22 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (21 18 (:REWRITE DEFAULT-+-1))
 (19 7 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (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))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (8 2 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (7 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))
 (4 4 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (4 4 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (4 4 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (4 1 (:REWRITE DEFAULT-*-2))
 (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))
 )
(BVCAT-NUMERIC-BOUND2
 (61 61 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (56 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (23 11 (:REWRITE DEFAULT-<-2))
 (20 11 (:REWRITE DEFAULT-<-1))
 (9 9 (:REWRITE BOUND-WHEN-USB))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (6 6 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:REWRITE DEFAULT-+-2))
 (6 6 (:REWRITE DEFAULT-+-1))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (4 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(BVCAT-UPPER-BOUND-LINEAR
 (37 37 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (6 6 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (5 2 (:REWRITE DEFAULT-<-2))
 (4 4 (:REWRITE DEFAULT-+-2))
 (4 4 (:REWRITE DEFAULT-+-1))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (1 1 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 )
(BVCAT-UPPER-BOUND-LINEAR-STRONG
 (36 36 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (8 4 (:REWRITE DEFAULT-<-2))
 (8 4 (:REWRITE DEFAULT-+-2))
 (7 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))
 (1 1 (:REWRITE <-OF-EXPT-2-AND-CONSTANT))
 (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
 (236 12 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (179 159 (:REWRITE DEFAULT-+-2))
 (168 14 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (159 159 (:REWRITE DEFAULT-+-1))
 (120 24 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (89 89 (:REWRITE FOLD-CONSTS-IN-+))
 (78 10 (:DEFINITION POSP))
 (69 29 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (55 42 (:REWRITE DEFAULT-<-1))
 (50 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (48 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (42 42 (:REWRITE DEFAULT-<-2))
 (36 9 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (34 34 (:REWRITE BOUND-WHEN-USB))
 (31 31 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (30 30 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (30 30 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (24 24 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (24 24 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (24 24 (:REWRITE UBP-LONGER-BETTER))
 (24 14 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (20 14 (:REWRITE SLICE-OUT-OF-ORDER))
 (19 19 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (15 15 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (15 15 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (15 15 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (14 14 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (10 10 (:TYPE-PRESCRIPTION POSP))
 (10 10 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (10 5 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-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))
 (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))
 (2 2 (:LINEAR SLICE-UPPER-BOUND-LINEAR-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 SLICE-BOUND))
 (1 1 (:REWRITE <-OF-SLICE-AND-CONSTANT))
 (1 1 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (1 1 (:REWRITE <-OF-+-CANCEL-1-2))
 )
(BVCAT-OF-GETBIT-AND-SLICE-ADJACENT
 (50 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (48 28 (:REWRITE DEFAULT-+-2))
 (40 5 (:DEFINITION POSP))
 (30 10 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (28 28 (:REWRITE DEFAULT-+-1))
 (22 4 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (16 16 (:REWRITE DEFAULT-<-2))
 (16 16 (:REWRITE DEFAULT-<-1))
 (16 4 (:REWRITE SLICE-OUT-OF-ORDER))
 (16 4 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (13 13 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (13 13 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (12 12 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (12 12 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (11 11 (:REWRITE FOLD-CONSTS-IN-+))
 (11 11 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (10 5 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (7 7 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (7 4 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (7 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (6 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (5 5 (:TYPE-PRESCRIPTION POSP))
 (5 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (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 DEFAULT-UNARY-MINUS))
 (2 2 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 )
(BVCAT-OF-SLICE-AND-GETBIT-ADJACENT
 (1180 60 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (683 39 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (579 99 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (304 259 (:REWRITE DEFAULT-+-2))
 (262 259 (:REWRITE DEFAULT-+-1))
 (195 124 (:REWRITE DEFAULT-<-1))
 (127 124 (:REWRITE DEFAULT-<-2))
 (99 99 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (99 99 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (99 99 (:REWRITE UBP-LONGER-BETTER))
 (97 97 (:REWRITE FOLD-CONSTS-IN-+))
 (87 10 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (84 48 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (79 79 (:REWRITE BOUND-WHEN-USB))
 (70 39 (:REWRITE SLICE-OUT-OF-ORDER))
 (67 39 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (67 10 (:DEFINITION POSP))
 (63 63 (:REWRITE DEFAULT-UNARY-MINUS))
 (59 59 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (54 54 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (52 52 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (48 48 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (45 45 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (45 45 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (44 44 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (44 44 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (44 44 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (44 39 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (42 21 (:REWRITE GETBIT-WHEN-NOT-1))
 (42 21 (:REWRITE GETBIT-WHEN-NOT-0))
 (40 10 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (40 5 (:REWRITE GETBIT-OF-SLICE-TOO-HIGH))
 (39 39 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (39 39 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (35 35 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (32 16 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (29 29 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (27 16 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (24 24 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (24 24 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (24 24 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (22 22 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (21 21 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (21 21 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (21 21 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (21 21 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (20 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))
 (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 <-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))
 (7 7 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (5 5 (:REWRITE SLICE-BOUND))
 (5 5 (:REWRITE <-OF-SLICE-AND-CONSTANT))
 (5 5 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (5 5 (:REWRITE <-OF-+-CANCEL-1-2))
 (2 2 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (2 2 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 )
(BVCAT-OF-GETBIT-AND-GETBIT-ADJACENT
 (34 34 (:REWRITE DEFAULT-+-2))
 (34 34 (:REWRITE DEFAULT-+-1))
 (32 2 (:REWRITE GETBIT-OF-SLICE-TOO-HIGH))
 (28 4 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (26 26 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (16 8 (:REWRITE GETBIT-WHEN-NOT-1))
 (16 8 (:REWRITE GETBIT-WHEN-NOT-0))
 (16 4 (:REWRITE SLICE-OUT-OF-ORDER))
 (12 6 (: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))
 (8 8 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (8 8 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (8 8 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (8 8 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (8 4 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (7 7 (:REWRITE FOLD-CONSTS-IN-+))
 (7 7 (:REWRITE DEFAULT-UNARY-MINUS))
 (7 7 (:REWRITE +-COMBINE-CONSTANTS))
 (7 6 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (4 4 (:REWRITE UBP-LONGER-BETTER))
 (4 4 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (4 4 (:REWRITE <-OF-+-CANCEL-2-1))
 (4 4 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (3 3 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (3 2 (:REWRITE GETBIT-OF-SLICE-GEN))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE DEFAULT-<-2))
 (1 1 (:REWRITE DEFAULT-<-1))
 (1 1 (:REWRITE BOUND-WHEN-USB))
 )
(BVCAT-OF-SLICE-AND-X-ADJACENT
 (262 10 (:REWRITE BVCHOP-IDENTITY))
 (198 18 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (100 28 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (85 65 (:REWRITE DEFAULT-+-2))
 (75 42 (:REWRITE DEFAULT-<-1))
 (66 19 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (65 65 (:REWRITE DEFAULT-+-1))
 (60 10 (:DEFINITION POSP))
 (55 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (50 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (42 42 (:REWRITE DEFAULT-<-2))
 (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))
 (28 28 (:REWRITE BOUND-WHEN-USB))
 (24 24 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (20 20 (:TYPE-PRESCRIPTION POSP))
 (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 19 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (19 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 16 (:REWRITE DEFAULT-UNARY-MINUS))
 (16 6 (:REWRITE SLICE-OUT-OF-ORDER))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 15 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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 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))
 (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-BVCHOP-SAME-LINEAR-2))
 (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
 (278 18 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (220 10 (:REWRITE BVCHOP-IDENTITY))
 (191 29 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (50 19 (:REWRITE DEFAULT-<-1))
 (30 15 (:REWRITE DEFAULT-+-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))
 (24 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (24 3 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (20 5 (:DEFINITION POSP))
 (19 19 (:REWRITE DEFAULT-<-2))
 (16 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (15 15 (:REWRITE DEFAULT-+-1))
 (14 14 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (13 13 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (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))
 (8 4 (:REWRITE GETBIT-WHEN-NOT-1))
 (8 4 (:REWRITE GETBIT-WHEN-NOT-0))
 (8 4 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (7 4 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (6 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (5 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (4 4 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (4 4 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (4 4 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (4 3 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 1 (:REWRITE GETBIT-OF-BVCHOP-TOO-HIGH))
 (3 3 (: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 BVCHOP-BOUND))
 (1 1 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 )
(BVCAT-OF-SLICE-AND-BVCHOP-ADJACENT
 (269 11 (:REWRITE BVCHOP-IDENTITY))
 (198 18 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (101 29 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (70 37 (:REWRITE DEFAULT-<-1))
 (66 19 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (60 40 (:REWRITE DEFAULT-+-2))
 (60 10 (:DEFINITION POSP))
 (59 11 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (50 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (40 40 (:REWRITE DEFAULT-+-1))
 (37 37 (:REWRITE DEFAULT-<-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 (:REWRITE BOUND-WHEN-USB))
 (24 24 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (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 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (19 19 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 4 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 15 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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))
 (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))
 (9 9 (:REWRITE FOLD-CONSTS-IN-+))
 (9 9 (:REWRITE +-COMBINE-CONSTANTS))
 (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-BVCHOP-SAME-LINEAR-2))
 (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
 (269 11 (:REWRITE BVCHOP-IDENTITY))
 (198 18 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (100 28 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (51 18 (:REWRITE DEFAULT-<-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))
 (26 14 (:REWRITE DEFAULT-+-2))
 (20 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (20 5 (:DEFINITION POSP))
 (18 18 (:REWRITE DEFAULT-<-2))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (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))
 (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-BVCHOP-SAME-LINEAR-2))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (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
 (1110 29 (:REWRITE BVCHOP-IDENTITY))
 (829 62 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (411 124 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (357 6 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (315 3 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (300 10 (:REWRITE LOGTAIL-UNSIGNED-BYTE-P))
 (231 18 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (124 124 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (124 124 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (124 124 (:REWRITE UBP-LONGER-BETTER))
 (100 97 (:REWRITE DEFAULT-<-1))
 (98 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (97 97 (:REWRITE DEFAULT-<-2))
 (78 18 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (68 68 (:REWRITE BOUND-WHEN-USB))
 (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 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 6 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (32 32 (:TYPE-PRESCRIPTION LOGTAIL-TYPE))
 (32 32 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (31 31 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (31 31 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (31 31 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (30 6 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (29 29 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (29 29 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (25 25 (:TYPE-PRESCRIPTION POSP))
 (24 6 (:DEFINITION POSP))
 (23 23 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (21 21 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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 2 (:LINEAR <=-OF-LOGTAIL-SAME-LINEAR))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 16 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (16 2 (:REWRITE LOGTAIL-LESSP))
 (15 15 (:REWRITE DEFAULT-UNARY-MINUS))
 (15 15 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (15 15 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (15 6 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (14 7 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (12 12 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (12 12 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-1))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-0))
 (12 6 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (10 2 (:LINEAR LOGTAIL-NON-NEGATIVE-LINEAR))
 (10 2 (:LINEAR LOGTAIL-LEQ))
 (9 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (9 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (9 6 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (9 3 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (6 6 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (6 6 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (6 6 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (6 6 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (6 6 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (6 6 (:REWRITE GETBIT-WHEN-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))
 (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
 (56 14 (:DEFINITION POSP))
 (45 10 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (45 10 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (22 22 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (20 20 (:REWRITE DEFAULT-<-2))
 (20 20 (:REWRITE DEFAULT-<-1))
 (19 10 (:REWRITE DEFAULT-+-2))
 (17 10 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (15 5 (:REWRITE GETBIT-OF-BVCAT-LOW-BETTER))
 (14 14 (:TYPE-PRESCRIPTION POSP))
 (14 14 (:REWRITE BOUND-WHEN-USB))
 (10 10 (:REWRITE DEFAULT-+-1))
 (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))
 (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
 (4090 68 (:REWRITE LOGTAIL-UNSIGNED-BYTE-P))
 (2982 334 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (1134 404 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (761 731 (:REWRITE DEFAULT-+-2))
 (746 731 (:REWRITE DEFAULT-+-1))
 (578 46 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (476 14 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (446 430 (:REWRITE +-COMBINE-CONSTANTS))
 (431 386 (:REWRITE DEFAULT-<-2))
 (418 386 (:REWRITE DEFAULT-<-1))
 (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-+))
 (218 218 (:REWRITE BOUND-WHEN-USB))
 (208 38 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (157 11 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (138 40 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (136 88 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (126 14 (:LINEAR <=-OF-LOGTAIL-SAME-LINEAR))
 (113 113 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (113 113 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (112 14 (:REWRITE LOGTAIL-LESSP))
 (110 110 (:TYPE-PRESCRIPTION LOGTAIL-TYPE))
 (110 110 (:TYPE-PRESCRIPTION LOGTAIL-NON-POSITIVE))
 (108 40 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (104 92 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (101 101 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (101 101 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (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))
 (76 76 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (75 10 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (72 57 (:REWRITE DEFAULT-UNARY-MINUS))
 (70 44 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (70 14 (:LINEAR LOGTAIL-NON-NEGATIVE-LINEAR))
 (70 14 (:LINEAR LOGTAIL-LEQ))
 (69 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT))
 (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 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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))
 (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--))
 (21 5 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (21 5 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (20 10 (:REWRITE GETBIT-WHEN-NOT-1))
 (20 10 (:REWRITE GETBIT-WHEN-NOT-0))
 (20 10 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (16 16 (:LINEAR EXPT-BOUND-LINEAR))
 (14 14 (:REWRITE HOW-COULD-THIS-HAVE-BEEN-LEFT-OUT??))
 (14 9 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1))
 (12 2 (:REWRITE <-OF-+-CANCEL-2-2))
 (11 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (11 5 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (10 10 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (10 10 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (10 3 (:REWRITE DEFAULT-*-2))
 (10 1 (:REWRITE SLICE-OF-BVCHOP-LOW-GEN))
 (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))
 (8 3 (:REWRITE DEFAULT-*-1))
 (7 7 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (6 4 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (5 5 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (5 5 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (5 5 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (5 5 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 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
 (74 68 (:REWRITE DEFAULT-<-1))
 (68 68 (:REWRITE DEFAULT-<-2))
 (64 32 (:REWRITE GETBIT-WHEN-NOT-1))
 (62 31 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (55 55 (: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))
 (44 11 (:DEFINITION POSP))
 (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))
 (30 24 (:REWRITE DEFAULT-+-2))
 (25 7 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (24 24 (:REWRITE DEFAULT-+-1))
 (18 6 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (17 17 (:TYPE-PRESCRIPTION POSP))
 (17 9 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (16 16 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (16 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (14 14 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (13 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 6 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (12 6 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (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 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 8 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (8 8 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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))
 (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))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 )
(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 (:REWRITE DEFAULT-<-2))
 (44 44 (:REWRITE BOUND-WHEN-USB))
 (39 3 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (30 15 (:REWRITE GETBIT-WHEN-NOT-1))
 (30 15 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (30 10 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (30 7 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (23 23 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (23 23 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (23 12 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (22 22 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (21 6 (:REWRITE GETBIT-OF-BVCHOP-TOO-HIGH))
 (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))
 (14 11 (:REWRITE DEFAULT-+-2))
 (13 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (11 11 (:REWRITE DEFAULT-+-1))
 (10 10 (:REWRITE DEFAULT-UNARY-MINUS))
 (9 9 (:TYPE-PRESCRIPTION POSP))
 (9 9 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (9 9 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (8 2 (:DEFINITION POSP))
 (8 1 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (7 7 (:REWRITE 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))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-0))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (1 1 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(GETBIT-OF-BVCAT-ALL
 (3822 78 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (3606 70 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (2961 243 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (893 513 (:REWRITE DEFAULT-<-1))
 (701 127 (:REWRITE BVCHOP-IDENTITY))
 (597 513 (:REWRITE DEFAULT-<-2))
 (566 78 (:REWRITE GETBIT-IDENTITY))
 (562 64 (:REWRITE GETBIT-OF-BVCAT-TOO-HIGH))
 (344 172 (:REWRITE GETBIT-WHEN-NOT-1))
 (324 324 (:REWRITE BOUND-WHEN-USB))
 (291 64 (:REWRITE GETBIT-OF-BVCAT-HIGH))
 (288 36 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (267 147 (:REWRITE DEFAULT-+-2))
 (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))
 (224 224 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (216 114 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (216 32 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (208 26 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (205 79 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (188 188 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (186 147 (:REWRITE DEFAULT-+-1))
 (178 178 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (178 178 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (178 178 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (156 79 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (153 153 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (136 46 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (130 46 (:LINEAR EXPT-BOUND-LINEAR))
 (127 127 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (127 127 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (116 116 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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))
 (62 62 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (62 62 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (62 15 (:DEFINITION POSP))
 (56 56 (:TYPE-PRESCRIPTION POSP))
 (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))
 (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
 (80 68 (:REWRITE DEFAULT-+-2))
 (68 68 (:REWRITE DEFAULT-+-1))
 (28 14 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (26 14 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (25 25 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 8 (:REWRITE GETBIT-WHEN-NOT-1))
 (16 8 (:REWRITE GETBIT-WHEN-NOT-0))
 (15 3 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (14 14 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (14 14 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (12 12 (:REWRITE DEFAULT-<-2))
 (12 12 (:REWRITE DEFAULT-<-1))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (12 6 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 4 (:REWRITE SLICE-OUT-OF-ORDER))
 (10 4 (:REWRITE BVCHOP-IDENTITY))
 (8 8 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (8 8 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (6 6 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (6 6 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (6 6 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (6 6 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (5 5 (:REWRITE UBP-LONGER-BETTER))
 (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 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE FOLD-CONSTS-IN-+))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (4 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (3 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE <-OF-+-CANCEL-2-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 )
(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
 (2088 38 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (910 19 (:REWRITE UNSIGNED-BYTE-P-0))
 (774 772 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (467 248 (:REWRITE DEFAULT-+-2))
 (427 248 (:REWRITE DEFAULT-+-1))
 (280 175 (:REWRITE DEFAULT-<-1))
 (262 175 (:REWRITE DEFAULT-<-2))
 (251 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (228 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (227 227 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (217 56 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (212 53 (:REWRITE DEFAULT-*-2))
 (192 56 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (115 115 (:REWRITE BOUND-WHEN-USB))
 (110 22 (:DEFINITION POSP))
 (93 16 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (92 53 (:REWRITE DEFAULT-*-1))
 (87 87 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (86 86 (:TYPE-PRESCRIPTION POSP))
 (83 83 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (82 10 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (76 76 (:LINEAR <-OF-*-AND-*))
 (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))
 (61 61 (: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))
 (35 35 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (28 28 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (28 28 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (28 28 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (27 27 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (24 24 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (13 13 (:REWRITE FOLD-CONSTS-IN-+))
 (12 6 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (9 9 (:TYPE-PRESCRIPTION NFIX))
 (9 9 (:TYPE-PRESCRIPTION IFIX))
 (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 EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (8 8 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (8 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (7 1 (:REWRITE DEFAULT-UNARY-/))
 (6 1 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT-ALT))
 (5 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (5 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE 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))
 (139 33 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (112 85 (:REWRITE DEFAULT-<-1))
 (102 9 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (100 85 (:REWRITE DEFAULT-<-2))
 (88 88 (:REWRITE BOUND-WHEN-USB))
 (86 86 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (73 73 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (61 33 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (60 6 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (43 43 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (43 43 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (40 40 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (40 40 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (40 40 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (40 40 (:REWRITE UBP-LONGER-BETTER))
 (37 33 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (37 33 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (36 6 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (35 33 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (35 33 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (35 5 (:REWRITE <-OF-LOGAPP-AND-0))
 (34 34 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (33 33 (:TYPE-PRESCRIPTION POSP))
 (28 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (26 8 (:REWRITE DEFAULT-+-2))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (15 14 (:LINEAR EXPT-BOUND-LINEAR))
 (14 14 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (14 14 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (14 14 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 7 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG3))
 (14 7 (:REWRITE LOGAPP-WHEN-NOT-INTEGERP-ARG2))
 (11 11 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (11 11 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (10 5 (:DEFINITION IFIX))
 (8 8 (:REWRITE DEFAULT-+-1))
 (8 7 (:LINEAR EXPT-BOUND-LINEAR-2))
 (7 7 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (6 6 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-0))
 (5 5 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (2 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (2 2 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE 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
 (2417 20 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (1702 26 (:REWRITE LOGTAIL-BECOMES-0))
 (981 2 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (739 244 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (693 474 (:REWRITE DEFAULT-<-1))
 (650 443 (:REWRITE DEFAULT-+-2))
 (607 18 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (584 584 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (584 584 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (584 98 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (571 571 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (571 571 (:REWRITE UBP-LONGER-BETTER))
 (548 500 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (545 474 (:REWRITE DEFAULT-<-2))
 (483 483 (:REWRITE BOUND-WHEN-USB))
 (474 474 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (443 443 (:REWRITE DEFAULT-+-1))
 (422 244 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (340 244 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (304 256 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (294 294 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (292 244 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (243 243 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (168 26 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (154 154 (:TYPE-PRESCRIPTION POSP))
 (118 24 (:DEFINITION POSP))
 (101 101 (:REWRITE DEFAULT-UNARY-MINUS))
 (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))
 (61 19 (:REWRITE DEFAULT-*-1))
 (55 26 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (54 54 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (54 54 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (54 19 (:REWRITE DEFAULT-*-2))
 (50 50 (:REWRITE FOLD-CONSTS-IN-+))
 (50 50 (:REWRITE +-COMBINE-CONSTANTS))
 (34 34 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (31 31 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (28 10 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (26 26 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (19 19 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (19 19 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (14 2 (:REWRITE LOGTAIL-SHIFT-GEN2-ALT))
 (12 12 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (10 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-*))
 (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))
 (111 21 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (65 47 (:REWRITE DEFAULT-+-2))
 (47 47 (:REWRITE DEFAULT-+-1))
 (41 21 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (40 40 (:REWRITE DEFAULT-<-2))
 (40 40 (:REWRITE DEFAULT-<-1))
 (40 40 (:REWRITE BOUND-WHEN-USB))
 (39 21 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (37 37 (:TYPE-PRESCRIPTION POSP))
 (27 27 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 16 (:REWRITE FOLD-CONSTS-IN-+))
 (16 16 (:REWRITE +-COMBINE-CONSTANTS))
 (13 13 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (13 13 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR))
 (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))
 (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
 (342 36 (:REWRITE BVCHOP-IDENTITY))
 (314 1 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (108 27 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (86 10 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (81 55 (:REWRITE DEFAULT-<-1))
 (78 78 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (70 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (61 55 (:REWRITE DEFAULT-<-2))
 (57 1 (:REWRITE FLOOR-OF-+-WHEN-MULT-ARG2))
 (54 52 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (52 52 (:REWRITE BOUND-WHEN-USB))
 (49 7 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (48 27 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (48 4 (:REWRITE UNSIGNED-BYTE-P-OF-1))
 (47 15 (:REWRITE DEFAULT-+-2))
 (40 4 (:DEFINITION POSP))
 (37 37 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (37 37 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (37 37 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (37 37 (:REWRITE UBP-LONGER-BETTER))
 (36 36 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (36 36 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (36 36 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (29 29 (:TYPE-PRESCRIPTION POSP))
 (27 27 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (27 27 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (27 27 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (27 27 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (25 15 (:REWRITE DEFAULT-+-1))
 (24 24 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (15 1 (:REWRITE INTEGERP-OF-*))
 (14 14 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (14 2 (:REWRITE DEFAULT-UNARY-/))
 (13 2 (:REWRITE FLOOR-WHEN-NOT-RATIONALP-OF-QUOTIENT))
 (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 1 (:REWRITE MULTIPLE-WHEN-MOD-0-CHEAP))
 (8 1 (:REWRITE INTEGERP-OF-/-OF-EXPT-2))
 (7 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (7 2 (:REWRITE FLOOR-WHEN-NEGATIVE-AND-SMALL-CHEAP))
 (7 2 (:REWRITE FLOOR-WHEN-I-IS-NOT-AN-ACL2-NUMBERP))
 (7 1 (:REWRITE COMMUTATIVITY-OF-*))
 (6 6 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (6 6 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (6 6 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 2 (:REWRITE DEFAULT-*-2))
 (6 2 (:REWRITE DEFAULT-*-1))
 (5 1 (:TYPE-PRESCRIPTION RATIONALP-OF-MOD))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-0))
 (4 4 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (4 4 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-2))
 (4 1 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (2 2 (:REWRITE FOLD-CONSTS-IN-+))
 (2 2 (:REWRITE FLOOR-MINUS-NEGATIVE-CONSTANT))
 (2 2 (:REWRITE +-COMBINE-CONSTANTS))
 (1 1 (:TYPE-PRESCRIPTION NONNEG-OF-MOD-TYPE-2))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-MOD-TYPE))
 (1 1 (:REWRITE 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
 (566 85 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (420 167 (:REWRITE DEFAULT-*-1))
 (418 167 (:REWRITE DEFAULT-*-2))
 (314 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (232 7 (:REWRITE LOGTAIL-IDENTITY))
 (221 7 (:REWRITE LOGTAIL-BECOMES-0))
 (201 84 (:REWRITE DEFAULT-+-2))
 (185 5 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (165 84 (:REWRITE DEFAULT-+-1))
 (164 16 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (150 10 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (147 114 (:REWRITE DEFAULT-<-1))
 (140 5 (:LINEAR BVCHOP-UPPER-BOUND))
 (115 114 (:REWRITE DEFAULT-<-2))
 (86 86 (:REWRITE BOUND-WHEN-USB))
 (85 85 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (85 85 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (85 85 (:REWRITE UBP-LONGER-BETTER))
 (67 16 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (60 60 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (57 32 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (54 1 (:REWRITE UNSIGNED-BYTE-P-OF-*))
 (52 19 (:REWRITE DEFAULT-UNARY-MINUS))
 (46 46 (:LINEAR <-OF-*-AND-*))
 (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))
 (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))
 (25 25 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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))
 (19 8 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT))
 (18 9 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (18 6 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (17 7 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (13 13 (:LINEAR EXPT-BOUND-LINEAR-2))
 (12 1 (:REWRITE <-OF-EXPT-2-AND-CONSTANT))
 (11 11 (:REWRITE <-OF-+-ARG1-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))
 (9 9 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (8 2 (:DEFINITION POSP))
 (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))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-BOUND))
 (2 2 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (2 2 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (2 1 (:REWRITE EQUAL-OF-EXPT-SAME))
 (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))
 )
(SLICE-OF-BVCAT-TOO-HIGH
 (19 19 (:REWRITE DEFAULT-<-2))
 (19 19 (:REWRITE DEFAULT-<-1))
 (15 15 (:REWRITE BOUND-WHEN-USB))
 (14 9 (:REWRITE DEFAULT-+-2))
 (14 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (10 2 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (9 9 (:REWRITE DEFAULT-+-1))
 (9 4 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (8 2 (:DEFINITION POSP))
 (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 <-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))
 (4 1 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 1 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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-WITH-VIOLATED-GUARDS))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (2 2 (:LINEAR EXPT-BOUND-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 <-OF-+-AND-+-COMBINE-CONSTANTS))
 (1 1 (:REWRITE +-COMBINE-CONSTANTS))
 (1 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(BVCAT-OF-BVCAT-TRIM-HIGH-ARG
 (4399 282 (:REWRITE BVCHOP-IDENTITY))
 (4086 10 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (2147 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (998 998 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (758 509 (:REWRITE DEFAULT-+-2))
 (735 191 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (674 602 (:REWRITE DEFAULT-<-1))
 (668 167 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (608 47 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (602 602 (:REWRITE DEFAULT-<-2))
 (593 509 (:REWRITE DEFAULT-+-1))
 (572 572 (:REWRITE BOUND-WHEN-USB))
 (560 41 (:REWRITE BVCHOP-OF-BVCAT-SAME))
 (456 254 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (416 254 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (297 254 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (292 74 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (282 282 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (282 282 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (278 61 (:DEFINITION POSP))
 (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))
 (201 201 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (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))
 (126 126 (:REWRITE FOLD-CONSTS-IN-+))
 (112 61 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (106 22 (:REWRITE DEFAULT-*-2))
 (105 48 (:REWRITE BVCHOP-OF-BVCAT-LOW))
 (103 61 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (102 102 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (86 86 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (86 86 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (78 10 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (77 77 (:REWRITE DEFAULT-UNARY-MINUS))
 (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+))
 (6 6 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (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
 (3407 10 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (1477 377 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (592 108 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (518 96 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (481 5 (:REWRITE UNSIGNED-BYTE-P-OF-*-OF-EXPT-ALT))
 (450 56 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (437 5 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (435 20 (:REWRITE LOGTAIL-IDENTITY))
 (404 319 (:REWRITE DEFAULT-+-2))
 (403 49 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (377 377 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (374 374 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (374 374 (:REWRITE UBP-LONGER-BETTER))
 (368 354 (:REWRITE DEFAULT-<-2))
 (365 354 (:REWRITE DEFAULT-<-1))
 (334 319 (:REWRITE DEFAULT-+-1))
 (332 240 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (309 13 (:REWRITE LOGTAIL-BECOMES-0))
 (293 293 (:REWRITE BOUND-WHEN-USB))
 (268 100 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (241 241 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (217 113 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (188 96 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (180 30 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-2))
 (168 72 (:LINEAR EXPT-BOUND-LINEAR))
 (165 39 (:LINEAR EXPT-BOUND-LINEAR-2))
 (132 132 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (126 98 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (122 96 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (120 24 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (114 114 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (109 109 (:TYPE-PRESCRIPTION POSP))
 (108 3 (:LINEAR EXPT-HALF-LINEAR))
 (106 106 (:REWRITE FOLD-CONSTS-IN-+))
 (100 100 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (98 96 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (91 91 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (90 3 (:LINEAR EXPT-OF-ONE-LESS-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))
 (69 49 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (66 2 (:REWRITE UNSIGNED-BYTE-P-OF-LOGTAIL-STRONG))
 (65 15 (:REWRITE DEFAULT-*-2))
 (59 19 (:REWRITE UNSIGNED-BYTE-P-0))
 (58 13 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (49 15 (:REWRITE DEFAULT-*-1))
 (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-*))
 (14 4 (:REWRITE LOGAPP-WHEN-NOT-NATP-ARG1))
 (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 6 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (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))
 )
(SLICE-TIGHTEN-TOP-2
 (592 22 (:REWRITE UNSIGNED-BYTE-P-OF-LOGTAIL-STRONG))
 (135 129 (:REWRITE DEFAULT-+-2))
 (135 129 (:REWRITE DEFAULT-+-1))
 (130 65 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (129 129 (:REWRITE BOUND-WHEN-USB))
 (128 125 (:REWRITE DEFAULT-<-2))
 (127 33 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (125 125 (:REWRITE DEFAULT-<-1))
 (102 102 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (96 26 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (92 23 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (74 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (71 66 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (66 66 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (65 65 (:REWRITE <-OF-+-ARG1-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 11 (:REWRITE <-OF-+-COMBINE-CONSTANTS-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))
 (18 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 4 (:REWRITE LOGTAIL-BECOMES-0))
 (14 14 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (14 3 (:REWRITE <-OF-EXPT-AND-EXPT))
 (13 13 (:TYPE-PRESCRIPTION POSP))
 (12 12 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 11 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (11 11 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (9 4 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (8 2 (:REWRITE DEFAULT-*-2))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:REWRITE DEFAULT-UNARY-MINUS))
 (6 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (4 4 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (4 1 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (4 1 (:DEFINITION POSP))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (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
 (20758 2709 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (13025 110 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (5197 451 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (4199 3292 (:REWRITE DEFAULT-+-2))
 (3755 2378 (:REWRITE DEFAULT-<-1))
 (3418 3292 (:REWRITE DEFAULT-+-1))
 (3057 610 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (2874 34 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (2727 2709 (:REWRITE UBP-LONGER-BETTER))
 (2709 2709 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2709 2709 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2642 2378 (:REWRITE DEFAULT-<-2))
 (1817 1817 (:REWRITE BOUND-WHEN-USB))
 (1704 1704 (:REWRITE FOLD-CONSTS-IN-+))
 (1500 1318 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (1196 610 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (1192 40 (:REWRITE SLICE-OF-BVCAT-TOO-HIGH))
 (928 152 (:DEFINITION POSP))
 (842 842 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (800 610 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (766 613 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (732 613 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (728 610 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (695 695 (:TYPE-PRESCRIPTION POSP))
 (674 122 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (653 653 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (461 461 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (461 461 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (428 428 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (426 426 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (426 426 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (426 426 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (377 377 (:REWRITE DEFAULT-UNARY-MINUS))
 (330 330 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (233 120 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (223 120 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (196 110 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (178 152 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (170 44 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (157 157 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (157 157 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (152 152 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (136 110 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (136 44 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (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-+))
 (56 10 (:REWRITE DEFAULT-*-2))
 (54 9 (:REWRITE <-OF-+-CANCEL-1-1+))
 (44 44 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (37 1 (:REWRITE BVCHOP-1-BECOMES-GETBIT))
 (36 36 (:TYPE-PRESCRIPTION MIN))
 (28 28 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (27 27 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (26 26 (:REWRITE UNSIGNED-BYTE-P-0))
 (16 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (14 14 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (10 10 (:REWRITE DEFAULT-*-1))
 (8 8 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (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
 (44 24 (:REWRITE DEFAULT-+-2))
 (36 6 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (33 3 (:REWRITE SLICE-OF-BVCAT-TOO-HIGH))
 (24 24 (:REWRITE DEFAULT-+-1))
 (18 6 (:REWRITE COMMUTATIVITY-OF-+))
 (18 3 (:REWRITE SLICE-OF-BVCAT-HACK))
 (11 11 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (11 11 (:REWRITE DEFAULT-<-2))
 (11 11 (:REWRITE DEFAULT-<-1))
 (11 11 (:REWRITE BOUND-WHEN-USB))
 (11 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (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 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 SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (3 3 (:REWRITE SLICE-OF-BVCAT-HACK-2))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (3 3 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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))
 )
(SLICE-OF-BVCAT-HACK-GEN-BETTER
 (918 780 (:REWRITE DEFAULT-+-2))
 (780 780 (:REWRITE DEFAULT-+-1))
 (660 104 (:DEFINITION POSP))
 (507 26 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (486 77 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (440 77 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (426 426 (:REWRITE FOLD-CONSTS-IN-+))
 (424 396 (:REWRITE DEFAULT-<-1))
 (404 396 (:REWRITE DEFAULT-<-2))
 (329 329 (:REWRITE BOUND-WHEN-USB))
 (329 170 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (282 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT-ALL-CASES))
 (261 27 (:REWRITE BVCHOP-IDENTITY))
 (229 26 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (228 63 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (226 92 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (212 44 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (200 36 (:REWRITE SLICE-OUT-OF-ORDER))
 (157 157 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (157 157 (: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))
 (130 130 (:TYPE-PRESCRIPTION POSP))
 (118 30 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (118 30 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (105 26 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (98 74 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (96 96 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (94 94 (:REWRITE DEFAULT-UNARY-MINUS))
 (90 90 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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 6 (:REWRITE SLICE-OF-BVCAT-TOO-HIGH))
 (53 27 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (49 26 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (46 26 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (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-LINEAR-STRONG))
 (35 30 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (35 7 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (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 26 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (30 26 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (30 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (28 1 (:LINEAR BVCHOP-UPPER-BOUND))
 (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 19 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (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))
 (2 2 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (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 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (6 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (3 3 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (3 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (2 2 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (2 2 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 )
(SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-2
 (84 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (84 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (59 3 (:REWRITE BVCHOP-IDENTITY))
 (58 48 (:REWRITE DEFAULT-<-1))
 (54 6 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (48 48 (:REWRITE DEFAULT-<-2))
 (46 41 (:REWRITE DEFAULT-+-2))
 (44 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (41 41 (:REWRITE DEFAULT-+-1))
 (38 38 (:REWRITE BOUND-WHEN-USB))
 (36 36 (:TYPE-PRESCRIPTION MIN))
 (28 6 (:DEFINITION POSP))
 (24 24 (:TYPE-PRESCRIPTION NATP))
 (24 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (24 6 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (23 5 (:REWRITE SLICE-OUT-OF-ORDER))
 (23 4 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (21 9 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (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))
 (17 11 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (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))
 (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))
 (7 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (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))
 (3 3 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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-WITH-VIOLATED-GUARDS))
 (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))
 (1 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (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 (: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 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 1 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (3 3 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE <-OF-+-OF---AND-0-ARG2))
 (2 2 (:REWRITE FOLD-CONSTS-IN-+))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (2 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:REWRITE +-COMBINE-CONSTANTS))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-2))
 (1 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-1))
 )
(SLICE-OF-BVCAT-GEN
 (721 621 (:REWRITE DEFAULT-+-2))
 (621 621 (:REWRITE DEFAULT-+-1))
 (612 94 (:DEFINITION POSP))
 (433 66 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (413 66 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (390 390 (:REWRITE FOLD-CONSTS-IN-+))
 (310 62 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (303 281 (:REWRITE DEFAULT-<-1))
 (295 140 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (289 281 (:REWRITE DEFAULT-<-2))
 (237 237 (:REWRITE BOUND-WHEN-USB))
 (218 62 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (216 30 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (162 162 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (162 162 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (144 16 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (135 65 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (132 66 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (129 66 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (114 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (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))
 (107 7 (:REWRITE BVCHOP-IDENTITY))
 (101 101 (:TYPE-PRESCRIPTION POSP))
 (95 17 (:REWRITE SLICE-OUT-OF-ORDER))
 (80 80 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (71 71 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (50 10 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (49 33 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (43 43 (:REWRITE DEFAULT-UNARY-MINUS))
 (34 7 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (33 33 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (33 33 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (33 33 (:REWRITE UBP-LONGER-BETTER))
 (29 19 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (28 16 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (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))
 (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-SIZE-IS-NOT-POSP))
 (14 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (14 1 (:REWRITE BVCAT-EQUAL-REWRITE-ALT))
 (14 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (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))
 (5 5 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (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))
 (1 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 )
(BVCAT-NUMERIC-BOUND2-CORE
 (184 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (56 14 (:DEFINITION POSP))
 (50 2 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (42 7 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (42 7 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (38 38 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (33 24 (:REWRITE DEFAULT-<-2))
 (32 24 (:REWRITE DEFAULT-<-1))
 (23 14 (:REWRITE DEFAULT-+-2))
 (22 22 (:REWRITE BOUND-WHEN-USB))
 (18 18 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 16 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 14 (:TYPE-PRESCRIPTION POSP))
 (14 14 (:REWRITE DEFAULT-+-1))
 (14 7 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (14 7 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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
 (60 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (40 10 (:DEFINITION POSP))
 (38 38 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (30 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (30 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (28 19 (:REWRITE DEFAULT-<-2))
 (26 19 (:REWRITE DEFAULT-<-1))
 (17 17 (:REWRITE BOUND-WHEN-USB))
 (17 11 (:REWRITE DEFAULT-+-2))
 (14 14 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (11 11 (:REWRITE DEFAULT-+-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))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (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 <-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
 (40 10 (:DEFINITION POSP))
 (38 38 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (30 5 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (30 5 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (27 15 (:REWRITE DEFAULT-+-2))
 (19 15 (:REWRITE DEFAULT-<-2))
 (18 15 (:REWRITE DEFAULT-<-1))
 (15 15 (:REWRITE DEFAULT-+-1))
 (15 15 (:REWRITE BOUND-WHEN-USB))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:TYPE-PRESCRIPTION POSP))
 (10 5 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (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
 (17 2 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (11 8 (:REWRITE DEFAULT-<-1))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (8 8 (:REWRITE DEFAULT-<-2))
 (8 2 (:REWRITE GETBIT-IDENTITY))
 (6 6 (:REWRITE BOUND-WHEN-USB))
 (6 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (5 5 (:REWRITE DEFAULT-+-2))
 (5 5 (:REWRITE DEFAULT-+-1))
 (4 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 BITP))
 (1 1 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (1 1 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (1 1 (:REWRITE 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
 (686 606 (:REWRITE DEFAULT-+-2))
 (606 606 (:REWRITE DEFAULT-+-1))
 (504 76 (:DEFINITION POSP))
 (378 378 (:REWRITE FOLD-CONSTS-IN-+))
 (373 51 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (317 51 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (310 62 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (256 234 (:REWRITE DEFAULT-<-1))
 (242 234 (:REWRITE DEFAULT-<-2))
 (241 122 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (216 30 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (191 191 (:REWRITE BOUND-WHEN-USB))
 (173 44 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (152 18 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (131 131 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (131 131 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (130 60 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (114 14 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (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))
 (83 83 (:TYPE-PRESCRIPTION POSP))
 (64 64 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (56 56 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (51 35 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (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))
 (31 7 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (30 20 (:REWRITE SLICE-WHEN-LOW-IS-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))
 (14 7 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (13 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (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))
 (5 1 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (4 4 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (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))
 (1 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 )
(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))
 (55 5 (:REWRITE BVCAT-OF-BVCAT-TRIM-HIGH-ARG))
 (48 36 (:REWRITE DEFAULT-+-2))
 (37 37 (:REWRITE DEFAULT-<-2))
 (37 37 (:REWRITE DEFAULT-<-1))
 (36 36 (:REWRITE DEFAULT-+-1))
 (33 17 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (32 32 (:REWRITE BOUND-WHEN-USB))
 (31 17 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (29 29 (:TYPE-PRESCRIPTION POSP))
 (23 23 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (14 14 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (14 14 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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))
 (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-2))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 1 (:REWRITE <-OF-+-CANCEL-2-2))
 )
(BVCAT-COMBINE-CONSTANTS
 (110 17 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (98 20 (:DEFINITION POSP))
 (78 66 (:REWRITE DEFAULT-+-2))
 (70 5 (:REWRITE BVCAT-OF-BVCAT-TRIM-HIGH-ARG))
 (66 66 (:REWRITE DEFAULT-+-1))
 (42 17 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (33 17 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (31 17 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (29 29 (:REWRITE DEFAULT-<-2))
 (29 29 (:REWRITE DEFAULT-<-1))
 (24 24 (:REWRITE 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 +-COMBINE-CONSTANTS))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (14 14 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (14 14 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (12 4 (:REWRITE <-OF-+-CANCEL-2-1+))
 (5 5 (:REWRITE BVCAT-COMBINE-CONSTANTS-OLD))
 (5 5 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (5 5 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (5 5 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 1 (:REWRITE <-OF-+-CANCEL-2-2))
 (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))
 (16 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (11 8 (:REWRITE DEFAULT-<-1))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (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 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION POSP))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (1 1 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-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))
 )
(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))
 )
(BVCAT-ASSOCIATIVE-GEN
 (376 298 (:REWRITE DEFAULT-+-2))
 (304 298 (:REWRITE DEFAULT-+-1))
 (270 246 (:REWRITE DEFAULT-<-1))
 (246 246 (:REWRITE DEFAULT-<-2))
 (228 228 (:REWRITE BOUND-WHEN-USB))
 (180 180 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (146 146 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (112 59 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (106 59 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (102 8 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (85 49 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (83 83 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (83 83 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (83 83 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (83 83 (:REWRITE UBP-LONGER-BETTER))
 (80 15 (:REWRITE BVCAT-OF-BVCAT-TRIM-HIGH-ARG))
 (73 73 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (72 72 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (66 66 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (64 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (63 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (57 57 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (57 57 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (56 8 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (55 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (49 49 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (49 49 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (47 47 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (41 41 (:REWRITE FOLD-CONSTS-IN-+))
 (27 27 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (26 26 (:REWRITE DEFAULT-UNARY-MINUS))
 (21 21 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (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 14 (:REWRITE UNSIGNED-BYTE-P-0))
 (14 6 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (12 2 (:REWRITE REDUCE-INTEGERP-+-CONSTANT))
 (11 11 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (11 11 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (10 5 (:REWRITE EQUAL-OF-+-CANCEL-SAME-3))
 (9 9 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (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))
 (8 8 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (8 2 (:REWRITE DEFAULT-*-2))
 (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))
 (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))
 (2 2 (:REWRITE DEFAULT-*-1))
 )
(LOGTAIL-OF-BVCAT-LOW
 (1502 19 (:REWRITE LOGTAIL-IDENTITY))
 (1348 19 (:REWRITE LOGTAIL-BECOMES-0))
 (289 85 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (249 12 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (244 196 (:REWRITE DEFAULT-<-1))
 (237 170 (:REWRITE DEFAULT-+-2))
 (201 39 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (196 196 (:REWRITE DEFAULT-<-2))
 (196 196 (:REWRITE BOUND-WHEN-USB))
 (179 170 (:REWRITE DEFAULT-+-1))
 (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))
 (128 16 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (114 114 (:TYPE-PRESCRIPTION POSP))
 (112 112 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (109 109 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (106 36 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (103 15 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (102 3 (:REWRITE UNSIGNED-BYTE-P-OF-LOGTAIL-STRONG))
 (100 100 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (99 99 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (99 19 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (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))
 (54 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (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))
 (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))
 (27 27 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (27 27 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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))
 (13 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN))
 (12 12 (:REWRITE DEFAULT-UNARY-MINUS))
 (9 9 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (8 8 (:TYPE-PRESCRIPTION IFIX))
 (7 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (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 SLICE-WHEN-LOW-IS-NEGATIVE))
 (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))
 )
(*-OF-EXPT-AND-/-OF-EXPT-COLLECT
 (124 4 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (107 107 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (107 107 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (47 7 (:REWRITE DEFAULT-*-2))
 (36 7 (:REWRITE DEFAULT-*-1))
 (22 2 (:REWRITE DEFAULT-UNARY-/))
 (22 2 (:REWRITE <-OF-*-OF-/-ARG2-ARG1))
 (20 4 (:REWRITE DEFAULT-<-2))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 2 (:LINEAR FLOOR-UPPER-BOUND-STRONG-LINEAR-CHEAP))
 (8 8 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (8 8 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (8 8 (:LINEAR <-OF-*-AND-*))
 (4 4 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (4 4 (:REWRITE DEFAULT-<-1))
 (4 4 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (4 4 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (3 3 (:TYPE-PRESCRIPTION INTEGERP-OF-*-OF-EXPT2-AND-/-OF-EXPT2-TYPE))
 (3 3 (:REWRITE *-OF-*-COMBINE-CONSTANTS))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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
 (454 454 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (367 15 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (348 68 (:REWRITE DEFAULT-*-2))
 (92 68 (:REWRITE DEFAULT-*-1))
 (74 74 (:REWRITE DEFAULT-+-2))
 (74 74 (:REWRITE DEFAULT-+-1))
 (65 65 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (57 15 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (53 38 (:REWRITE DEFAULT-<-2))
 (38 38 (:REWRITE DEFAULT-<-1))
 (36 36 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (36 36 (:LINEAR EXPT-BOUND-LINEAR))
 (30 30 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (30 30 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (30 30 (:LINEAR <-OF-*-AND-*))
 (24 24 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (23 23 (:REWRITE BOUND-WHEN-USB))
 (19 19 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (18 18 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (18 18 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (18 18 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (18 18 (:LINEAR EXPT-BOUND-LINEAR-2))
 (15 15 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (15 15 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (15 15 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (15 15 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (12 12 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (11 11 (:REWRITE MOVE-MINUS-TO-CONSTANT))
 (11 11 (:REWRITE EQUAL-OF---WHEN-VARIABLE))
 (11 11 (:REWRITE EQUAL-OF---AND-CONSTANT))
 (6 6 (:REWRITE EQUAL-OF-*-AND-CONSTANT))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE EQUAL-OF-EXPT-AND-CONSTANT))
 )
(/-OF-EXPT-OF-DIFF
 (59 59 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (28 4 (:REWRITE DEFAULT-UNARY-/))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 3 (:REWRITE DEFAULT-*-2))
 (12 3 (:REWRITE DEFAULT-*-1))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 2 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE DEFAULT-+-2))
 (2 2 (:REWRITE DEFAULT-+-1))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-*-OF-EXPT2-AND-/-OF-EXPT2-TYPE))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(LOGTAIL-LOGAPP-BETTER
 (1164 24 (:REWRITE <-OF-*-AND-0))
 (686 27 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (357 264 (:REWRITE DEFAULT-<-1))
 (302 38 (:REWRITE LOGTAIL-BECOMES-0))
 (277 264 (:REWRITE DEFAULT-<-2))
 (237 237 (:REWRITE BOUND-WHEN-USB))
 (202 38 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (180 48 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (170 170 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (168 168 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (142 142 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (142 142 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (140 140 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (140 140 (:REWRITE UBP-LONGER-BETTER))
 (135 21 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (134 30 (:DEFINITION POSP))
 (124 21 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (85 85 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (70 19 (:REWRITE DEFAULT-*-2))
 (66 6 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (63 63 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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-*))
 (40 35 (:REWRITE DEFAULT-+-2))
 (40 35 (:REWRITE DEFAULT-+-1))
 (38 38 (:TYPE-PRESCRIPTION NATP))
 (35 35 (:TYPE-PRESCRIPTION POSP))
 (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))
 (29 19 (:REWRITE DEFAULT-*-1))
 (28 4 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (27 27 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (27 27 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (27 27 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (27 27 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (24 3 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (23 23 (:REWRITE DEFAULT-UNARY-MINUS))
 (21 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (21 3 (:REWRITE <-OF-LOGAPP-AND-0))
 (19 19 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (19 19 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (19 19 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (19 3 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (18 18 (:REWRITE <-OF-0-AND-EXPT))
 (17 6 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-LARGE-CASE))
 (15 6 (:REWRITE UNSIGNED-BYTE-P-OF-LOGAPP-SMALL-CASE))
 (14 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (12 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (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))
 (7 7 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-OF-*-GEN))
 (6 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (6 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (6 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (6 6 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (3 3 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (1 1 (:REWRITE +-COMBINE-CONSTANTS))
 )
(LOGTAIL-OF-BVCAT-WHEN-EXTENDS-INTO-UPPER
 (1816 188 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (1135 127 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (360 228 (:REWRITE DEFAULT-<-2))
 (297 297 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (297 297 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (297 297 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (297 297 (:REWRITE UBP-LONGER-BETTER))
 (276 26 (:REWRITE LOGTAIL-BECOMES-0))
 (258 228 (:REWRITE DEFAULT-<-1))
 (240 240 (:REWRITE BOUND-WHEN-USB))
 (232 5 (:REWRITE UNSIGNED-BYTE-P-0))
 (201 26 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (150 25 (:DEFINITION POSP))
 (94 16 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (94 16 (:REWRITE BVCHOP-IDENTITY))
 (88 10 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (80 10 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (68 68 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (65 41 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (60 54 (:REWRITE DEFAULT-+-1))
 (58 58 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (56 56 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (56 56 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (56 56 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (54 54 (:REWRITE DEFAULT-+-2))
 (52 26 (:REWRITE LOGTAIL-WHEN-NOT-INTEGERP-ARG2))
 (41 41 (:TYPE-PRESCRIPTION POSP))
 (38 38 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (38 38 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (32 16 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (32 16 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (32 16 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (30 30 (:REWRITE DEFAULT-UNARY-MINUS))
 (30 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (29 16 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (29 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (25 25 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (25 25 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (20 20 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (20 20 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (20 20 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR))
 (20 20 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (18 18 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (18 18 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (16 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (16 16 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (16 16 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (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))
 (165 117 (:REWRITE DEFAULT-<-2))
 (164 16 (:REWRITE LOGTAIL-BECOMES-0))
 (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))
 (123 117 (:REWRITE DEFAULT-<-1))
 (119 16 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (111 111 (: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))
 (63 63 (: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 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))
 (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 20 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (20 20 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (20 20 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (20 2 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (18 9 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (18 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (16 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))
 (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))
 (6 6 (:TYPE-PRESCRIPTION SLICE))
 (6 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (6 6 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (6 6 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (6 6 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (6 6 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (6 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (4 4 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (4 4 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (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
 (786 718 (:REWRITE DEFAULT-+-2))
 (718 718 (:REWRITE DEFAULT-+-1))
 (383 383 (:REWRITE FOLD-CONSTS-IN-+))
 (370 36 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (256 106 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (219 182 (:REWRITE DEFAULT-<-1))
 (182 182 (:REWRITE DEFAULT-<-2))
 (162 162 (:REWRITE BOUND-WHEN-USB))
 (152 38 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (146 24 (:DEFINITION POSP))
 (106 106 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (106 106 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (106 106 (:REWRITE UBP-LONGER-BETTER))
 (102 102 (:REWRITE DEFAULT-UNARY-MINUS))
 (89 89 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (89 89 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (69 1 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (64 36 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (61 61 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (60 1 (:LINEAR BVCHOP-UPPER-BOUND))
 (59 1 (:REWRITE SLICE-BECOMES-BVCHOP))
 (52 52 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (50 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (48 8 (:REWRITE <-OF---AND--))
 (45 45 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (42 42 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (42 42 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (42 42 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (42 42 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (39 39 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (36 36 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-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 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 BVCHOP-IDENTITY-CHEAP))
 (13 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (13 12 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (12 12 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (12 12 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (12 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (12 12 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (12 12 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (12 12 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR-2))
 (11 3 (:REWRITE <-OF-+-CANCEL-1-2))
 (8 4 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (8 1 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (7 7 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (6 6 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (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 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
 (794 70 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (314 276 (:REWRITE DEFAULT-+-2))
 (281 276 (:REWRITE DEFAULT-+-1))
 (189 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (174 10 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (152 114 (:REWRITE DEFAULT-<-1))
 (130 130 (:REWRITE FOLD-CONSTS-IN-+))
 (129 2 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (114 114 (:REWRITE DEFAULT-<-2))
 (99 99 (:REWRITE BOUND-WHEN-USB))
 (97 45 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (97 7 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (84 21 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (82 2 (:LINEAR BVCHOP-UPPER-BOUND))
 (70 70 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (70 70 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (70 70 (:REWRITE UBP-LONGER-BETTER))
 (66 66 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (64 64 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (59 18 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (59 13 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (52 10 (:LINEAR EXPT-BOUND-LINEAR-2))
 (47 18 (:LINEAR EXPT-BOUND-LINEAR))
 (47 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (46 46 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (46 46 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (45 45 (:REWRITE DEFAULT-UNARY-MINUS))
 (43 43 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (36 1 (:LINEAR EXPT-HALF-LINEAR))
 (33 33 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (28 4 (:REWRITE <-OF---AND--))
 (27 1 (:LINEAR EXPT-OF-ONE-LESS-LINEAR))
 (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))
 (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 8 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (14 14 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (14 8 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (13 13 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (13 13 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (13 13 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (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))
 (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))
 (11 11 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (11 11 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (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))
 (9 9 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (9 1 (:REWRITE GETBIT-OF-SLICE-TOO-HIGH))
 (6 1 (:REWRITE DEFAULT-*-2))
 (5 5 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (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-OF-GETBIT-TOO-HIGH))
 (2 2 (:REWRITE HIGH-GETBIT-OF-GETBIT-IS-0))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (2 1 (:REWRITE GETBIT-OF-SLICE-GEN))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-BVCHOP-SAME))
 (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))
 (1 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 )
(BVCAT-OF-GETBIT-AND-SLICE-ADJACENT-2
 (366 321 (:REWRITE DEFAULT-+-2))
 (321 321 (:REWRITE DEFAULT-+-1))
 (184 10 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (149 149 (:REWRITE FOLD-CONSTS-IN-+))
 (110 20 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (83 82 (:REWRITE DEFAULT-<-1))
 (82 82 (:REWRITE DEFAULT-<-2))
 (80 80 (:REWRITE BOUND-WHEN-USB))
 (76 19 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (55 55 (:REWRITE DEFAULT-UNARY-MINUS))
 (49 49 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (49 49 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (35 20 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (33 33 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (33 33 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (30 30 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (26 26 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (26 26 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (26 26 (:REWRITE UBP-LONGER-BETTER))
 (26 13 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (25 13 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (24 24 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (24 24 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (24 24 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (22 22 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (21 21 (:TYPE-PRESCRIPTION POSP))
 (20 20 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (20 4 (:REWRITE <-OF---AND--))
 (14 14 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (14 14 (:LINEAR EXPT-BOUND-LINEAR))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-1))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-0))
 (12 3 (:REWRITE <-OF-+-OF---AND-0-ARG1))
 (11 11 (:REWRITE BVCAT-SUBST-1))
 (10 5 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE GETBIT-TOO-HIGH-CHEAP-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))
 (3 3 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (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 HIGH-GETBIT-OF-GETBIT-IS-0))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE <-OF-SLICE-AND-CONSTANT))
 (1 1 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 )
(BVCAT-OF-GETBIT-AND-GETBIT-ADJACENT-2
 (75 63 (:REWRITE DEFAULT-+-2))
 (63 63 (:REWRITE DEFAULT-+-1))
 (22 11 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (21 11 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (20 5 (:DEFINITION POSP))
 (18 9 (:REWRITE GETBIT-WHEN-NOT-1))
 (18 9 (:REWRITE GETBIT-WHEN-NOT-0))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 4 (:REWRITE BVCHOP-IDENTITY))
 (14 14 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 14 (:REWRITE DEFAULT-UNARY-MINUS))
 (12 6 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (11 11 (:REWRITE DEFAULT-<-2))
 (11 11 (:REWRITE DEFAULT-<-1))
 (11 11 (:REWRITE BOUND-WHEN-USB))
 (10 6 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (9 9 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (9 9 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (9 9 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (9 9 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (9 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 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 SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (4 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (: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 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-OF-GETBIT-TOO-HIGH))
 (3 3 (:REWRITE HIGH-GETBIT-OF-GETBIT-IS-0))
 (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-BOUND-LINEAR-2))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 )
(BVCAT-OF-SLICE-AND-X-ADJACENT-2
 (357 308 (:REWRITE DEFAULT-+-2))
 (308 308 (:REWRITE DEFAULT-+-1))
 (296 98 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (184 106 (:REWRITE DEFAULT-<-1))
 (115 115 (:REWRITE FOLD-CONSTS-IN-+))
 (110 106 (: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 90 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (90 17 (:DEFINITION POSP))
 (85 48 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (80 80 (:REWRITE BOUND-WHEN-USB))
 (78 6 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (70 6 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (58 58 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (54 48 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (53 53 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (52 52 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (48 48 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (48 48 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (48 48 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (48 48 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (48 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (45 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (42 6 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (37 29 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (32 8 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (31 31 (:REWRITE DEFAULT-UNARY-MINUS))
 (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))
 (23 23 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (23 23 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (23 23 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (21 21 (:TYPE-PRESCRIPTION POSP))
 (21 3 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (20 4 (:REWRITE <-OF---AND--))
 (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-LOW-IS-NEGATIVE))
 (14 14 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (14 14 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (12 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (6 6 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (6 6 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-0))
 (5 5 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (3 3 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (3 3 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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))
 (1 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 )
(BVCAT-OF-GETBIT-AND-X-ADJACENT-2
 (171 145 (:REWRITE DEFAULT-+-2))
 (145 145 (:REWRITE DEFAULT-+-1))
 (116 12 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (100 100 (:TYPE-PRESCRIPTION IFIX))
 (82 44 (:REWRITE DEFAULT-<-1))
 (78 6 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (70 6 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (54 11 (:DEFINITION POSP))
 (48 44 (:REWRITE DEFAULT-<-2))
 (39 39 (:REWRITE FOLD-CONSTS-IN-+))
 (28 28 (:REWRITE BOUND-WHEN-USB))
 (28 2 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (24 24 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (24 24 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (24 24 (:REWRITE UBP-LONGER-BETTER))
 (24 24 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (24 15 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (23 12 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (22 12 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (21 21 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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 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))
 (14 14 (:TYPE-PRESCRIPTION POSP))
 (14 2 (:REWRITE GETBIT-IDENTITY))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-1))
 (12 6 (:REWRITE GETBIT-WHEN-NOT-0))
 (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))
 (9 9 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 4 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (8 4 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (7 7 (:REWRITE BVCAT-SUBST-1))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (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 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 4 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (4 4 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (4 4 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-2))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:TYPE-PRESCRIPTION BITP))
 (2 2 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (2 2 (:REWRITE HIGH-GETBIT-OF-GETBIT-IS-0))
 (2 2 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE 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))
 (79 7 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (71 7 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (67 14 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (65 45 (:REWRITE DEFAULT-+-2))
 (48 10 (:DEFINITION POSP))
 (45 45 (:REWRITE DEFAULT-+-1))
 (37 26 (:REWRITE DEFAULT-<-1))
 (37 3 (:REWRITE BVCHOP-IDENTITY))
 (32 12 (:REWRITE UNICITY-OF-0))
 (30 26 (:REWRITE DEFAULT-<-2))
 (26 14 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (23 14 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (22 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (20 12 (:DEFINITION FIX))
 (19 14 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (17 17 (:REWRITE BOUND-WHEN-USB))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 16 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (12 12 (:REWRITE FOLD-CONSTS-IN-+))
 (12 12 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (12 12 (:REWRITE +-COMBINE-CONSTANTS))
 (12 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (11 11 (:TYPE-PRESCRIPTION POSP))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (7 7 (:TYPE-PRESCRIPTION NATP-OF-BVCHOP-TYPE))
 (7 7 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (6 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 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-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
 (152 12 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (125 105 (:REWRITE DEFAULT-+-2))
 (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))
 (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))
 (37 3 (:REWRITE BVCHOP-IDENTITY))
 (32 12 (:REWRITE UNICITY-OF-0))
 (31 31 (:REWRITE BOUND-WHEN-USB))
 (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))
 (22 2 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (20 20 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (20 4 (:REWRITE <-OF---AND--))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 16 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (16 4 (:REWRITE <-OF-MINUS-AND-CONSTANT))
 (15 15 (:TYPE-PRESCRIPTION POSP))
 (13 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (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))
 (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 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-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
 (45 33 (:REWRITE DEFAULT-+-2))
 (36 9 (:DEFINITION POSP))
 (33 33 (:REWRITE DEFAULT-+-1))
 (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))
 (17 17 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 4 (:REWRITE BVCHOP-IDENTITY))
 (14 7 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (12 12 (:TYPE-PRESCRIPTION POSP))
 (10 7 (:REWRITE GETBIT-WHEN-VAL-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))
 (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-BOUND-LINEAR-2))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE SLICE-OF-GETBIT-TOO-HIGH))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE HIGH-GETBIT-OF-GETBIT-IS-0))
 (2 2 (:REWRITE FOLD-CONSTS-IN-+))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (1 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (1 1 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 )
(BVCAT-OF-BVCAT-HIGH-TIGHTEN
 (77 22 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (76 61 (:REWRITE DEFAULT-+-2))
 (72 18 (:DEFINITION POSP))
 (61 61 (:REWRITE DEFAULT-+-1))
 (57 22 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (42 22 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (40 22 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (30 30 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 24 (:REWRITE DEFAULT-<-2))
 (24 24 (:REWRITE DEFAULT-<-1))
 (24 24 (:REWRITE BOUND-WHEN-USB))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (18 18 (:TYPE-PRESCRIPTION POSP))
 (12 12 (:REWRITE FOLD-CONSTS-IN-+))
 (12 12 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (12 12 (:REWRITE +-COMBINE-CONSTANTS))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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))
 (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-WHEN-ARG2-IS-NOT-AN-INTEGER
 (15 3 (:REWRITE BVCHOP-IDENTITY))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:TYPE-PRESCRIPTION NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 1 (:REWRITE DEFAULT-<-2))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (3 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:LINEAR LOGAPP-OF-CONSTANT-NEGATIVE-LINEAR))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE DEFAULT-<-1))
 (1 1 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-NORMALIZE-CONSTANT-ARG4
 (30 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-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-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (3 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (2 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (1 1 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (1 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (1 1 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE BVCHOP-IDENTITY))
 )
(SPLIT-BV
 (155 5 (:REWRITE BVCAT-OF-SLICE-AND-X-ADJACENT))
 (108 98 (:REWRITE DEFAULT-+-2))
 (98 98 (:REWRITE DEFAULT-+-1))
 (47 6 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (45 10 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (31 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (30 5 (:DEFINITION POSP))
 (29 29 (:REWRITE FOLD-CONSTS-IN-+))
 (24 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (17 17 (:REWRITE DEFAULT-<-2))
 (17 17 (:REWRITE DEFAULT-<-1))
 (17 17 (:REWRITE BOUND-WHEN-USB))
 (16 16 (:REWRITE DEFAULT-UNARY-MINUS))
 (14 14 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (13 6 (:REWRITE SLICE-OUT-OF-ORDER))
 (11 11 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (11 11 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (10 10 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (10 10 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (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 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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 3 (:REWRITE UBP-LONGER-BETTER))
 (5 5 (:TYPE-PRESCRIPTION POSP))
 (4 1 (:REWRITE <-OF-EXPT-AND-EXPT))
 (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))
 )
(UNSIGNED-BYTE-P-OF-MOD-OF-EXPT
 (39 1 (:REWRITE MOD-WHEN-INTEGERP-OF-QUOTIENT))
 (28 1 (:REWRITE UNSIGNED-BYTE-P-OF-MOD))
 (28 1 (:REWRITE MOD-WHEN-<))
 (25 1 (:REWRITE MOD-WHEN-MULTIPLE))
 (22 1 (:DEFINITION UNSIGNED-BYTE-P))
 (19 1 (:DEFINITION INTEGER-RANGE-P))
 (16 2 (:REWRITE INTEGERP-OF-*))
 (14 2 (:REWRITE DEFAULT-UNARY-/))
 (9 6 (:REWRITE DEFAULT-<-2))
 (8 8 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (8 2 (:REWRITE DEFAULT-*-2))
 (8 1 (:REWRITE INTEGERP-OF-/-OF-EXPT-2))
 (7 2 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:REWRITE DEFAULT-<-1))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 1 (:REWRITE THIS-NEEDS-TO-BE-ADDED-TO-QUOTIENT-REMAINDER-LEMMAS))
 (4 1 (:REWRITE MOD-WHEN-RATIONALP-ARG1-AND-NOT-RATIONALP-ARG2))
 (4 1 (:REWRITE MOD-WHEN-NOT-ACL2-NUMBERP-ARG2))
 (3 3 (:REWRITE BOUND-WHEN-USB))
 (3 1 (:REWRITE MOD-WHEN-<-OF-0))
 (3 1 (:REWRITE <-OF-EXPT-AND-EXPT))
 (2 2 (:REWRITE INTEGERP-OF-POWER2-HACK))
 (2 2 (:REWRITE DEFAULT-*-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1 1 (:REWRITE UBP-LONGER-BETTER))
 (1 1 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE MOD-WHEN-NOT-RATIONALP-ARG1-AND-RATIONALP-ARG2))
 (1 1 (:REWRITE MOD-WHEN-NOT-ACL2-NUMBERP-ARG1))
 (1 1 (:REWRITE MOD-WHEN-EQUAL-OF-MOD-AND-0-FREE-CHEAP))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(EQUAL-OF-BVCHOP-AND-BVCHOP-WHEN-UNSIGNED-BYTE-P-OF-BVCHOP
 (131 19 (:REWRITE BVCHOP-IDENTITY))
 (64 16 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (28 22 (:REWRITE DEFAULT-<-1))
 (28 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (22 22 (:REWRITE DEFAULT-<-2))
 (22 22 (:REWRITE BOUND-WHEN-USB))
 (19 19 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (18 18 (:REWRITE UBP-LONGER-BETTER))
 (16 16 (:TYPE-PRESCRIPTION POSP))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 16 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (16 16 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (16 16 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (16 16 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (14 14 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (13 3 (:REWRITE UNSIGNED-BYTE-P-0))
 (13 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (9 9 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (8 2 (:REWRITE DEFAULT-+-2))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE 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-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
 (2171 327 (:REWRITE BVCHOP-IDENTITY))
 (1004 305 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (908 908 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (533 401 (:REWRITE DEFAULT-<-1))
 (524 305 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (441 238 (:REWRITE DEFAULT-+-2))
 (401 401 (:REWRITE DEFAULT-<-2))
 (401 401 (: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))
 (327 327 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (327 327 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (309 238 (:REWRITE DEFAULT-+-1))
 (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))
 (253 253 (:TYPE-PRESCRIPTION POSP))
 (97 19 (:REWRITE LOGTAIL-BECOMES-0))
 (94 19 (:REWRITE LOGTAIL-WHEN-NOT-POSP-ARG1))
 (90 19 (:REWRITE DEFAULT-*-2))
 (89 89 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (70 70 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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))
 (7 7 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 )
(UNSIGNED-BYTE-P-OF-BVCHOP-TIGHTER
 (1233 19 (:REWRITE <-UNARY-/-POSITIVE-RIGHT))
 (1177 28 (:REWRITE /R-WHEN-ABS-NUMERATOR=1))
 (851 11 (:LINEAR X*Y>1-POSITIVE))
 (727 646 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (446 232 (:REWRITE DEFAULT-+-2))
 (355 232 (:REWRITE DEFAULT-+-1))
 (351 77 (:REWRITE DEFAULT-*-2))
 (227 77 (:REWRITE DEFAULT-*-1))
 (200 200 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (200 200 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (190 19 (:REWRITE <-OF-EXPT-2-AND-CONSTANT))
 (178 26 (:REWRITE SLICE-OUT-OF-ORDER))
 (142 22 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (122 104 (:REWRITE DEFAULT-<-1))
 (106 34 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (104 104 (:REWRITE DEFAULT-<-2))
 (98 14 (:REWRITE DEFAULT-UNARY-/))
 (95 19 (:REWRITE UNICITY-OF-1))
 (90 12 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (84 84 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (70 70 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (70 70 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (70 70 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (70 70 (:REWRITE UBP-LONGER-BETTER))
 (67 67 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (66 66 (:REWRITE BOUND-WHEN-USB))
 (66 33 (:REWRITE EQUAL-OF-1-AND-EXPT))
 (61 35 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (60 34 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (58 10 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (56 14 (:REWRITE NUMERATOR-WHEN-INTEGERP))
 (48 9 (:REWRITE NATP-POSP))
 (48 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (44 22 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (44 22 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (42 42 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (42 22 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (36 35 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (36 3 (:LINEAR FLOOR-UPPER-BOUND-STRONG-LINEAR-CHEAP))
 (35 35 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (35 35 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (34 34 (:TYPE-PRESCRIPTION INTEGERP-OF-*-OF-EXPT2-AND-/-OF-EXPT2-TYPE))
 (34 34 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (34 34 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (30 15 (:REWRITE NATP-RW))
 (28 28 (:REWRITE FOLD-CONSTS-IN-+))
 (28 28 (:REWRITE DEFAULT-UNARY-MINUS))
 (28 28 (:REWRITE +-COMBINE-CONSTANTS))
 (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))
 (24 6 (:REWRITE NORMALIZE-<-MINUS-/))
 (23 22 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (22 22 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (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))
 (22 22 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (22 22 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (22 22 (:LINEAR <-OF-*-AND-*))
 (21 9 (:REWRITE POSP-RW))
 (19 19 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (19 19 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (17 17 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (15 15 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (15 15 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (12 12 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (12 12 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (11 11 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (11 11 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (11 11 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (11 11 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (8 8 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (6 6 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (6 6 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (6 6 (:REWRITE FOLD-CONSTS-IN-*))
 (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))
 (3 3 (:REWRITE *-OF-*-COMBINE-CONSTANTS))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 )
(BVCAT-SPECIAL-OPENER
 (229 6 (:REWRITE MOD-WHEN-INTEGERP-OF-QUOTIENT))
 (111 6 (:REWRITE MOD-WHEN-MULTIPLE))
 (98 98 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (98 98 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (82 8 (:REWRITE /R-WHEN-ABS-NUMERATOR=1))
 (47 47 (:TYPE-PRESCRIPTION NONNEG-OF-MOD-TYPE))
 (38 8 (:REWRITE MULTIPLE-WHEN-MOD-0-CHEAP))
 (38 6 (:REWRITE MOD-WHEN-<))
 (36 8 (:REWRITE INTEGERP-OF-*))
 (36 8 (:REWRITE INTEGERP-+-MINUS-*))
 (36 8 (:REWRITE COMMUTATIVITY-OF-*))
 (33 6 (:REWRITE DEFAULT-+-2))
 (32 17 (:REWRITE DEFAULT-*-2))
 (32 4 (:REWRITE INTEGERP-OF-/-OF-EXPT-2))
 (31 25 (:REWRITE DEFAULT-<-2))
 (29 17 (:REWRITE DEFAULT-*-1))
 (28 25 (:REWRITE DEFAULT-<-1))
 (28 4 (:REWRITE DEFAULT-UNARY-/))
 (27 6 (:REWRITE DEFAULT-+-1))
 (18 6 (:REWRITE THIS-NEEDS-TO-BE-ADDED-TO-QUOTIENT-REMAINDER-LEMMAS))
 (18 6 (:REWRITE MOD-WHEN-RATIONALP-ARG1-AND-NOT-RATIONALP-ARG2))
 (18 6 (:REWRITE MOD-WHEN-NOT-ACL2-NUMBERP-ARG2))
 (17 17 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (16 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (14 14 (:REWRITE BOUND-WHEN-USB))
 (14 6 (:REWRITE MOD-WHEN-<-OF-0))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (11 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (8 2 (:REWRITE NUMERATOR-WHEN-INTEGERP))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (7 1 (:REWRITE BVCHOP-IDENTITY))
 (6 6 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (6 6 (:REWRITE MOD-WHEN-NOT-RATIONALP-ARG1-AND-RATIONALP-ARG2))
 (6 6 (:REWRITE MOD-WHEN-NOT-ACL2-NUMBERP-ARG1))
 (6 6 (:REWRITE MOD-WHEN-EQUAL-OF-MOD-AND-0-FREE-CHEAP))
 (6 2 (:LINEAR EXPT->-1))
 (4 4 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 2 (:REWRITE NATP-RW))
 (4 2 (:REWRITE EQUAL-OF-1-AND-EXPT))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (3 3 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE MOD-OF-2-WHEN-EVEN-CHEAP))
 (2 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 BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (1 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (1 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (1 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (1 1 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (1 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (1 1 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVCAT-WHEN-EQUAL-OF-GETBIT-0-LOW
 (21 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (21 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (16 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (14 14 (:TYPE-PRESCRIPTION NATP))
 (14 7 (:REWRITE NATP-RW))
 (14 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (7 1 (:REWRITE NATP-POSP))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (4 1 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (3 3 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (3 3 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (3 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 1 (:REWRITE POSP-RW))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-POSITIVE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-NONZERO))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-INTEGERP))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-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))
 )
(BVCAT-WHEN-EQUAL-OF-GETBIT-0-HIGH
 (21 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (21 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (16 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (14 14 (:TYPE-PRESCRIPTION NATP))
 (14 7 (:REWRITE NATP-RW))
 (14 3 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (7 1 (:REWRITE NATP-POSP))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (4 1 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (3 3 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCAT-SUBST-1))
 (3 3 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (3 3 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (3 2 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 1 (:REWRITE POSP-RW))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-POSITIVE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-NONZERO))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-INTEGERP))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE GETBIT-WHEN-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 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
 (312 22 (:REWRITE BVCHOP-IDENTITY))
 (170 22 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (138 93 (:REWRITE DEFAULT-+-2))
 (102 93 (:REWRITE DEFAULT-+-1))
 (80 2 (:LINEAR X*Y>1-POSITIVE))
 (73 22 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (68 38 (:REWRITE DEFAULT-<-1))
 (59 43 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (58 56 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (58 7 (:REWRITE NATP-RW))
 (57 12 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (54 10 (:LINEAR EXPT->-1))
 (48 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (46 2 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (43 43 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (43 43 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (43 43 (:REWRITE UBP-LONGER-BETTER))
 (42 38 (:REWRITE DEFAULT-<-2))
 (42 22 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (38 2 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (36 22 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (35 9 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (32 8 (:REWRITE DEFAULT-*-2))
 (32 8 (:REWRITE DEFAULT-*-1))
 (26 22 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (26 22 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (25 5 (:REWRITE <-OF-+-AND-+-COMBINE-CONSTANTS))
 (24 24 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 22 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (23 23 (:REWRITE BOUND-WHEN-USB))
 (22 22 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (22 22 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (22 22 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (20 20 (:REWRITE FOLD-CONSTS-IN-+))
 (20 20 (:REWRITE +-COMBINE-CONSTANTS))
 (20 20 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (20 2 (:REWRITE EXPONENTS-ADD-FOR-NONNEG-EXPONENTS))
 (19 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (16 16 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (16 16 (:LINEAR EXPT-BOUND-LINEAR))
 (13 13 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (12 12 (:TYPE-PRESCRIPTION POSP))
 (12 12 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (12 4 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (11 10 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (10 10 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (10 10 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (9 9 (:REWRITE DEFAULT-UNARY-MINUS))
 (8 8 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (8 8 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (8 8 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-2))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (7 7 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (7 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (4 4 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (4 4 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (4 4 (:REWRITE <-OF-+-CANCEL-1-2))
 (4 4 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (4 4 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (4 4 (:LINEAR <-OF-*-AND-*))
 (3 1 (:REWRITE <-OF-+-CANCEL-2-2))
 (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 <-OF-CONSTANT-AND-MINUS))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (2 2 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (2 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCHOP-WHEN-TOP-BIT-1
 (2461 19 (:REWRITE MOD-WHEN-INTEGERP-OF-QUOTIENT))
 (1224 76 (:REWRITE /R-WHEN-ABS-NUMERATOR=1))
 (762 19 (:REWRITE MOD-WHEN-MULTIPLE))
 (408 38 (:REWRITE INTEGERP-OF-*))
 (408 38 (:REWRITE INTEGERP-+-MINUS-*))
 (296 26 (:REWRITE INTEGERP-OF-/-OF-EXPT-2))
 (264 57 (:REWRITE DEFAULT-*-2))
 (261 210 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (243 132 (:REWRITE DEFAULT-<-2))
 (221 27 (:REWRITE DEFAULT-UNARY-/))
 (173 89 (:REWRITE DEFAULT-+-2))
 (155 132 (:REWRITE DEFAULT-<-1))
 (149 89 (:REWRITE DEFAULT-+-1))
 (130 20 (:REWRITE EQUAL-OF-1-AND-EXPT))
 (106 106 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (106 106 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (104 57 (:REWRITE DEFAULT-*-1))
 (100 10 (:REWRITE INTEGERP-OF-EXPT2))
 (94 20 (:REWRITE NUMERATOR-WHEN-INTEGERP))
 (93 18 (:REWRITE MOD-WHEN-RATIONALP-ARG1-AND-NOT-RATIONALP-ARG2))
 (90 19 (:REWRITE MOD-WHEN-<-OF-0))
 (86 19 (:REWRITE THIS-NEEDS-TO-BE-ADDED-TO-QUOTIENT-REMAINDER-LEMMAS))
 (85 18 (:REWRITE MOD-WHEN-NOT-ACL2-NUMBERP-ARG2))
 (74 74 (:REWRITE BOUND-WHEN-USB))
 (66 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (64 64 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (54 6 (:LINEAR MOD-BOUND-LINEAR-ARG1))
 (52 4 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (43 43 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (40 10 (:REWRITE <-+-NEGATIVE-0-2))
 (30 6 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (27 9 (:REWRITE <-0-+-NEGATIVE-1))
 (26 23 (:REWRITE DEFAULT-UNARY-MINUS))
 (26 18 (:REWRITE MOD-WHEN-NOT-RATIONALP-ARG1-AND-RATIONALP-ARG2))
 (26 18 (:REWRITE MOD-WHEN-NOT-ACL2-NUMBERP-ARG1))
 (24 24 (:REWRITE INTEGERP-OF-POWER2-HACK))
 (24 6 (:REWRITE NORMALIZE-EQUAL-0))
 (24 4 (:REWRITE MULTIPLE-WHEN-MOD-0-CHEAP))
 (22 1 (:LINEAR X*Y>1-POSITIVE))
 (20 2 (:REWRITE SLICE-OUT-OF-ORDER))
 (19 19 (:REWRITE MOD-WHEN-EQUAL-OF-MOD-AND-0-FREE-CHEAP))
 (15 15 (:TYPE-PRESCRIPTION NONNEG-OF-MOD-TYPE))
 (12 6 (:REWRITE EQUAL-MINUS-MINUS))
 (10 2 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (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-+))
 (6 6 (:REWRITE +-COMBINE-CONSTANTS))
 (6 3 (:REWRITE SLICE-WHEN-INDICES-ARE-NEGATIVE))
 (6 2 (:REWRITE <-UNARY-/-POSITIVE-RIGHT))
 (6 1 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (4 2 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-1))
 (4 2 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (4 2 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (3 3 (:REWRITE 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-BVCHOP-KNOWN))
 (2 2 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (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 (:REWRITE EQUAL-CONSTANT-+))
 (2 2 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (2 2 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (2 2 (:LINEAR <-OF-*-AND-*))
 (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 (:REWRITE <-UNARY-/-NEGATIVE-RIGHT))
 (1 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (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
 (533 26 (:REWRITE BVCHOP-IDENTITY))
 (351 26 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (221 52 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (195 158 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (120 45 (:REWRITE DEFAULT-<-1))
 (116 49 (:REWRITE DEFAULT-+-2))
 (104 26 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (96 12 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (74 49 (:REWRITE DEFAULT-+-1))
 (70 19 (:REWRITE <-0-+-NEGATIVE-1))
 (52 52 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (52 52 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (52 52 (:REWRITE UBP-LONGER-BETTER))
 (52 26 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (51 26 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (45 45 (:REWRITE DEFAULT-<-2))
 (39 26 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (39 26 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (39 26 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (37 37 (:REWRITE EXPONENTS-ADD-FOR-NONNEG-EXPONENTS))
 (37 37 (:REWRITE EXPONENTS-ADD))
 (30 6 (:REWRITE DEFAULT-*-2))
 (26 26 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (26 26 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (26 26 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (26 26 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (26 26 (:REWRITE BOUND-WHEN-USB))
 (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 EXPT-BOUND-LINEAR-WEAK))
 (24 24 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (20 20 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (20 20 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (13 13 (:TYPE-PRESCRIPTION POSP))
 (13 13 (:REWRITE <-UNARY-/-POSITIVE-RIGHT))
 (13 13 (:REWRITE <-UNARY-/-NEGATIVE-RIGHT))
 (12 12 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (6 6 (:REWRITE DEFAULT-*-1))
 (6 4 (:REWRITE GETBIT-WHEN-NOT-0))
 (4 4 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (2 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE
 (164 8 (:REWRITE BVCHOP-IDENTITY))
 (108 8 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (68 16 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (50 40 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (38 14 (:REWRITE DEFAULT-<-1))
 (34 12 (:REWRITE DEFAULT-+-2))
 (32 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (32 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (22 6 (:REWRITE <-0-+-NEGATIVE-1))
 (20 12 (:REWRITE DEFAULT-+-1))
 (16 16 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (16 16 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (16 16 (:REWRITE UBP-LONGER-BETTER))
 (16 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (16 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (14 14 (:REWRITE DEFAULT-<-2))
 (12 8 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (12 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (12 8 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 10 (:REWRITE EXPONENTS-ADD-FOR-NONNEG-EXPONENTS))
 (10 10 (:REWRITE EXPONENTS-ADD))
 (10 2 (:REWRITE DEFAULT-*-2))
 (8 8 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (8 8 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (8 8 (:REWRITE BOUND-WHEN-USB))
 (8 8 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (8 8 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-2))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (4 4 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (4 4 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-RATIONALP))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE <-UNARY-/-POSITIVE-RIGHT))
 (4 4 (:REWRITE <-UNARY-/-NEGATIVE-RIGHT))
 (2 2 (:REWRITE DEFAULT-*-1))
 (1 1 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-NOT-0))
 )
(BVCHOP-REDUCE-WHEN-TOP-BIT-KNOWN
 (64 10 (:REWRITE BVCHOP-IDENTITY))
 (20 20 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (19 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (18 6 (:REWRITE DEFAULT-+-2))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (12 12 (: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))
 (8 2 (:REWRITE DEFAULT-<-1))
 (7 1 (:REWRITE NATP-POSP))
 (6 6 (:REWRITE DEFAULT-+-1))
 (5 5 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-HIGH))
 (5 5 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (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-IS-INCREASING-FOR-BASE>1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE DEFAULT-<-2))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (2 1 (:REWRITE POSP-RW))
 (2 1 (:REWRITE NATP-RW))
 (2 1 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-1))
 (2 1 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 1 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (2 1 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (1 1 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 )
(BVCHOP-NOT-0-WHEN-GETBIT-NOT-0
 (44 6 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (25 13 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (23 14 (:REWRITE DEFAULT-<-1))
 (23 1 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (21 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (14 14 (:REWRITE DEFAULT-<-2))
 (14 8 (:REWRITE DEFAULT-+-2))
 (13 13 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 12 (:REWRITE BOUND-WHEN-USB))
 (10 10 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (10 8 (:REWRITE DEFAULT-+-1))
 (10 1 (:REWRITE NATP-POSP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 8 (:REWRITE UBP-LONGER-BETTER))
 (7 1 (:REWRITE POSP-RW))
 (5 1 (:REWRITE NORMALIZE-EQUAL-0))
 (4 4 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (4 4 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-1))
 (4 2 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (4 2 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (3 3 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (3 3 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 2 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE EQUAL-MINUS-MINUS))
 (3 1 (:REWRITE <-0-+-NEGATIVE-1))
 (3 1 (:REWRITE +-COMBINE-CONSTANTS))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (1 1 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (1 1 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-RATIONALP))
 (1 1 (:REWRITE RIGHT-CANCELLATION-FOR-+))
 (1 1 (:REWRITE EQUAL-CONSTANT-+))
 (1 1 (:REWRITE DEFAULT-UNARY-MINUS))
 (1 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (1 1 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-HIGH))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-SUBST-1))
 (1 1 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (1 1 (:REWRITE <-UNARY-/-POSITIVE-RIGHT))
 (1 1 (:REWRITE <-UNARY-/-NEGATIVE-RIGHT))
 )
(BVCHOP-NOT-0-WHEN-LOW-BIT-NOT-0
 (35 5 (:REWRITE BVCHOP-IDENTITY))
 (32 5 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (23 1 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (20 14 (:REWRITE DEFAULT-+-2))
 (17 4 (:REWRITE NORMALIZE-EQUAL-0))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (16 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (15 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (14 14 (:REWRITE DEFAULT-+-1))
 (14 5 (:REWRITE DEFAULT-<-1))
 (14 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (12 12 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (10 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 1 (:REWRITE NATP-POSP))
 (9 4 (:REWRITE EQUAL-MINUS-MINUS))
 (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 POSP-RW))
 (7 1 (:REWRITE GETBIT-IDENTITY))
 (6 6 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (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 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 4 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (3 3 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (3 3 (:REWRITE 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))
 (3 1 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (3 1 (:REWRITE <-0-+-NEGATIVE-1))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (2 2 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BOUND-WHEN-USB))
 (2 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 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 BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 )
(BVCHOP-OF-BVCAT-CASES-GEN
 (1501 10 (:LINEAR X*Y>1-POSITIVE))
 (803 688 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (785 379 (:REWRITE DEFAULT-+-2))
 (776 10 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (711 51 (:REWRITE BVCHOP-OF-BVCAT-SAME))
 (606 63 (:REWRITE POSP-RW))
 (585 379 (:REWRITE DEFAULT-+-1))
 (561 63 (:REWRITE NATP-POSP))
 (510 51 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (504 346 (:REWRITE DEFAULT-<-2))
 (493 346 (:REWRITE DEFAULT-<-1))
 (438 78 (:LINEAR EXPT-BOUND-LINEAR-2))
 (425 116 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (380 10 (:LINEAR EXPT-HALF-LINEAR))
 (300 10 (:LINEAR EXPT-OF-ONE-LESS-LINEAR))
 (221 116 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (219 219 (:REWRITE BOUND-WHEN-USB))
 (172 172 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (171 118 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (170 30 (:REWRITE DEFAULT-*-2))
 (160 20 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (150 150 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (145 118 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (143 116 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (143 116 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (134 134 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (134 134 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (134 134 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (132 132 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (126 126 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (125 125 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (125 125 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (125 125 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (125 125 (:REWRITE UBP-LONGER-BETTER))
 (90 30 (:REWRITE DEFAULT-*-1))
 (68 51 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT-ALL-CASES))
 (64 33 (:REWRITE NATP-RW))
 (63 63 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (62 32 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (62 32 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (51 51 (:REWRITE EQUAL-OF-+-WHEN-NEGATIVE-CONSTANT))
 (51 51 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (51 51 (:REWRITE EQUAL-CONSTANT-+))
 (50 50 (:REWRITE EXPONENTS-ADD-FOR-NONNEG-EXPONENTS))
 (43 43 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (42 42 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (42 42 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (42 42 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (39 39 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (39 39 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (33 33 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (33 33 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (30 10 (:REWRITE <-0-+-NEGATIVE-1))
 (28 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (20 20 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (20 20 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (20 20 (:LINEAR <-OF-*-AND-*))
 (11 11 (:REWRITE DEFAULT-UNARY-MINUS))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (10 10 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (9 9 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (9 9 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-0))
 (3 3 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 2 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (2 2 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 )
(BVCHOP-32-SPLIT-HACK
 (148 11 (:REWRITE BVCHOP-IDENTITY))
 (88 2 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (87 10 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (56 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 EXPT-TYPE-PRESCRIPTION-POSITIVE))
 (10 10 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-NONZERO))
 (10 10 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-INTEGERP))
 (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-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (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 (: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
 (37 37 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (37 37 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (15 3 (:REWRITE BVCHOP-IDENTITY))
 (12 3 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (10 3 (:REWRITE DEFAULT-*-1))
 (8 3 (:REWRITE DEFAULT-*-2))
 (6 3 (:REWRITE DEFAULT-<-2))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (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))
 (5 1 (:REWRITE DEFAULT-+-2))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (4 4 (:REWRITE BOUND-WHEN-USB))
 (4 3 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE DEFAULT-<-1))
 (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 SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 1 (:REWRITE NATP-RW))
 (2 1 (:REWRITE DEFAULT-+-1))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (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 1 (:REWRITE BVCHOP-NOT-0-WHEN-LOW-BIT-NOT-0))
 (37 1 (:REWRITE BVCHOP-NOT-0-WHEN-GETBIT-NOT-0))
 (33 2 (:LINEAR GETBIT-BOUND-LINEAR))
 (31 31 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (31 31 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (20 20 (:TYPE-PRESCRIPTION GETBIT-TYPE))
 (15 3 (:REWRITE BVCHOP-IDENTITY))
 (12 3 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (11 11 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (11 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (9 6 (:REWRITE DEFAULT-<-2))
 (9 1 (:REWRITE UNSIGNED-BYTE-P-BASE-CASE))
 (8 4 (:REWRITE GETBIT-WHEN-NOT-1))
 (8 4 (:REWRITE GETBIT-WHEN-NOT-0))
 (8 4 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (6 6 (:REWRITE DEFAULT-<-1))
 (6 4 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (6 4 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (6 2 (:REWRITE DEFAULT-+-2))
 (6 2 (:REWRITE DEFAULT-*-2))
 (6 2 (:REWRITE DEFAULT-*-1))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (5 5 (:REWRITE BOUND-WHEN-USB))
 (5 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (4 4 (:TYPE-PRESCRIPTION |x < y  =>  0 < -x+y|))
 (4 4 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (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))
 (4 2 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (4 2 (:REWRITE GETBIT-IDENTITY))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (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))
 (3 2 (:REWRITE DEFAULT-+-1))
 (2 2 (:TYPE-PRESCRIPTION BITP))
 (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 GETBIT-IDENTITY-FREE))
 (2 2 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (2 1 (:REWRITE NATP-RW))
 (1 1 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (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))
 )
(UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0
 (230 1 (:LINEAR X*Y>1-POSITIVE))
 (220 1 (:REWRITE <-UNARY-/-POSITIVE-RIGHT))
 (204 2 (:REWRITE /R-WHEN-ABS-NUMERATOR=1))
 (120 77 (:REWRITE DEFAULT-+-2))
 (100 77 (:REWRITE DEFAULT-+-1))
 (100 2 (:LINEAR EXPT-HALF-LINEAR))
 (97 7 (:LINEAR EXPT-BOUND-LINEAR-2))
 (84 1 (:REWRITE BVCAT-SLICE-SAME))
 (82 72 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (78 2 (:LINEAR EXPT-OF-ONE-LESS-LINEAR))
 (62 6 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (49 6 (:REWRITE SLICE-OUT-OF-ORDER))
 (46 1 (:REWRITE BVCAT-OF-SLICE-AND-X-ADJACENT))
 (39 5 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (38 9 (:REWRITE DEFAULT-*-2))
 (37 28 (:REWRITE DEFAULT-<-1))
 (34 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (32 28 (:REWRITE DEFAULT-<-2))
 (29 29 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (29 29 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (29 2 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (24 9 (:REWRITE DEFAULT-*-1))
 (23 6 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (21 17 (:REWRITE DEFAULT-UNARY-MINUS))
 (21 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (20 5 (:REWRITE POSP-RW))
 (20 5 (:REWRITE NORMALIZE-<-MINUS-/))
 (19 19 (:REWRITE BOUND-WHEN-USB))
 (19 13 (:REWRITE UBP-LONGER-BETTER))
 (18 8 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-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 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (16 2 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (15 6 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (14 14 (:REWRITE FOLD-CONSTS-IN-+))
 (14 14 (:REWRITE +-COMBINE-CONSTANTS))
 (14 1 (:REWRITE CANCEL-EQUAL-+-*))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (13 6 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (13 1 (:REWRITE <-OF-EXPT-2-AND-CONSTANT))
 (12 12 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (12 12 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (12 2 (:REWRITE INTEGERP-OF-+-WHEN-INTEGERP-1-CHEAP))
 (10 10 (:TYPE-PRESCRIPTION POSP))
 (10 10 (:REWRITE EXPONENTS-ADD-FOR-NONNEG-EXPONENTS))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE-ALT))
 (10 1 (:REWRITE BVCAT-EQUAL-REWRITE))
 (9 1 (:REWRITE NORMALIZE-EQUAL-0))
 (9 1 (:REWRITE DISTRIBUTIVITY-OF-MINUS-OVER-+))
 (8 8 (:TYPE-PRESCRIPTION INTEGERP-OF-*-OF-/-OF-EXPT2-AND-EXPT2-TYPE))
 (8 8 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (8 1 (:LINEAR FLOOR-UPPER-BOUND-STRONG-LINEAR-CHEAP))
 (7 4 (:REWRITE INTEGERP-+-MINUS-*))
 (7 1 (:REWRITE DEFAULT-UNARY-/))
 (6 6 (: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 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (6 2 (:REWRITE <-0-+-NEGATIVE-1))
 (6 1 (:REWRITE LEFT-CANCELLATION-FOR-+))
 (6 1 (:REWRITE EQUAL-MINUS-MINUS))
 (5 5 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (5 2 (:REWRITE EQUAL-OF-1-AND-EXPT))
 (5 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (5 1 (:REWRITE UNICITY-OF-1))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (4 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (4 1 (:REWRITE NUMERATOR-WHEN-INTEGERP))
 (3 3 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (3 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 2 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (2 2 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (2 2 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (2 2 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (2 2 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (2 2 (:LINEAR <-OF-*-AND-*))
 (2 1 (:REWRITE FUNCTIONAL-SELF-INVERSION-OF-MINUS))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE EXPT-IS-WEAKLY-INCREASING-FOR-BASE>1))
 (1 1 (:REWRITE EXPT-IS-WEAKLY-DECREASING-FOR-POS-BASE<1))
 (1 1 (:REWRITE EXPT-IS-INCREASING-FOR-BASE>1))
 (1 1 (:REWRITE EXPT-IS-DECREASING-FOR-POS-BASE<1))
 (1 1 (:REWRITE EQUAL-CONSTANT-+))
 (1 1 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (1 1 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (1 1 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 )
(EQUAL-OF-BVCHOP-AND-BVCHOP-WHEN-SMALLER-BVCHOPS-EQUAL
 (334 204 (:REWRITE DEFAULT-+-2))
 (269 140 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (248 204 (:REWRITE DEFAULT-+-1))
 (244 234 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (239 140 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (181 127 (:REWRITE DEFAULT-<-1))
 (163 26 (:REWRITE NATP-POSP))
 (149 149 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (148 148 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (148 148 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (146 146 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (145 145 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (145 145 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (145 145 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (145 145 (:REWRITE UBP-LONGER-BETTER))
 (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))
 (133 133 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (127 127 (:REWRITE DEFAULT-<-2))
 (120 15 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (110 22 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (91 24 (:REWRITE POSP-RW))
 (88 88 (:REWRITE BOUND-WHEN-USB))
 (52 1 (:LINEAR X*Y>1-POSITIVE))
 (46 4 (:REWRITE /R-WHEN-ABS-NUMERATOR=1))
 (45 40 (:REWRITE DEFAULT-UNARY-MINUS))
 (42 1 (:REWRITE <-UNARY-/-POSITIVE-RIGHT))
 (36 36 (:REWRITE FOLD-CONSTS-IN-+))
 (34 34 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (34 6 (:REWRITE NORMALIZE-EQUAL-0))
 (33 32 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (32 32 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (32 32 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (32 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (30 30 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (30 30 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (30 30 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (30 30 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (30 30 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (30 15 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (28 28 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (28 28 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (27 7 (:REWRITE DEFAULT-*-2))
 (24 8 (:REWRITE <-0-+-NEGATIVE-1))
 (21 21 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (19 7 (:REWRITE DEFAULT-*-1))
 (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))
 (16 4 (:REWRITE EQUAL-MINUS-MINUS))
 (15 15 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (14 14 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (14 2 (:REWRITE DEFAULT-UNARY-/))
 (13 1 (:REWRITE <-OF-EXPT-2-AND-CONSTANT))
 (12 12 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (11 5 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (11 1 (:REWRITE COMMUTATIVITY-OF-*))
 (10 10 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (10 10 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (10 10 (:REWRITE EXPONENTS-ADD-FOR-NONNEG-EXPONENTS))
 (10 5 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (8 8 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (8 2 (:REWRITE NUMERATOR-WHEN-INTEGERP))
 (8 1 (:LINEAR FLOOR-UPPER-BOUND-STRONG-LINEAR-CHEAP))
 (7 3 (:REWRITE EQUAL-OF-1-AND-EXPT))
 (6 6 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG4-CONSTANT))
 (6 6 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG2-CONSTANT))
 (5 1 (:REWRITE UNICITY-OF-1))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-0))
 (2 2 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (2 2 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (2 2 (:LINEAR <-OF-*-AND-*))
 (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))
 )
(SLICE-LOW-CASES
 (2187 54 (:REWRITE /R-WHEN-ABS-NUMERATOR=1))
 (1911 196 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (1234 28 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (1177 11 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (1067 11 (:REWRITE <-UNARY-/-POSITIVE-RIGHT))
 (916 54 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (847 11 (:LINEAR X*Y>1-POSITIVE))
 (812 28 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (740 740 (:TYPE-PRESCRIPTION |x < y  =>  0 < y-x|))
 (522 522 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (460 76 (:REWRITE DEFAULT-*-2))
 (448 28 (:REWRITE NATP-POSP))
 (434 26 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (376 137 (:REWRITE DEFAULT-+-2))
 (294 294 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (294 294 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (294 98 (:LINEAR EXPT->-1))
 (271 76 (:REWRITE DEFAULT-*-1))
 (233 197 (:REWRITE DEFAULT-<-1))
 (201 197 (:REWRITE DEFAULT-<-2))
 (196 196 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (196 196 (:LINEAR EXPT-BOUND-LINEAR))
 (196 28 (:REWRITE POSP-RW))
 (189 27 (:REWRITE DEFAULT-UNARY-/))
 (157 137 (:REWRITE DEFAULT-+-1))
 (143 11 (:REWRITE <-OF-EXPT-2-AND-CONSTANT))
 (140 28 (:REWRITE NORMALIZE-EQUAL-0))
 (121 11 (:REWRITE COMMUTATIVITY-OF-*))
 (108 27 (:REWRITE NUMERATOR-WHEN-INTEGERP))
 (98 98 (:LINEAR EXPT-BOUND-LINEAR-2))
 (92 30 (:REWRITE <-0-+-NEGATIVE-2))
 (87 38 (:REWRITE EQUAL-OF-1-AND-EXPT))
 (58 58 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (56 56 (:TYPE-PRESCRIPTION POSP))
 (56 28 (:REWRITE FUNCTIONAL-SELF-INVERSION-OF-MINUS))
 (56 28 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (56 28 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (55 11 (:REWRITE UNICITY-OF-1))
 (54 54 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (54 54 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (54 54 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (54 54 (:REWRITE UBP-LONGER-BETTER))
 (49 49 (:REWRITE FOLD-CONSTS-IN-+))
 (48 26 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (38 38 (:DEFINITION IFIX))
 (35 35 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (34 24 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (33 33 (:REWRITE DEFAULT-UNARY-MINUS))
 (33 11 (:REWRITE <-OF-1-AND-EXPT-GEN))
 (30 30 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (30 30 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (30 30 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (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))
 (27 27 (:REWRITE FOLD-CONSTS-IN-*))
 (27 27 (:REWRITE *-OF-*-COMBINE-CONSTANTS))
 (26 26 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (25 25 (:REWRITE BOUND-WHEN-USB))
 (24 24 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (22 22 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (22 22 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (22 22 (:LINEAR <-OF-*-AND-*))
 (18 2 (:REWRITE GETBIT-OF-SLICE-TOO-HIGH))
 (16 16 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (15 15 (:LINEAR SLICE-UPPER-BOUND-LINEAR-CONSTANT-VERSION))
 (11 11 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-4))
 (11 11 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-3))
 (11 11 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-2))
 (11 11 (:LINEAR <-OF-*-AND-*-SAME-LINEAR-1))
 (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-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (10 5 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (10 5 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (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))
 (6 2 (:REWRITE <-+-NEGATIVE-0-2))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (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 UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (4 2 (:REWRITE GETBIT-OF-SLICE-GEN))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (2 2 (:REWRITE SLICE-BOUND))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE <-OF-SLICE-AND-CONSTANT))
 (2 2 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 )
(BVCHOP-TOP-BIT-CASES
 (786 34 (:REWRITE BVCHOP-IDENTITY))
 (543 26 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (395 60 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (322 14 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (161 17 (:REWRITE NATP-POSP))
 (128 118 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (125 52 (:REWRITE DEFAULT-<-1))
 (123 56 (:REWRITE DEFAULT-+-2))
 (110 12 (:REWRITE <-UNARY-/-POSITIVE-RIGHT))
 (104 17 (:REWRITE POSP-RW))
 (104 13 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (99 33 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (92 27 (:REWRITE <-0-+-NEGATIVE-1))
 (70 14 (:REWRITE NORMALIZE-EQUAL-0))
 (66 56 (:REWRITE DEFAULT-+-1))
 (63 33 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (62 34 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (60 60 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (60 60 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (60 60 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (60 60 (:REWRITE UBP-LONGER-BETTER))
 (54 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (53 53 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (52 52 (:REWRITE DEFAULT-<-2))
 (48 34 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (46 33 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (46 33 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (42 14 (:REWRITE EQUAL-MINUS-MINUS))
 (35 34 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (34 34 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (34 34 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (33 11 (:REWRITE +-COMBINE-CONSTANTS))
 (28 14 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (28 14 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (26 26 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (26 26 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (26 26 (:LINEAR EXPT-BOUND-LINEAR))
 (26 26 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (24 24 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (24 24 (:REWRITE BOUND-WHEN-USB))
 (24 24 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (24 24 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (18 18 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (15 15 (:LINEAR EXPT-BOUND-LINEAR-2))
 (14 14 (:REWRITE DEFAULT-UNARY-MINUS))
 (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))
 (13 13 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (12 12 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (12 12 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (12 12 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-RATIONALP))
 (12 3 (:REWRITE DEFAULT-*-2))
 (11 11 (:REWRITE RIGHT-CANCELLATION-FOR-+))
 (11 11 (:REWRITE EQUAL-CONSTANT-+))
 (11 11 (:REWRITE <-UNARY-/-NEGATIVE-RIGHT))
 (10 10 (:REWRITE EXPONENTS-ADD-FOR-NONNEG-EXPONENTS))
 (10 10 (:REWRITE EXPONENTS-ADD))
 (10 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (9 1 (:REWRITE GETBIT-OF-BVCHOP-TOO-HIGH))
 (8 8 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (8 4 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (8 4 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (8 4 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (6 6 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG4-CONSTANT))
 (6 6 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG2-CONSTANT))
 (6 3 (:REWRITE NATP-RW))
 (6 3 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (3 3 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE DEFAULT-*-1))
 (3 3 (:REWRITE <-OF-+-COMBINE-CONSTANTS-1))
 (3 3 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(EQUAL-OF-BVCHOP-AND-BVCHOP-ONE-WIDER
 (359 24 (:REWRITE UNSIGNED-BYTE-P-PLUS))
 (201 37 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (138 6 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (135 15 (:REWRITE NATP-POSP))
 (89 15 (:REWRITE POSP-RW))
 (73 36 (:REWRITE DEFAULT-<-1))
 (70 21 (:REWRITE <-0-+-NEGATIVE-1))
 (60 12 (:REWRITE NORMALIZE-EQUAL-0))
 (52 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (50 40 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (50 28 (:REWRITE DEFAULT-+-2))
 (47 11 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (38 28 (:REWRITE DEFAULT-+-1))
 (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))
 (36 36 (:REWRITE DEFAULT-<-2))
 (36 12 (:REWRITE EQUAL-MINUS-MINUS))
 (30 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (28 11 (:REWRITE <-UNARY-/-POSITIVE-RIGHT))
 (27 4 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (22 22 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (20 10 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (20 10 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (20 10 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (20 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (18 18 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (12 12 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (12 12 (:REWRITE DEFAULT-UNARY-MINUS))
 (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 3 (:REWRITE DEFAULT-*-2))
 (11 11 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (11 11 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (11 11 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-RATIONALP))
 (11 11 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (11 11 (:REWRITE BOUND-WHEN-USB))
 (10 10 (:REWRITE EXPONENTS-ADD-FOR-NONNEG-EXPONENTS))
 (10 10 (:REWRITE EXPONENTS-ADD))
 (10 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (10 10 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE <-UNARY-/-NEGATIVE-RIGHT))
 (9 3 (:REWRITE +-COMBINE-CONSTANTS))
 (8 8 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 4 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (8 4 (:REWRITE GETBIT-WHEN-NOT-1))
 (8 4 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (6 6 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (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 6 (:LINEAR EXPT-BOUND-LINEAR-2))
 (6 3 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (5 3 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 2 (:REWRITE NATP-RW))
 (3 3 (:REWRITE RIGHT-CANCELLATION-FOR-+))
 (3 3 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (3 3 (:REWRITE EQUAL-CONSTANT-+))
 (3 3 (:REWRITE DEFAULT-*-1))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE EQUAL-OF-BVCHOP-AND-BVCHOP-WHEN-SMALLER-BVCHOPS-EQUAL))
 (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))
 )
(+-OF-1-AND-BVCAT-1-0
 (433 1 (:REWRITE LOGTAIL-IDENTITY))
 (308 2 (:LINEAR <=-OF-LOGTAIL-SAME-LINEAR))
 (294 7 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (270 11 (:REWRITE NATP-RW))
 (235 5 (:LINEAR BVCHOP-UPPER-BOUND))
 (174 8 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (171 1 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (158 2 (:REWRITE NATP-OF-+-WHEN-NATP-AND-NATP))
 (132 2 (:LINEAR LOGTAIL-NON-NEGATIVE-LINEAR))
 (132 2 (:LINEAR LOGTAIL-LEQ))
 (125 61 (:REWRITE DEFAULT-<-2))
 (112 14 (:LINEAR X*Y>1-POSITIVE))
 (112 14 (:LINEAR <-OF-*-SAME-LINEAR-SPECIAL))
 (89 1 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (88 61 (:REWRITE DEFAULT-<-1))
 (57 8 (:REWRITE BVCHOP-IDENTITY))
 (50 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (42 2 (:REWRITE <-*-0))
 (40 5 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (38 38 (:TYPE-PRESCRIPTION NATP))
 (38 2 (:REWRITE NATP-*))
 (35 5 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (30 5 (:LINEAR EXPT->-1))
 (28 28 (:LINEAR <=-OF-*-AND-*-SAME-LINEAR))
 (28 28 (:LINEAR <=-OF-*-AND-*-SAME-ALT-LINEAR))
 (28 28 (:LINEAR <-OF-*-AND-*))
 (24 24 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 24 (:REWRITE BOUND-WHEN-USB))
 (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))
 (16 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (16 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (16 8 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (15 10 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (15 8 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (15 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (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 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-POSITIVE))
 (12 12 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-NONZERO))
 (12 12 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-INTEGERP))
 (12 2 (:DEFINITION IFF))
 (11 11 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (11 11 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (11 11 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (10 10 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (10 10 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (10 10 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-RATIONALP))
 (10 10 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR))
 (10 10 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (8 8 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (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 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (7 7 (:REWRITE UBP-LONGER-BETTER))
 (7 7 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (6 6 (:REWRITE <-OF-CONSTANT-AND-MINUS))
 (6 4 (:REWRITE DEFAULT-*-2))
 (6 4 (:REWRITE DEFAULT-*-1))
 (5 5 (:LINEAR EXPT-BOUND-LINEAR-2))
 (4 2 (:REWRITE DEFAULT-+-2))
 (4 1 (:TYPE-PRESCRIPTION |x < y  =>  0 < y-x|))
 (3 2 (:REWRITE GETBIT-WHEN-NOT-0))
 (2 2 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE DEFAULT-+-1))
 )
(+-OF-1-AND-BVCAT-1-1
 (188 17 (:REWRITE BVCHOP-IDENTITY))
 (64 1 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (29 14 (:REWRITE DEFAULT-+-2))
 (29 1 (:REWRITE <-OF-+-ARG2-WHEN-NEGATIVE-CONSTANT))
 (26 5 (:REWRITE DEFAULT-*-2))
 (25 5 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (24 24 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (24 24 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (23 23 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (23 5 (:REWRITE DEFAULT-*-1))
 (22 16 (:REWRITE DEFAULT-<-2))
 (21 3 (:REWRITE UNSIGNED-BYTE-P-OF-1))
 (20 14 (:REWRITE DEFAULT-+-1))
 (19 7 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (17 17 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (17 17 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (17 17 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (17 16 (:REWRITE DEFAULT-<-1))
 (16 16 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (16 16 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (12 12 (:TYPE-PRESCRIPTION POSP))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (10 10 (:REWRITE UBP-LONGER-BETTER))
 (10 10 (:REWRITE BOUND-WHEN-USB))
 (10 10 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR))
 (10 10 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (9 3 (:REWRITE POSP-RW))
 (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 7 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-0))
 (6 6 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (6 3 (:REWRITE NATP-POSP))
 (6 1 (:REWRITE COMMUTATIVITY-OF-+))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (5 5 (:LINEAR EXPT-BOUND-LINEAR-2))
 (4 4 (:REWRITE EQUAL-CONSTANT-+))
 (4 1 (:TYPE-PRESCRIPTION |x < y  =>  0 < y-x|))
 (4 1 (:REWRITE DEFAULT-UNARY-MINUS))
 (3 3 (:REWRITE ZP-OPEN))
 (3 3 (:REWRITE EQUAL-OF-+-COMBINE-CONSTANTS))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE EQUAL-OF-EXPT-AND-CONSTANT))
 (2 2 (:REWRITE <-OF-+-COMBINE-CONSTANTS-2))
 (2 2 (:REWRITE <-OF-+-ARG1-WHEN-NEGATIVE-CONSTANT))
 (2 1 (:REWRITE NATP-RW))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE FOLD-CONSTS-IN-+))
 (1 1 (:REWRITE EXPONENTS-ADD))
 (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
 (7 1 (:REWRITE NATP-POSP))
 (4 4 (:REWRITE EXPT-WITH-VIOLATED-GUARDS))
 (2 2 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (2 2 (:TYPE-PRESCRIPTION NATP))
 (2 2 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 1 (:REWRITE POSP-RW))
 (2 1 (:REWRITE NATP-RW))
 (1 1 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE DEFAULT-<-2))
 (1 1 (:REWRITE DEFAULT-<-1))
 (1 1 (:REWRITE BOUND-WHEN-USB))
 )
(BVCAT-OF-IF-ARG1)
(BVCAT-OF-IF-ARG2)
(BVCAT-OF-IF2-ARG3)
(BVCAT-OF-IF-ARG4)
