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-v16 checked-use theorem is independently kernel-checked when replayed; it is not a Stable theorem.
- 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