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 expanded first-order arithmetic statement
forall u a b. (((u) = 2 \/ (u) = 1)) -> (exists sto_ap_involution_source sto_an_involution_source sto_bp_involution_source sto_bn_involution_source sto_cp_involution_source sto_cn_involution_source. (((((a) = 2 * (sto_ap_involution_source) /\ (sto_an_involution_source) = 0) \/ exists ge_signed_half_involution_sourceleft. (((a) = 2 * ge_signed_half_involution_sourceleft + 1 /\ (sto_ap_involution_source) = 0) /\ (sto_an_involution_source) = S ge_signed_half_involution_sourceleft))) /\ ((((((u) = 2 * (sto_bp_involution_source) /\ (sto_bn_involution_source) = 0) \/ exists ge_signed_half_involution_sourceright. (((u) = 2 * ge_signed_half_involution_sourceright + 1 /\ (sto_bp_involution_source) = 0) /\ (sto_bn_involution_source) = S ge_signed_half_involution_sourceright))) /\ ((((((b) = 2 * (sto_cp_involution_source) /\ (sto_cn_involution_source) = 0) \/ exists ge_signed_half_involution_sourceoutput. (((b) = 2 * ge_signed_half_involution_sourceoutput + 1 /\ (sto_cp_involution_source) = 0) /\ (sto_cn_involution_source) = S ge_signed_half_involution_sourceoutput))) /\ ((sto_ap_involution_source * sto_bp_involution_source + sto_an_involution_source * sto_bn_involution_source) + sto_cn_involution_source = (sto_ap_involution_source * sto_bn_involution_source + sto_an_involution_source * sto_bp_involution_source) + sto_cp_involution_source))))))) -> (exists sto_ap_involution_target sto_an_involution_target sto_bp_involution_target sto_bn_involution_target sto_cp_involution_target sto_cn_involution_target. (((((b) = 2 * (sto_ap_involution_target) /\ (sto_an_involution_target) = 0) \/ exists ge_signed_half_involution_targetleft. (((b) = 2 * ge_signed_half_involution_targetleft + 1 /\ (sto_ap_involution_target) = 0) /\ (sto_an_involution_target) = S ge_signed_half_involution_targetleft))) /\ ((((((u) = 2 * (sto_bp_involution_target) /\ (sto_bn_involution_target) = 0) \/ exists ge_signed_half_involution_targetright. (((u) = 2 * ge_signed_half_involution_targetright + 1 /\ (sto_bp_involution_target) = 0) /\ (sto_bn_involution_target) = S ge_signed_half_involution_targetright))) /\ ((((((a) = 2 * (sto_cp_involution_target) /\ (sto_cn_involution_target) = 0) \/ exists ge_signed_half_involution_targetoutput. (((a) = 2 * ge_signed_half_involution_targetoutput + 1 /\ (sto_cp_involution_target) = 0) /\ (sto_cn_involution_target) = S ge_signed_half_involution_targetoutput))) /\ ((sto_ap_involution_target * sto_bp_involution_target + sto_an_involution_target * sto_bn_involution_target) + sto_cn_involution_target = (sto_ap_involution_target * sto_bn_involution_target + sto_an_involution_target * sto_bp_involution_target) + sto_cp_involution_target)))))))Constructive proof overview
Generated structural guide
Multiplication by either actual signed unit is an involution on canonical signed codes.
The unchanged tactic script uses 5 declared prerequisites and contains 33 exact native proof lines.
Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
signed_mul_total Alpha theorem; checked-use authorized signed_mul_functional Alpha theorem; checked-use authorized signed_mul_associative Alpha theorem; checked-use authorized ZU0001 dirichlet_signed_unit_self_product signed_mul_one_right Alpha theorem; checked-use authorizedDirect dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This exact body belongs to a complete independently kernel-checked constructive proof bundle and has Alpha checked-use authority; it does not imply Stable membership.
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–5
02Establish hcL6–9
03Separate the logical casesL10–10
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L10
cases hc
04Establish heqL11–20
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed mul functional.
- L11
have heq : x=a - L12
specialize signed_mul_functional (a) - L13
specialize signed_mul_functional (2) - L14
specialize signed_mul_functional (x) - L15
specialize signed_mul_functional (a) - L16
apply signed_mul_functional - L17
specialize signed_mul_associative (a) - L18
specialize signed_mul_associative (u) - L19
specialize signed_mul_associative (u) - L20
specialize signed_mul_associative (b)
05Use earlier factsL21–30
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L21
specialize signed_mul_associative (2) - L22
specialize signed_mul_associative (x) - L23
apply signed_mul_associative - L24
exact hab - L25
exact hc_witness - L26
specialize dirichlet_signed_unit_self_product (u) - L27
apply dirichlet_signed_unit_self_product - L28
exact hu - L29
specialize signed_mul_one_right (a) - L30
apply signed_mul_one_right
06Calculate and transport equalitiesL31–32
07Use earlier factsL33–33
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L33
exact hc_witness
Original exact command ledger · 33 lines
- 0001
intro u - 0002
intro a - 0003
intro b - 0004
intro hu - 0005
intro hab - 0006
have hc : exists c. (exists sto_ap_involution_construct sto_an_involution_construct sto_bp_involution_construct sto_bn_involution_construct sto_cp_involution_construct sto_cn_involution_construct. (((((b) = 2 * (sto_ap_involution_construct) /\ (sto_an_involution_construct) = 0) \/ exists ge_signed_half_involution_constructleft. (((b) = 2 * ge_signed_half_involution_constructleft + 1 /\ (sto_ap_involution_construct) = 0) /\ (sto_an_involution_construct) = S ge_signed_half_involution_constructleft))) /\ ((((((u) = 2 * (sto_bp_involution_construct) /\ (sto_bn_involution_construct) = 0) \/ exists ge_signed_half_involution_constructright. (((u) = 2 * ge_signed_half_involution_constructright + 1 /\ (sto_bp_involution_construct) = 0) /\ (sto_bn_involution_construct) = S ge_signed_half_involution_constructright))) /\ ((((((c) = 2 * (sto_cp_involution_construct) /\ (sto_cn_involution_construct) = 0) \/ exists ge_signed_half_involution_constructoutput. (((c) = 2 * ge_signed_half_involution_constructoutput + 1 /\ (sto_cp_involution_construct) = 0) /\ (sto_cn_involution_construct) = S ge_signed_half_involution_constructoutput))) /\ ((sto_ap_involution_construct * sto_bp_involution_construct + sto_an_involution_construct * sto_bn_involution_construct) + sto_cn_involution_construct = (sto_ap_involution_construct * sto_bn_involution_construct + sto_an_involution_construct * sto_bp_involution_construct) + sto_cp_involution_construct))))))) - 0007
specialize signed_mul_total (b) - 0008
specialize signed_mul_total (u) - 0009
apply signed_mul_total - 0010
cases hc - 0011
have heq : x=a - 0012
specialize signed_mul_functional (a) - 0013
specialize signed_mul_functional (2) - 0014
specialize signed_mul_functional (x) - 0015
specialize signed_mul_functional (a) - 0016
apply signed_mul_functional - 0017
specialize signed_mul_associative (a) - 0018
specialize signed_mul_associative (u) - 0019
specialize signed_mul_associative (u) - 0020
specialize signed_mul_associative (b) - 0021
specialize signed_mul_associative (2) - 0022
specialize signed_mul_associative (x) - 0023
apply signed_mul_associative - 0024
exact hab - 0025
exact hc_witness - 0026
specialize dirichlet_signed_unit_self_product (u) - 0027
apply dirichlet_signed_unit_self_product - 0028
exact hu - 0029
specialize signed_mul_one_right (a) - 0030
apply signed_mul_one_right - 0031
rewrite heq at hc_witness - 0032
rewrite heq at hc_witness - 0033
exact hc_witness