(BVPLUS)
(BVPLUS-ASSOCIATIVE
 (1172 12 (:REWRITE BVCHOP-IDENTITY))
 (1099 11 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (267 62 (:REWRITE DEFAULT-<-2))
 (201 201 (:TYPE-PRESCRIPTION EVENP))
 (158 23 (:REWRITE DEFAULT-+-1))
 (134 67 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (134 67 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (134 67 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (124 62 (:REWRITE DEFAULT-<-1))
 (98 98 (:TYPE-PRESCRIPTION IFIX))
 (67 67 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (67 67 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (67 67 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (66 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (60 6 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (53 23 (:REWRITE DEFAULT-+-2))
 (52 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (48 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (48 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (39 39 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (39 39 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (39 39 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (36 6 (:DEFINITION NATP))
 (28 28 (:TYPE-PRESCRIPTION NATP))
 (28 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (28 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (27 27 (:REWRITE BOUND-WHEN-USB))
 (24 24 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (24 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (24 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (24 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (22 22 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (22 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (20 10 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (18 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (17 17 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (17 10 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (15 11 (:REWRITE DEFAULT-UNARY-MINUS))
 (12 12 (:TYPE-PRESCRIPTION POSP))
 (12 12 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (12 12 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (12 12 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (12 12 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (12 12 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (12 12 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (12 12 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (11 11 (:REWRITE UBP-LONGER-BETTER))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 8 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 4 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-2))
 (3 3 (:REWRITE FOLD-CONSTS-IN-+))
 (3 2 (:REWRITE BVCHOP-SUM-DROP-BVCHOP-ALT))
 (2 2 (:REWRITE BVCHOP-BOUND))
 (2 2 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 )
(BVPLUS-COMMUTATIVE
 (654 6 (:REWRITE BVCHOP-IDENTITY))
 (613 5 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (177 50 (:REWRITE DEFAULT-<-2))
 (117 117 (:TYPE-PRESCRIPTION EVENP))
 (110 50 (:REWRITE DEFAULT-<-1))
 (100 100 (:TYPE-PRESCRIPTION IFIX))
 (78 39 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (78 39 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (78 39 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (76 12 (:REWRITE DEFAULT-+-1))
 (64 12 (:REWRITE DEFAULT-+-2))
 (56 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (48 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (48 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (40 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (39 39 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (39 39 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (39 39 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (37 37 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (37 37 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (37 37 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (36 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (28 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (28 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (24 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (24 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (24 4 (:DEFINITION NATP))
 (21 21 (:REWRITE BOUND-WHEN-USB))
 (17 17 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (14 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (14 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 10 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (9 9 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (9 5 (:REWRITE DEFAULT-UNARY-MINUS))
 (8 8 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 8 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 4 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (6 6 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (6 6 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (6 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 6 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (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 NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(BVPLUS-COMMUTATIVE-2
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 )
(BVPLUS-COMMUTE-CONSTANT)
(BVPLUS-COMBINE-CONSTANTS)
(BVPLUS-OF-0-ARG2
 (69 30 (:REWRITE DEFAULT-<-2))
 (62 30 (:REWRITE DEFAULT-<-1))
 (56 6 (:REWRITE BVCHOP-IDENTITY))
 (40 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (36 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (36 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (30 5 (:DEFINITION NATP))
 (24 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (24 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (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))
 (19 1 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (18 18 (:TYPE-PRESCRIPTION FIX))
 (18 18 (:TYPE-PRESCRIPTION EVENP))
 (18 18 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (18 18 (:REWRITE BOUND-WHEN-USB))
 (17 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (14 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (14 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (12 12 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (12 6 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (12 6 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (12 6 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (11 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (9 9 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (9 1 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG2))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (8 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (7 7 (:REWRITE UBP-LONGER-BETTER))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (6 6 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (6 6 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (6 6 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (6 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 2 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVPLUS-OF-0-ARG3
 (323 6 (:REWRITE BVCHOP-IDENTITY))
 (265 2 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (117 40 (:REWRITE DEFAULT-<-2))
 (84 40 (:REWRITE DEFAULT-<-1))
 (60 60 (:TYPE-PRESCRIPTION EVENP))
 (40 20 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (40 20 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (40 20 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (40 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (36 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (36 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (36 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (36 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (32 6 (:REWRITE DEFAULT-+-2))
 (32 6 (:REWRITE DEFAULT-+-1))
 (31 31 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (31 31 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (31 31 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (30 30 (:TYPE-PRESCRIPTION IFIX))
 (30 5 (:DEFINITION NATP))
 (21 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (21 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (20 20 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (20 20 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (20 20 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (20 20 (:REWRITE BOUND-WHEN-USB))
 (19 1 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (18 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (18 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (17 17 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (12 12 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (11 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (9 9 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (9 1 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG2))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (8 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (7 7 (:REWRITE UBP-LONGER-BETTER))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (6 6 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (6 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (6 6 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 3 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (3 3 (:LINEAR EXPT-BOUND-LINEAR-2))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (2 2 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (2 2 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (2 2 (:REWRITE BVCHOP-CHOP-LEADING-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 BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVPLUS-OF-BVCHOP-ARG2
 (3074 53 (:REWRITE BVCHOP-IDENTITY))
 (2738 22 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (851 271 (:REWRITE DEFAULT-<-2))
 (536 271 (:REWRITE DEFAULT-<-1))
 (504 504 (:TYPE-PRESCRIPTION EVENP))
 (336 168 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (336 168 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (336 168 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (320 32 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (311 42 (:REWRITE DEFAULT-+-1))
 (240 42 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (228 38 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (228 38 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (216 36 (:DEFINITION NATP))
 (191 191 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (191 191 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (191 191 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (168 168 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (168 168 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (168 168 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (155 42 (:REWRITE DEFAULT-+-2))
 (137 137 (:REWRITE BOUND-WHEN-USB))
 (133 19 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (133 19 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (121 121 (:TYPE-PRESCRIPTION NATP))
 (116 116 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (114 19 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (114 19 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (106 53 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (98 98 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (98 98 (:TYPE-PRESCRIPTION IFIX))
 (90 45 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (84 42 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (75 42 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (70 42 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (65 65 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (64 64 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (54 54 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (53 53 (:TYPE-PRESCRIPTION POSP))
 (53 53 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (53 53 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (50 50 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (50 50 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (50 50 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (50 50 (:REWRITE UBP-LONGER-BETTER))
 (38 38 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (38 38 (:LINEAR EXPT-BOUND-LINEAR))
 (38 38 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (38 38 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (38 19 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (37 22 (:REWRITE DEFAULT-UNARY-MINUS))
 (36 36 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (36 36 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (23 23 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (23 23 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (23 23 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (22 22 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (22 11 (:REWRITE BVCHOP-SUM-DROP-BVCHOP))
 (19 19 (:LINEAR EXPT-BOUND-LINEAR-2))
 (18 18 (:TYPE-PRESCRIPTION FIX))
 (9 1 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG2))
 (9 1 (:REWRITE UNSIGNED-BYTE-P-BVCHOP-SAME))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (2 1 (:REWRITE BVCHOP-SUM-DROP-BVCHOP-ALT))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE BVCHOP-BOUND))
 (1 1 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 )
(BVPLUS-OF-BVCHOP-ARG3
 (714 12 (:REWRITE BVCHOP-IDENTITY))
 (601 6 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (182 48 (:REWRITE DEFAULT-<-2))
 (126 126 (:TYPE-PRESCRIPTION EVENP))
 (100 100 (:TYPE-PRESCRIPTION IFIX))
 (96 48 (:REWRITE DEFAULT-<-1))
 (90 13 (:REWRITE DEFAULT-+-1))
 (84 42 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (84 42 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (84 42 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (67 13 (:REWRITE DEFAULT-+-2))
 (56 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (53 11 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (42 42 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (42 42 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (42 42 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (40 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (36 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (36 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (36 6 (:DEFINITION NATP))
 (31 31 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (31 31 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (31 31 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (27 27 (:TYPE-PRESCRIPTION NATP))
 (25 25 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (24 24 (:REWRITE BOUND-WHEN-USB))
 (24 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (24 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (23 23 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (23 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (22 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (22 11 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (21 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (21 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (19 1 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (18 11 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (18 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (18 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (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 12 (:TYPE-PRESCRIPTION POSP))
 (12 12 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (12 12 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (11 6 (:REWRITE DEFAULT-UNARY-MINUS))
 (10 10 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (10 10 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (9 1 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG2))
 (9 1 (:REWRITE UNSIGNED-BYTE-P-BVCHOP-SAME))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (6 6 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (6 6 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (6 6 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (6 6 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 3 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (3 3 (:LINEAR EXPT-BOUND-LINEAR-2))
 (2 2 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (2 2 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (2 1 (:REWRITE BVCHOP-SUM-DROP-BVCHOP))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(UNSIGNED-BYTE-P-OF-BVPLUS
 (128 2 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (74 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (70 1 (:REWRITE BVCHOP-IDENTITY))
 (30 30 (:TYPE-PRESCRIPTION EVENP))
 (29 6 (:REWRITE DEFAULT-<-2))
 (26 3 (:REWRITE DEFAULT-+-1))
 (20 10 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (20 10 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (20 10 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (10 10 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (10 10 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (10 10 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (10 10 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (10 10 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (6 6 (:REWRITE DEFAULT-<-1))
 (4 4 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:REWRITE BOUND-WHEN-USB))
 (4 1 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (3 3 (:REWRITE DEFAULT-+-2))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (2 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (2 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (1 1 (:TYPE-PRESCRIPTION POSP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:REWRITE BVCHOP-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-SUM-SUBST-CONST-ARG2))
 (1 1 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (1 1 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (1 1 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 )
(BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE)
(BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP)
(BVCHOP-OF-BVPLUS2
 (48 48 (:TYPE-PRESCRIPTION EVENP))
 (34 18 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (34 18 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (34 18 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (28 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (24 2 (:REWRITE DEFAULT-+-2))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (18 16 (:REWRITE DEFAULT-<-1))
 (16 16 (:REWRITE DEFAULT-<-2))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (12 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (11 11 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (11 2 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (10 10 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (10 10 (:REWRITE BOUND-WHEN-USB))
 (8 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (8 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (5 2 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (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 INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE DEFAULT-+-1))
 (2 2 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER
 (331 6 (:REWRITE BVCHOP-IDENTITY))
 (273 2 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (117 40 (:REWRITE DEFAULT-<-2))
 (88 40 (:REWRITE DEFAULT-<-1))
 (60 60 (:TYPE-PRESCRIPTION EVENP))
 (50 50 (:TYPE-PRESCRIPTION IFIX))
 (44 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (40 20 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (40 20 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (40 20 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (40 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (36 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (36 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (36 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (32 2 (:REWRITE COMMUTATIVITY-OF-+))
 (31 31 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (31 31 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (31 31 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (31 5 (:REWRITE DEFAULT-+-2))
 (31 5 (:REWRITE DEFAULT-+-1))
 (30 5 (:DEFINITION NATP))
 (21 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (21 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (20 20 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (20 20 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (20 20 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (20 20 (:REWRITE BOUND-WHEN-USB))
 (19 1 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (18 18 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (18 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (18 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (13 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 12 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (9 9 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (9 1 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG2))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (7 7 (:REWRITE UBP-LONGER-BETTER))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (6 6 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (6 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (6 6 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 3 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (3 3 (:LINEAR EXPT-BOUND-LINEAR-2))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (2 2 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (2 2 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (2 2 (:REWRITE BVCHOP-CHOP-LEADING-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 BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER
 (331 6 (:REWRITE BVCHOP-IDENTITY))
 (273 2 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (117 40 (:REWRITE DEFAULT-<-2))
 (88 40 (:REWRITE DEFAULT-<-1))
 (60 60 (:TYPE-PRESCRIPTION EVENP))
 (50 50 (:TYPE-PRESCRIPTION IFIX))
 (44 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (40 20 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (40 20 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (40 20 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (40 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (36 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (36 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (36 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (32 6 (:REWRITE DEFAULT-+-2))
 (32 6 (:REWRITE DEFAULT-+-1))
 (31 31 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (31 31 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (31 31 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (30 5 (:DEFINITION NATP))
 (21 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (21 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (20 20 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (20 20 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (20 20 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (20 20 (:REWRITE BOUND-WHEN-USB))
 (19 1 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (18 18 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (18 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (18 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (13 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 12 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (9 9 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (9 1 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG2))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (7 7 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (7 7 (:REWRITE UBP-LONGER-BETTER))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (6 6 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (6 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR))
 (6 6 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 3 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (3 3 (:LINEAR EXPT-BOUND-LINEAR-2))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (2 2 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (2 2 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (2 2 (:REWRITE BVCHOP-CHOP-LEADING-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 BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(BVPLUS-SUBST-VALUE
 (3074 53 (:REWRITE BVCHOP-IDENTITY))
 (2738 22 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (851 271 (:REWRITE DEFAULT-<-2))
 (536 271 (:REWRITE DEFAULT-<-1))
 (504 504 (:TYPE-PRESCRIPTION EVENP))
 (336 168 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (336 168 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (336 168 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (320 32 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (312 43 (:REWRITE DEFAULT-+-1))
 (240 42 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (228 38 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (228 38 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (216 36 (:DEFINITION NATP))
 (191 191 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (191 191 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (191 191 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (168 168 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (168 168 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (168 168 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (156 43 (:REWRITE DEFAULT-+-2))
 (137 137 (:REWRITE BOUND-WHEN-USB))
 (133 19 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (133 19 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (121 121 (:TYPE-PRESCRIPTION NATP))
 (116 116 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (114 19 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (114 19 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (106 53 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (98 98 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (98 98 (:TYPE-PRESCRIPTION IFIX))
 (90 45 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (84 42 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (75 42 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (70 42 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (65 65 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (64 64 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (54 54 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (53 53 (:TYPE-PRESCRIPTION POSP))
 (53 53 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (53 53 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (50 50 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (50 50 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (50 50 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (50 50 (:REWRITE UBP-LONGER-BETTER))
 (38 38 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (38 38 (:LINEAR EXPT-BOUND-LINEAR))
 (38 38 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (38 38 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (38 19 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (37 22 (:REWRITE DEFAULT-UNARY-MINUS))
 (36 36 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (36 36 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (23 23 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (23 23 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (23 23 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (22 22 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (22 11 (:REWRITE BVCHOP-SUM-DROP-BVCHOP))
 (19 19 (:LINEAR EXPT-BOUND-LINEAR-2))
 (18 18 (:TYPE-PRESCRIPTION FIX))
 (9 1 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG2))
 (9 1 (:REWRITE UNSIGNED-BYTE-P-BVCHOP-SAME))
 (7 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (2 1 (:REWRITE BVCHOP-SUM-DROP-BVCHOP-ALT))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE BVCHOP-BOUND))
 (1 1 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 )
(BVPLUS-SUBST-VALUE-ALT
 (21 7 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (19 7 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (14 2 (:REWRITE BVCHOP-IDENTITY))
 (12 12 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 7 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (12 6 (:REWRITE DEFAULT-<-2))
 (10 7 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (8 2 (:DEFINITION NATP))
 (6 6 (:TYPE-PRESCRIPTION NATP))
 (6 6 (:REWRITE DEFAULT-<-1))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:REWRITE BOUND-WHEN-USB))
 (4 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (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 ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(BVPLUS-OF-1-SUBST)
(BVPLUS-OF-1-SUBST-ALT
 (42 2 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (38 2 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (30 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (14 2 (:REWRITE GETBIT-IDENTITY))
 (13 7 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (12 7 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (9 9 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 2 (:REWRITE DEFAULT-<-1))
 (7 7 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (7 7 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (7 7 (:REWRITE BVPLUS-SUBST-VALUE-ALT))
 (7 7 (:REWRITE BVPLUS-SUBST-VALUE))
 (7 7 (:REWRITE BVPLUS-OF-1-SUBST))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (4 4 (:REWRITE UBP-LONGER-BETTER))
 (4 2 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-1))
 (4 2 (:REWRITE GETBIT-WHEN-NOT-0))
 (4 2 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (2 2 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (2 2 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (2 2 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (2 2 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (2 2 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (2 2 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (2 2 (:TYPE-PRESCRIPTION BITP))
 (2 2 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (2 2 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (2 2 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (2 2 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (2 2 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (2 2 (:REWRITE GETBIT-IDENTITY-FREE))
 (2 2 (:REWRITE DEFAULT-<-2))
 (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))
 )
(BVCHOP-OF-BVPLUS
 (17014 74 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (3708 3708 (:TYPE-PRESCRIPTION EVENP))
 (2489 1253 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (2489 1253 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (2489 1253 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (2346 13 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (1274 483 (:REWRITE DEFAULT-<-2))
 (1253 1253 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (1253 1253 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (990 166 (:REWRITE DEFAULT-+-2))
 (960 97 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (953 953 (:TYPE-PRESCRIPTION IFIX))
 (952 166 (:REWRITE DEFAULT-+-1))
 (931 63 (:REWRITE COMMUTATIVITY-OF-+))
 (795 10 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (644 644 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (560 483 (:REWRITE DEFAULT-<-1))
 (470 162 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (398 162 (:LINEAR EXPT-BOUND-LINEAR))
 (354 162 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (337 85 (:LINEAR EXPT-BOUND-LINEAR-2))
 (312 81 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (312 81 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (248 4 (:LINEAR EXPT-OF-ONE-LESS-LINEAR))
 (245 245 (:REWRITE BOUND-WHEN-USB))
 (245 62 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (165 73 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (162 162 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (152 62 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (128 74 (:REWRITE DEFAULT-UNARY-MINUS))
 (128 4 (:LINEAR EXPT-HALF-LINEAR))
 (97 97 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (97 97 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (97 97 (:REWRITE UBP-LONGER-BETTER))
 (85 85 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (83 83 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (81 81 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (81 81 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (74 74 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (73 73 (:TYPE-PRESCRIPTION POSP))
 (73 73 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (62 62 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (62 62 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (62 62 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (62 62 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (62 62 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (48 4 (:REWRITE DEFAULT-*-2))
 (44 11 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (29 29 (:TYPE-PRESCRIPTION FIX))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 4 (:REWRITE +-OF-EXPT2-OF-ONE-LESS-AND-EXPT2-OF-ONE-LESS))
 (7 7 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE DEFAULT-*-1))
 (2 2 (:REWRITE BVCHOP-BOUND))
 (2 2 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (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))
 )
(BVCHOP-OF-BVPLUS-SAME)
(BVPLUS-CANCEL
 (430 130 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (392 6 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (324 324 (:TYPE-PRESCRIPTION EVENP))
 (246 138 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (246 138 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (246 138 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (203 107 (:REWRITE DEFAULT-<-1))
 (177 107 (:REWRITE DEFAULT-<-2))
 (156 24 (:REWRITE DEFAULT-+-2))
 (138 138 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (138 138 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (130 130 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (130 130 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (130 130 (:REWRITE UBP-LONGER-BETTER))
 (126 18 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (123 123 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (94 24 (:REWRITE DEFAULT-+-1))
 (57 18 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (55 55 (:REWRITE BOUND-WHEN-USB))
 (54 54 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (48 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (47 7 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (37 37 (:TYPE-PRESCRIPTION POSP))
 (34 34 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (32 32 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (32 32 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (32 32 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (32 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (32 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (30 30 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (26 26 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (22 18 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (22 2 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (20 20 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (18 18 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (18 18 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (18 18 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (16 16 (:LINEAR EXPT-BOUND-LINEAR))
 (16 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (16 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 8 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (8 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (8 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-2))
 (7 7 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (6 6 (:REWRITE DEFAULT-UNARY-MINUS))
 (6 6 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (6 6 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (6 6 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (3 3 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 )
(BVPLUS-CANCEL-ARG3-ARG3
 (21 14 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (21 14 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (20 14 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (19 14 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (14 14 (:REWRITE BVPLUS-SUBST-VALUE-ALT))
 (14 14 (:REWRITE BVPLUS-SUBST-VALUE))
 (9 9 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (5 2 (:REWRITE DEFAULT-<-2))
 (4 4 (:REWRITE BVPLUS-COMBINE-CONSTANTS))
 (4 1 (:DEFINITION NATP))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE DEFAULT-<-1))
 (1 1 (:TYPE-PRESCRIPTION NATP))
 (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 BOUND-WHEN-USB))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(EQUAL-OF-BVPLUS-AND-BVPLUS-CANCEL-ARG2-ARG1
 (16 4 (:REWRITE BVCHOP-IDENTITY))
 (10 3 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (9 9 (:TYPE-PRESCRIPTION NATP))
 (9 9 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 3 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (8 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (8 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (8 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (7 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (6 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (6 3 (:REWRITE DEFAULT-<-2))
 (6 3 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (5 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (5 3 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 1 (:DEFINITION NATP))
 (3 3 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE BVPLUS-SUBST-VALUE-ALT))
 (3 3 (:REWRITE BVPLUS-SUBST-VALUE))
 (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 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 BOUND-WHEN-USB))
 (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))
 )
(EQUAL-OF-BVPLUS-AND-BVPLUS-CANCEL-ARG1-ARG2
 (32 8 (:REWRITE BVCHOP-IDENTITY))
 (20 6 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (18 18 (:TYPE-PRESCRIPTION NATP))
 (18 18 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (18 6 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (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))
 (14 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (12 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (12 6 (:REWRITE DEFAULT-<-2))
 (12 6 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (10 8 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 6 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (8 8 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (8 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (8 2 (:DEFINITION NATP))
 (6 6 (:REWRITE DEFAULT-<-1))
 (6 6 (:REWRITE BVPLUS-SUBST-VALUE-ALT))
 (6 6 (:REWRITE BVPLUS-SUBST-VALUE))
 (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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (4 4 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (4 4 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (4 4 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (4 4 (:REWRITE BOUND-WHEN-USB))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(EQUAL-OF-BVPLUS-AND-BVPLUS-CANCEL-ARG2-ARG2
 (16 4 (:REWRITE BVCHOP-IDENTITY))
 (11 4 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 4 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (9 9 (:TYPE-PRESCRIPTION NATP))
 (8 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (8 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (8 4 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (7 4 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (7 4 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (7 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (6 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (6 3 (:REWRITE DEFAULT-<-2))
 (5 4 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE BVPLUS-SUBST-VALUE-ALT))
 (4 4 (:REWRITE BVPLUS-SUBST-VALUE))
 (4 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (4 4 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 1 (:DEFINITION NATP))
 (3 3 (:REWRITE DEFAULT-<-1))
 (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 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 BOUND-WHEN-USB))
 (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))
 )
(EQUAL-OF-BVPLUS-AND-BVPLUS-CANCEL-ARG2-ALL-HELPER
 (1047 1047 (:TYPE-PRESCRIPTION EVENP))
 (698 349 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (698 349 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (698 349 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (349 349 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (349 349 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (349 11 (:REWRITE BVCHOP-IDENTITY))
 (218 18 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (210 3 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (76 1 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (65 14 (:REWRITE DEFAULT-+-2))
 (47 14 (:REWRITE DEFAULT-+-1))
 (44 10 (:REWRITE DEFAULT-<-1))
 (43 10 (:REWRITE DEFAULT-<-2))
 (41 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (20 20 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (18 18 (:REWRITE UBP-LONGER-BETTER))
 (13 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (11 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (11 11 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (11 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (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 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (9 9 (:REWRITE BOUND-WHEN-USB))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (6 6 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (6 6 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (5 5 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG2))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (3 3 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (3 3 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (3 3 (:LINEAR EXPT-BOUND-LINEAR-2))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE FOLD-CONSTS-IN-+))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (1 1 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (1 1 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (1 1 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 )
(EQUAL-OF-BVPLUS-CANCEL-ARG2
 (177 177 (:TYPE-PRESCRIPTION EVENP))
 (154 22 (:REWRITE BVCHOP-IDENTITY))
 (151 7 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (149 33 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (118 59 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (118 59 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (118 59 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (72 6 (:REWRITE DEFAULT-+-2))
 (59 59 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (59 59 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (40 40 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (39 22 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (33 33 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (33 33 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (33 33 (:REWRITE UBP-LONGER-BETTER))
 (32 32 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (25 10 (:REWRITE DEFAULT-<-1))
 (22 22 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (22 22 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (22 22 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (22 22 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (22 22 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (22 22 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (22 22 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (22 22 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (20 10 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (18 10 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (14 14 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (11 11 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (10 10 (:REWRITE DEFAULT-<-2))
 (10 10 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (10 10 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 10 (:REWRITE BVPLUS-SUBST-VALUE))
 (10 10 (:REWRITE BOUND-WHEN-USB))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (10 10 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (10 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (10 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (7 7 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (6 6 (:REWRITE DEFAULT-+-1))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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))
 (5 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (5 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (5 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (5 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (5 5 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(EQUAL-OF-BVPLUS-CANCEL-ARG2-ALT
 (55 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (52 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (14 2 (:REWRITE BVCHOP-IDENTITY))
 (13 7 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (13 7 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (13 1 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (12 12 (:TYPE-PRESCRIPTION EVENP))
 (9 7 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 4 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (8 4 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (8 4 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (7 7 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (7 7 (:REWRITE BVPLUS-SUBST-VALUE))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (5 3 (:REWRITE DEFAULT-<-2))
 (4 4 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (4 4 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (4 4 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (4 4 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (4 4 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (4 4 (:REWRITE BOUND-WHEN-USB))
 (4 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE DEFAULT-<-1))
 (2 2 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (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))
 (1 1 (:TYPE-PRESCRIPTION NATP))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(EQUAL-OF-BVPLUS-CANCEL-ARG1
 (55 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (50 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (13 1 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (12 12 (:TYPE-PRESCRIPTION EVENP))
 (8 4 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (8 4 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (8 4 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (7 1 (:REWRITE BVCHOP-IDENTITY))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (4 4 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (4 4 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (4 4 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (4 4 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (4 2 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (4 2 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (2 2 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (2 2 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVPLUS-SUBST-VALUE-ALT))
 (2 2 (:REWRITE BVPLUS-SUBST-VALUE))
 (2 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (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))
 )
(EQUAL-OF-BVPLUS-AND-BVPLUS-CANCEL-ARG1-ARG1)
(EQUAL-OF-BVPLUS-AND-BVPLUS-CANCEL-ARG2-AND-ARG3
 (43 26 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (37 26 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (35 26 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (27 27 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (26 26 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (26 26 (:REWRITE BVPLUS-SUBST-VALUE-ALT))
 (26 26 (:REWRITE BVPLUS-SUBST-VALUE))
 (21 3 (:REWRITE BVCHOP-IDENTITY))
 (12 3 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (8 8 (:REWRITE DEFAULT-<-2))
 (8 8 (:REWRITE DEFAULT-<-1))
 (8 8 (:REWRITE BOUND-WHEN-USB))
 (6 6 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (6 6 (:REWRITE BVPLUS-COMBINE-CONSTANTS))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (6 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (3 3 (:TYPE-PRESCRIPTION POSP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (3 3 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (3 3 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (3 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (3 3 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(EQUAL-OF-BVPLUS-AND-BVPLUS-CANCEL-ARG3-AND-ARG3)
(EQUAL-OF-BVPLUS-AND-BVPLUS-CANCEL-GEN
 (37 13 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (34 13 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (21 13 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (20 20 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (19 13 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (18 18 (:REWRITE DEFAULT-<-2))
 (18 18 (:REWRITE DEFAULT-<-1))
 (16 4 (:REWRITE BVCHOP-IDENTITY))
 (14 14 (:REWRITE BOUND-WHEN-USB))
 (13 13 (:REWRITE BVPLUS-SUBST-VALUE-ALT))
 (13 13 (:REWRITE BVPLUS-SUBST-VALUE))
 (8 4 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (7 4 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (6 4 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (5 5 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (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))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (3 3 (:REWRITE UBP-LONGER-BETTER))
 (2 2 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (2 2 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (2 2 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (2 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 )
(EQUAL-OF-BVPLUS-AND-BVPLUS-CANCEL-GEN-ALT
 (42 16 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (42 16 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (42 6 (:REWRITE BVCHOP-IDENTITY))
 (28 16 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (26 24 (:REWRITE DEFAULT-<-2))
 (24 24 (:REWRITE DEFAULT-<-1))
 (24 16 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (21 21 (:REWRITE BOUND-WHEN-USB))
 (16 16 (:REWRITE BVPLUS-SUBST-VALUE-ALT))
 (16 16 (:REWRITE BVPLUS-SUBST-VALUE))
 (15 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (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 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (8 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (7 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (6 6 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (6 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (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))
 (1 1 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (1 1 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 )
(EQUAL-OF-BVPLUS-CANCEL-2-OF-MORE-AND-1-OF-MORE
 (13 8 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (11 8 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (11 8 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (8 8 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:REWRITE BVPLUS-SUBST-VALUE-ALT))
 (8 8 (:REWRITE BVPLUS-SUBST-VALUE))
 (8 2 (:REWRITE BVCHOP-IDENTITY))
 (5 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (3 3 (:REWRITE DEFAULT-<-2))
 (3 3 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE BOUND-WHEN-USB))
 (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 NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVPLUS-COMBINE-CONSTANTS))
 (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-IMPOSSIBLE-VALUE))
 (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))
 )
(EQUAL-OF-BVPLUS-CANCEL-3-OF-MORE-AND-1-OF-MORE
 (25 14 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (19 14 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (17 14 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (14 14 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (14 14 (:REWRITE BVPLUS-SUBST-VALUE-ALT))
 (14 14 (:REWRITE BVPLUS-SUBST-VALUE))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 2 (:REWRITE BVCHOP-IDENTITY))
 (7 7 (:REWRITE BVPLUS-COMBINE-CONSTANTS))
 (5 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (3 3 (:REWRITE DEFAULT-<-2))
 (3 3 (:REWRITE DEFAULT-<-1))
 (3 3 (:REWRITE BOUND-WHEN-USB))
 (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 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-IMPOSSIBLE-VALUE))
 (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))
 )
(BVPLUS-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-ARG2
 (4896 44 (:REWRITE BVCHOP-IDENTITY))
 (4452 42 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (1047 1047 (:TYPE-PRESCRIPTION EVENP))
 (748 748 (:TYPE-PRESCRIPTION IFIX))
 (706 357 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (706 357 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (706 357 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (641 166 (:REWRITE DEFAULT-<-2))
 (524 71 (:REWRITE DEFAULT-+-1))
 (410 71 (:REWRITE DEFAULT-+-2))
 (357 357 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (357 357 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (278 18 (:REWRITE COMMUTATIVITY-OF-+))
 (230 166 (:REWRITE DEFAULT-<-1))
 (153 39 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (126 126 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (112 39 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (112 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (111 43 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (111 39 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (83 42 (:REWRITE DEFAULT-UNARY-MINUS))
 (82 82 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (72 72 (:REWRITE BOUND-WHEN-USB))
 (72 24 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (56 39 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (56 39 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (48 24 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (48 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (48 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (44 44 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (44 44 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (43 43 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (43 43 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (43 43 (:REWRITE UBP-LONGER-BETTER))
 (43 43 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (43 43 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (43 43 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (42 42 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (39 39 (:TYPE-PRESCRIPTION POSP))
 (39 39 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (36 4 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (24 24 (:LINEAR EXPT-BOUND-LINEAR))
 (24 24 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (24 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (24 12 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR-2))
 (9 9 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (7 7 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 )
(BVPLUS-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-ARG3
 (756 86 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (631 6 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (300 300 (:TYPE-PRESCRIPTION EVENP))
 (224 56 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (206 106 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (206 106 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (206 106 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (176 138 (:REWRITE DEFAULT-<-1))
 (138 138 (:REWRITE DEFAULT-<-2))
 (124 10 (:REWRITE DEFAULT-+-2))
 (106 106 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (106 106 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (104 56 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (100 100 (:REWRITE BOUND-WHEN-USB))
 (92 66 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (86 86 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (86 86 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (86 86 (:REWRITE UBP-LONGER-BETTER))
 (84 12 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (82 56 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (76 66 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (74 74 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (72 72 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (68 68 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (66 66 (:TYPE-PRESCRIPTION POSP))
 (56 56 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (48 48 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (48 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (40 10 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (32 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (32 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (32 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (16 16 (:LINEAR EXPT-BOUND-LINEAR))
 (16 16 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (16 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (16 8 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (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))
 (10 10 (:REWRITE DEFAULT-+-1))
 (8 8 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR-2))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (6 6 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE BVCHOP-BOUND))
 (2 2 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 )
(EQUAL-OF-+-AND-BV
 (658 9 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (603 603 (:TYPE-PRESCRIPTION EVENP))
 (407 206 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (407 206 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (407 206 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (206 206 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (206 206 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (130 42 (:REWRITE DEFAULT-<-2))
 (111 23 (:REWRITE DEFAULT-+-2))
 (100 23 (:REWRITE DEFAULT-+-1))
 (70 5 (:REWRITE COMMUTATIVITY-OF-+))
 (44 42 (:REWRITE DEFAULT-<-1))
 (41 12 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (32 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (24 24 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (24 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (23 23 (:TYPE-PRESCRIPTION FIX))
 (22 22 (:REWRITE BOUND-WHEN-USB))
 (20 3 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (16 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (16 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (12 12 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (12 12 (:REWRITE UBP-LONGER-BETTER))
 (12 12 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (11 11 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (9 9 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (9 9 (:REWRITE DEFAULT-UNARY-MINUS))
 (8 8 (:TYPE-PRESCRIPTION POSP))
 (8 8 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (8 8 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (8 8 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 8 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (8 8 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (8 8 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (8 8 (:LINEAR EXPT-BOUND-LINEAR))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (8 8 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (8 3 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (4 4 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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))
 )
(BVPLUS-BECOMES-+
 (1716 1716 (:TYPE-PRESCRIPTION EVENP))
 (1144 572 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (1144 572 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (1144 572 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (572 572 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (339 27 (:REWRITE DEFAULT-*-2))
 (331 125 (:REWRITE DEFAULT-<-2))
 (185 125 (:REWRITE DEFAULT-<-1))
 (84 26 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (84 26 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (80 80 (:REWRITE BOUND-WHEN-USB))
 (50 5 (:REWRITE BVCHOP-IDENTITY))
 (49 13 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (43 43 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (43 43 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (43 43 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (42 13 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (36 36 (:REWRITE DEFAULT-+-2))
 (36 36 (:REWRITE DEFAULT-+-1))
 (34 34 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (31 31 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (27 27 (:REWRITE DEFAULT-*-1))
 (22 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (20 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (18 18 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (14 14 (:REWRITE BVPLUS-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-ARG3))
 (14 14 (:REWRITE BVPLUS-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-ARG2))
 (14 14 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (14 14 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (14 14 (:REWRITE BVPLUS-SUBST-VALUE-ALT))
 (14 14 (:REWRITE BVPLUS-SUBST-VALUE))
 (14 2 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (13 13 (:LINEAR EXPT-BOUND-LINEAR-2))
 (10 10 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (10 9 (:REWRITE ZIP-OPEN))
 (9 9 (:TYPE-PRESCRIPTION NATP))
 (9 9 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (9 9 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (6 6 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (5 5 (:REWRITE UBP-LONGER-BETTER))
 (5 5 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (5 5 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (3 1 (:REWRITE FOLD-CONSTS-IN-+))
 )
(BVPLUS-OPENER
 (754 8 (:REWRITE BVCHOP-IDENTITY))
 (727 9 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (318 318 (:TYPE-PRESCRIPTION EVENP))
 (216 110 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (216 110 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (216 110 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (170 170 (:TYPE-PRESCRIPTION IFIX))
 (128 21 (:REWRITE DEFAULT-+-2))
 (110 110 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (110 110 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (108 23 (:REWRITE DEFAULT-<-2))
 (104 21 (:REWRITE DEFAULT-+-1))
 (104 7 (:REWRITE COMMUTATIVITY-OF-+))
 (43 9 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (39 23 (:REWRITE DEFAULT-<-1))
 (28 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (24 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (18 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (18 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (18 2 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (17 9 (:REWRITE DEFAULT-UNARY-MINUS))
 (14 14 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (11 11 (:REWRITE BOUND-WHEN-USB))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (9 9 (:REWRITE UBP-LONGER-BETTER))
 (8 8 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (8 8 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (8 8 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (8 8 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (6 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (6 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (6 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (4 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (4 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (2 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (2 2 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (1 1 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(<-OF-BVPLUS-OF-1-OVERFLOW
 (1164 1164 (:TYPE-PRESCRIPTION EVENP))
 (776 388 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (776 388 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (776 388 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (388 388 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (388 388 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (178 20 (:REWRITE DEFAULT-<-2))
 (105 25 (:REWRITE DEFAULT-+-2))
 (61 61 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (61 61 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (58 25 (:REWRITE DEFAULT-+-1))
 (54 33 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (40 40 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (33 33 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (33 33 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (33 33 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (33 33 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (33 33 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (24 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (21 20 (:REWRITE DEFAULT-<-1))
 (20 20 (:REWRITE BOUND-WHEN-USB))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR))
 (20 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (20 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (20 20 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (15 15 (:TYPE-PRESCRIPTION POSP))
 (10 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (10 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (10 10 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR-2))
 (8 4 (:REWRITE FOLD-CONSTS-IN-+))
 (6 6 (:REWRITE ZP-OPEN))
 (5 5 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 3 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (3 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 2 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (2 2 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (2 2 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (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 (:DEFINITION FIX))
 )
(BVPLUS-NOT-NEGATIVE)
(BVPLUS-OF-PLUS
 (413 10 (:REWRITE BVCHOP-IDENTITY))
 (228 228 (:TYPE-PRESCRIPTION IFIX))
 (196 9 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (153 9 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (56 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (54 22 (:REWRITE DEFAULT-<-1))
 (30 22 (:REWRITE DEFAULT-<-2))
 (26 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (26 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (21 13 (:REWRITE DEFAULT-+-2))
 (18 18 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (18 18 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (17 9 (:REWRITE DEFAULT-UNARY-MINUS))
 (13 13 (:REWRITE DEFAULT-+-1))
 (10 10 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (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-SUM-SUBST-CONST-ARG2))
 (10 10 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (10 10 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (10 10 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (9 9 (:REWRITE UBP-LONGER-BETTER))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE BOUND-WHEN-USB))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE FOLD-CONSTS-IN-+))
 )
(BVPLUS-OF-PLUS2
 (413 10 (:REWRITE BVCHOP-IDENTITY))
 (228 228 (:TYPE-PRESCRIPTION IFIX))
 (196 9 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (153 9 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (56 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (54 22 (:REWRITE DEFAULT-<-1))
 (30 22 (:REWRITE DEFAULT-<-2))
 (26 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (26 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (23 15 (:REWRITE DEFAULT-+-2))
 (18 18 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (18 18 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (18 18 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (17 9 (:REWRITE DEFAULT-UNARY-MINUS))
 (15 15 (:REWRITE DEFAULT-+-1))
 (10 10 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (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-SUM-SUBST-CONST-ARG2))
 (10 10 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (10 10 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (10 10 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (10 10 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (9 9 (:REWRITE UBP-LONGER-BETTER))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 4 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE BOUND-WHEN-USB))
 (3 3 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE FOLD-CONSTS-IN-+))
 )
(BVPLUS-OF-PLUS-ARG3
 (499 6 (:REWRITE BVCHOP-IDENTITY))
 (458 5 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (137 34 (:REWRITE DEFAULT-<-2))
 (108 108 (:TYPE-PRESCRIPTION EVENP))
 (100 100 (:TYPE-PRESCRIPTION IFIX))
 (84 20 (:REWRITE DEFAULT-+-2))
 (84 20 (:REWRITE DEFAULT-+-1))
 (72 36 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (72 36 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (72 36 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (70 34 (:REWRITE DEFAULT-<-1))
 (56 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (40 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (36 36 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (36 36 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (36 36 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (36 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (24 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (24 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (24 4 (:DEFINITION NATP))
 (21 21 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (21 21 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (21 21 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (17 17 (:REWRITE BOUND-WHEN-USB))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (15 15 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (14 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (14 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (14 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (11 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 10 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (9 9 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (9 5 (:REWRITE DEFAULT-UNARY-MINUS))
 (8 8 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (6 6 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (6 6 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (6 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 6 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (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 NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE FOLD-CONSTS-IN-+))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 2 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(BVPLUS-OF-PLUS-ARG2
 (326 2 (:REWRITE BVCHOP-IDENTITY))
 (310 2 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (78 24 (:REWRITE DEFAULT-<-2))
 (48 24 (:REWRITE DEFAULT-<-1))
 (42 42 (:TYPE-PRESCRIPTION EVENP))
 (30 6 (:REWRITE DEFAULT-+-2))
 (30 6 (:REWRITE DEFAULT-+-1))
 (30 2 (:REWRITE COMMUTATIVITY-OF-+))
 (28 14 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (28 14 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (28 14 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (24 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (24 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (23 9 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (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 9 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (14 14 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (14 14 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (14 14 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (14 14 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (14 14 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT-TYPE))
 (14 14 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT-TYPE))
 (14 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (14 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (12 9 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (12 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (11 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 9 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (9 9 (:REWRITE BVPLUS-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-ARG3))
 (9 9 (:REWRITE BVPLUS-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-ARG2))
 (9 9 (:REWRITE BVPLUS-SUBST-VALUE-ALT))
 (9 9 (:REWRITE BVPLUS-SUBST-VALUE))
 (8 8 (:REWRITE BOUND-WHEN-USB))
 (8 2 (:DEFINITION NATP))
 (6 6 (:TYPE-PRESCRIPTION NATP))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (4 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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 2 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (2 2 (:TYPE-PRESCRIPTION POSP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (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 NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (2 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (2 2 (:REWRITE BVPLUS-COMBINE-CONSTANTS))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (2 2 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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))
 )
(BVPLUS-TRIM-LEADING-CONSTANT)
(BVPLUS-RECOLLAPSE
 (718 6 (:REWRITE BVCHOP-IDENTITY))
 (677 5 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (195 58 (:REWRITE DEFAULT-<-2))
 (124 58 (:REWRITE DEFAULT-<-1))
 (123 123 (:TYPE-PRESCRIPTION EVENP))
 (82 41 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (82 41 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (82 41 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (77 5 (:REWRITE COMMUTATIVITY-OF-+))
 (74 12 (:REWRITE DEFAULT-+-2))
 (74 12 (:REWRITE DEFAULT-+-1))
 (60 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (60 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (50 50 (:TYPE-PRESCRIPTION IFIX))
 (45 45 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (45 45 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (45 45 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (41 41 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (41 41 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (41 41 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (40 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (38 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (36 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (35 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (35 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (30 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (30 5 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (24 4 (:DEFINITION NATP))
 (23 23 (:REWRITE BOUND-WHEN-USB))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (16 16 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 6 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (12 6 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 6 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (10 10 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR))
 (10 10 (:LINEAR <=-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (10 10 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (10 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (10 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (10 5 (:LINEAR <-OF-EXPT2-SAME-LINEAR))
 (9 9 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (8 8 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (7 5 (:REWRITE DEFAULT-UNARY-MINUS))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (6 6 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (6 6 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (6 6 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (6 6 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (5 5 (:REWRITE UBP-LONGER-BETTER))
 (5 5 (:LINEAR EXPT-BOUND-LINEAR-2))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 )
(BVPLUS-MINUS-CANCEL
 (768 18 (:REWRITE BVCHOP-IDENTITY))
 (574 8 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (174 174 (:TYPE-PRESCRIPTION EVENP))
 (170 170 (:TYPE-PRESCRIPTION IFIX))
 (142 24 (:REWRITE DEFAULT-+-2))
 (122 64 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (122 64 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (122 64 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (112 38 (:REWRITE DEFAULT-<-2))
 (96 24 (:REWRITE DEFAULT-+-1))
 (67 17 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (64 64 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (64 64 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (54 38 (:REWRITE DEFAULT-<-1))
 (53 14 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (38 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (30 30 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (26 14 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (26 14 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (22 22 (:REWRITE BOUND-WHEN-USB))
 (20 20 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (20 4 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (18 18 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (18 18 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (17 17 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (17 17 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (17 17 (:REWRITE UBP-LONGER-BETTER))
 (17 9 (:REWRITE DEFAULT-UNARY-MINUS))
 (14 14 (:TYPE-PRESCRIPTION POSP))
 (14 14 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (14 14 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (14 14 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (12 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (8 8 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (8 8 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (8 8 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (8 8 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (8 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (8 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (1 1 (:REWRITE FOLD-CONSTS-IN-+))
 )
(BVPLUS-OF-EXPT-SAME-ARG2
 (857 19 (:REWRITE BVCHOP-IDENTITY))
 (637 9 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (198 198 (:TYPE-PRESCRIPTION EVENP))
 (170 170 (:TYPE-PRESCRIPTION IFIX))
 (161 21 (:REWRITE DEFAULT-+-2))
 (138 72 (:TYPE-PRESCRIPTION EXPT-TYPE-ODD-EXPONENT-NEGATIVE-BASE))
 (138 72 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-2))
 (138 72 (:TYPE-PRESCRIPTION EXPT-TYPE-EVEN-EXPONENT-1))
 (115 21 (:REWRITE DEFAULT-+-1))
 (113 39 (:REWRITE DEFAULT-<-2))
 (76 20 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (72 72 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NON-POSITIVE-EXPONENT))
 (72 72 (:TYPE-PRESCRIPTION EXPT-TYPE-SMALL-BASE-NEGATIVE-EXPONENT))
 (67 39 (:REWRITE DEFAULT-<-1))
 (53 14 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (44 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (34 34 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (33 14 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (28 9 (:REWRITE DEFAULT-UNARY-MINUS))
 (26 14 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (22 22 (:REWRITE EXPT-WHEN-NOT-ACL2-NUMBERP-CHEAP))
 (22 22 (:REWRITE BOUND-WHEN-USB))
 (20 20 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (20 20 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (20 20 (:REWRITE UBP-LONGER-BETTER))
 (20 4 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (19 19 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (19 19 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (14 14 (:TYPE-PRESCRIPTION POSP))
 (14 14 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (14 14 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (14 14 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (12 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR))
 (11 1 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (9 9 (:REWRITE UNSIGNED-BYTE-P-OF-+-OF-CONSTANT-STRONG))
 (9 9 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE BVCHOP-SUM-SUBST-CONST-ARG2))
 (8 8 (:REWRITE BVCHOP-SUM-SUBST-CONST))
 (8 8 (:REWRITE BVCHOP-CHOP-LEADING-CONSTANT))
 (8 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-4))
 (8 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-2))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (4 4 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (4 4 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-EXPONENTS-LINEAR-NEGATIVE-EXPONENT))
 (4 4 (:LINEAR <-OF-EXPT-AND-EXPT-SAME-BASE-LINEAR))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-3))
 (2 2 (:LINEAR EXPT-WHEN-NEGATIVE-EXPONENT-LINEAR-1))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG2))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE INVERSE-OF-+))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
