FS000C

signed_balance_square_transport

Dependency-curried candidate body; not Alpha-enrolled; no checked-use authority

Every canonical signed balance supplies a natural magnitude, constructive sign branch, and exact squared cross-term transport.

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 code left right. (exists sb_pos_fs_abs sb_neg_fs_abs. (((code = 2 * sb_pos_fs_abs /\ sb_neg_fs_abs = 0) \/ exists sd_half_fs_abs. ((code = 2 * sd_half_fs_abs + 1 /\ sb_pos_fs_abs = 0) /\ sb_neg_fs_abs = S sd_half_fs_abs)) /\ left + sb_neg_fs_abs = right + sb_pos_fs_abs)) -> exists magnitude. ((left = right + magnitude \/ right = left + magnitude) /\ left * left + right * right = magnitude * magnitude + (left * right + right * left))

Constructive proof overview

Generated structural guide

Every canonical signed balance supplies a natural magnitude, constructive sign branch, and exact squared cross-term transport.

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

none

Formal native tactic body

Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This dependency-curried candidate body does not grant checked theorem use or Stable membership.

Read the argument

Proof checkpoints

19 script commands · 6 reading checkpoints · 1 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 code
  2. L2
    intro left
  3. L3
    intro right
  4. L4
    intro hbalance
02Establish habsoluteL5–10

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed balance absolute exists.

  1. L5
    have habsolute : exists magnitude. (left = right + magnitude \/ right = left + magnitude)
  2. L6
    specialize signed_balance_absolute_exists code
  3. L7
    specialize signed_balance_absolute_exists left
  4. L8
    specialize signed_balance_absolute_exists right
  5. L9
    apply signed_balance_absolute_exists
  6. L10
    exact hbalance
03Separate the logical casesL11–11

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

  1. L11
    cases habsolute
04Construct an explicit witnessL12–12

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

  1. L12
    exists x
05Separate the logical casesL13–13

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

  1. L13
    split
06Use earlier factsL14–19

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

  1. L14
    exact habsolute_witness
  2. L15
    specialize four_square_absolute_square_balance left
  3. L16
    specialize four_square_absolute_square_balance right
  4. L17
    specialize four_square_absolute_square_balance x
  5. L18
    apply four_square_absolute_square_balance
  6. L19
    exact habsolute_witness

Library-wide reading audit

Original exact command ledger · 19 lines
  1. 0001intro code
  2. 0002intro left
  3. 0003intro right
  4. 0004intro hbalance
  5. 0005have habsolute : exists magnitude. (left = right + magnitude \/ right = left + magnitude)
  6. 0006specialize signed_balance_absolute_exists code
  7. 0007specialize signed_balance_absolute_exists left
  8. 0008specialize signed_balance_absolute_exists right
  9. 0009apply signed_balance_absolute_exists
  10. 0010exact hbalance
  11. 0011cases habsolute
  12. 0012exists x
  13. 0013split
  14. 0014exact habsolute_witness
  15. 0015specialize four_square_absolute_square_balance left
  16. 0016specialize four_square_absolute_square_balance right
  17. 0017specialize four_square_absolute_square_balance x
  18. 0018apply four_square_absolute_square_balance
  19. 0019exact habsolute_witness