FS000B

four_square_absolute_square_balance

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

Either constructive absolute-difference branch transports coordinate squares to its magnitude square and 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 left right magnitude. (left = right + magnitude \/ right = left + magnitude) -> left * left + right * right = magnitude * magnitude + (left * right + right * left)

Constructive proof overview

Generated structural guide

Either constructive absolute-difference branch transports coordinate squares to its magnitude square and cross correction.

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

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

15 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–4

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

  1. L1
    intro left
  2. L2
    intro right
  3. L3
    intro magnitude
  4. L4
    intro hdifference
02Separate the logical casesL5–5

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

  1. L5
    cases hdifference
03Calculate and transport equalitiesL6–9

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

  1. L6
    rewrite hdifference_left
  2. L7
    rewrite hdifference_left
  3. L8
    rewrite hdifference_left
  4. L9
    rewrite hdifference_left
04Use earlier factsL10–10

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

  1. L10
    apply four_square_gap_balance_right
05Calculate and transport equalitiesL11–14

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

  1. L11
    rewrite hdifference_right
  2. L12
    rewrite hdifference_right
  3. L13
    rewrite hdifference_right
  4. L14
    rewrite hdifference_right
06Use earlier factsL15–15

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

  1. L15
    apply four_square_gap_balance_left

Library-wide reading audit

Original exact command ledger · 15 lines
  1. 0001intro left
  2. 0002intro right
  3. 0003intro magnitude
  4. 0004intro hdifference
  5. 0005cases hdifference
  6. 0006rewrite hdifference_left
  7. 0007rewrite hdifference_left
  8. 0008rewrite hdifference_left
  9. 0009rewrite hdifference_left
  10. 0010apply four_square_gap_balance_right
  11. 0011rewrite hdifference_right
  12. 0012rewrite hdifference_right
  13. 0013rewrite hdifference_right
  14. 0014rewrite hdifference_right
  15. 0015apply four_square_gap_balance_left