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. ∀ x. ∀ z. BalancedInverse(p,x,z) → ModEq(p,x · (a · z),a)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
2 occurrences
In local proof propositions
1 occurrences
Exact expanded native-PA statement
forall p a x z. (exists esi_mod_left_from_unit_source esi_mod_right_from_unit_source. (x * z) + p * esi_mod_left_from_unit_source = (1) + p * esi_mod_right_from_unit_source) -> (exists esi_mod_left_from_unit_result esi_mod_right_from_unit_result. (x * (a * z)) + p * esi_mod_left_from_unit_result = (a) + p * esi_mod_right_from_unit_result)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 (4)
01Fix variables and assumptionsL1–5
02Establish hscaledL6–12
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mod eq mul left.
- L6
have hscaled : ModEq(p,a · (x · z),a · 1)Definitions: ModEq(p,a · (x · z),a · 1)Original native command in the exact edition - L7
specialize mod_eq_mul_left p - L8
specialize mod_eq_mul_left (x * z) - L9
specialize mod_eq_mul_left 1 - L10
specialize mod_eq_mul_left a - L11
apply mod_eq_mul_left - L12
exact hxz
03Establish hleftL13–22
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mul assoc.
04Calculate and transport equalitiesL23–23
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L23
refl
05Use earlier factsL24–27
Original defined command ledger · 33 lines
- 0001
intro p - 0002
intro a - 0003
intro x - 0004
intro z - 0005
intro hxz - 0006
have hscaled : ModEq(p,a · (x · z),a · 1)Exact native replay line
have hscaled : exists esi_mod_left_from_unit_scaled esi_mod_right_from_unit_scaled. (a * (x * z)) + p * esi_mod_left_from_unit_scaled = (a * 1) + p * esi_mod_right_from_unit_scaled - 0007
specialize mod_eq_mul_left p - 0008
specialize mod_eq_mul_left (x * z) - 0009
specialize mod_eq_mul_left 1 - 0010
specialize mod_eq_mul_left a - 0011
apply mod_eq_mul_left - 0012
exact hxz - 0013
have hleft : a * (x * z) = x * (a * z) - 0014
trans (a * x) * z - 0015
symm - 0016
specialize mul_assoc a - 0017
specialize mul_assoc x - 0018
specialize mul_assoc z - 0019
apply mul_assoc - 0020
trans (x * a) * z - 0021
congr - 0022
apply mul_comm - 0023
refl - 0024
specialize mul_assoc x - 0025
specialize mul_assoc a - 0026
specialize mul_assoc z - 0027
apply mul_assoc - 0028
have hright : a * 1 = a - 0029
specialize mul_one a - 0030
exact mul_one - 0031
rewrite hleft at hscaled - 0032
rewrite hright at hscaled - 0033
exact hscaled