FS005F

four_square_signed_sum_two_decomposition

Alpha v34 independently verified · alpha_closed; checked-use authorized; not Stable

The square of two natural addends separates its diagonal squares from its symmetric cross correction.

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 x y. (x + y) * (x + y) = (x * x + y * y) + (x * y + y * x)

Constructive proof overview

Generated structural guide

The square of two natural addends separates its diagonal squares from its symmetric cross correction.

The unchanged tactic script uses 4 declared prerequisites and contains 20 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

FS0008 four_square_sum_expansion add_assoc Stable theorem; checked-use authorized add_comm Stable theorem; checked-use authorized FS0006 four_square_add_swap_right_tail

Direct 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

20 script commands · 6 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.

Named ingredients (2)
01Fix variables and assumptionsL1–2

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

  1. L1
    intro x
  2. L2
    intro y
02Calculate and transport equalitiesL3–3

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

  1. L3
    trans (x * x + x * y) + (y * x + y * y)
03Use earlier factsL4–4

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L4
    apply four_square_sum_expansion
04Calculate and transport equalitiesL5–13

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

  1. L5
    trans ((x * x) + ((x * y) + ((y * x) + (y * y))))
  2. L6
    simp [add_assoc]
  3. L7
    trans ((x * x) + ((y * y) + ((x * y) + (y * x))))
  4. L8
    congr
  5. L9
    refl
  6. L10
    trans ((y * y) + ((x * y) + (y * x)))
  7. L11
    trans ((x * y) + ((y * y) + (y * x)))
  8. L12
    congr
  9. L13
    refl
05Use earlier factsL14–15

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L14
    apply add_comm
  2. L15
    apply four_square_add_swap_right_tail
06Calculate and transport equalitiesL16–20

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

  1. L16
    congr
  2. L17
    refl
  3. L18
    refl
  4. L19
    symm
  5. L20
    simp [add_assoc]

Library-wide reading audit

Original exact command ledger · 20 lines
  1. 0001intro x
  2. 0002intro y
  3. 0003trans (x * x + x * y) + (y * x + y * y)
  4. 0004apply four_square_sum_expansion
  5. 0005trans ((x * x) + ((x * y) + ((y * x) + (y * y))))
  6. 0006simp [add_assoc]
  7. 0007trans ((x * x) + ((y * y) + ((x * y) + (y * x))))
  8. 0008congr
  9. 0009refl
  10. 0010trans ((y * y) + ((x * y) + (y * x)))
  11. 0011trans ((x * y) + ((y * y) + (y * x)))
  12. 0012congr
  13. 0013refl
  14. 0014apply add_comm
  15. 0015apply four_square_add_swap_right_tail
  16. 0016congr
  17. 0017refl
  18. 0018refl
  19. 0019symm
  20. 0020simp [add_assoc]