(PUTBITS
 (24 24 (:REWRITE DEFAULT-+-2))
 (24 24 (:REWRITE DEFAULT-+-1))
 (18 18 (:REWRITE DEFAULT-<-2))
 (18 18 (:REWRITE DEFAULT-<-1))
 (18 18 (:REWRITE BOUND-WHEN-USB))
 (16 2 (:REWRITE BVCHOP-IDENTITY))
 (9 9 (:REWRITE DEFAULT-UNARY-MINUS))
 (8 8 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (8 2 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (8 2 (:DEFINITION POSP))
 (7 2 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (7 2 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (5 5 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 2 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (2 2 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (2 2 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (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-SUBST-CONSTANT))
 (2 2 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (2 2 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (2 2 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (1 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 )
(UNSIGNED-BYTE-P-OF-PUTBITS
 (517 76 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (314 231 (:REWRITE DEFAULT-<-1))
 (283 231 (:REWRITE DEFAULT-<-2))
 (252 250 (:REWRITE DEFAULT-+-2))
 (251 25 (:REWRITE BVCHOP-IDENTITY))
 (250 250 (:REWRITE DEFAULT-+-1))
 (230 230 (:REWRITE BOUND-WHEN-USB))
 (230 16 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (180 18 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (165 77 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (130 130 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (127 8 (:LINEAR EXPT->-1))
 (102 9 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (95 18 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (91 43 (:REWRITE DEFAULT-UNARY-MINUS))
 (89 22 (:REWRITE DEFAULT-*-2))
 (82 82 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-INTEGERP))
 (79 79 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (77 77 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (76 76 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (70 70 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (63 3 (:REWRITE EXPONENTS-ADD-FOR-NONNEG-EXPONENTS))
 (56 56 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (56 56 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (56 56 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (51 3 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (48 6 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (44 44 (:TYPE-PRESCRIPTION MIN))
 (36 18 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (34 17 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (34 17 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (33 33 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (32 18 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (32 8 (:REWRITE <-0-+-NEGATIVE-1))
 (29 29 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (28 4 (:REWRITE <-0-+-NEGATIVE-2))
 (27 25 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (26 16 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (25 25 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (25 25 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (25 16 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (22 22 (:REWRITE DEFAULT-*-1))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (21 21 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (19 19 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (19 19 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (19 19 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (19 19 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (19 19 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (19 19 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (19 19 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (18 18 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (17 17 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (8 8 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (7 7 (:REWRITE ZIP-OPEN))
 (7 7 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (6 6 (:TYPE-PRESCRIPTION NATP-OF-BVCAT-TYPE))
 (4 4 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (3 3 (:REWRITE EXPONENTS-ADD))
 (2 2 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (2 2 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-LOW))
 )
(SLICE-OF-PUTBITS
 (324 22 (:DEFINITION EXPT))
 (238 2 (:LINEAR X*Y>1-POSITIVE))
 (192 12 (:REWRITE /R-WHEN-ABS-NUMERATOR=1))
 (166 20 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (158 134 (:REWRITE DEFAULT-+-2))
 (154 34 (:REWRITE DEFAULT-*-2))
 (134 134 (:REWRITE DEFAULT-+-1))
 (108 7 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (98 89 (:REWRITE DEFAULT-<-2))
 (95 89 (:REWRITE DEFAULT-<-1))
 (74 74 (:REWRITE BOUND-WHEN-USB))
 (66 10 (:LINEAR EXPT->-1))
 (65 1 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (52 34 (:REWRITE DEFAULT-*-1))
 (51 14 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (42 6 (:REWRITE DEFAULT-UNARY-/))
 (42 6 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (38 6 (:DEFINITION POSP))
 (37 1 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-GEN))
 (29 14 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (27 14 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (27 14 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (24 6 (:REWRITE NUMERATOR-WHEN-INTEGERP))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (23 23 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (22 22 (:TYPE-PRESCRIPTION MIN))
 (22 22 (:REWRITE DEFAULT-UNARY-MINUS))
 (21 21 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (21 1 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (20 20 (:TYPE-PRESCRIPTION POSP))
 (18 15 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (17 17 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (16 16 (:REWRITE ZIP-OPEN))
 (16 16 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (16 15 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 15 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (15 15 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (15 15 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (15 15 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (15 15 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (15 14 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (15 7 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (12 7 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (12 4 (:REWRITE <-+-NEGATIVE-0-2))
 (12 3 (:REWRITE <-0-+-NEGATIVE-1))
 (9 9 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (9 9 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (9 9 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (8 6 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (8 3 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (8 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (6 6 (:REWRITE FOLD-CONSTS-IN-*))
 (6 6 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (6 3 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (4 1 (:REWRITE SLICE-OF-BVCHOP-TOO-HIGH))
 (4 1 (:REWRITE SLICE-OF-BVCHOP-TIGHTEN))
 (3 3 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE SLICE-OF-BVCHOP-LOW))
 (2 2 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (2 2 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (1 1 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (1 1 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (1 1 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (1 1 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 )
(PUTBIT)
(UNSIGNED-BYTE-P-OF-PUTBIT
 (180 18 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (143 143 (:REWRITE DEFAULT-+-2))
 (143 143 (:REWRITE DEFAULT-+-1))
 (140 101 (:REWRITE DEFAULT-<-1))
 (108 44 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (104 101 (:REWRITE DEFAULT-<-2))
 (103 103 (:REWRITE BOUND-WHEN-USB))
 (78 7 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (72 9 (:REWRITE BVCHOP-IDENTITY))
 (57 57 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (51 3 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (44 44 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (43 43 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (43 43 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (43 43 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (33 6 (:REWRITE <-0-+-NEGATIVE-2))
 (32 32 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (32 18 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (24 18 (:REWRITE DEFAULT-UNARY-MINUS))
 (24 6 (:REWRITE <-0-+-NEGATIVE-1))
 (22 11 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (22 11 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (19 19 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (19 19 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (19 19 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (19 19 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (19 19 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (18 18 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (18 18 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (17 17 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (16 16 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (16 16 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (16 16 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (16 8 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (15 15 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (15 15 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (12 12 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (12 12 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (11 11 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (11 7 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (11 7 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (9 9 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (9 9 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (9 9 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (8 8 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-POSITIVE))
 (8 8 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-NONZERO))
 (8 8 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-INTEGERP))
 (5 5 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-HIGH))
 (5 5 (:REWRITE BVCAT-SUBST-1))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (3 3 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (2 2 (:TYPE-PRESCRIPTION NATP-OF-BVCAT-TYPE))
 (2 2 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-LOW))
 (2 2 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 )
(GETBIT-OF-PUTBIT
 (111 12 (:REWRITE BVCHOP-IDENTITY))
 (75 5 (:DEFINITION EXPT))
 (72 57 (:REWRITE DEFAULT-<-1))
 (58 57 (:REWRITE DEFAULT-<-2))
 (53 53 (:REWRITE BOUND-WHEN-USB))
 (47 41 (:REWRITE DEFAULT-+-2))
 (41 41 (:REWRITE DEFAULT-+-1))
 (41 11 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (39 15 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (38 4 (:REWRITE COMMUTATIVITY-2-OF-+))
 (31 1 (:REWRITE GETBIT-OF-SLICE))
 (30 1 (:REWRITE GETBIT-OF-SLICE-TOO-HIGH))
 (27 5 (:DEFINITION POSP))
 (24 6 (:REWRITE DEFAULT-*-2))
 (23 4 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (22 22 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (21 11 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (20 11 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (19 19 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (19 4 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (17 1 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 15 (:TYPE-PRESCRIPTION POSP))
 (15 15 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (15 15 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (15 15 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (15 11 (:REWRITE FOLD-CONSTS-IN-+))
 (15 1 (:REWRITE BITP-BECOMES-UNSIGNED-BYTE-P))
 (14 14 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (14 8 (:REWRITE GETBIT-WHEN-NOT-1))
 (13 6 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (12 12 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (12 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (12 12 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (12 12 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (12 6 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (12 1 (:REWRITE GETBIT-OF-SLICE-GEN))
 (11 11 (:REWRITE DEFAULT-UNARY-MINUS))
 (11 11 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (11 11 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (11 8 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (8 8 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (8 8 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (8 8 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (8 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (8 1 (:REWRITE GETBIT-IDENTITY))
 (7 7 (:TYPE-PRESCRIPTION MIN))
 (7 2 (:REWRITE <-+-NEGATIVE-0-2))
 (6 6 (:REWRITE DEFAULT-*-1))
 (6 3 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (6 3 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE ZIP-OPEN))
 (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 BVCAT-NORMALIZE-CONSTANT-ARG4))
 (4 4 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (4 1 (:REWRITE <-0-+-NEGATIVE-1))
 (3 3 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (3 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (3 1 (:LINEAR EXPT->-1))
 (2 2 (:TYPE-PRESCRIPTION SLICE))
 (2 2 (:TYPE-PRESCRIPTION PUTBIT))
 (2 2 (:TYPE-PRESCRIPTION NATP-OF-BVCAT-TYPE))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (2 2 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (2 2 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-HIGH))
 (2 2 (:REWRITE BVCAT-SUBST-1))
 (2 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (1 1 (:TYPE-PRESCRIPTION NATP))
 (1 1 (:TYPE-PRESCRIPTION BITP))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (1 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE GETBIT-OF-IF-TWO-CONSTANTS))
 (1 1 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE EXPONENTS-ADD))
 (1 1 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (1 1 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 )
(PUTBIT-OF-BVCHOP-SAME
 (779 35 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (598 74 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (425 44 (:REWRITE BVCHOP-IDENTITY))
 (275 192 (:REWRITE DEFAULT-<-1))
 (203 192 (:REWRITE DEFAULT-<-2))
 (180 180 (:REWRITE BOUND-WHEN-USB))
 (140 134 (:REWRITE DEFAULT-+-2))
 (134 134 (:REWRITE DEFAULT-+-1))
 (112 12 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (102 2 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (90 6 (:DEFINITION EXPT))
 (90 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (84 2 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR))
 (83 18 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (82 14 (:DEFINITION POSP))
 (80 80 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (78 2 (:REWRITE BVCHOP-BOUND-2))
 (74 74 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (74 74 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (74 74 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (70 70 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (68 68 (:TYPE-PRESCRIPTION MIN))
 (61 35 (:REWRITE SLICE-OUT-OF-ORDER))
 (60 35 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (59 31 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (56 6 (:REWRITE SLICE-OF-BVCHOP-LOW))
 (54 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR-STRONG))
 (54 3 (:LINEAR BVCAT-UPPER-BOUND-LINEAR))
 (53 44 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (51 12 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (50 50 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (44 44 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (44 44 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (43 43 (:TYPE-PRESCRIPTION POSP))
 (42 42 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (41 35 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (40 40 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (40 40 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (40 40 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (40 40 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (40 40 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (37 29 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (37 1 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (35 29 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (33 6 (:REWRITE <-0-+-NEGATIVE-2))
 (27 27 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (27 27 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (27 27 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (25 12 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (24 24 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (24 24 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (24 6 (:REWRITE DEFAULT-*-2))
 (22 12 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (21 6 (:REWRITE SLICE-OF-BVCHOP-TOO-HIGH))
 (20 17 (:REWRITE DEFAULT-UNARY-MINUS))
 (18 18 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (18 18 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (16 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (15 6 (:REWRITE SLICE-OF-BVCHOP-TIGHTEN))
 (12 12 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (12 4 (:LINEAR EXPT->-1))
 (12 3 (:REWRITE <-0-+-NEGATIVE-1))
 (12 3 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (8 8 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (6 6 (:REWRITE ZIP-OPEN))
 (6 6 (:REWRITE DEFAULT-*-1))
 (6 6 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-HIGH))
 (6 6 (:REWRITE BVCAT-SUBST-1))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (4 4 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (3 3 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG4-CONSTANT))
 (3 3 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG2-CONSTANT))
 (2 2 (:REWRITE BVCHOP-BOUND))
 (2 2 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (2 2 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 )
(PUTBYTE)
(PUTBYTE-OF-1-ARG1
 (64 5 (:REWRITE BVCHOP-IDENTITY))
 (29 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (27 3 (:DEFINITION POSP))
 (24 15 (:REWRITE DEFAULT-<-1))
 (24 4 (:REWRITE BVCAT-WHEN-LOWSIZE-IS-NOT-POSP))
 (21 3 (:REWRITE 0-<-*))
 (18 18 (:REWRITE BOUND-WHEN-USB))
 (16 16 (:REWRITE DEFAULT-+-2))
 (16 16 (:REWRITE DEFAULT-+-1))
 (16 15 (:REWRITE DEFAULT-<-2))
 (13 5 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (10 10 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (10 10 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (8 8 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (7 7 (:TYPE-PRESCRIPTION MIN))
 (6 5 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (6 3 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (5 5 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (5 5 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (5 5 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (5 5 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (5 5 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (5 5 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (5 5 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (5 5 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (5 5 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (5 5 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (5 3 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE DEFAULT-UNARY-MINUS))
 (3 3 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-POSITIVE))
 (3 3 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-NONZERO))
 (3 3 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-INTEGERP))
 (3 3 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (3 3 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (3 3 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (3 3 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (2 2 (:REWRITE DEFAULT-*-2))
 (2 2 (:REWRITE DEFAULT-*-1))
 (2 2 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (2 2 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (2 2 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (1 1 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 )
(PUTBYTE-OF-0-ARG1
 (1337 33 (:REWRITE BVCHOP-IDENTITY))
 (1159 1 (:REWRITE UNSIGNED-BYTE-P-OF-IF))
 (766 35 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (504 12 (:DEFINITION EXPT))
 (488 6 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR))
 (482 2 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (252 3 (:REWRITE EXPT-MINUS))
 (194 12 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (171 2 (:REWRITE BVCHOP-BOUND-2))
 (164 6 (:LINEAR BVCHOP-UPPER-BOUND-LINEAR-STRONG))
 (147 6 (:REWRITE /R-WHEN-ABS-NUMERATOR=1))
 (139 34 (:REWRITE DEFAULT-*-2))
 (117 58 (:REWRITE DEFAULT-<-1))
 (92 92 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-POSITIVE))
 (92 92 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-NONZERO))
 (92 92 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-INTEGERP))
 (65 58 (:REWRITE DEFAULT-<-2))
 (61 55 (:REWRITE DEFAULT-+-2))
 (57 57 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-RATIONALP))
 (55 55 (:REWRITE DEFAULT-+-1))
 (53 53 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (48 26 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (48 6 (:REWRITE ZIP-OPEN))
 (48 6 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (46 46 (:REWRITE BOUND-WHEN-USB))
 (42 3 (:REWRITE NUMERATOR-WHEN-INTEGERP))
 (42 2 (:LINEAR EXPT->-1))
 (40 40 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (40 40 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (40 40 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (37 33 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (35 35 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (34 34 (:REWRITE DEFAULT-*-1))
 (33 33 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (33 33 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (33 33 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (32 32 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (29 25 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (28 25 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (28 7 (:REWRITE <-0-+-NEGATIVE-2))
 (27 3 (:REWRITE DEFAULT-UNARY-/))
 (18 4 (:DEFINITION NATP))
 (18 3 (:REWRITE ZERO-IS-ONLY-ZERO-DIVISOR))
 (18 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (15 3 (:REWRITE DEFAULT-NUMERATOR))
 (13 13 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (12 3 (:REWRITE EQUAL-CONSTANT-+))
 (11 11 (:REWRITE DEFAULT-UNARY-MINUS))
 (10 10 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (10 1 (:REWRITE BVCAT-OF-BVCHOP-LOW))
 (10 1 (:REWRITE BVCAT-OF-BVCHOP-HIGH))
 (10 1 (:REWRITE <-+-NEGATIVE-0-2))
 (9 3 (:REWRITE EQUAL-MINUS-MINUS))
 (8 8 (:TYPE-PRESCRIPTION NATP))
 (8 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (7 3 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (6 6 (:REWRITE 0-<-*))
 (6 5 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (6 3 (:REWRITE EXPONENTS-ADD-FOR-NONNEG-EXPONENTS))
 (6 3 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (6 1 (:REWRITE X*Y>1-POSITIVE))
 (5 5 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (5 3 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (5 2 (:REWRITE BVCHOP-BOUND))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (4 4 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (3 3 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (3 3 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (3 3 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (3 3 (:REWRITE EXPONENTS-ADD))
 (3 3 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (3 3 (:REWRITE <-*-0))
 (2 2 (:REWRITE <-OF-BVCHOP-WHEN-<-OF-BVCHOP-BIGGER))
 (2 1 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (2 1 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG2))
 (1 1 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 )
(PUTBYTE-UNROLL
 (3272 3061 (:REWRITE DEFAULT-+-2))
 (3061 3061 (:REWRITE DEFAULT-+-1))
 (1827 99 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (1505 1505 (:REWRITE BOUND-WHEN-USB))
 (1444 1146 (:REWRITE DEFAULT-<-1))
 (1420 457 (:REWRITE DEFAULT-*-2))
 (1220 15 (:REWRITE BVCAT-OF-SLICE-AND-SLICE-ADJACENT-2))
 (1182 1146 (:REWRITE DEFAULT-<-2))
 (1160 68 (:REWRITE /R-WHEN-ABS-NUMERATOR=1))
 (897 107 (:DEFINITION POSP))
 (762 13 (:LINEAR X*Y>1-POSITIVE))
 (637 457 (:REWRITE DEFAULT-*-1))
 (576 12 (:REWRITE <-UNARY-/-POSITIVE-RIGHT-BETTER))
 (522 522 (:REWRITE DEFAULT-UNARY-MINUS))
 (410 410 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (400 98 (:REWRITE ZIP-OPEN))
 (388 135 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (367 13 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (339 339 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (337 337 (:TYPE-PRESCRIPTION MIN))
 (312 312 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (307 267 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (302 98 (:REWRITE ZERO-IS-ONLY-ZERO-DIVISOR))
 (267 267 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (267 267 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (267 267 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (258 135 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (238 34 (:REWRITE DEFAULT-UNARY-/))
 (220 108 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (212 108 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (194 164 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (181 135 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (180 99 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (176 176 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (176 176 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (176 176 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (176 176 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (173 173 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (164 164 (:TYPE-PRESCRIPTION POSP))
 (151 151 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (151 140 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (151 135 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (149 140 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (140 140 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (140 140 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (135 135 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (131 14 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (120 30 (:REWRITE NUMERATOR-WHEN-INTEGERP))
 (108 108 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (108 99 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (83 83 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (83 83 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (83 83 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (74 7 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (73 73 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (73 73 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (60 12 (:REWRITE UNICITY-OF-1))
 (56 14 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP))
 (48 12 (:REWRITE <-UNARY-/-NEGATIVE-RIGHT-BETTER))
 (47 47 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (37 1 (:REWRITE BVCHOP-NOT-0-WHEN-LOW-BIT-NOT-0))
 (27 2 (:LINEAR GETBIT-BOUND-LINEAR))
 (27 1 (:REWRITE BVCHOP-NOT-0-WHEN-GETBIT-NOT-0))
 (25 15 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (25 15 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (23 23 (:REWRITE X*Y>1-POSITIVE-LEMMA))
 (23 23 (:REWRITE *-PRESERVES->-FOR-NONNEGATIVES-1))
 (18 18 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG4-CONSTANT))
 (18 18 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG2-CONSTANT))
 (16 16 (:TYPE-PRESCRIPTION GETBIT))
 (16 4 (:REWRITE <-Y-*-Y-X))
 (15 15 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (10 10 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (8 4 (:REWRITE GETBIT-WHEN-NOT-1))
 (8 4 (:REWRITE GETBIT-TOO-HIGH-CHEAP-2))
 (6 2 (:REWRITE LEFT-CANCELLATION-FOR-+))
 (5 4 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (4 4 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (4 4 (:REWRITE GETBIT-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE GETBIT-WHEN-SLICE-IS-KNOWN-CONSTANT))
 (4 4 (:REWRITE GETBIT-WHEN-NOT-INTEGERP-ARG1))
 (4 4 (:REWRITE GETBIT-WHEN-N-IS-NEGATIVE))
 (4 4 (:REWRITE GETBIT-WHEN-EQUAL-OF-CONSTANT-AND-BVCHOP-CONSTANT-VERSION))
 (4 2 (:REWRITE UNICITY-OF-0))
 (4 2 (:REWRITE GETBIT-OF-0-WHEN-BITP))
 (4 2 (:REWRITE GETBIT-IDENTITY))
 (3 3 (:REWRITE RIGHT-CANCELLATION-FOR-+))
 (2 2 (:TYPE-PRESCRIPTION BITP))
 (2 2 (:REWRITE GETBIT-IDENTITY-FREE))
 (1 1 (:REWRITE EQUAL-OF-BVCHOP-AND-BVCHOP-WHEN-SMALLER-BVCHOPS-EQUAL))
 (1 1 (:REWRITE BVCHOPS-SAME-WHEN-BVCHOPS-SAME))
 )
(PUTBYTE-UNROLL-ONCE)
(PUTBYTE-OF-BVCAT-OF-8-LOW
 (356 2 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (282 19 (:DEFINITION EXPT))
 (272 1 (:REWRITE BVCAT-NUMERIC-BOUND))
 (196 147 (:REWRITE DEFAULT-<-1))
 (184 58 (:REWRITE DEFAULT-*-2))
 (160 142 (:REWRITE DEFAULT-+-2))
 (160 2 (:LINEAR X*Y>1-POSITIVE))
 (154 147 (:REWRITE DEFAULT-<-2))
 (143 143 (:REWRITE BOUND-WHEN-USB))
 (142 142 (:REWRITE DEFAULT-+-1))
 (114 1 (:REWRITE <-*-/-RIGHT-COMMUTED))
 (67 58 (:REWRITE DEFAULT-*-1))
 (67 14 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (63 35 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (60 35 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (52 48 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (50 50 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (48 48 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (48 48 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (47 47 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (47 47 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (45 45 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (44 43 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (44 7 (:DEFINITION POSP))
 (43 43 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (40 5 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (36 35 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (36 4 (:REWRITE COMMUTATIVITY-2-OF-+))
 (35 35 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (32 32 (:TYPE-PRESCRIPTION POSP))
 (32 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (28 28 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (28 28 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (28 28 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (27 27 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (21 10 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (18 18 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (18 10 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (16 16 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (16 16 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (16 16 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (16 16 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (16 16 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (16 1 (:REWRITE SLICE-OF-BVCAT-TOO-HIGH))
 (15 15 (:REWRITE <-Y-*-Y-X))
 (15 14 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (14 14 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (14 14 (:REWRITE <-*-Y-X-Y))
 (12 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN-BETTER))
 (11 11 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (11 11 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (10 10 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (9 9 (:REWRITE 0-<-*))
 (9 5 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (8 1 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (7 7 (:TYPE-PRESCRIPTION MIN))
 (7 7 (:REWRITE ZIP-OPEN))
 (6 6 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (5 5 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (5 5 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (4 4 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (4 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (4 1 (:REWRITE SLICE-OF-BVCHOP-TOO-HIGH))
 (4 1 (:REWRITE SLICE-OF-BVCHOP-TIGHTEN))
 (4 1 (:REWRITE SLICE-OF-BVCAT-LOW))
 (4 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-3))
 (4 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-2))
 (4 1 (:REWRITE SLICE-OF-BVCAT))
 (3 3 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 (3 3 (:REWRITE EQUAL-CONSTANT-+))
 (3 2 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (3 1 (:REWRITE SLICE-OF-BVCHOP-LOW))
 (3 1 (:REWRITE SLICE-OF-BVCAT-LOW-BETTER))
 (3 1 (:REWRITE SLICE-OF-BVCAT-HACK-GEN-BETTER-CASE-1))
 (3 1 (:REWRITE SLICE-OF-BVCAT-HACK-2))
 (3 1 (:REWRITE SLICE-OF-BVCAT-HACK))
 (2 2 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (2 2 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 (2 2 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG4-CONSTANT))
 (2 2 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG2-CONSTANT))
 (1 1 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-RATIONALP))
 (1 1 (:REWRITE X*Y>1-POSITIVE-LEMMA))
 (1 1 (:REWRITE DEFAULT-UNARY-MINUS))
 (1 1 (:REWRITE <-*-RIGHT-CANCEL))
 (1 1 (:REWRITE <-*-LEFT-CANCEL))
 (1 1 (:REWRITE <-*-0))
 (1 1 (:REWRITE *-PRESERVES->=-FOR-NONNEGATIVES))
 (1 1 (:REWRITE *-PRESERVES->-FOR-NONNEGATIVES-1))
 )
(BVCHOP-8-OF-PUTBYTE
 (188 12 (:REWRITE BVCHOP-IDENTITY))
 (105 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (47 29 (:REWRITE DEFAULT-<-1))
 (30 29 (:REWRITE DEFAULT-<-2))
 (26 26 (:TYPE-PRESCRIPTION UNSIGNED-BYTE-P))
 (26 26 (:REWRITE BOUND-WHEN-USB))
 (25 6 (:REWRITE BVCAT-WHEN-HIGHSIZE-IS-NOT-POSP))
 (24 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (24 3 (:DEFINITION POSP))
 (20 12 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (19 19 (:REWRITE DEFAULT-+-2))
 (19 19 (:REWRITE DEFAULT-+-1))
 (18 12 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (14 2 (:REWRITE 0-<-*))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (13 13 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (13 12 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (12 12 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (12 12 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (12 12 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (12 12 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (12 12 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (11 11 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (10 10 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-POSITIVE))
 (10 10 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-NONZERO))
 (10 10 (:TYPE-PRESCRIPTION EXPT-TYPE-PRESCRIPTION-INTEGERP))
 (10 10 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (8 4 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (8 1 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (7 7 (:TYPE-PRESCRIPTION MIN))
 (7 4 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (6 6 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (6 6 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (5 5 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (5 5 (:REWRITE DEFAULT-UNARY-MINUS))
 (4 4 (:TYPE-PRESCRIPTION POSP))
 (4 4 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (4 4 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (4 4 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (4 1 (:REWRITE <-0-+-NEGATIVE-1))
 (3 3 (:REWRITE DEFAULT-*-2))
 (3 3 (:REWRITE DEFAULT-*-1))
 (3 1 (:REWRITE SLICE-OUT-OF-ORDER))
 (2 2 (:TYPE-PRESCRIPTION SLICE))
 (2 2 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (2 2 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (2 2 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (2 2 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (2 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (1 1 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (1 1 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (1 1 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (1 1 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (1 1 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 )
(UNSIGNED-BYTE-P-OF-PUTBYTE
 (272 201 (:REWRITE DEFAULT-<-1))
 (211 201 (:REWRITE DEFAULT-<-2))
 (182 182 (:REWRITE BOUND-WHEN-USB))
 (117 116 (:REWRITE DEFAULT-+-2))
 (116 116 (:REWRITE DEFAULT-+-1))
 (116 116 (:REWRITE DEFAULT-*-1))
 (96 7 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (95 57 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (87 87 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (87 5 (:REWRITE UNSIGNED-BYTE-P-OF-BVCAT))
 (76 76 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (76 76 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (76 76 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (71 71 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (57 57 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (57 57 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (57 8 (:REWRITE <-0-+-NEGATIVE-1))
 (50 50 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (44 22 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (37 37 (:TYPE-PRESCRIPTION MIN))
 (30 28 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (29 29 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (29 29 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (28 28 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (28 14 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (27 9 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (25 20 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (25 14 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (21 20 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (21 19 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (21 9 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (21 6 (:REWRITE X*Y>1-POSITIVE))
 (20 20 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (20 20 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (19 19 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (18 18 (:REWRITE DEFAULT-UNARY-MINUS))
 (17 17 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (17 17 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (16 4 (:REWRITE <-+-NEGATIVE-0-1))
 (16 2 (:REWRITE UNSIGNED-BYTE-P-OF-BVCHOP-WHEN-ALREADY))
 (15 11 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (15 1 (:DEFINITION EXPT))
 (14 14 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (14 7 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (12 3 (:REWRITE <-0-+-NEGATIVE-2))
 (11 11 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (11 11 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (11 11 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (11 11 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (10 1 (:REWRITE <-+-NEGATIVE-0-2))
 (9 9 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (8 1 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR))
 (7 7 (:TYPE-PRESCRIPTION SLICE))
 (7 7 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (6 6 (:REWRITE X*Y>1-POSITIVE-LEMMA))
 (6 6 (:REWRITE *-PRESERVES->-FOR-NONNEGATIVES-1))
 (5 5 (:REWRITE <-*-LEFT-CANCEL))
 (4 4 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (4 4 (:REWRITE BVCAT-WHEN-EQUAL-OF-GETBIT-0-LOW))
 (3 3 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (3 1 (:LINEAR EXPT->-1))
 (2 2 (:TYPE-PRESCRIPTION NATP-OF-BVCAT-TYPE))
 (2 2 (:LINEAR EXPT-IS-INCREASING-FOR-BASE>1))
 (2 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 (1 1 (:REWRITE ZIP-OPEN))
 (1 1 (:REWRITE UNSIGNED-BYTE-P-OF-0-ARG1))
 )
(PUTBYTE-OF-BVCHOP-8
 (18 6 (:REWRITE DEFAULT-*-2))
 (14 5 (:REWRITE DEFAULT-<-1))
 (8 1 (:LINEAR <=-OF-BVCHOP-SAME-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 DEFAULT-*-1))
 (5 5 (:REWRITE DEFAULT-<-2))
 (5 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (4 4 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (4 4 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (4 4 (:REWRITE BVCHOP-IDENTITY-CHEAP))
 (3 3 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (3 3 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (3 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (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 BOUND-WHEN-USB))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (2 2 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (2 2 (:REWRITE DEFAULT-+-2))
 (2 2 (:REWRITE DEFAULT-+-1))
 (2 2 (:LINEAR <=-OF-BVCHOP-SAME-LINEAR-2))
 )
(SLICE-OF-PUTBYTE-ALL-BUT-LOW-HELPER
 (3168 91 (:REWRITE SLICE-TOO-HIGH-IS-0))
 (1992 202 (:DEFINITION EXPT))
 (1749 93 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUNDS))
 (1232 405 (:REWRITE DEFAULT-*-2))
 (1216 1060 (:REWRITE DEFAULT-+-2))
 (1121 93 (:REWRITE UNSIGNED-BYTE-P-FROM-BOUND))
 (1060 1060 (:REWRITE DEFAULT-+-1))
 (966 86 (:REWRITE /R-WHEN-ABS-NUMERATOR=1))
 (881 584 (:REWRITE DEFAULT-<-1))
 (833 584 (:REWRITE DEFAULT-<-2))
 (803 803 (:REWRITE BOUND-WHEN-USB))
 (635 17 (:REWRITE <-UNARY-/-POSITIVE-RIGHT-BETTER))
 (609 405 (:REWRITE DEFAULT-*-1))
 (393 3 (:REWRITE <-*-/-LEFT))
 (341 69 (:REWRITE 0-<-*))
 (325 54 (:REWRITE <-0-+-NEGATIVE-1))
 (301 43 (:REWRITE DEFAULT-UNARY-/))
 (256 3 (:REWRITE BVCHOP-IDENTITY))
 (187 17 (:REWRITE COMMUTATIVITY-OF-*))
 (172 43 (:REWRITE NUMERATOR-WHEN-INTEGERP))
 (160 91 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER))
 (136 136 (:REWRITE SIZE-NON-NEGATIVE-WHEN-UNSIGNED-BYTE-P-FREE))
 (123 123 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P-SIZE-ARG))
 (123 123 (:REWRITE NATP-WHEN-UNSIGNED-BYTE-P))
 (123 104 (:REWRITE SLICE-WHEN-LOW-IS-NEGATIVE))
 (122 122 (:TYPE-PRESCRIPTION MIN))
 (112 112 (:REWRITE DEFAULT-UNARY-MINUS))
 (108 108 (:REWRITE SLICE-WHEN-BVCHOP-KNOWN))
 (108 108 (:REWRITE SLICE-TOO-HIGH-LEMMA))
 (108 108 (:REWRITE SLICE-SUBST-IN-CONSTANT-ALT))
 (108 108 (:REWRITE SLICE-SUBST-IN-CONSTANT))
 (105 93 (:REWRITE UNSIGNED-BYTE-P-WHEN-UNSIGNED-BYTE-P-SMALLER))
 (101 52 (:REWRITE BVCAT-WHEN-LOWVAL-IS-NOT-AN-INTEGER))
 (94 91 (:REWRITE SLICE-WHEN-VAL-IS-NOT-AN-INTEGER-CHEAP))
 (93 93 (:REWRITE UNSIGNED-BYTE-P-WHEN-<=-CHEAP))
 (93 93 (:REWRITE UNSIGNED-BYTE-P-TIGHTEN-WHEN-SLICE-IS-0))
 (87 84 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG4))
 (85 84 (:REWRITE BVCAT-NORMALIZE-CONSTANT-ARG2))
 (85 17 (:REWRITE UNICITY-OF-1))
 (76 76 (:REWRITE INTEGERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (72 72 (:REWRITE RATIONALP-IMPLIES-ACL2-NUMBERP))
 (72 72 (:REWRITE ACL2-NUMBERP-WHEN-UNSIGNED-BYTE-P))
 (72 72 (:REWRITE ACL2-NUMBERP-FROM-UNSIGNED-BYTE-P-SIZE-PARAM))
 (72 52 (:REWRITE BVCAT-WHEN-HIGHVAL-IS-NOT-AN-INTEGER))
 (70 70 (:REWRITE BVCHOP-WHEN-TOP-BIT-NOT-1-FAKE-FREE))
 (69 4 (:REWRITE UNSIGNED-BYTE-P-OF-SLICE-LEMMA))
 (68 17 (:REWRITE <-UNARY-/-NEGATIVE-RIGHT-BETTER))
 (52 52 (:REWRITE BVCAT-WHEN-ARG2-IS-NOT-AN-INTEGER))
 (50 6 (:REWRITE EXPONENTS-ADD-FOR-NONNEG-EXPONENTS))
 (32 8 (:REWRITE <-*-LEFT-CANCEL))
 (28 7 (:REWRITE ZIP-OPEN))
 (26 26 (:REWRITE EQUAL-CONSTANT-WHEN-BVCHOP-EQUAL-CONSTANT-FALSE))
 (22 22 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG4-CONSTANT))
 (22 22 (:LINEAR BVCAT-LOWER-BOUND-LINEAR-ARG2-CONSTANT))
 (21 21 (:REWRITE BVCAT-COMBINE-CONSTANTS))
 (21 3 (:REWRITE BVCHOP-WITH-N-NEGATIVE))
 (15 5 (:REWRITE BVCAT-OF-BVCHOP-TIGHTEN))
 (15 4 (:REWRITE <-+-NEGATIVE-0-2))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-WHEN-SIZE-IS-NEGATIVE-LIMITED))
 (11 11 (:REWRITE UNSIGNED-BYTE-P-FALSE-WHEN-NOT-LONGER))
 (11 5 (:REWRITE EQUAL-CONSTANT-+))
 (10 10 (:REWRITE X*Y>1-POSITIVE-LEMMA))
 (10 10 (:REWRITE *-PRESERVES->-FOR-NONNEGATIVES-1))
 (9 3 (:REWRITE X*Y>1-POSITIVE))
 (7 5 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN))
 (6 3 (:REWRITE BVCHOP-WHEN-SIZE-IS-NOT-POSP))
 (6 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER))
 (6 2 (:REWRITE ZERO-IS-ONLY-ZERO-DIVISOR))
 (5 5 (:REWRITE BVCAT-OF-BVCHOP-HIGH-TIGHTEN-AXE))
 (5 3 (:REWRITE BVCHOP-WHEN-NOT-NATP-ARG1-CHEAP))
 (5 3 (:REWRITE BVCHOP-WHEN-I-IS-NOT-AN-INTEGER-CHEAP))
 (3 3 (:REWRITE BVCHOP-WITH-N-NOT-AN-INTEGER))
 (3 3 (:REWRITE BVCHOP-SUBST-CONSTANT))
 (1 1 (:REWRITE RIGHT-UNICITY-OF-1-FOR-EXPT))
 (1 1 (:REWRITE NOT-EQUAL-OF-BVCHOP-WHEN-EQUAL-OF-GETBIT))
 (1 1 (:REWRITE BVCHOP-IMPOSSIBLE-VALUE))
 )
(SLICE-OF-PUTBYTE-ALL-BUT-LOW
 (4 1 (:LINEAR SLICE-UPPER-BOUND-LINEAR))
 (1 1 (:REWRITE DEFAULT-<-2))
 (1 1 (:REWRITE DEFAULT-<-1))
 (1 1 (:REWRITE BOUND-WHEN-USB))
 )
