Exact expanded PA statement
exists bpr_le_gap_bb8c_three_seventeen_five_twenty_one. bpr_le_gap_bb8c_three_seventeen_five_twenty_one + (2 * (11 * 22) + 37) = (18 * 17 + 11 + (18 * 17 + 11))Structural proof guide
The compact checked cover from 317 to 521.
Direct prerequisites: add_mul, mul_add, mul_assoc, mul_comm, add_assoc, add_comm, one_mul, bertrand_add_six_permute. The authored body proceeds by intermediate claims (17), equality transport (11), closed numeral normalization (8).
Proof neighborhood
Direct dependencies
BT000B add_mul BT0007 mul_add BT0008 mul_assoc BT0006 mul_comm BT0003 add_assoc BT0002 add_comm BT0009 one_mul BT011P bertrand_add_six_permuteDirect dependents
Formal native tactic body
Dependencies are hypotheses of this body receipt. The focused endpoint audits separately check the complete empty-context certificates.
- 0001
have h22 : 22 = 17 + 5 - 0002
norm_num - 0003
have htwoeleven : 2 * 11 = 22 - 0004
norm_num - 0005
have hsquare : 22 * 22 = (17 + 5) * (17 + 5) - 0006
congr - 0007
exact h22 - 0008
exact h22 - 0009
have hproduct : (17 + 5) * (17 + 5) = (17 * 17 + 17 * 5) + (17 * 5 + 5 * 5) - 0010
trans 17 * (17 + 5) + 5 * (17 + 5) - 0011
apply add_mul - 0012
trans (17 * 17 + 17 * 5) + (5 * 17 + 5 * 5) - 0013
congr - 0014
apply mul_add - 0015
apply mul_add - 0016
trans (17 * 17 + 17 * 5) + (17 * 5 + 5 * 5) - 0017
congr - 0018
refl - 0019
congr - 0020
apply mul_comm - 0021
refl - 0022
refl - 0023
have hBnorm : 2 * (11 * 22) + 37 = 17 * 17 + (17 * 5 + (17 * 5 + 2 * 31)) - 0024
trans (2 * 11) * 22 + 37 - 0025
congr - 0026
symm - 0027
apply mul_assoc - 0028
refl - 0029
rewrite htwoeleven - 0030
rewrite hsquare - 0031
rewrite hproduct - 0032
trans (17 * 17 + 17 * 5) + ((17 * 5 + 5 * 5) + 37) - 0033
apply add_assoc - 0034
trans 17 * 17 + (17 * 5 + ((17 * 5 + 5 * 5) + 37)) - 0035
apply add_assoc - 0036
trans 17 * 17 + (17 * 5 + (17 * 5 + (5 * 5 + 37))) - 0037
congr - 0038
refl - 0039
congr - 0040
refl - 0041
apply add_assoc - 0042
have htail_b : 5 * 5 + 37 = 2 * 31 - 0043
norm_num - 0044
rewrite htail_b - 0045
refl - 0046
have h18 : 18 = 17 + 1 - 0047
norm_num - 0048
have hAexpand : 18 * 17 + 11 = (17 * 17 + 17) + 11 - 0049
trans (17 + 1) * 17 + 11 - 0050
congr - 0051
congr - 0052
exact h18 - 0053
refl - 0054
refl - 0055
trans (17 * 17 + 1 * 17) + 11 - 0056
congr - 0057
apply add_mul - 0058
refl - 0059
have hone : 1 * 17 = 17 - 0060
apply one_mul - 0061
rewrite hone - 0062
refl - 0063
have h12 : 12 = 5 + 7 - 0064
norm_num - 0065
have h7 : 7 = 5 + 2 - 0066
norm_num - 0067
have hRexpand : 17 * 12 = 17 * 5 + (17 * 5 + 17 * 2) - 0068
trans 17 * (5 + 7) - 0069
congr - 0070
refl - 0071
exact h12 - 0072
trans 17 * 5 + 17 * 7 - 0073
apply mul_add - 0074
trans 17 * 5 + 17 * (5 + 2) - 0075
congr - 0076
refl - 0077
congr - 0078
refl - 0079
exact h7 - 0080
trans 17 * 5 + (17 * 5 + 17 * 2) - 0081
congr - 0082
refl - 0083
apply mul_add - 0084
refl - 0085
have hRnorm : (18 * 17 + 11) + (17 * 12) = 17 * 17 + (17 * 5 + (17 * 5 + 2 * 31)) - 0086
rewrite hRexpand - 0087
rewrite hAexpand - 0088
trans (((17 * 17 + 17) + 11) + 17 * 5) + (17 * 5 + 17 * 2) - 0089
symm - 0090
apply add_assoc - 0091
trans ((17 * 17 + 17) + (11 + 17 * 5)) + (17 * 5 + 17 * 2) - 0092
congr - 0093
apply add_assoc - 0094
refl - 0095
trans (17 * 17 + 17 * 5) + ((17 + 11) + (17 * 5 + 17 * 2)) - 0096
apply bertrand_add_six_permute - 0097
trans 17 * 17 + (17 * 5 + ((17 + 11) + (17 * 5 + 17 * 2))) - 0098
apply add_assoc - 0099
trans 17 * 17 + (17 * 5 + (17 * 5 + ((17 + 11) + 17 * 2))) - 0100
congr - 0101
refl - 0102
congr - 0103
refl - 0104
trans ((17 + 11) + 17 * 5) + 17 * 2 - 0105
symm - 0106
apply add_assoc - 0107
trans (17 * 5 + (17 + 11)) + 17 * 2 - 0108
congr - 0109
apply add_comm - 0110
refl - 0111
apply add_assoc - 0112
have htail_r : (17 + 11) + 17 * 2 = 2 * 31 - 0113
norm_num - 0114
rewrite htail_r - 0115
refl - 0116
have hcarrier : 2 * (11 * 22) + 37 = (18 * 17 + 11) + (17 * 12) - 0117
trans 17 * 17 + (17 * 5 + (17 * 5 + 2 * 31)) - 0118
exact hBnorm - 0119
symm - 0120
exact hRnorm - 0121
have hgap : (6 * 17 + 11) + (17 * 12) = 18 * 17 + 11 - 0122
trans 6 * 17 + (11 + (17 * 12)) - 0123
apply add_assoc - 0124
trans 6 * 17 + ((17 * 12) + 11) - 0125
congr - 0126
refl - 0127
apply add_comm - 0128
trans (6 * 17 + (17 * 12)) + 11 - 0129
symm - 0130
apply add_assoc - 0131
trans (17 * 6 + (17 * 12)) + 11 - 0132
congr - 0133
congr - 0134
apply mul_comm - 0135
refl - 0136
refl - 0137
trans 17 * (6 + 12) + 11 - 0138
congr - 0139
symm - 0140
apply mul_add - 0141
refl - 0142
have hsum : 6 + 12 = 18 - 0143
norm_num - 0144
rewrite hsum - 0145
trans 18 * 17 + 11 - 0146
congr - 0147
apply mul_comm - 0148
refl - 0149
refl - 0150
exists 6 * 17 + 11 - 0151
rewrite hcarrier - 0152
trans ((6 * 17 + 11) + (18 * 17 + 11)) + (17 * 12) - 0153
symm - 0154
apply add_assoc - 0155
trans ((18 * 17 + 11) + (6 * 17 + 11)) + (17 * 12) - 0156
congr - 0157
apply add_comm - 0158
refl - 0159
trans (18 * 17 + 11) + ((6 * 17 + 11) + (17 * 12)) - 0160
apply add_assoc - 0161
rewrite hgap - 0162
refl