FS003D · theorem body

four_square_two_square_embedding

dependency-curried kernel-checked candidate body; not enrolled in Alpha or Stable

Every constructive sum of two natural squares is a sum of four by adjoining two zero witnesses.

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 n. (exists a b. n = a * a + b * b) -> (exists fsl_a_value fsl_b_value fsl_c_value fsl_d_value. (n) = fsl_a_value * fsl_a_value + fsl_b_value * fsl_b_value + fsl_c_value * fsl_c_value + fsl_d_value * fsl_d_value)

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

none

In local proof propositions

none
Exact expanded first-order statement
forall n. (exists a b. n = a * a + b * b) -> (exists fsl_a_value fsl_b_value fsl_c_value fsl_d_value. (n) = fsl_a_value * fsl_a_value + fsl_b_value * fsl_b_value + fsl_c_value * fsl_c_value + fsl_d_value * fsl_d_value)

Proof neighborhood

Direct theorem prerequisites

none

Direct 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

9 script commands · 4 reading checkpoints · 0 local claims

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.

Definition notation is shown below. Open the paired exact edition for the original native formulas. Source pairing is not a new equivalence certificate.

01Fix variables and assumptionsL1–2

Work with arbitrary variables or the premises of the current implication.

  1. L1
    intro n
  2. L2
    intro htwo
02Separate the logical casesL3–4

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. L3
    cases htwo
  2. L4
    cases htwo_witness
03Construct an explicit witnessL5–8

Supply the displayed value, then prove that it has the required property.

  1. L5
    exists x
  2. L6
    exists x1
  3. L7
    exists 0
  4. L8
    exists 0
04Calculate and transport equalitiesL9–9

Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.

  1. L9
    simp

Library-wide reading audit

Original defined command ledger · 9 lines
  1. 0001intro n
  2. 0002intro htwo
  3. 0003cases htwo
  4. 0004cases htwo_witness
  5. 0005exists x
  6. 0006exists x1
  7. 0007exists 0
  8. 0008exists 0
  9. 0009simp