ND0143

SignedBalance(z,p,n)

Public research checkpoint, not admitted to Alpha or Stable. Alpha v30 remains 3222 checked-use theorems; Stable remains 432. The on-demand Alpha Lean service does not yet expose these checkpoint theorems; their independently checked literal bundles and unchanged sources are available below.

The original canonical code z represents the integer difference p−n; these supplied components need not be normalized.

Conservative notation; not a theorem, primitive, or axiom.

Definition in prerequisite notation

∃ sb_pos_lowerlayer. ∃ sb_neg_lowerlayer. SignedDecode(z,sb_pos_lowerlayer,sb_neg_lowerlayer) ∧ p + sb_neg_lowerlayer = n + sb_pos_lowerlayer

Only definitions earlier in this acyclic notation graph are used here.

Hygienic expanded first-order definition
exists sb_pos_lowerlayer sb_neg_lowerlayer. (((z = 2 * sb_pos_lowerlayer /\ sb_neg_lowerlayer = 0) \/ exists sd_half_lowerlayer. ((z = 2 * sd_half_lowerlayer + 1 /\ sb_pos_lowerlayer = 0) /\ sb_neg_lowerlayer = S sd_half_lowerlayer)) /\ p + sb_neg_lowerlayer = n + sb_pos_lowerlayer)

The unchanged native kernel never receives this surface symbol. Binder-safe expansion produces only its existing first-order syntax.

Direct definition dependencies

Definitions depending on this notation

Checked theorems using this definition

none directly; see definition consumers