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
forall a b c d e f g h. (((((a * e + b * f + c * g + d * h) * (a * e + b * f + c * g + d * h) + (0) * (0)) + ((a * f + c * h) * (a * f + c * h) + (b * e + d * g) * (b * e + d * g))) + (((a * g + d * f) * (a * g + d * f) + (c * e + b * h) * (c * e + b * h)) + ((a * h + b * g) * (a * h + b * g) + (d * e + c * f) * (d * e + c * f))))) = ((((((((((a * e) * (a * e)) + ((b * f) * (b * f))) + ((c * g) * (c * g))) + ((d * h) * (d * h)))) + ((((((a * f) * (a * f)) + ((c * h) * (c * h)))) + ((((b * e) * (b * e)) + ((d * g) * (d * g))))))) + (((((((a * g) * (a * g)) + ((d * f) * (d * f)))) + ((((c * e) * (c * e)) + ((b * h) * (b * h)))))) + ((((((a * h) * (a * h)) + ((b * g) * (b * g)))) + ((((d * e) * (d * e)) + ((c * f) * (c * f))))))))) + (((((((((((((((a * e) * (b * f) + (b * f) * (a * e))) + (((a * e) * (c * g) + (c * g) * (a * e)))) + (((b * f) * (c * g) + (c * g) * (b * f)))) + (((d * h) * (a * e) + (a * e) * (d * h)))) + (((d * h) * (b * f) + (b * f) * (d * h)))) + (((d * h) * (c * g) + (c * g) * (d * h)))) + (((a * f) * (c * h) + (c * h) * (a * f)))) + (((b * e) * (d * g) + (d * g) * (b * e)))) + (((a * g) * (d * f) + (d * f) * (a * g)))) + (((c * e) * (b * h) + (b * h) * (c * e)))) + (((a * h) * (b * g) + (b * g) * (a * h)))) + (((d * e) * (c * f) + (c * f) * (d * e))))))Every purple notation token opens its conservative definition. This reading surface never changes the unchanged intuitionistic kernel or confers checked-use authority.
Definitions used by this theorem
In the theorem statement
In local proof propositions
Exact expanded first-order statement
forall a b c d e f g h. (((((a * e + b * f + c * g + d * h) * (a * e + b * f + c * g + d * h) + (0) * (0)) + ((a * f + c * h) * (a * f + c * h) + (b * e + d * g) * (b * e + d * g))) + (((a * g + d * f) * (a * g + d * f) + (c * e + b * h) * (c * e + b * h)) + ((a * h + b * g) * (a * h + b * g) + (d * e + c * f) * (d * e + c * f))))) = ((((((((((a * e) * (a * e)) + ((b * f) * (b * f))) + ((c * g) * (c * g))) + ((d * h) * (d * h)))) + ((((((a * f) * (a * f)) + ((c * h) * (c * h)))) + ((((b * e) * (b * e)) + ((d * g) * (d * g))))))) + (((((((a * g) * (a * g)) + ((d * f) * (d * f)))) + ((((c * e) * (c * e)) + ((b * h) * (b * h)))))) + ((((((a * h) * (a * h)) + ((b * g) * (b * g)))) + ((((d * e) * (d * e)) + ((c * f) * (c * f))))))))) + (((((((((((((((a * e) * (b * f) + (b * f) * (a * e))) + (((a * e) * (c * g) + (c * g) * (a * e)))) + (((b * f) * (c * g) + (c * g) * (b * f)))) + (((d * h) * (a * e) + (a * e) * (d * h)))) + (((d * h) * (b * f) + (b * f) * (d * h)))) + (((d * h) * (c * g) + (c * g) * (d * h)))) + (((a * f) * (c * h) + (c * h) * (a * f)))) + (((b * e) * (d * g) + (d * g) * (b * e)))) + (((a * g) * (d * f) + (d * f) * (a * g)))) + (((c * e) * (b * h) + (b * h) * (c * e)))) + (((a * h) * (b * g) + (b * g) * (a * h)))) + (((d * e) * (c * f) + (c * f) * (d * e))))))Proof neighborhood
Direct theorem prerequisites
FS000W four_square_conjugate_scalar_decomposition FS005H four_square_signed_pair_block_decomposition FS002D four_square_euler_four_add_shuffle add_assoc · Stable closedDirect theorem dependents
Definition-aware tactic body
Only propositions whose conservative expansion has been checked for exact first-order equivalence are compacted. Every changed line retains its immutable exact replay 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 (3)
01Fix variables and assumptionsL1–8
02Calculate and transport equalitiesL9–11
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L9
trans ((((((((((a * e) * (a * e)) + ((b * f) * (b * f))) + ((c * g) * (c * g))) + ((d * h) * (d * h)))) + · expand full local formula (977 characters)
trans ((((((((((a * e) * (a * e)) + ((b * f) * (b * f))) + ((c * g) * (c * g))) + ((d * h) * (d * h)))) + ((((((((a * e) * (b * f) + (b * f) * (a * e))) + (((a * e) * (c * g) + (c * g) * (a * e)))) + (((b * f) * (c * g) + (c * g) * (b * f))))) + ((((((d * h) * (a * e) + (a * e) * (d * h))) + (((d * h) * (b * f) + (b * f) * (d * h)))) + (((d * h) * (c * g) + (c * g) * (d * h))))))))) + ((((((((a * f) * (a * f)) + ((c * h) * (c * h)))) + ((((b * e) * (b * e)) + ((d * g) * (d * g)))))) + (((((a * f) * (c * h) + (c * h) * (a * f))) + (((b * e) * (d * g) + (d * g) * (b * e)))))))) + (((((((((a * g) * (a * g)) + ((d * f) * (d * f)))) + ((((c * e) * (c * e)) + ((b * h) * (b * h)))))) + (((((a * g) * (d * f) + (d * f) * (a * g))) + (((c * e) * (b * h) + (b * h) * (c * e))))))) + ((((((((a * h) * (a * h)) + ((b * g) * (b * g)))) + ((((d * e) * (d * e)) + ((c * f) * (c * f)))))) + (((((a * h) * (b * g) + (b * g) * (a * h))) + (((d * e) * (c * f) + (c * f) * (d * e))))))))) - L10
congr - L11
congr
03Use earlier factsL12–13
04Calculate and transport equalitiesL14–14
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L14
congr
05Use earlier factsL15–16
06Calculate and transport equalitiesL17–17
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L17
trans (((((((((a * e) * (a * e)) + ((b * f) * (b * f))) + ((c * g) * (c * g))) + ((d * h) * (d * h)))) + ( · expand full local formula (971 characters)
trans (((((((((a * e) * (a * e)) + ((b * f) * (b * f))) + ((c * g) * (c * g))) + ((d * h) * (d * h)))) + ((((((a * f) * (a * f)) + ((c * h) * (c * h)))) + ((((b * e) * (b * e)) + ((d * g) * (d * g))))))) + (((((((a * g) * (a * g)) + ((d * f) * (d * f)))) + ((((c * e) * (c * e)) + ((b * h) * (b * h)))))) + ((((((a * h) * (a * h)) + ((b * g) * (b * g)))) + ((((d * e) * (d * e)) + ((c * f) * (c * f))))))))) + (((((((((((a * e) * (b * f) + (b * f) * (a * e))) + (((a * e) * (c * g) + (c * g) * (a * e)))) + (((b * f) * (c * g) + (c * g) * (b * f))))) + ((((((d * h) * (a * e) + (a * e) * (d * h))) + (((d * h) * (b * f) + (b * f) * (d * h)))) + (((d * h) * (c * g) + (c * g) * (d * h))))))) + (((((a * f) * (c * h) + (c * h) * (a * f))) + (((b * e) * (d * g) + (d * g) * (b * e)))))) + ((((((a * g) * (d * f) + (d * f) * (a * g))) + (((c * e) * (b * h) + (b * h) * (c * e))))) + (((((a * h) * (b * g) + (b * g) * (a * h))) + (((d * e) * (c * f) + (c * f) * (d * e))))))))
07Use earlier factsL18–18
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L18
apply four_square_euler_four_add_shuffle
Original defined command ledger · 21 lines
- 0001
intro a - 0002
intro b - 0003
intro c - 0004
intro d - 0005
intro e - 0006
intro f - 0007
intro g - 0008
intro h - 0009
trans ((((((((((a * e) * (a * e)) + ((b * f) * (b * f))) + ((c * g) * (c * g))) + ((d * h) * (d * h)))) + ((((((((a * e) * (b * f) + (b * f) * (a * e))) + (((a * e) * (c * g) + (c * g) * (a * e)))) + (((b * f) * (c * g) + (c * g) * (b * f))))) + ((((((d * h) * (a * e) + (a * e) * (d * h))) + (((d * h) * (b * f) + (b * f) * (d * h)))) + (((d * h) * (c * g) + (c * g) * (d * h))))))))) + ((((((((a * f) * (a * f)) + ((c * h) * (c * h)))) + ((((b * e) * (b * e)) + ((d * g) * (d * g)))))) + (((((a * f) * (c * h) + (c * h) * (a * f))) + (((b * e) * (d * g) + (d * g) * (b * e)))))))) + (((((((((a * g) * (a * g)) + ((d * f) * (d * f)))) + ((((c * e) * (c * e)) + ((b * h) * (b * h)))))) + (((((a * g) * (d * f) + (d * f) * (a * g))) + (((c * e) * (b * h) + (b * h) * (c * e))))))) + ((((((((a * h) * (a * h)) + ((b * g) * (b * g)))) + ((((d * e) * (d * e)) + ((c * f) * (c * f)))))) + (((((a * h) * (b * g) + (b * g) * (a * h))) + (((d * e) * (c * f) + (c * f) * (d * e))))))))) - 0010
congr - 0011
congr - 0012
apply four_square_conjugate_scalar_decomposition - 0013
apply four_square_signed_pair_block_decomposition - 0014
congr - 0015
apply four_square_signed_pair_block_decomposition - 0016
apply four_square_signed_pair_block_decomposition - 0017
trans (((((((((a * e) * (a * e)) + ((b * f) * (b * f))) + ((c * g) * (c * g))) + ((d * h) * (d * h)))) + ((((((a * f) * (a * f)) + ((c * h) * (c * h)))) + ((((b * e) * (b * e)) + ((d * g) * (d * g))))))) + (((((((a * g) * (a * g)) + ((d * f) * (d * f)))) + ((((c * e) * (c * e)) + ((b * h) * (b * h)))))) + ((((((a * h) * (a * h)) + ((b * g) * (b * g)))) + ((((d * e) * (d * e)) + ((c * f) * (c * f))))))))) + (((((((((((a * e) * (b * f) + (b * f) * (a * e))) + (((a * e) * (c * g) + (c * g) * (a * e)))) + (((b * f) * (c * g) + (c * g) * (b * f))))) + ((((((d * h) * (a * e) + (a * e) * (d * h))) + (((d * h) * (b * f) + (b * f) * (d * h)))) + (((d * h) * (c * g) + (c * g) * (d * h))))))) + (((((a * f) * (c * h) + (c * h) * (a * f))) + (((b * e) * (d * g) + (d * g) * (b * e)))))) + ((((((a * g) * (d * f) + (d * f) * (a * g))) + (((c * e) * (b * h) + (b * h) * (c * e))))) + (((((a * h) * (b * g) + (b * g) * (a * h))) + (((d * e) * (c * f) + (c * f) * (d * e)))))))) - 0018
apply four_square_euler_four_add_shuffle - 0019
congr - 0020
refl - 0021
simp [add_assoc]