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 left right. exists magnitude. (left = right + magnitude \/ right = left + magnitude)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
In local proof propositions
Exact expanded first-order statement
forall left right. exists magnitude. (left = right + magnitude \/ right = left + magnitude)Proof neighborhood
Direct theorem prerequisites
FS0002 signed_balance_absolute_existsDirect 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 (1)
01Fix variables and assumptionsL1–2
02Establish hbalanceL3–4
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed balance total.
- L3
have hbalance : exists code. (exists sb_pos_fs_difference sb_neg_fs_difference. (((code = 2 * sb_pos_fs_difference /\ sb_neg_fs_difference = 0) \/ exists sd_half_fs_difference. ((code = 2 * sd_half_fs_difference + 1 /\ sb_pos_fs_difference = 0) /\ sb_neg_fs_difference = S sd_half_fs_difference)) /\ (left) + sb_neg_fs_difference = (right) + sb_pos_fs_difference)) - L4
apply signed_balance_total
03Separate the logical casesL5–5
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L5
cases hbalance
04Use earlier factsL6–10
Original defined command ledger · 10 lines
- 0001
intro left - 0002
intro right - 0003
have hbalance : exists code. (exists sb_pos_fs_difference sb_neg_fs_difference. (((code = 2 * sb_pos_fs_difference /\ sb_neg_fs_difference = 0) \/ exists sd_half_fs_difference. ((code = 2 * sd_half_fs_difference + 1 /\ sb_pos_fs_difference = 0) /\ sb_neg_fs_difference = S sd_half_fs_difference)) /\ (left) + sb_neg_fs_difference = (right) + sb_pos_fs_difference)) - 0004
apply signed_balance_total - 0005
cases hbalance - 0006
specialize signed_balance_absolute_exists x - 0007
specialize signed_balance_absolute_exists left - 0008
specialize signed_balance_absolute_exists right - 0009
apply signed_balance_absolute_exists - 0010
exact hbalance_witness