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
∀ k. ∀ a. ∀ b. ∀ c. ∀ d. ∀ e. ∀ f. ∀ g. ∀ h. Le(e + e,k) ∧ ((∃ x. a = k · x + e) ∨ Dvd(k,a + e)) → Le(f + f,k) ∧ ((∃ x. b = k · x + f) ∨ Dvd(k,b + f)) → Le(g + g,k) ∧ ((∃ x. c = k · x + g) ∨ Dvd(k,c + g)) → Le(h + h,k) ∧ ((∃ x. d = k · x + h) ∨ Dvd(k,d + h)) → ModEq(k,a · a + b · b + c · c + d · d,e · e + f · f + g · g + h · h)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 k a b c d e f g h. (((exists fsd_center_bound_fssq_a. fsd_center_bound_fssq_a + (e + e) = k) /\ ((exists fsd_center_lower_fssq_a. a = k * fsd_center_lower_fssq_a + e) \/ (exists fsd_center_upper_fssq_a. a + e = k * fsd_center_upper_fssq_a)))) -> (((exists fsd_center_bound_fssq_b. fsd_center_bound_fssq_b + (f + f) = k) /\ ((exists fsd_center_lower_fssq_b. b = k * fsd_center_lower_fssq_b + f) \/ (exists fsd_center_upper_fssq_b. b + f = k * fsd_center_upper_fssq_b)))) -> (((exists fsd_center_bound_fssq_c. fsd_center_bound_fssq_c + (g + g) = k) /\ ((exists fsd_center_lower_fssq_c. c = k * fsd_center_lower_fssq_c + g) \/ (exists fsd_center_upper_fssq_c. c + g = k * fsd_center_upper_fssq_c)))) -> (((exists fsd_center_bound_fssq_d. fsd_center_bound_fssq_d + (h + h) = k) /\ ((exists fsd_center_lower_fssq_d. d = k * fsd_center_lower_fssq_d + h) \/ (exists fsd_center_upper_fssq_d. d + h = k * fsd_center_upper_fssq_d)))) -> (exists ftcn_left_fssq_norm ftcn_right_fssq_norm. (a * a + b * b + c * c + d * d) + (k) * ftcn_left_fssq_norm = (e * e + f * f + g * g + h * h) + (k) * ftcn_right_fssq_norm)Proof neighborhood
Direct theorem prerequisites
FS005B four_square_signed_centered_square_congruent mod_eq_add · 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 (1)
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–13
03Establish hfirstL14–19
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply four square signed centered square congruent.
- L14
have hfirst : ModEq(k,a · a,e · e)Definitions: ModEq(k,a · a,e · e)Original native command in the exact edition - L15
specialize four_square_signed_centered_square_congruent k - L16
specialize four_square_signed_centered_square_congruent a - L17
specialize four_square_signed_centered_square_congruent e - L18
apply four_square_signed_centered_square_congruent - L19
exact ha
04Establish hsecondL20–25
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply four square signed centered square congruent.
- L20
have hsecond : ModEq(k,b · b,f · f)Definitions: ModEq(k,b · b,f · f)Original native command in the exact edition - L21
specialize four_square_signed_centered_square_congruent k - L22
specialize four_square_signed_centered_square_congruent b - L23
specialize four_square_signed_centered_square_congruent f - L24
apply four_square_signed_centered_square_congruent - L25
exact hb
05Establish hthirdL26–31
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply four square signed centered square congruent.
- L26
have hthird : ModEq(k,c · c,g · g)Definitions: ModEq(k,c · c,g · g)Original native command in the exact edition - L27
specialize four_square_signed_centered_square_congruent k - L28
specialize four_square_signed_centered_square_congruent c - L29
specialize four_square_signed_centered_square_congruent g - L30
apply four_square_signed_centered_square_congruent - L31
exact hc
06Establish hfourthL32–37
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply four square signed centered square congruent.
- L32
have hfourth : ModEq(k,d · d,h · h)Definitions: ModEq(k,d · d,h · h)Original native command in the exact edition - L33
specialize four_square_signed_centered_square_congruent k - L34
specialize four_square_signed_centered_square_congruent d - L35
specialize four_square_signed_centered_square_congruent h - L36
apply four_square_signed_centered_square_congruent - L37
exact hd
07Establish hpairL38–46
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mod eq add.
- L38
have hpair : ModEq(k,a · a + b · b,e · e + f · f)Definitions: ModEq(k,a · a + b · b,e · e + f · f)Original native command in the exact edition - L39
specialize mod_eq_add k - L40
specialize mod_eq_add (a * a) - L41
specialize mod_eq_add (e * e) - L42
specialize mod_eq_add (b * b) - L43
specialize mod_eq_add (f * f) - L44
apply mod_eq_add - L45
exact hfirst - L46
exact hsecond
08Establish htripleL47–56
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mod eq add.
- L47
have htriple : ModEq(k,a · a + b · b + c · c,e · e + f · f + g · g)Definitions: ModEq(k,a · a + b · b + c · c,e · e + f · f + g · g)Original native command in the exact edition - L48
specialize mod_eq_add k - L49
specialize mod_eq_add (a * a + b * b) - L50
specialize mod_eq_add (e * e + f * f) - L51
specialize mod_eq_add (c * c) - L52
specialize mod_eq_add (g * g) - L53
apply mod_eq_add - L54
exact hpair - L55
exact hthird - L56
specialize mod_eq_add k
09Use earlier factsL57–63
Original defined command ledger · 63 lines
- 0001
intro k - 0002
intro a - 0003
intro b - 0004
intro c - 0005
intro d - 0006
intro e - 0007
intro f - 0008
intro g - 0009
intro h - 0010
intro ha - 0011
intro hb - 0012
intro hc - 0013
intro hd - 0014
have hfirst : ModEq(k,a · a,e · e)Exact native replay line
have hfirst : exists ftcn_left_fssq_first ftcn_right_fssq_first. (a * a) + (k) * ftcn_left_fssq_first = (e * e) + (k) * ftcn_right_fssq_first - 0015
specialize four_square_signed_centered_square_congruent k - 0016
specialize four_square_signed_centered_square_congruent a - 0017
specialize four_square_signed_centered_square_congruent e - 0018
apply four_square_signed_centered_square_congruent - 0019
exact ha - 0020
have hsecond : ModEq(k,b · b,f · f)Exact native replay line
have hsecond : exists ftcn_left_fssq_second ftcn_right_fssq_second. (b * b) + (k) * ftcn_left_fssq_second = (f * f) + (k) * ftcn_right_fssq_second - 0021
specialize four_square_signed_centered_square_congruent k - 0022
specialize four_square_signed_centered_square_congruent b - 0023
specialize four_square_signed_centered_square_congruent f - 0024
apply four_square_signed_centered_square_congruent - 0025
exact hb - 0026
have hthird : ModEq(k,c · c,g · g)Exact native replay line
have hthird : exists ftcn_left_fssq_third ftcn_right_fssq_third. (c * c) + (k) * ftcn_left_fssq_third = (g * g) + (k) * ftcn_right_fssq_third - 0027
specialize four_square_signed_centered_square_congruent k - 0028
specialize four_square_signed_centered_square_congruent c - 0029
specialize four_square_signed_centered_square_congruent g - 0030
apply four_square_signed_centered_square_congruent - 0031
exact hc - 0032
have hfourth : ModEq(k,d · d,h · h)Exact native replay line
have hfourth : exists ftcn_left_fssq_fourth ftcn_right_fssq_fourth. (d * d) + (k) * ftcn_left_fssq_fourth = (h * h) + (k) * ftcn_right_fssq_fourth - 0033
specialize four_square_signed_centered_square_congruent k - 0034
specialize four_square_signed_centered_square_congruent d - 0035
specialize four_square_signed_centered_square_congruent h - 0036
apply four_square_signed_centered_square_congruent - 0037
exact hd - 0038
have hpair : ModEq(k,a · a + b · b,e · e + f · f)Exact native replay line
have hpair : exists ftcn_left_fssq_pair ftcn_right_fssq_pair. (a * a + b * b) + (k) * ftcn_left_fssq_pair = (e * e + f * f) + (k) * ftcn_right_fssq_pair - 0039
specialize mod_eq_add k - 0040
specialize mod_eq_add (a * a) - 0041
specialize mod_eq_add (e * e) - 0042
specialize mod_eq_add (b * b) - 0043
specialize mod_eq_add (f * f) - 0044
apply mod_eq_add - 0045
exact hfirst - 0046
exact hsecond - 0047
have htriple : ModEq(k,a · a + b · b + c · c,e · e + f · f + g · g)Exact native replay line
have htriple : exists ftcn_left_fssq_triple ftcn_right_fssq_triple. (a * a + b * b + c * c) + (k) * ftcn_left_fssq_triple = (e * e + f * f + g * g) + (k) * ftcn_right_fssq_triple - 0048
specialize mod_eq_add k - 0049
specialize mod_eq_add (a * a + b * b) - 0050
specialize mod_eq_add (e * e + f * f) - 0051
specialize mod_eq_add (c * c) - 0052
specialize mod_eq_add (g * g) - 0053
apply mod_eq_add - 0054
exact hpair - 0055
exact hthird - 0056
specialize mod_eq_add k - 0057
specialize mod_eq_add (a * a + b * b + c * c) - 0058
specialize mod_eq_add (e * e + f * f + g * g) - 0059
specialize mod_eq_add (d * d) - 0060
specialize mod_eq_add (h * h) - 0061
apply mod_eq_add - 0062
exact htriple - 0063
exact hfourth