(REMOVE-EQUAL-FORMALS-ACTUALS
 (125 63 (:REWRITE DEFAULT-+-2))
 (105 105 (:REWRITE DEFAULT-CDR))
 (63 63 (:REWRITE DEFAULT-+-1))
 (40 40 (:REWRITE DEFAULT-CAR))
 (29 29 (:REWRITE TERM-LISTP-IMPLIES-PSEUDO-TERM-LISTP))
 (14 14 (:REWRITE TERMP-IMPLIES-PSEUDO-TERMP))
 )
(SYMBOL-LISTP-OF-REMOVE-EQUAL-FORMALS-ACTUALS.NEW-FORMALS
 (67 67 (:REWRITE DEFAULT-CAR))
 (53 53 (:REWRITE DEFAULT-CDR))
 )
(PSEUDO-TERM-LISTP-OF-REMOVE-EQUAL-FORMALS-ACTUALS.NEW-ACTUALS
 (408 8 (:DEFINITION PSEUDO-TERMP))
 (171 171 (:REWRITE DEFAULT-CAR))
 (165 165 (:REWRITE DEFAULT-CDR))
 (120 24 (:DEFINITION LEN))
 (87 87 (:REWRITE TERM-LISTP-IMPLIES-PSEUDO-TERM-LISTP))
 (56 56 (:TYPE-PRESCRIPTION LEN))
 (55 55 (:REWRITE TERMP-IMPLIES-PSEUDO-TERMP))
 (48 24 (:REWRITE DEFAULT-+-2))
 (24 24 (:REWRITE DEFAULT-+-1))
 (24 8 (:DEFINITION SYMBOL-LISTP))
 (16 8 (:DEFINITION TRUE-LISTP))
 (8 8 (:TYPE-PRESCRIPTION SYMBOL-LISTP))
 )
(REMOVE-EQUAL-FORMALS-ACTUALS-SAME-LEN
 (32 16 (:REWRITE DEFAULT-+-2))
 (30 30 (:REWRITE DEFAULT-CDR))
 (20 20 (:REWRITE DEFAULT-CAR))
 (16 16 (:REWRITE DEFAULT-+-1))
 )
(TRUE-LISTP-OF-REMOVE-EQUAL-FORMALS-ACTUALS.NEW-FORMALS
 (28 14 (:DEFINITION TRUE-LISTP))
 (18 18 (:REWRITE DEFAULT-CDR))
 (16 16 (:REWRITE DEFAULT-CAR))
 )
(TRUE-LISTP-OF-REMOVE-EQUAL-FORMALS-ACTUALS.NEW-ACTUALS
 (28 14 (:DEFINITION TRUE-LISTP))
 (18 18 (:REWRITE DEFAULT-CDR))
 (16 16 (:REWRITE DEFAULT-CAR))
 )
(ACL2-COUNT-OF-REMOVE-EQUAL-FORMALS-ACTUALS.FORMALS
 (534 4 (:LINEAR ACL2-COUNT-CAR-CDR-LINEAR))
 (403 190 (:REWRITE DEFAULT-+-2))
 (267 190 (:REWRITE DEFAULT-+-1))
 (90 18 (:DEFINITION LEN))
 (89 88 (:REWRITE DEFAULT-CDR))
 (67 51 (:REWRITE DEFAULT-<-1))
 (63 51 (:REWRITE DEFAULT-<-2))
 (59 59 (:REWRITE FOLD-CONSTS-IN-+))
 (58 57 (:REWRITE DEFAULT-CAR))
 (36 36 (:REWRITE DEFAULT-UNARY-MINUS))
 (18 18 (:REWRITE DEFAULT-NUMERATOR))
 (18 18 (:REWRITE DEFAULT-DENOMINATOR))
 (18 18 (:REWRITE DEFAULT-COERCE-2))
 (18 18 (:REWRITE DEFAULT-COERCE-1))
 (17 17 (:REWRITE DEFAULT-REALPART))
 (17 17 (:REWRITE DEFAULT-IMAGPART))
 )
