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 p n i j k. p = S n -> (((exists wip_strict_gap_index_unique_left_left_bound. wip_strict_gap_index_unique_left_left_bound + S i = n) /\ ((exists wip_strict_gap_index_unique_left_right_bound. wip_strict_gap_index_unique_left_right_bound + S j = n) /\ (exists wip_mod_left_index_unique_left_inverse wip_mod_right_index_unique_left_inverse. (S i) * S j + p * wip_mod_left_index_unique_left_inverse = 1 + p * wip_mod_right_index_unique_left_inverse)))) -> (((exists wip_strict_gap_index_unique_right_left_bound. wip_strict_gap_index_unique_right_left_bound + S i = n) /\ ((exists wip_strict_gap_index_unique_right_right_bound. wip_strict_gap_index_unique_right_right_bound + S k = n) /\ (exists wip_mod_left_index_unique_right_inverse wip_mod_right_index_unique_right_inverse. (S i) * S k + p * wip_mod_left_index_unique_right_inverse = 1 + p * wip_mod_right_index_unique_right_inverse)))) -> j = kStructural proof guide
Generated structural guide
A bounded inverse index is unique.
Use the direct prerequisites succ_le_succ, bounded_mod_inverse_unique, succ_injective as previously established PA formulas.
The proof proceeds by case analysis (4), intermediate claims (3), equality transport (2).
Referenced ingredients
Proof neighborhood
Direct dependencies
Direct dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Linked names are exact direct references. This Alpha-v25 checked-use theorem is independently kernel-checked when replayed; it is not a Stable theorem.
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 (3)
01Fix variables and assumptionsL1–8
02Separate the logical casesL9–12
03Establish hjpL13–18
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply succ le succ.
04Establish hkpL19–24
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply succ le succ.
05Establish hsuccL25–34
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply bounded mod inverse unique.
- L25
have hsucc : S j = S k - L26
specialize bounded_mod_inverse_unique p - L27
specialize bounded_mod_inverse_unique (S i) - L28
specialize bounded_mod_inverse_unique (S j) - L29
specialize bounded_mod_inverse_unique (S k) - L30
apply bounded_mod_inverse_unique - L31
exact hjp - L32
exact hkp - L33
exact hij_right_right - L34
exact hik_right_right
Original exact command ledger · 38 lines
- 0001
intro p - 0002
intro n - 0003
intro i - 0004
intro j - 0005
intro k - 0006
intro hpn - 0007
intro hij - 0008
intro hik - 0009
cases hij - 0010
cases hij_right - 0011
cases hik - 0012
cases hik_right - 0013
have hjp : exists wip_successor_gap_index_unique_j_bound. wip_successor_gap_index_unique_j_bound + S (S j) = p - 0014
rewrite hpn - 0015
specialize succ_le_succ (S j) - 0016
specialize succ_le_succ n - 0017
apply succ_le_succ - 0018
exact hij_right_left - 0019
have hkp : exists wip_successor_gap_index_unique_k_bound. wip_successor_gap_index_unique_k_bound + S (S k) = p - 0020
rewrite hpn - 0021
specialize succ_le_succ (S k) - 0022
specialize succ_le_succ n - 0023
apply succ_le_succ - 0024
exact hik_right_left - 0025
have hsucc : S j = S k - 0026
specialize bounded_mod_inverse_unique p - 0027
specialize bounded_mod_inverse_unique (S i) - 0028
specialize bounded_mod_inverse_unique (S j) - 0029
specialize bounded_mod_inverse_unique (S k) - 0030
apply bounded_mod_inverse_unique - 0031
exact hjp - 0032
exact hkp - 0033
exact hij_right_right - 0034
exact hik_right_right - 0035
specialize succ_injective j - 0036
specialize succ_injective k - 0037
apply succ_injective - 0038
exact hsucc