Exact expanded PA statement
forall B n. ~(n = 0) -> ~(n = 1) -> (exists bpr_gap_bb8pnsp_square. bpr_gap_bb8pnsp_square + S (n) = S B * S B) -> (forall p. ((~(p = 1) /\ forall bpr_left_bb8pnsp_prime bpr_right_bb8pnsp_prime. p = bpr_left_bb8pnsp_prime * bpr_right_bb8pnsp_prime -> bpr_left_bb8pnsp_prime = 1 \/ bpr_right_bb8pnsp_prime = 1)) -> (exists bpr_le_gap_bb8pnsp_bound. bpr_le_gap_bb8pnsp_bound + (p) = (B)) -> ~(exists bpr_quotient_bb8pnsp_divides. n = (p) * bpr_quotient_bb8pnsp_divides)) -> ((~(n = 1) /\ forall bpr_left_bb8pnsp_result bpr_right_bb8pnsp_result. n = bpr_left_bb8pnsp_result * bpr_right_bb8pnsp_result -> bpr_left_bb8pnsp_result = 1 \/ bpr_right_bb8pnsp_result = 1))Structural proof guide
Trial division by primes through B certifies numbers below (B+1)^2.
Direct prerequisites: prime_decidable, nonprime_has_small_prime_divisor_below_square. The authored body proceeds by case analysis (4), intermediate claims (1).
Proof neighborhood
Direct dependencies
Direct dependents
Formal native tactic body
Dependencies are hypotheses of this body receipt. The focused endpoint audits separately check the complete empty-context certificates.
- 0001
intro B - 0002
intro n - 0003
intro hn0 - 0004
intro hn1 - 0005
intro hsquare - 0006
intro hexclude - 0007
specialize prime_decidable n - 0008
cases prime_decidable - 0009
exact prime_decidable_left - 0010
exfalso - 0011
have hp : exists p. ((~(p = 1) /\ forall bpr_left_bb8npsp_prime bpr_right_bb8npsp_prime. p = bpr_left_bb8npsp_prime * bpr_right_bb8npsp_prime -> bpr_left_bb8npsp_prime = 1 \/ bpr_right_bb8npsp_prime = 1)) /\ ((exists bpr_le_gap_bb8npsp_bound. bpr_le_gap_bb8npsp_bound + (p) = (B)) /\ (exists bpr_quotient_bb8npsp_divides. n = (p) * bpr_quotient_bb8npsp_divides)) - 0012
specialize nonprime_has_small_prime_divisor_below_square B - 0013
specialize nonprime_has_small_prime_divisor_below_square n - 0014
apply nonprime_has_small_prime_divisor_below_square - 0015
exact hn0 - 0016
exact hn1 - 0017
exact hsquare - 0018
exact prime_decidable_right - 0019
cases hp - 0020
cases hp_witness - 0021
cases hp_witness_right - 0022
specialize hexclude x - 0023
apply hexclude - 0024
exact hp_witness_left - 0025
exact hp_witness_right_left - 0026
exact hp_witness_right_right