SK0003

prime_square_ne_one

The square of a genuine prime is never the unit.

Alpha v34 checked-use · first admitted v29 · independently kernel and Lean verified; not Stable

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.

For n>1 the exponent gcd and a real beta table classify and witness all positive root degrees. The unit n=1 has a separate uniform certificate for every positive degree. Zero is excluded. NaturalSquarefreeDecomposition is deliberately distinct from the unrelated polynomial definition.

Exact theorem in conservative defined notation

∀ p. Prime(p) → ¬p · p = 1

Every linked abbreviation expands hygienically to the identical original native formula.

Definition DAG

Actual proof prerequisites

divisor_one · checked external prerequisite
Original expanded first-order statement
forall p. (~((p) = 1) /\ forall pvs_left_square_nonunit_prime pvs_right_square_nonunit_prime. (p) = pvs_left_square_nonunit_prime * pvs_right_square_nonunit_prime -> pvs_left_square_nonunit_prime = 1 \/ pvs_right_square_nonunit_prime = 1) -> ~(p * p = 1)

Complete tactic proof in conservative notation

All 10 original proof lines are preserved. Only local proposition formulas are abbreviated; every abbreviation has an exact binder-safe expansion check. The linked exact edition contains the unchanged replay script.

Read the argument

Proof checkpoints

10 script commands · 6 reading checkpoints · 0 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.

Definition notation is shown below. Open the paired exact edition for the original native formulas. Source pairing is not a new equivalence certificate.

01Fix variables and assumptionsL1–3

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

  1. L1
    intro p
  2. L2
    intro hp
  3. L3
    intro heq
02Separate the logical casesL4–4

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

  1. L4
    cases hp
03Use earlier factsL5–7

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

  1. L5
    apply hp_left
  2. L6
    specialize divisor_one (p)
  3. L7
    apply divisor_one
04Construct an explicit witnessL8–8

Supply the displayed value, then prove that it has the required property.

  1. L8
    exists p
05Calculate and transport equalitiesL9–9

Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.

  1. L9
    symm
06Use earlier factsL10–10

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

  1. L10
    exact heq

Library-wide reading audit

Original defined command ledger · 10 lines
  1. 0001intro p
  2. 0002intro hp
  3. 0003intro heq
  4. 0004cases hp
  5. 0005apply hp_left
  6. 0006specialize divisor_one (p)
  7. 0007apply divisor_one
  8. 0008exists p
  9. 0009symm
  10. 0010exact heq