BT0116

fixed_nontrivial_factor_not_prime

Alpha v34 checked-use theorem · independently kernel and Lean verified; not Stable

A displayed nontrivial factorization refutes primality.

Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved. Exact original first-admission records.

Exact expanded PA statement

forall n a b. n = a * b -> ~(a = 1) -> ~(b = 1) -> ((~(n = 1) /\ forall bpr_left_bb8fnfp_prime bpr_right_bb8fnfp_prime. n = bpr_left_bb8fnfp_prime * bpr_right_bb8fnfp_prime -> bpr_left_bb8fnfp_prime = 1 \/ bpr_right_bb8fnfp_prime = 1)) -> false

Structural proof guide

A displayed nontrivial factorization refutes primality.

Direct prerequisites: none. The authored body proceeds by case analysis (2), intermediate claims (1).

Proof neighborhood

Direct dependencies

none

Direct dependents

Formal native tactic body

Dependencies are hypotheses of the historical Alpha-v12 body receipt. The complete historical Alpha-v18 proof bundle independently checks every dependency; current Alpha v25 preserves that checked theorem use without changing Stable membership.

Read the argument

Proof checkpoints

18 script commands · 6 reading checkpoints · 1 local claims

This is a reading aid, not a new proof or a proof-tree certificate. Checkpoint groups are consecutive commands, not inferred branch boundaries. Every step links to the preserved script.

01Fix variables and assumptionsL1–7

Work with arbitrary variables or the premises of the current implication.

  1. L1
    intro n
  2. L2
    intro a
  3. L3
    intro b
  4. L4
    intro hfactor
  5. L5
    intro ha
  6. L6
    intro hb
  7. L7
    intro hprime
02Separate the logical casesL8–8

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. L8
    cases hprime
03Use earlier factsL9–10

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L9
    specialize hprime_right a
  2. L10
    specialize hprime_right b
04Establish hunitL11–13

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hprime right.

  1. L11
    have hunit : a = 1 \/ b = 1
  2. L12
    apply hprime_right
  3. L13
    exact hfactor
05Separate the logical casesL14–14

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. L14
    cases hunit
06Use earlier factsL15–18

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L15
    apply ha
  2. L16
    exact hunit_left
  3. L17
    apply hb
  4. L18
    exact hunit_right

Library-wide reading audit

Original exact command ledger · 18 lines
  1. 0001intro n
  2. 0002intro a
  3. 0003intro b
  4. 0004intro hfactor
  5. 0005intro ha
  6. 0006intro hb
  7. 0007intro hprime
  8. 0008cases hprime
  9. 0009specialize hprime_right a
  10. 0010specialize hprime_right b
  11. 0011have hunit : a = 1 \/ b = 1
  12. 0012apply hprime_right
  13. 0013exact hfactor
  14. 0014cases hunit
  15. 0015apply ha
  16. 0016exact hunit_left
  17. 0017apply hb
  18. 0018exact hunit_right