BT00QD · Bertrand theorem

prime_two_le

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

Every prime is at least two in witness-defined order.

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.

Statement with defined notation

∀ p. Prime(p)Lt(1,p)

Every purple notation token opens its conservative definition. Expanding the displayed statement recovers the exact first-order Peano-arithmetic formula checked by the unchanged kernel.

Definitions used by this theorem

In the theorem statement

2 occurrences

In local proof propositions

none

0 occurrences

Exact expanded native-PA statement
forall p. ((~(p = 1) /\ forall frm_prime_left_bpvl_prime frm_prime_right_bpvl_prime. p = frm_prime_left_bpvl_prime * frm_prime_right_bpvl_prime -> frm_prime_left_bpvl_prime = 1 \/ frm_prime_right_bpvl_prime = 1)) -> (exists bpvl_gap_prime_two. bpvl_gap_prime_two + (2) = (p))

Proof neighborhood

Direct theorem prerequisites

Direct theorem dependents

Definition-aware tactic body

Only local propositions introduced by have or suffices are compacted. Every changed line has an exact-AST conservative-expansion receipt; the kernel still receives the immutable original tactic script.

Read the argument

Proof checkpoints

15 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.

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

Named ingredients (1)
01Fix variables and assumptionsL1–2

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

  1. L1
    intro p
  2. L2
    intro hp
02Establish hshapeL3–6

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

  1. L3
    have hshape : exists k. p = S (S k)
  2. L4
    specialize prime_is_succ_succ p
  3. L5
    apply prime_is_succ_succ
  4. L6
    exact hp
03Separate the logical casesL7–7

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

  1. L7
    cases hshape
04Construct an explicit witnessL8–8

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

  1. L8
    exists x
05Calculate and transport equalitiesL9–14

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

  1. L9
    trans S (S x)
  2. L10
    rewrite PA4
  3. L11
    rewrite PA4
  4. L12
    rewrite PA3
  5. L13
    refl
  6. L14
    symm
06Use earlier factsL15–15

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

  1. L15
    exact hshape_witness

Library-wide reading audit

Original defined command ledger · 15 lines
  1. 0001intro p
  2. 0002intro hp
  3. 0003have hshape : exists k. p = S (S k)
  4. 0004specialize prime_is_succ_succ p
  5. 0005apply prime_is_succ_succ
  6. 0006exact hp
  7. 0007cases hshape
  8. 0008exists x
  9. 0009trans S (S x)
  10. 0010rewrite PA4
  11. 0011rewrite PA4
  12. 0012rewrite PA3
  13. 0013refl
  14. 0014symm
  15. 0015exact hshape_witness