(ACL2-COUNT-OF-REMOVE-EQUAL-FORMALS-ACTUALS.ACTUALS
 (534 4 (:LINEAR ACL2-COUNT-CAR-CDR-LINEAR))
 (403 190 (:REWRITE DEFAULT-+-2))
 (267 190 (:REWRITE DEFAULT-+-1))
 (90 18 (:DEFINITION LEN))
 (89 88 (:REWRITE DEFAULT-CDR))
 (67 51 (:REWRITE DEFAULT-<-1))
 (63 51 (:REWRITE DEFAULT-<-2))
 (59 59 (:REWRITE FOLD-CONSTS-IN-+))
 (58 57 (:REWRITE DEFAULT-CAR))
 (36 36 (:REWRITE DEFAULT-UNARY-MINUS))
 (18 18 (:REWRITE DEFAULT-NUMERATOR))
 (18 18 (:REWRITE DEFAULT-DENOMINATOR))
 (18 18 (:REWRITE DEFAULT-COERCE-2))
 (18 18 (:REWRITE DEFAULT-COERCE-1))
 (17 17 (:REWRITE DEFAULT-REALPART))
 (17 17 (:REWRITE DEFAULT-IMAGPART))
 )
(REMOVE-TRIVIAL-VARS
 (729 323 (:REWRITE DEFAULT-+-2))
 (440 323 (:REWRITE DEFAULT-+-1))
 (216 54 (:DEFINITION INTEGER-ABS))
 (216 27 (:DEFINITION LENGTH))
 (84 62 (:REWRITE DEFAULT-<-2))
 (67 62 (:REWRITE DEFAULT-<-1))
 (54 54 (:REWRITE DEFAULT-UNARY-MINUS))
 (27 27 (:REWRITE DEFAULT-REALPART))
 (27 27 (:REWRITE DEFAULT-NUMERATOR))
 (27 27 (:REWRITE DEFAULT-IMAGPART))
 (27 27 (:REWRITE DEFAULT-DENOMINATOR))
 (27 27 (:REWRITE DEFAULT-COERCE-2))
 (27 27 (:REWRITE DEFAULT-COERCE-1))
 (20 20 (:REWRITE TERM-LISTP-IMPLIES-PSEUDO-TERM-LISTP))
 (18 18 (:REWRITE TERMP-IMPLIES-PSEUDO-TERMP))
 (12 6 (:DEFINITION TRUE-LISTP))
 (5 5 (:LINEAR ACL2-COUNT-CAR-CDR-LINEAR))
 (4 4 (:TYPE-PRESCRIPTION TRUE-LISTP-OF-REMOVE-EQUAL-FORMALS-ACTUALS.NEW-ACTUALS))
 )
(REMOVE-TRIVIAL-VARS-FLAG
 (868 389 (:REWRITE DEFAULT-+-2))
 (543 389 (:REWRITE DEFAULT-+-1))
 (296 74 (:DEFINITION INTEGER-ABS))
 (296 37 (:DEFINITION LENGTH))
 (255 51 (:DEFINITION LEN))
 (110 85 (:REWRITE DEFAULT-<-2))
 (93 85 (:REWRITE DEFAULT-<-1))
 (74 74 (:REWRITE DEFAULT-UNARY-MINUS))
 (37 37 (:REWRITE DEFAULT-REALPART))
 (37 37 (:REWRITE DEFAULT-NUMERATOR))
 (37 37 (:REWRITE DEFAULT-IMAGPART))
 (37 37 (:REWRITE DEFAULT-DENOMINATOR))
 (37 37 (:REWRITE DEFAULT-COERCE-2))
 (37 37 (:REWRITE DEFAULT-COERCE-1))
 (16 2 (:TYPE-PRESCRIPTION RETURN-LAST))
 (4 4 (:TYPE-PRESCRIPTION TRUE-LISTP-OF-REMOVE-EQUAL-FORMALS-ACTUALS.NEW-ACTUALS))
 (2 2 (:TYPE-PRESCRIPTION THROW-NONEXEC-ERROR))
 )
(FLAG::FLAG-EQUIV-LEMMA)
(REMOVE-TRIVIAL-VARS-FLAG-EQUIVALENCES)
(FLAG-LEMMA-FOR-RETURN-TYPE-OF-REMOVE-TRIVIAL-VARS.NEW-TERM
 (671 664 (:REWRITE DEFAULT-CDR))
 (590 571 (:REWRITE DEFAULT-CAR))
 (314 157 (:REWRITE DEFAULT-+-2))
 (157 157 (:REWRITE DEFAULT-+-1))
 (77 77 (:REWRITE TERMP-IMPLIES-PSEUDO-TERMP))
 (71 71 (:REWRITE TERM-LISTP-IMPLIES-PSEUDO-TERM-LISTP))
 (69 23 (:DEFINITION SYMBOL-LISTP))
 )
(RETURN-TYPE-OF-REMOVE-TRIVIAL-VARS.NEW-TERM)
(RETURN-TYPE-OF-REMOVE-TRIVIAL-VARS-LST.NEW-TERMS)
