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. ∀ a. ∀ n. ∀ b. ∀ c. ∀ l. ∀ i. ∀ y. Prime(p) → ScaledInversePrefix(p,a,n,b,c,l) → Lt(i,l) → ScaledInverseIndex(p,a,n,i,y) → BetaAt(b,c,i,y)Every 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
5 occurrences
In local proof propositions
2 occurrences
Exact expanded native-PA statement
forall p a n b c l i y. ((~(p = 1) /\ forall esi_prime_left_esipe_ext_prime esi_prime_right_esipe_ext_prime. p = esi_prime_left_esipe_ext_prime * esi_prime_right_esipe_ext_prime -> esi_prime_left_esipe_ext_prime = 1 \/ esi_prime_right_esipe_ext_prime = 1)) -> (forall esip_index_extensional_prefix. (exists esip_gap_extensional_prefix_prefix_bound. esip_gap_extensional_prefix_prefix_bound + S (esip_index_extensional_prefix) = l) -> exists esip_mate_extensional_prefix. ((((exists ff_h_esip_extensional_prefix_entry. ff_h_esip_extensional_prefix_entry + S (esip_mate_extensional_prefix) = S ((S (esip_index_extensional_prefix)) * c)) /\ exists ff_q_esip_extensional_prefix_entry. b = ff_q_esip_extensional_prefix_entry * S ((S (esip_index_extensional_prefix)) * c) + (esip_mate_extensional_prefix))) /\ ((exists esip_gap_extensional_prefix_relation_index_bound. esip_gap_extensional_prefix_relation_index_bound + S (esip_index_extensional_prefix) = n) /\ ((((~((S esip_index_extensional_prefix) = 0) /\ (exists esip_gap_extensional_prefix_relation_scaled_left_bound. esip_gap_extensional_prefix_relation_scaled_left_bound + S (S esip_index_extensional_prefix) = p))) /\ (((~(esip_mate_extensional_prefix = 0) /\ (exists esip_gap_extensional_prefix_relation_scaled_right_bound. esip_gap_extensional_prefix_relation_scaled_right_bound + S (esip_mate_extensional_prefix) = p))) /\ (exists esi_mod_left_extensional_prefix_relation_scaled_mod esi_mod_right_extensional_prefix_relation_scaled_mod. ((S esip_index_extensional_prefix) * esip_mate_extensional_prefix) + p * esi_mod_left_extensional_prefix_relation_scaled_mod = (a) + p * esi_mod_right_extensional_prefix_relation_scaled_mod))))))) -> (exists esip_gap_extensional_bound. esip_gap_extensional_bound + S (i) = l) -> ((exists esip_gap_extensional_relation_index_bound. esip_gap_extensional_relation_index_bound + S (i) = n) /\ ((((~((S i) = 0) /\ (exists esip_gap_extensional_relation_scaled_left_bound. esip_gap_extensional_relation_scaled_left_bound + S (S i) = p))) /\ (((~(y = 0) /\ (exists esip_gap_extensional_relation_scaled_right_bound. esip_gap_extensional_relation_scaled_right_bound + S (y) = p))) /\ (exists esi_mod_left_extensional_relation_scaled_mod esi_mod_right_extensional_relation_scaled_mod. ((S i) * y) + p * esi_mod_left_extensional_relation_scaled_mod = (a) + p * esi_mod_right_extensional_relation_scaled_mod))))) -> (((exists ff_h_esipe_extensional_result. ff_h_esipe_extensional_result + S (y) = S ((S (i)) * c)) /\ exists ff_q_esipe_extensional_result. b = ff_q_esipe_extensional_result * S ((S (i)) * c) + (y)))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 (1)
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–12
03Establish hstoredL13–16
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hprefix.
- L13
have hstored : ∃ z. BetaAt(b,c,i,z) ∧ ScaledInverseIndex(p,a,n,i,z)Definitions: BetaAt(b,c,i,z)ScaledInverseIndex(p,a,n,i,z)Original native command in the exact edition - L14
specialize hprefix i - L15
apply hprefix - L16
exact hi
04Separate the logical casesL17–20
05Establish heqL21–30
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime scaled inverse unique.
- L21
have heq : y = x - L22
specialize prime_scaled_inverse_unique p - L23
specialize prime_scaled_inverse_unique a - L24
specialize prime_scaled_inverse_unique (S i) - L25
specialize prime_scaled_inverse_unique y - L26
specialize prime_scaled_inverse_unique x - L27
apply prime_scaled_inverse_unique - L28
exact hp - L29
exact hrelation_right - L30
exact hstored_witness_right_right
06Calculate and transport equalitiesL31–32
07Use earlier factsL33–33
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L33
exact hstored_witness_left
Original defined command ledger · 33 lines
- 0001
intro p - 0002
intro a - 0003
intro n - 0004
intro b - 0005
intro c - 0006
intro l - 0007
intro i - 0008
intro y - 0009
intro hp - 0010
intro hprefix - 0011
intro hi - 0012
intro hrelation - 0013
have hstored : ∃ z. BetaAt(b,c,i,z) ∧ ScaledInverseIndex(p,a,n,i,z)Exact native replay line
have hstored : exists z. ((((exists ff_h_esipe_extensional_stored_at. ff_h_esipe_extensional_stored_at + S (z) = S ((S (i)) * c)) /\ exists ff_q_esipe_extensional_stored_at. b = ff_q_esipe_extensional_stored_at * S ((S (i)) * c) + (z))) /\ ((exists esip_gap_extensional_stored_relation_index_bound. esip_gap_extensional_stored_relation_index_bound + S (i) = n) /\ ((((~((S i) = 0) /\ (exists esip_gap_extensional_stored_relation_scaled_left_bound. esip_gap_extensional_stored_relation_scaled_left_bound + S (S i) = p))) /\ (((~(z = 0) /\ (exists esip_gap_extensional_stored_relation_scaled_right_bound. esip_gap_extensional_stored_relation_scaled_right_bound + S (z) = p))) /\ (exists esi_mod_left_extensional_stored_relation_scaled_mod esi_mod_right_extensional_stored_relation_scaled_mod. ((S i) * z) + p * esi_mod_left_extensional_stored_relation_scaled_mod = (a) + p * esi_mod_right_extensional_stored_relation_scaled_mod)))))) - 0014
specialize hprefix i - 0015
apply hprefix - 0016
exact hi - 0017
cases hstored - 0018
cases hstored_witness - 0019
cases hrelation - 0020
cases hstored_witness_right - 0021
have heq : y = x - 0022
specialize prime_scaled_inverse_unique p - 0023
specialize prime_scaled_inverse_unique a - 0024
specialize prime_scaled_inverse_unique (S i) - 0025
specialize prime_scaled_inverse_unique y - 0026
specialize prime_scaled_inverse_unique x - 0027
apply prime_scaled_inverse_unique - 0028
exact hp - 0029
exact hrelation_right - 0030
exact hstored_witness_right_right - 0031
rewrite heq - 0032
rewrite heq - 0033
exact hstored_witness_left