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
∀ b. ∀ c. ∀ l. ∀ m. ∀ z. ∀ n. Product(b,c,l,m) → (∀ x. ∀ y. Lt(x,l) → BetaAt(b,c,x,y) → ∃ k. ∃ i. y = k · k + i · i) → n = m · (z · z) → ∃ x. ∃ y. n = x · x + y · yEvery 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 b c l m z n. (exists ff_u_ftsf_square_product ff_v_ftsf_square_product. ((((exists ff_h_ftsf_square_product_start. ff_h_ftsf_square_product_start + S (1) = S ((S (0)) * ff_v_ftsf_square_product)) /\ exists ff_q_ftsf_square_product_start. ff_u_ftsf_square_product = ff_q_ftsf_square_product_start * S ((S (0)) * ff_v_ftsf_square_product) + (1))) /\ ((((exists ff_h_ftsf_square_product_terminal. ff_h_ftsf_square_product_terminal + S (m) = S ((S (l)) * ff_v_ftsf_square_product)) /\ exists ff_q_ftsf_square_product_terminal. ff_u_ftsf_square_product = ff_q_ftsf_square_product_terminal * S ((S (l)) * ff_v_ftsf_square_product) + (m))) /\ forall ff_i_ftsf_square_product. (exists ff_lt_ftsf_square_product_bound. ff_lt_ftsf_square_product_bound + S ff_i_ftsf_square_product = l) -> exists ff_p_ftsf_square_product ff_r_ftsf_square_product ff_s_ftsf_square_product. ((((exists ff_h_ftsf_square_product_factor. ff_h_ftsf_square_product_factor + S (ff_p_ftsf_square_product) = S ((S (ff_i_ftsf_square_product)) * c)) /\ exists ff_q_ftsf_square_product_factor. b = ff_q_ftsf_square_product_factor * S ((S (ff_i_ftsf_square_product)) * c) + (ff_p_ftsf_square_product))) /\ ((((exists ff_h_ftsf_square_product_partial. ff_h_ftsf_square_product_partial + S (ff_r_ftsf_square_product) = S ((S (ff_i_ftsf_square_product)) * ff_v_ftsf_square_product)) /\ exists ff_q_ftsf_square_product_partial. ff_u_ftsf_square_product = ff_q_ftsf_square_product_partial * S ((S (ff_i_ftsf_square_product)) * ff_v_ftsf_square_product) + (ff_r_ftsf_square_product))) /\ ((((exists ff_h_ftsf_square_product_successor. ff_h_ftsf_square_product_successor + S (ff_s_ftsf_square_product) = S ((S (S ff_i_ftsf_square_product)) * ff_v_ftsf_square_product)) /\ exists ff_q_ftsf_square_product_successor. ff_u_ftsf_square_product = ff_q_ftsf_square_product_successor * S ((S (S ff_i_ftsf_square_product)) * ff_v_ftsf_square_product) + (ff_s_ftsf_square_product))) /\ ff_s_ftsf_square_product = ff_r_ftsf_square_product * ff_p_ftsf_square_product)))))) -> (forall ftsf_index_square_prefix ftsf_factor_square_prefix. (exists ftsf_gap_square_prefix_bound. ftsf_gap_square_prefix_bound + S ftsf_index_square_prefix = (l)) -> (((exists ff_h_ftsf_square_prefix_entry. ff_h_ftsf_square_prefix_entry + S (ftsf_factor_square_prefix) = S ((S (ftsf_index_square_prefix)) * c)) /\ exists ff_q_ftsf_square_prefix_entry. b = ff_q_ftsf_square_prefix_entry * S ((S (ftsf_index_square_prefix)) * c) + (ftsf_factor_square_prefix))) -> (exists ftsf_first_square_prefix_representation ftsf_second_square_prefix_representation. (ftsf_factor_square_prefix) = ftsf_first_square_prefix_representation * ftsf_first_square_prefix_representation + ftsf_second_square_prefix_representation * ftsf_second_square_prefix_representation)) -> n = m * (z * z) -> (exists ftsf_first_square_result ftsf_second_square_result. (n) = ftsf_first_square_result * ftsf_first_square_result + ftsf_second_square_result * ftsf_second_square_result)Proof neighborhood
Direct theorem prerequisites
TS002M beta_two_square_represented_factor_product TS001Z every_natural_square_is_sum_of_two_squares TS001X two_square_representation_multiplicatively_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–9
02Establish hbaseL10–17
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta two square represented factor product.
- L10
have hbase : exists ftsf_first_square_local_base ftsf_second_square_local_base. (m) = ftsf_first_square_local_base * ftsf_first_square_local_base + ftsf_second_square_local_base * ftsf_second_square_local_base - L11
specialize beta_two_square_represented_factor_product b - L12
specialize beta_two_square_represented_factor_product c - L13
specialize beta_two_square_represented_factor_product l - L14
specialize beta_two_square_represented_factor_product m - L15
apply beta_two_square_represented_factor_product - L16
exact hproduct - L17
exact hprefix
03Establish hsquareL18–26
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply two square representation multiplicatively closed.
- L18
have hsquare : exists ftsf_first_square_local_factor ftsf_second_square_local_factor. (z * z) = ftsf_first_square_local_factor * ftsf_first_square_local_factor + ftsf_second_square_local_factor * ftsf_second_square_local_factor - L19
specialize every_natural_square_is_sum_of_two_squares z - L20
exact every_natural_square_is_sum_of_two_squares - L21
rewrite hdecomposition - L22
specialize two_square_representation_multiplicatively_closed m - L23
specialize two_square_representation_multiplicatively_closed (z * z) - L24
apply two_square_representation_multiplicatively_closed - L25
exact hbase - L26
exact hsquare
Original defined command ledger · 26 lines
- 0001
intro b - 0002
intro c - 0003
intro l - 0004
intro m - 0005
intro z - 0006
intro n - 0007
intro hproduct - 0008
intro hprefix - 0009
intro hdecomposition - 0010
have hbase : exists ftsf_first_square_local_base ftsf_second_square_local_base. (m) = ftsf_first_square_local_base * ftsf_first_square_local_base + ftsf_second_square_local_base * ftsf_second_square_local_base - 0011
specialize beta_two_square_represented_factor_product b - 0012
specialize beta_two_square_represented_factor_product c - 0013
specialize beta_two_square_represented_factor_product l - 0014
specialize beta_two_square_represented_factor_product m - 0015
apply beta_two_square_represented_factor_product - 0016
exact hproduct - 0017
exact hprefix - 0018
have hsquare : exists ftsf_first_square_local_factor ftsf_second_square_local_factor. (z * z) = ftsf_first_square_local_factor * ftsf_first_square_local_factor + ftsf_second_square_local_factor * ftsf_second_square_local_factor - 0019
specialize every_natural_square_is_sum_of_two_squares z - 0020
exact every_natural_square_is_sum_of_two_squares - 0021
rewrite hdecomposition - 0022
specialize two_square_representation_multiplicatively_closed m - 0023
specialize two_square_representation_multiplicatively_closed (z * z) - 0024
apply two_square_representation_multiplicatively_closed - 0025
exact hbase - 0026
exact hsquare