Exact expanded PA statement
(~(23 = 1) /\ forall bpr_left_bb8cert_prime_twenty_three bpr_right_bb8cert_prime_twenty_three. 23 = bpr_left_bb8cert_prime_twenty_three * bpr_right_bb8cert_prime_twenty_three -> bpr_left_bb8cert_prime_twenty_three = 1 \/ bpr_right_bb8cert_prime_twenty_three = 1)Structural proof guide
A native checked trial-division certificate for 23.
Direct prerequisites: 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 (12), equality transport (8), closed numeral normalization (12).
Proof neighborhood
Direct dependencies
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 : ~(23 = 0) - 0002
intro hzero - 0003
apply PA1 - 0004
exact hzero - 0005
have hn1 : ~(23 = 1) - 0006
intro hone - 0007
apply PA1 - 0008
apply PA2 - 0009
exact hone - 0010
have hsquare : exists bpr_gap_bb8cert_prime_twenty_three_square. bpr_gap_bb8cert_prime_twenty_three_square + S (23) = S 4 * S 4 - 0011
exists 1 - 0012
norm_num - 0013
specialize prime_of_no_small_prime_divisor_below_square 4 - 0014
specialize prime_of_no_small_prime_divisor_below_square (23) - 0015
apply prime_of_no_small_prime_divisor_below_square - 0016
exact hn0 - 0017
exact hn1 - 0018
exact hsquare - 0019
intro p - 0020
intro hp - 0021
intro hp_bound - 0022
intro hdivides - 0023
have hbound_22 : exists k. k + 4 = 22 - 0024
exists 18 - 0025
norm_num - 0026
have hp_22 : exists k. k + p = 22 - 0027
specialize le_trans p - 0028
specialize le_trans 4 - 0029
specialize le_trans 22 - 0030
apply le_trans - 0031
exact hp_bound - 0032
exact hbound_22 - 0033
have hcases : p = 2 \/ (p = 3 \/ (p = 5 \/ (p = 7 \/ (p = 11 \/ (p = 13 \/ (p = 17 \/ (p = 19))))))) - 0034
specialize prime_le_twenty_two_cases p - 0035
apply prime_le_twenty_two_cases - 0036
exact hp - 0037
exact hp_22 - 0038
cases hcases - 0039
rewrite hcases_left at hdivides - 0040
specialize nonzero_remainder_not_multiple 2 - 0041
specialize nonzero_remainder_not_multiple (23) - 0042
specialize nonzero_remainder_not_multiple 11 - 0043
specialize nonzero_remainder_not_multiple 1 - 0044
apply nonzero_remainder_not_multiple - 0045
norm_num - 0046
intro hrem_2_zero - 0047
apply PA1 - 0048
exact hrem_2_zero - 0049
exists 0 - 0050
norm_num - 0051
exact hdivides - 0052
cases hcases_right - 0053
rewrite hcases_right_left at hdivides - 0054
specialize nonzero_remainder_not_multiple 3 - 0055
specialize nonzero_remainder_not_multiple (23) - 0056
specialize nonzero_remainder_not_multiple 7 - 0057
specialize nonzero_remainder_not_multiple 2 - 0058
apply nonzero_remainder_not_multiple - 0059
norm_num - 0060
intro hrem_3_zero - 0061
apply PA1 - 0062
exact hrem_3_zero - 0063
exists 0 - 0064
norm_num - 0065
exact hdivides - 0066
cases hcases_right_right - 0067
have htoo_large_5 : exists k. k + S 4 = 5 - 0068
exists 0 - 0069
norm_num - 0070
specialize lt_not_le 4 - 0071
specialize lt_not_le 5 - 0072
apply lt_not_le - 0073
exact htoo_large_5 - 0074
rewrite hcases_right_right_left at hp_bound - 0075
exact hp_bound - 0076
cases hcases_right_right_right - 0077
have htoo_large_7 : exists k. k + S 4 = 7 - 0078
exists 2 - 0079
norm_num - 0080
specialize lt_not_le 4 - 0081
specialize lt_not_le 7 - 0082
apply lt_not_le - 0083
exact htoo_large_7 - 0084
rewrite hcases_right_right_right_left at hp_bound - 0085
exact hp_bound - 0086
cases hcases_right_right_right_right - 0087
have htoo_large_11 : exists k. k + S 4 = 11 - 0088
exists 6 - 0089
norm_num - 0090
specialize lt_not_le 4 - 0091
specialize lt_not_le 11 - 0092
apply lt_not_le - 0093
exact htoo_large_11 - 0094
rewrite hcases_right_right_right_right_left at hp_bound - 0095
exact hp_bound - 0096
cases hcases_right_right_right_right_right - 0097
have htoo_large_13 : exists k. k + S 4 = 13 - 0098
exists 8 - 0099
norm_num - 0100
specialize lt_not_le 4 - 0101
specialize lt_not_le 13 - 0102
apply lt_not_le - 0103
exact htoo_large_13 - 0104
rewrite hcases_right_right_right_right_right_left at hp_bound - 0105
exact hp_bound - 0106
cases hcases_right_right_right_right_right_right - 0107
have htoo_large_17 : exists k. k + S 4 = 17 - 0108
exists 12 - 0109
norm_num - 0110
specialize lt_not_le 4 - 0111
specialize lt_not_le 17 - 0112
apply lt_not_le - 0113
exact htoo_large_17 - 0114
rewrite hcases_right_right_right_right_right_right_left at hp_bound - 0115
exact hp_bound - 0116
have htoo_large_19 : exists k. k + S 4 = 19 - 0117
exists 14 - 0118
norm_num - 0119
specialize lt_not_le 4 - 0120
specialize lt_not_le 19 - 0121
apply lt_not_le - 0122
exact htoo_large_19 - 0123
rewrite hcases_right_right_right_right_right_right_right at hp_bound - 0124
exact hp_bound