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 first-order arithmetic statement
forall norm p0 n0 m0 p1 n1 m1 p2 n2 m2 p3 n3 m3. (((p0) * (p0) + (n0) * (n0)) = (((m0) * (m0)) + ((p0) * (n0) + (n0) * (p0)))) -> (((p1) * (p1) + (n1) * (n1)) = (((m1) * (m1)) + ((p1) * (n1) + (n1) * (p1)))) -> (((p2) * (p2) + (n2) * (n2)) = (((m2) * (m2)) + ((p2) * (n2) + (n2) * (p2)))) -> (((p3) * (p3) + (n3) * (n3)) = (((m3) * (m3)) + ((p3) * (n3) + (n3) * (p3)))) -> ((norm) + (((((p0) * (n0) + (n0) * (p0)) + ((p1) * (n1) + (n1) * (p1))) + (((p2) * (n2) + (n2) * (p2)) + ((p3) * (n3) + (n3) * (p3))))) = (((((p0) * (p0) + (n0) * (n0)) + ((p1) * (p1) + (n1) * (n1))) + (((p2) * (p2) + (n2) * (n2)) + ((p3) * (p3) + (n3) * (n3)))))) -> norm = (((((m0) * (m0)) + ((m1) * (m1))) + (((m2) * (m2)) + ((m3) * (m3)))))Constructive proof overview
Generated structural guide
Ordinary constructive additive cancellation turns all four signed cross corrections into an exact norm identity.
The unchanged tactic script uses 2 declared prerequisites and contains 43 exact native proof lines.
dependency-curried kernel-checked theorem body; Alpha enrollment and checked-use authority follow separately sealed release evidence; Stable membership remains unchanged
Proof neighborhood
Direct dependencies
FS002E four_square_euler_balance_aggregate add_right_cancel Stable 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–10
02Fix variables and assumptionsL11–18
03Establish hgroupL19–28
Establish this local claim before using it. It is not an additional assumption.
- L19
have hgroup : (((((p0) * (p0) + (n0) * (n0)) + ((p1) * (p1) + (n1) * (n1))) + (((p2) * (p2) + (n2) * (n2)) + ((p3) * (p3) + (n3) * (n3))))) = ((((((m0) * (m0)) + ((m1) * (m1))) + (((m2) * (m2)) + ((m3) * (m3))))) + (((((p0) * (n0) + (n0) * (p0)) + ((p1) * (n1) + (n1) * (p1))) + (((p2) * (n2) + (n2) * (p2)) + ((p3) * (n3) + (n3) * (p3)))))) - L20
specialize four_square_euler_balance_aggregate p0 - L21
specialize four_square_euler_balance_aggregate n0 - L22
specialize four_square_euler_balance_aggregate m0 - L23
specialize four_square_euler_balance_aggregate p1 - L24
specialize four_square_euler_balance_aggregate n1 - L25
specialize four_square_euler_balance_aggregate m1 - L26
specialize four_square_euler_balance_aggregate p2 - L27
specialize four_square_euler_balance_aggregate n2 - L28
specialize four_square_euler_balance_aggregate m2
04Use earlier factsL29–38
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L29
specialize four_square_euler_balance_aggregate p3 - L30
specialize four_square_euler_balance_aggregate n3 - L31
specialize four_square_euler_balance_aggregate m3 - L32
apply four_square_euler_balance_aggregate - L33
exact h0 - L34
exact h1 - L35
exact h2 - L36
exact h3 - L37
specialize add_right_cancel norm - L38
specialize add_right_cancel (((((m0) * (m0)) + ((m1) * (m1))) + (((m2) * (m2)) + ((m3) * (m3)))))
05Use earlier factsL39–40
06Calculate and transport equalitiesL41–41
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L41
trans ((((p0) * (p0) + (n0) * (n0)) + ((p1) * (p1) + (n1) * (n1))) + (((p2) * (p2) + (n2) * (n2)) + ((p3) * (p3) + (n3) * (n3))))
Original exact command ledger · 43 lines
- 0001
intro norm - 0002
intro p0 - 0003
intro n0 - 0004
intro m0 - 0005
intro p1 - 0006
intro n1 - 0007
intro m1 - 0008
intro p2 - 0009
intro n2 - 0010
intro m2 - 0011
intro p3 - 0012
intro n3 - 0013
intro m3 - 0014
intro h0 - 0015
intro h1 - 0016
intro h2 - 0017
intro h3 - 0018
intro hcompensation - 0019
have hgroup : (((((p0) * (p0) + (n0) * (n0)) + ((p1) * (p1) + (n1) * (n1))) + (((p2) * (p2) + (n2) * (n2)) + ((p3) * (p3) + (n3) * (n3))))) = ((((((m0) * (m0)) + ((m1) * (m1))) + (((m2) * (m2)) + ((m3) * (m3))))) + (((((p0) * (n0) + (n0) * (p0)) + ((p1) * (n1) + (n1) * (p1))) + (((p2) * (n2) + (n2) * (p2)) + ((p3) * (n3) + (n3) * (p3)))))) - 0020
specialize four_square_euler_balance_aggregate p0 - 0021
specialize four_square_euler_balance_aggregate n0 - 0022
specialize four_square_euler_balance_aggregate m0 - 0023
specialize four_square_euler_balance_aggregate p1 - 0024
specialize four_square_euler_balance_aggregate n1 - 0025
specialize four_square_euler_balance_aggregate m1 - 0026
specialize four_square_euler_balance_aggregate p2 - 0027
specialize four_square_euler_balance_aggregate n2 - 0028
specialize four_square_euler_balance_aggregate m2 - 0029
specialize four_square_euler_balance_aggregate p3 - 0030
specialize four_square_euler_balance_aggregate n3 - 0031
specialize four_square_euler_balance_aggregate m3 - 0032
apply four_square_euler_balance_aggregate - 0033
exact h0 - 0034
exact h1 - 0035
exact h2 - 0036
exact h3 - 0037
specialize add_right_cancel norm - 0038
specialize add_right_cancel (((((m0) * (m0)) + ((m1) * (m1))) + (((m2) * (m2)) + ((m3) * (m3))))) - 0039
specialize add_right_cancel (((((p0) * (n0) + (n0) * (p0)) + ((p1) * (n1) + (n1) * (p1))) + (((p2) * (n2) + (n2) * (p2)) + ((p3) * (n3) + (n3) * (p3))))) - 0040
apply add_right_cancel - 0041
trans ((((p0) * (p0) + (n0) * (n0)) + ((p1) * (p1) + (n1) * (n1))) + (((p2) * (p2) + (n2) * (n2)) + ((p3) * (p3) + (n3) * (n3)))) - 0042
exact hcompensation - 0043
exact hgroup