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. ∀ n. ∀ i. ∀ j. ∀ k. p = S n → InverseIndex(p,n,i,j) → InverseIndex(p,n,i,k) → j = kEvery 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
2 occurrences
In local proof propositions
2 occurrences
Exact expanded native-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 = kProof 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 (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 defined 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 : Lt(S j,p)Exact native replay line
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 : Lt(S k,p)Exact native replay line
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