(BVPLUS)
(BVPLUS-ASSOCIATIVE
 (620 12 (:REWRITE BVCHOP-IDENTITY))
 (547 11 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (110 30 (:REWRITE DEFAULT-<-2))
 (98 98 (:TYPE-PRESCRIPTION IFIX))
 (81 23 (:REWRITE DEFAULT-+-1))
 (67 67 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (67 67 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (66 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (60 6 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (52 10 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (44 30 (:REWRITE DEFAULT-<-1))
 (39 23 (:REWRITE DEFAULT-+-2))
 (36 6 (:DEFINITION NATP))
 (28 28 (:TYPE-PRESCRIPTION NATP))
 (24 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (24 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (22 22 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (22 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (20 20 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (20 10 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (19 19 (:REWRITE BOUND-WHEN-USB))
 (18 10 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (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))
 (7 7 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (7 7 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (7 7 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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
 (306 6 (:REWRITE BVCHOP-IDENTITY))
 (265 5 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (100 100 (:TYPE-PRESCRIPTION IFIX))
 (62 18 (:REWRITE DEFAULT-<-2))
 (56 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (41 12 (:REWRITE DEFAULT-+-1))
 (40 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (39 39 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (39 39 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (36 12 (:REWRITE DEFAULT-+-2))
 (36 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (30 18 (:REWRITE DEFAULT-<-1))
 (24 4 (:DEFINITION NATP))
 (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))
 (13 13 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (13 13 (:REWRITE BOUND-WHEN-USB))
 (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 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-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))
 (5 5 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (5 5 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (5 5 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (: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
 (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))
 (29 14 (:REWRITE DEFAULT-<-2))
 (22 14 (:REWRITE DEFAULT-<-1))
 (19 1 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (18 18 (:TYPE-PRESCRIPTION FIX))
 (17 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (16 16 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 14 (:REWRITE BOUND-WHEN-USB))
 (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))
 (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))
 (7 7 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (7 7 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (7 7 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (6 6 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (6 6 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (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 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-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
 (167 6 (:REWRITE BVCHOP-IDENTITY))
 (109 2 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (43 16 (:REWRITE DEFAULT-<-2))
 (40 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (36 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (36 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (30 30 (:TYPE-PRESCRIPTION IFIX))
 (30 5 (:DEFINITION NATP))
 (24 16 (:REWRITE DEFAULT-<-1))
 (20 20 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (20 20 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (19 1 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (18 6 (:REWRITE DEFAULT-+-2))
 (18 6 (:REWRITE DEFAULT-+-1))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (14 14 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 14 (:REWRITE BOUND-WHEN-USB))
 (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))
 (7 7 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (7 7 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (7 7 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (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))
 (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
 (1665 53 (:REWRITE BVCHOP-IDENTITY))
 (1329 22 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (331 119 (:REWRITE DEFAULT-<-2))
 (320 32 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (240 42 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (216 36 (:DEFINITION NATP))
 (168 168 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (168 168 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (157 42 (:REWRITE DEFAULT-+-1))
 (156 119 (:REWRITE DEFAULT-<-1))
 (121 121 (:TYPE-PRESCRIPTION NATP))
 (106 53 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (99 99 (:REWRITE BOUND-WHEN-USB))
 (99 42 (:REWRITE DEFAULT-+-2))
 (98 98 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (98 98 (:TYPE-PRESCRIPTION IFIX))
 (97 97 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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))
 (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))
 (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))
 (38 38 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (38 38 (:LINEAR EXPT-BOUND-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
 (400 12 (:REWRITE BVCHOP-IDENTITY))
 (287 6 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (100 100 (:TYPE-PRESCRIPTION IFIX))
 (80 24 (:REWRITE DEFAULT-<-2))
 (56 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (53 11 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (48 13 (:REWRITE DEFAULT-+-1))
 (42 42 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (42 42 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (40 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (39 13 (:REWRITE DEFAULT-+-2))
 (36 24 (:REWRITE DEFAULT-<-1))
 (36 6 (:DEFINITION NATP))
 (27 27 (:TYPE-PRESCRIPTION NATP))
 (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 22 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (22 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (22 11 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (19 1 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (18 18 (:REWRITE BOUND-WHEN-USB))
 (18 11 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (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))
 (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 7 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (7 7 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (7 7 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (7 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))
 (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
 (50 2 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (37 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (29 1 (:REWRITE BVCHOP-IDENTITY))
 (14 6 (:REWRITE DEFAULT-<-2))
 (11 3 (:REWRITE DEFAULT-+-1))
 (10 10 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (10 10 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (10 10 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (6 6 (:REWRITE DEFAULT-<-1))
 (4 4 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (4 4 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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 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
 (22 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (11 11 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (11 2 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (10 8 (:REWRITE DEFAULT-<-1))
 (8 8 (:REWRITE DEFAULT-<-2))
 (8 2 (:REWRITE DEFAULT-+-2))
 (6 6 (:REWRITE BOUND-WHEN-USB))
 (5 2 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (4 4 (:LINEAR EXPT-BOUND-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-BOUND-LINEAR-2))
 )
(BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER
 (175 6 (:REWRITE BVCHOP-IDENTITY))
 (117 2 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (50 50 (:TYPE-PRESCRIPTION IFIX))
 (44 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (43 16 (:REWRITE DEFAULT-<-2))
 (40 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (36 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (30 5 (:DEFINITION NATP))
 (28 16 (:REWRITE DEFAULT-<-1))
 (20 20 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (20 20 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (19 1 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (18 2 (:REWRITE COMMUTATIVITY-OF-+))
 (17 5 (:REWRITE DEFAULT-+-2))
 (17 5 (:REWRITE DEFAULT-+-1))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (15 15 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 14 (:REWRITE BOUND-WHEN-USB))
 (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))
 (7 7 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (7 7 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (7 7 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (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))
 (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
 (175 6 (:REWRITE BVCHOP-IDENTITY))
 (117 2 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (50 50 (:TYPE-PRESCRIPTION IFIX))
 (44 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (43 16 (:REWRITE DEFAULT-<-2))
 (40 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (36 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (30 5 (:DEFINITION NATP))
 (28 16 (:REWRITE DEFAULT-<-1))
 (20 20 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (20 20 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (19 1 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (18 6 (:REWRITE DEFAULT-+-2))
 (18 6 (:REWRITE DEFAULT-+-1))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (15 15 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (14 14 (:REWRITE BOUND-WHEN-USB))
 (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))
 (7 7 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (7 7 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (7 7 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (6 6 (:TYPE-PRESCRIPTION POSP))
 (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))
 (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
 (1665 53 (:REWRITE BVCHOP-IDENTITY))
 (1329 22 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (331 119 (:REWRITE DEFAULT-<-2))
 (320 32 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (240 42 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (216 36 (:DEFINITION NATP))
 (168 168 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (168 168 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (158 43 (:REWRITE DEFAULT-+-1))
 (156 119 (:REWRITE DEFAULT-<-1))
 (121 121 (:TYPE-PRESCRIPTION NATP))
 (106 53 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (100 43 (:REWRITE DEFAULT-+-2))
 (99 99 (:REWRITE BOUND-WHEN-USB))
 (98 98 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (98 98 (:TYPE-PRESCRIPTION IFIX))
 (97 97 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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))
 (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))
 (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))
 (38 38 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (38 38 (:LINEAR EXPT-BOUND-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
 (32 2 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (28 2 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (20 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 BITP))
 (2 2 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (2 2 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (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
 (4225 76 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (977 977 (:TYPE-PRESCRIPTION IFIX))
 (845 15 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (549 99 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (450 172 (:REWRITE DEFAULT-+-2))
 (438 181 (:REWRITE DEFAULT-<-2))
 (434 172 (:REWRITE DEFAULT-+-1))
 (427 63 (:REWRITE COMMUTATIVITY-OF-+))
 (399 12 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (264 181 (:REWRITE DEFAULT-<-1))
 (245 62 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (222 162 (:LINEAR EXPT-BOUND-LINEAR))
 (165 73 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (161 85 (:LINEAR EXPT-BOUND-LINEAR-2))
 (152 62 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (132 76 (:REWRITE DEFAULT-UNARY-MINUS))
 (99 99 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (99 99 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (99 99 (:REWRITE UBP-LONGER-BETTER))
 (93 93 (:REWRITE BOUND-WHEN-USB))
 (88 4 (:LINEAR EXPT-HALF-LINEAR))
 (85 85 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (83 83 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (80 4 (:LINEAR EXPT-OF-ONE-LESS-LINEAR))
 (76 76 (: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))
 (52 13 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (29 29 (:TYPE-PRESCRIPTION FIX))
 (16 4 (:REWRITE DEFAULT-*-2))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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
 (340 130 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (171 75 (:REWRITE DEFAULT-<-1))
 (166 6 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (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))
 (101 75 (:REWRITE DEFAULT-<-2))
 (60 24 (:REWRITE DEFAULT-+-2))
 (57 18 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (50 24 (:REWRITE DEFAULT-+-1))
 (47 7 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (39 39 (:REWRITE BOUND-WHEN-USB))
 (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))
 (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))
 (20 20 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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))
 (8 8 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (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-THIRD-THIRD
 (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))
 )
(BVPLUS-CANCEL-CROSS
 (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))
 )
(BVPLUS-CANCEL-CROSS2
 (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
 (180 11 (:REWRITE BVCHOP-IDENTITY))
 (94 18 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (90 3 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (38 3 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (33 14 (:REWRITE DEFAULT-+-2))
 (27 1 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (24 11 (:REWRITE DEFAULT-<-1))
 (23 14 (:REWRITE DEFAULT-+-1))
 (20 11 (:REWRITE DEFAULT-<-2))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (18 18 (:REWRITE UBP-LONGER-BETTER))
 (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 10 (:REWRITE BOUND-WHEN-USB))
 (10 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG2))
 (5 5 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (5 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (4 4 (:REWRITE <-OF-EXPT-2-AND-CONSTANT))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (3 3 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (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-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
 (154 22 (:REWRITE BVCHOP-IDENTITY))
 (126 7 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (120 33 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (41 14 (:REWRITE DEFAULT-<-1))
 (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))
 (24 6 (:REWRITE DEFAULT-+-2))
 (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 (:REWRITE DEFAULT-<-2))
 (14 14 (:REWRITE BOUND-WHEN-USB))
 (14 14 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (12 12 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (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 BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (10 10 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (10 10 (:REWRITE BVPLUS-SUBST-VALUE))
 (7 7 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (6 6 (:REWRITE DEFAULT-+-1))
 (6 6 (:LINEAR EXPT-BOUND-LINEAR-2))
 (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))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG2))
 (4 4 (:REWRITE <-OF-EXPT-2-AND-CONSTANT))
 )
(EQUAL-OF-BVPLUS-CANCEL-ARG2-ALT
 (39 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (35 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))
 (9 7 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (8 2 (:LINEAR EXPT-BOUND-LINEAR))
 (7 7 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (7 7 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (7 7 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (7 7 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (7 7 (:REWRITE BVPLUS-SUBST-VALUE))
 (7 4 (:REWRITE DEFAULT-<-1))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (6 6 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (6 4 (:REWRITE DEFAULT-<-2))
 (5 5 (:REWRITE BOUND-WHEN-USB))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (4 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (2 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (2 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (2 2 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (2 2 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (1 1 (:TYPE-PRESCRIPTION NATP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG2))
 (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))
 (1 1 (:REWRITE <-OF-EXPT-2-AND-CONSTANT))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(EQUAL-OF-BVPLUS-CANCEL-ARG1
 (39 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (33 3 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (8 2 (:LINEAR EXPT-BOUND-LINEAR))
 (7 7 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (7 7 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (7 7 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (7 1 (:REWRITE BVCHOP-IDENTITY))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 2 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (4 2 (:REWRITE BVPLUS-WHEN-ARG1-IS-NOT-AN-INTEGER))
 (4 1 (:REWRITE DEFAULT-<-1))
 (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 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 2 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (2 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG2))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE DEFAULT-<-2))
 (1 1 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (1 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (1 1 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (1 1 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (1 1 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (1 1 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (1 1 (:REWRITE BOUND-WHEN-USB))
 (1 1 (:REWRITE <-OF-EXPT-2-AND-CONSTANT))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(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
 (2201 44 (:REWRITE BVCHOP-IDENTITY))
 (1769 42 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (743 743 (:TYPE-PRESCRIPTION IFIX))
 (281 94 (:REWRITE DEFAULT-<-2))
 (236 71 (:REWRITE DEFAULT-+-1))
 (214 71 (:REWRITE DEFAULT-+-2))
 (158 94 (:REWRITE DEFAULT-<-1))
 (153 39 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (142 18 (:REWRITE COMMUTATIVITY-OF-+))
 (112 39 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (112 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (111 39 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (110 110 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (99 43 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (83 42 (:REWRITE DEFAULT-UNARY-MINUS))
 (82 82 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (56 39 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (56 39 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (48 48 (:REWRITE BOUND-WHEN-USB))
 (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))
 (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
 (466 88 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (340 8 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (224 56 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (138 94 (:REWRITE DEFAULT-<-1))
 (114 14 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (104 56 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (94 94 (:REWRITE DEFAULT-<-2))
 (92 66 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-NATP))
 (88 88 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (88 88 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (88 88 (:REWRITE UBP-LONGER-BETTER))
 (86 86 (:REWRITE BOUND-WHEN-USB))
 (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))
 (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 12 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (48 10 (:REWRITE DEFAULT-+-2))
 (26 26 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (16 16 (:LINEAR EXPT-BOUND-LINEAR))
 (14 14 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (14 14 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (14 14 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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
 (218 9 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (50 26 (:REWRITE DEFAULT-<-2))
 (47 23 (:REWRITE DEFAULT-+-2))
 (44 23 (:REWRITE DEFAULT-+-1))
 (32 12 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (32 8 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (30 5 (:REWRITE COMMUTATIVITY-OF-+))
 (28 26 (:REWRITE DEFAULT-<-1))
 (23 23 (:TYPE-PRESCRIPTION FIX))
 (20 3 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (16 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (14 14 (:REWRITE BOUND-WHEN-USB))
 (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 3 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (6 6 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (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-+
 (304 304 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (112 57 (:REWRITE DEFAULT-<-2))
 (74 15 (:REWRITE DEFAULT-*-2))
 (57 57 (:REWRITE DEFAULT-<-1))
 (54 54 (:REWRITE BOUND-WHEN-USB))
 (42 5 (:REWRITE BVCHOP-IDENTITY))
 (36 36 (:REWRITE DEFAULT-+-2))
 (36 36 (:REWRITE DEFAULT-+-1))
 (26 26 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (22 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (18 18 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (15 15 (:REWRITE DEFAULT-*-1))
 (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))
 (12 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (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 3 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (3 3 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (3 1 (:REWRITE FOLD-CONSTS-IN-+))
 )
(<-OF-BVPLUS-OF-1-OVERFLOW
 (66 20 (:REWRITE DEFAULT-<-2))
 (61 61 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (61 61 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (54 33 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (51 51 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (49 25 (:REWRITE DEFAULT-+-2))
 (34 25 (:REWRITE DEFAULT-+-1))
 (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))
 (21 20 (:REWRITE DEFAULT-<-1))
 (20 20 (:REWRITE BOUND-WHEN-USB))
 (20 20 (:LINEAR EXPT-BOUND-LINEAR))
 (15 15 (:TYPE-PRESCRIPTION POSP))
 (10 10 (:LINEAR EXPT-BOUND-LINEAR-2))
 (8 4 (:REWRITE FOLD-CONSTS-IN-+))
 (8 2 (:REWRITE DEFAULT-UNARY-MINUS))
 (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
 (359 10 (:REWRITE BVCHOP-IDENTITY))
 (228 228 (:TYPE-PRESCRIPTION IFIX))
 (169 9 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (126 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 <=-OF-0-AND-EXPT))
 (18 18 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (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
 (359 10 (:REWRITE BVCHOP-IDENTITY))
 (228 228 (:TYPE-PRESCRIPTION IFIX))
 (169 9 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (126 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 <=-OF-0-AND-EXPT))
 (18 18 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (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
 (284 6 (:REWRITE BVCHOP-IDENTITY))
 (243 5 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (100 100 (:TYPE-PRESCRIPTION IFIX))
 (62 18 (:REWRITE DEFAULT-<-2))
 (56 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (49 20 (:REWRITE DEFAULT-+-2))
 (49 20 (:REWRITE DEFAULT-+-1))
 (40 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (36 36 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (36 36 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (36 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (30 18 (:REWRITE DEFAULT-<-1))
 (24 4 (:DEFINITION NATP))
 (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))
 (13 13 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (13 13 (:REWRITE BOUND-WHEN-USB))
 (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 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))
 (5 5 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (5 5 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (5 5 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (: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))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
(BVPLUS-OF-PLUS-ARG2
 (114 2 (:REWRITE BVCHOP-IDENTITY))
 (98 2 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (24 8 (:REWRITE DEFAULT-<-2))
 (23 9 (:REWRITE BVPLUS-WHEN-NOT-NATP-ARG1-CHEAP))
 (18 9 (:REWRITE BVPLUS-WHEN-SIZE-IS-NOT-POSITIVE))
 (16 6 (:REWRITE DEFAULT-+-2))
 (16 6 (:REWRITE DEFAULT-+-1))
 (16 2 (:REWRITE COMMUTATIVITY-OF-+))
 (14 14 (:TYPE-PRESCRIPTION RATIONALP-EXPT-TYPE-PRESCRIPTION))
 (14 14 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (14 14 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (14 14 (:TYPE-PRESCRIPTION <=-OF-0-AND-EXPT))
 (14 14 (:TYPE-PRESCRIPTION <-OF-0-AND-EXPT))
 (12 9 (:REWRITE BVPLUS-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (11 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (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 INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (8 8 (:REWRITE DEFAULT-<-1))
 (8 2 (:DEFINITION NATP))
 (6 6 (:TYPE-PRESCRIPTION NATP))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:REWRITE BOUND-WHEN-USB))
 (4 4 (:LINEAR EXPT-BOUND-LINEAR-WEAK))
 (4 4 (:LINEAR EXPT-BOUND-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))
 (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 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 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 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR-2))
 (1 1 (:REWRITE 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
 (300 6 (:REWRITE BVCHOP-IDENTITY))
 (259 5 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (60 18 (:REWRITE DEFAULT-<-2))
 (50 50 (:TYPE-PRESCRIPTION IFIX))
 (42 5 (:REWRITE COMMUTATIVITY-OF-+))
 (41 41 (:TYPE-PRESCRIPTION NATP-OF-EXPT))
 (41 41 (:TYPE-PRESCRIPTION INTEGERP-OF-EXPT-TYPE))
 (40 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (39 12 (:REWRITE DEFAULT-+-2))
 (39 12 (:REWRITE DEFAULT-+-1))
 (38 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (36 6 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (24 18 (:REWRITE DEFAULT-<-1))
 (24 4 (:DEFINITION NATP))
 (16 16 (:TYPE-PRESCRIPTION NATP))
 (13 13 (:REWRITE BOUND-WHEN-USB))
 (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 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (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 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (10 6 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (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 (: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-BOUND-LINEAR-2))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 )
(BVPLUS-OPENER
 (400 8 (:REWRITE BVCHOP-IDENTITY))
 (322 9 (:REWRITE USB-PLUS-FROM-BOUNDS))
 (170 170 (:TYPE-PRESCRIPTION IFIX))
 (56 21 (:REWRITE DEFAULT-+-2))
 (48 21 (:REWRITE DEFAULT-+-1))
 (48 19 (:REWRITE DEFAULT-<-2))
 (48 7 (:REWRITE COMMUTATIVITY-OF-+))
 (37 9 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (35 19 (: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))
 (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))
 (9 9 (:REWRITE BOUND-WHEN-USB))
 (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))
 (2 2 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:LINEAR EXPT-BOUND-LINEAR))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (1 1 (:LINEAR EXPT-BOUND-LINEAR-2))
 )
