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. ∀ q. ∀ i. ∀ d. ∀ r. Prime(p) → Prime(q) → ¬p = q → Lt(S i,p) → q · S i = p · d + r → ¬r = 0Every purple notation token opens its conservative definition. This is a reading surface; the compiler expands the statement before the unchanged kernel checks it.
Definitions used by this theorem
In the theorem statement
3 occurrences
In local proof propositions
1 occurrences
Exact expanded native-PA statement
forall p q i d r. ((~(p = 1) /\ forall frp_prime_left_remainder_nonzero_prime_p frp_prime_right_remainder_nonzero_prime_p. p = frp_prime_left_remainder_nonzero_prime_p * frp_prime_right_remainder_nonzero_prime_p -> frp_prime_left_remainder_nonzero_prime_p = 1 \/ frp_prime_right_remainder_nonzero_prime_p = 1)) -> ((~(q = 1) /\ forall frp_prime_left_remainder_nonzero_prime_q frp_prime_right_remainder_nonzero_prime_q. q = frp_prime_left_remainder_nonzero_prime_q * frp_prime_right_remainder_nonzero_prime_q -> frp_prime_left_remainder_nonzero_prime_q = 1 \/ frp_prime_right_remainder_nonzero_prime_q = 1)) -> ~(p = q) -> (exists ern_lt_gap_remainder_nonzero_index_below_p. ern_lt_gap_remainder_nonzero_index_below_p + S (S i) = p) -> q * S i = p * d + r -> ~(r = 0)Proof neighborhood
Direct theorem prerequisites
Direct theorem dependents
Definition-aware tactic body
Only local propositions introduced by have or suffices are compacted. The untrusted compiler re-expands each one before the original tactic script is replayed; defined notation is never accepted by the kernel. Open the exact replay line beneath every changed command.
Read the argument
Proof checkpoints
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.
Named ingredients (2)
01Fix variables and assumptionsL1–10
02Establish hnotdivL11–12
Establish this local claim before using it. It is not an additional assumption.
03Establish hfactorL13–18
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime divisor eq one or self.
04Separate the logical casesL19–20
05Use earlier factsL21–23
06Calculate and transport equalitiesL24–24
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L24
symm
07Use earlier factsL25–25
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L25
exact hfactor_right
08Fix variables and assumptionsL26–26
Work with arbitrary variables or the premises of the current implication.
- L26
intro hr0
09Use earlier factsL27–36
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L27
specialize prime_nondivisor_bounded_scaled_remainder_nonzero p - L28
specialize prime_nondivisor_bounded_scaled_remainder_nonzero q - L29
specialize prime_nondivisor_bounded_scaled_remainder_nonzero i - L30
specialize prime_nondivisor_bounded_scaled_remainder_nonzero d - L31
specialize prime_nondivisor_bounded_scaled_remainder_nonzero r - L32
apply prime_nondivisor_bounded_scaled_remainder_nonzero - L33
exact hp - L34
exact hnotdiv - L35
exact hip - L36
exact hdivision
10Use earlier factsL37–37
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L37
exact hr0
Original defined command ledger · 37 lines
- 0001
intro p - 0002
intro q - 0003
intro i - 0004
intro d - 0005
intro r - 0006
intro hp - 0007
intro hq - 0008
intro hpq - 0009
intro hip - 0010
intro hdivision - 0011
have hnotdiv : ¬Dvd(p,q)Exact native replay line
have hnotdiv : ~(exists factor. q = p * factor) - 0012
intro hdiv - 0013
have hfactor : p = 1 \/ q = p - 0014
specialize prime_divisor_eq_one_or_self q - 0015
specialize prime_divisor_eq_one_or_self p - 0016
apply prime_divisor_eq_one_or_self - 0017
exact hq - 0018
exact hdiv - 0019
cases hfactor - 0020
cases hp - 0021
apply hp_left - 0022
exact hfactor_left - 0023
apply hpq - 0024
symm - 0025
exact hfactor_right - 0026
intro hr0 - 0027
specialize prime_nondivisor_bounded_scaled_remainder_nonzero p - 0028
specialize prime_nondivisor_bounded_scaled_remainder_nonzero q - 0029
specialize prime_nondivisor_bounded_scaled_remainder_nonzero i - 0030
specialize prime_nondivisor_bounded_scaled_remainder_nonzero d - 0031
specialize prime_nondivisor_bounded_scaled_remainder_nonzero r - 0032
apply prime_nondivisor_bounded_scaled_remainder_nonzero - 0033
exact hp - 0034
exact hnotdiv - 0035
exact hip - 0036
exact hdivision - 0037
exact hr0