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 a r. (exists wpp_mod_left_eca_qres_transport_mod wpp_mod_right_eca_qres_transport_mod. (a) + p * wpp_mod_left_eca_qres_transport_mod = (r) + p * wpp_mod_right_eca_qres_transport_mod) -> ((((exists qr_x_eca_qres_transport_a. exists qr_u_eca_qres_transport_a qr_v_eca_qres_transport_a. qr_x_eca_qres_transport_a * qr_x_eca_qres_transport_a + p * qr_u_eca_qres_transport_a = a + p * qr_v_eca_qres_transport_a) -> (exists qr_x_eca_qres_transport_r. exists qr_u_eca_qres_transport_r qr_v_eca_qres_transport_r. qr_x_eca_qres_transport_r * qr_x_eca_qres_transport_r + p * qr_u_eca_qres_transport_r = r + p * qr_v_eca_qres_transport_r)) /\ ((exists qr_x_eca_qres_transport_r. exists qr_u_eca_qres_transport_r qr_v_eca_qres_transport_r. qr_x_eca_qres_transport_r * qr_x_eca_qres_transport_r + p * qr_u_eca_qres_transport_r = r + p * qr_v_eca_qres_transport_r) -> (exists qr_x_eca_qres_transport_a. exists qr_u_eca_qres_transport_a qr_v_eca_qres_transport_a. qr_x_eca_qres_transport_a * qr_x_eca_qres_transport_a + p * qr_u_eca_qres_transport_a = a + p * qr_v_eca_qres_transport_a))))Structural proof guide
Generated structural guide
Quadratic residuosity depends only on the balanced congruence class.
Use the direct prerequisites mod_eq_symm, mod_eq_trans as previously established PA formulas.
The proof proceeds by case analysis (2), intermediate claims (1).
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 (2)
01Fix variables and assumptionsL1–4
02Separate the logical casesL5–5
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L5
split
03Fix variables and assumptionsL6–6
Work with arbitrary variables or the premises of the current implication.
- L6
intro hqa
04Separate the logical casesL7–7
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L7
cases hqa
05Construct an explicit witnessL8–8
Supply the displayed value, then prove that it has the required property.
- L8
exists x
06Use earlier factsL9–15
07Fix variables and assumptionsL16–16
Work with arbitrary variables or the premises of the current implication.
- L16
intro hqr
08Separate the logical casesL17–17
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L17
cases hqr
09Construct an explicit witnessL18–18
Supply the displayed value, then prove that it has the required property.
- L18
exists x
10Establish hraL19–28
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mod eq symm.
- L19
have hra : exists wpp_mod_left_eca_qres_proof_reverse wpp_mod_right_eca_qres_proof_reverse. (r) + p * wpp_mod_left_eca_qres_proof_reverse = (a) + p * wpp_mod_right_eca_qres_proof_reverse - L20
specialize mod_eq_symm p - L21
specialize mod_eq_symm a - L22
specialize mod_eq_symm r - L23
apply mod_eq_symm - L24
exact har - L25
specialize mod_eq_trans p - L26
specialize mod_eq_trans (x * x) - L27
specialize mod_eq_trans r - L28
specialize mod_eq_trans a
Original exact command ledger · 31 lines
- 0001
intro p - 0002
intro a - 0003
intro r - 0004
intro har - 0005
split - 0006
intro hqa - 0007
cases hqa - 0008
exists x - 0009
specialize mod_eq_trans p - 0010
specialize mod_eq_trans (x * x) - 0011
specialize mod_eq_trans a - 0012
specialize mod_eq_trans r - 0013
apply mod_eq_trans - 0014
exact hqa_witness - 0015
exact har - 0016
intro hqr - 0017
cases hqr - 0018
exists x - 0019
have hra : exists wpp_mod_left_eca_qres_proof_reverse wpp_mod_right_eca_qres_proof_reverse. (r) + p * wpp_mod_left_eca_qres_proof_reverse = (a) + p * wpp_mod_right_eca_qres_proof_reverse - 0020
specialize mod_eq_symm p - 0021
specialize mod_eq_symm a - 0022
specialize mod_eq_symm r - 0023
apply mod_eq_symm - 0024
exact har - 0025
specialize mod_eq_trans p - 0026
specialize mod_eq_trans (x * x) - 0027
specialize mod_eq_trans r - 0028
specialize mod_eq_trans a - 0029
apply mod_eq_trans - 0030
exact hqr_witness - 0031
exact hra