Exact expanded PA statement
(~(13 * 12 + 7 = 1) /\ forall bpr_left_bb8cert_prime_one_hundred_sixty_three bpr_right_bb8cert_prime_one_hundred_sixty_three. 13 * 12 + 7 = bpr_left_bb8cert_prime_one_hundred_sixty_three * bpr_right_bb8cert_prime_one_hundred_sixty_three -> bpr_left_bb8cert_prime_one_hundred_sixty_three = 1 \/ bpr_right_bb8cert_prime_one_hundred_sixty_three = 1)Structural proof guide
A native checked trial-division certificate for 163.
Direct prerequisites: add_eq_zero_right, le_not_lt, add_assoc, add_comm, scaled_remainder_lift, nonzero_remainder_not_multiple, prime_of_no_small_prime_divisor_below_square, le_trans, prime_le_twenty_two_cases, lt_not_le. The authored body proceeds by case analysis (7), intermediate claims (17), equality transport (9), closed numeral normalization (21).
Proof neighborhood
Direct dependencies
BT000L add_eq_zero_right BT001J le_not_lt BT0003 add_assoc BT0002 add_comm BT011C scaled_remainder_lift BT011B nonzero_remainder_not_multiple BT0119 prime_of_no_small_prime_divisor_below_square BT000F le_trans BT011A prime_le_twenty_two_cases BT001I lt_not_leDirect 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 hn0 : ~(13 * (12) + 7 = 0) - 0002
intro hzero - 0003
have htail_zero : 7 = 0 - 0004
specialize add_eq_zero_right (13 * (12)) - 0005
specialize add_eq_zero_right 7 - 0006
apply add_eq_zero_right - 0007
exact hzero - 0008
apply PA1 - 0009
exact htail_zero - 0010
have hn1 : ~(13 * (12) + 7 = 1) - 0011
intro hone - 0012
have htail_le_one : exists k. k + 7 = 1 - 0013
exists 13 * (12) - 0014
exact hone - 0015
have hone_lt_tail : exists k. k + S 1 = 7 - 0016
exists 5 - 0017
norm_num - 0018
specialize le_not_lt 7 - 0019
specialize le_not_lt 1 - 0020
apply le_not_lt - 0021
exact htail_le_one - 0022
exact hone_lt_tail - 0023
have hsquare : exists bpr_gap_bb8cert_prime_one_hundred_sixty_three_square. bpr_gap_bb8cert_prime_one_hundred_sixty_three_square + S (13 * (12) + 7) = S 12 * S 12 - 0024
exists 5 - 0025
trans 13 * 12 + 13 - 0026
rewrite <- PA4 - 0027
trans 13 * 12 + (5 + S 7) - 0028
trans (5 + 13 * 12) + S 7 - 0029
symm - 0030
apply add_assoc - 0031
trans (13 * 12 + 5) + S 7 - 0032
congr - 0033
apply add_comm - 0034
refl - 0035
apply add_assoc - 0036
congr - 0037
refl - 0038
norm_num - 0039
symm - 0040
apply PA6 - 0041
specialize prime_of_no_small_prime_divisor_below_square 12 - 0042
specialize prime_of_no_small_prime_divisor_below_square (13 * 12 + 7) - 0043
apply prime_of_no_small_prime_divisor_below_square - 0044
exact hn0 - 0045
exact hn1 - 0046
exact hsquare - 0047
intro p - 0048
intro hp - 0049
intro hp_bound - 0050
intro hdivides - 0051
have hbound_22 : exists k. k + 12 = 22 - 0052
exists 10 - 0053
norm_num - 0054
have hp_22 : exists k. k + p = 22 - 0055
specialize le_trans p - 0056
specialize le_trans 12 - 0057
specialize le_trans 22 - 0058
apply le_trans - 0059
exact hp_bound - 0060
exact hbound_22 - 0061
have hcases : p = 2 \/ (p = 3 \/ (p = 5 \/ (p = 7 \/ (p = 11 \/ (p = 13 \/ (p = 17 \/ (p = 19))))))) - 0062
specialize prime_le_twenty_two_cases p - 0063
apply prime_le_twenty_two_cases - 0064
exact hp - 0065
exact hp_22 - 0066
cases hcases - 0067
rewrite hcases_left at hdivides - 0068
have hdivision_2 : (13 * 12 + 7) = 2 * (13 * 6 + 3) + 1 - 0069
specialize scaled_remainder_lift 2 - 0070
specialize scaled_remainder_lift 12 - 0071
specialize scaled_remainder_lift 6 - 0072
specialize scaled_remainder_lift 0 - 0073
specialize scaled_remainder_lift 13 - 0074
specialize scaled_remainder_lift 7 - 0075
specialize scaled_remainder_lift 3 - 0076
specialize scaled_remainder_lift 1 - 0077
apply scaled_remainder_lift - 0078
norm_num - 0079
norm_num - 0080
specialize nonzero_remainder_not_multiple 2 - 0081
specialize nonzero_remainder_not_multiple (13 * 12 + 7) - 0082
specialize nonzero_remainder_not_multiple (13 * 6 + 3) - 0083
specialize nonzero_remainder_not_multiple 1 - 0084
apply nonzero_remainder_not_multiple - 0085
exact hdivision_2 - 0086
intro hrem_2_zero - 0087
apply PA1 - 0088
exact hrem_2_zero - 0089
exists 0 - 0090
norm_num - 0091
exact hdivides - 0092
cases hcases_right - 0093
rewrite hcases_right_left at hdivides - 0094
have hdivision_3 : (13 * 12 + 7) = 3 * (13 * 4 + 2) + 1 - 0095
specialize scaled_remainder_lift 3 - 0096
specialize scaled_remainder_lift 12 - 0097
specialize scaled_remainder_lift 4 - 0098
specialize scaled_remainder_lift 0 - 0099
specialize scaled_remainder_lift 13 - 0100
specialize scaled_remainder_lift 7 - 0101
specialize scaled_remainder_lift 2 - 0102
specialize scaled_remainder_lift 1 - 0103
apply scaled_remainder_lift - 0104
norm_num - 0105
norm_num - 0106
specialize nonzero_remainder_not_multiple 3 - 0107
specialize nonzero_remainder_not_multiple (13 * 12 + 7) - 0108
specialize nonzero_remainder_not_multiple (13 * 4 + 2) - 0109
specialize nonzero_remainder_not_multiple 1 - 0110
apply nonzero_remainder_not_multiple - 0111
exact hdivision_3 - 0112
intro hrem_3_zero - 0113
apply PA1 - 0114
exact hrem_3_zero - 0115
exists 1 - 0116
norm_num - 0117
exact hdivides - 0118
cases hcases_right_right - 0119
rewrite hcases_right_right_left at hdivides - 0120
have hdivision_5 : (13 * 12 + 7) = 5 * (13 * 2 + 6) + 3 - 0121
specialize scaled_remainder_lift 5 - 0122
specialize scaled_remainder_lift 12 - 0123
specialize scaled_remainder_lift 2 - 0124
specialize scaled_remainder_lift 2 - 0125
specialize scaled_remainder_lift 13 - 0126
specialize scaled_remainder_lift 7 - 0127
specialize scaled_remainder_lift 6 - 0128
specialize scaled_remainder_lift 3 - 0129
apply scaled_remainder_lift - 0130
norm_num - 0131
norm_num - 0132
specialize nonzero_remainder_not_multiple 5 - 0133
specialize nonzero_remainder_not_multiple (13 * 12 + 7) - 0134
specialize nonzero_remainder_not_multiple (13 * 2 + 6) - 0135
specialize nonzero_remainder_not_multiple 3 - 0136
apply nonzero_remainder_not_multiple - 0137
exact hdivision_5 - 0138
intro hrem_5_zero - 0139
apply PA1 - 0140
exact hrem_5_zero - 0141
exists 1 - 0142
norm_num - 0143
exact hdivides - 0144
cases hcases_right_right_right - 0145
rewrite hcases_right_right_right_left at hdivides - 0146
have hdivision_7 : (13 * 12 + 7) = 7 * (13 * 1 + 10) + 2 - 0147
specialize scaled_remainder_lift 7 - 0148
specialize scaled_remainder_lift 12 - 0149
specialize scaled_remainder_lift 1 - 0150
specialize scaled_remainder_lift 5 - 0151
specialize scaled_remainder_lift 13 - 0152
specialize scaled_remainder_lift 7 - 0153
specialize scaled_remainder_lift 10 - 0154
specialize scaled_remainder_lift 2 - 0155
apply scaled_remainder_lift - 0156
norm_num - 0157
norm_num - 0158
specialize nonzero_remainder_not_multiple 7 - 0159
specialize nonzero_remainder_not_multiple (13 * 12 + 7) - 0160
specialize nonzero_remainder_not_multiple (13 * 1 + 10) - 0161
specialize nonzero_remainder_not_multiple 2 - 0162
apply nonzero_remainder_not_multiple - 0163
exact hdivision_7 - 0164
intro hrem_7_zero - 0165
apply PA1 - 0166
exact hrem_7_zero - 0167
exists 4 - 0168
norm_num - 0169
exact hdivides - 0170
cases hcases_right_right_right_right - 0171
rewrite hcases_right_right_right_right_left at hdivides - 0172
have hdivision_11 : (13 * 12 + 7) = 11 * (13 * 1 + 1) + 9 - 0173
specialize scaled_remainder_lift 11 - 0174
specialize scaled_remainder_lift 12 - 0175
specialize scaled_remainder_lift 1 - 0176
specialize scaled_remainder_lift 1 - 0177
specialize scaled_remainder_lift 13 - 0178
specialize scaled_remainder_lift 7 - 0179
specialize scaled_remainder_lift 1 - 0180
specialize scaled_remainder_lift 9 - 0181
apply scaled_remainder_lift - 0182
norm_num - 0183
norm_num - 0184
specialize nonzero_remainder_not_multiple 11 - 0185
specialize nonzero_remainder_not_multiple (13 * 12 + 7) - 0186
specialize nonzero_remainder_not_multiple (13 * 1 + 1) - 0187
specialize nonzero_remainder_not_multiple 9 - 0188
apply nonzero_remainder_not_multiple - 0189
exact hdivision_11 - 0190
intro hrem_11_zero - 0191
apply PA1 - 0192
exact hrem_11_zero - 0193
exists 1 - 0194
norm_num - 0195
exact hdivides - 0196
cases hcases_right_right_right_right_right - 0197
have htoo_large_13 : exists k. k + S 12 = 13 - 0198
exists 0 - 0199
norm_num - 0200
specialize lt_not_le 12 - 0201
specialize lt_not_le 13 - 0202
apply lt_not_le - 0203
exact htoo_large_13 - 0204
rewrite hcases_right_right_right_right_right_left at hp_bound - 0205
exact hp_bound - 0206
cases hcases_right_right_right_right_right_right - 0207
have htoo_large_17 : exists k. k + S 12 = 17 - 0208
exists 4 - 0209
norm_num - 0210
specialize lt_not_le 12 - 0211
specialize lt_not_le 17 - 0212
apply lt_not_le - 0213
exact htoo_large_17 - 0214
rewrite hcases_right_right_right_right_right_right_left at hp_bound - 0215
exact hp_bound - 0216
have htoo_large_19 : exists k. k + S 12 = 19 - 0217
exists 6 - 0218
norm_num - 0219
specialize lt_not_le 12 - 0220
specialize lt_not_le 19 - 0221
apply lt_not_le - 0222
exact htoo_large_19 - 0223
rewrite hcases_right_right_right_right_right_right_right at hp_bound - 0224
exact hp_bound