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