Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-generatedSession-authored (Fable 5 assisted)precheck passjudge pass (z-ai/glm-5.2)audited 2026-07-28
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Absolute value in Z\mathbb{Z}: a0|a| \ge 0; a=0|a| = 0 exactly when a=0a = 0; a=a|-a| = |a|; ab=ab|ab| = |a|\,|b|; aaa-|a| \le a \le |a|; and ac|a| \le c exactly when cac-c \le a \le c

Statement

Let a,b,cZa, b, c \in \mathbb{Z} and let |\cdot| be as in The absolute value a|a| of an integer. Then

  1. a0|a| \ge 0;
  2. a=0|a| = 0 if and only if a=0a = 0;
  3. a=a|-a| = |a|;
  4. ab=ab|ab| = |a|\,|b|;
  5. aaa-|a| \le a \le |a|;
  6. ac|a| \le c if and only if cac-c \le a \le c.

Facts & Assumptions

Given: Integers a,b,ca, b, c, and the absolute value of The absolute value a|a| of an integer.

[L1]

Z\mathbb{Z} is a commutative ring: addition and multiplication are associative and commutative, x+0=xx + 0 = x, x1=xx \cdot 1 = x, multiplication distributes over addition, and every xx has an additive inverse x-x; we write uvu - v for u+(v)u + (-v). Its standard consequences are used freely: (x)=x-(-x) = x, (x)y=(xy)(-x)y = -(xy), (x)(y)=xy(-x)(-y) = xy, x0=0x \cdot 0 = 0 and 0=0-0 = 0 (The integers form a commutative ring, Arithmetic on the integers).

[L2]

The order on Z\mathbb{Z} is total, antisymmetric and transitive, is compatible with addition (xyx \le y implies x+zy+zx + z \le y + z), and positives are closed under multiplication (0<x0 < x and 0<y0 < y imply 0<xy0 < xy); x<yx < y means xyx \le y together with xyx \ne y (The integers form a totally ordered ring, Order on the integers).

[L3]

x=x|x| = x when x0x \ge 0, and x=x|x| = -x when x0x \le 0; the second clause covers x=0x = 0 as well, since 0=0-0 = 0 (The absolute value a|a| of an integer).

Proof

technique · cases
1.1

For every xx: 0x0 \le x if and only if x0-x \le 0, and x0x \le 0 if and only if 0x0 \le -x. Adding x-x to 0x0 \le x gives x0-x \le 0, and adding xx to x0-x \le 0 gives back 0x0 \le x; the second equivalence is the same computation with xx and x-x interchanged, using (x)=x-(-x) = x.

L1L2
1.2

If 0u0 \le u and 0v0 \le v then 0uv0 \le uv. If u=0u = 0 or v=0v = 0 then uv=0uv = 0; otherwise 0<u0 < u and 0<v0 < v, so 0<uv0 < uv because positives are closed under multiplication.

L1L2
1.3

By totality, at least one of 0a0 \le a and a0a \le 0 holds, and correspondingly a=a|a| = a or a=a|a| = -a; this is the case split used throughout, and it is exhaustive.

L2L3cases-exhaustive
1.4

Case a0a \ge 0: a=a0|a| = a \ge 0.

assume-case nonnegL3
2.1

Case a0a \le 0: a=a|a| = -a, and 0a0 \le -a by step 1.1, so a0|a| \ge 0.

assume-case nonposstep 1.1L3
2.2

If a=0a = 0 then a=0|a| = 0 by the first clause. Conversely, if a=0|a| = 0 then in the case a0a \ge 0 we get a=a=0a = |a| = 0, and in the case a0a \le 0 we get a=a=0-a = |a| = 0, whence a=(a)=0=0a = -(-a) = -0 = 0. This is claim 2.

step 1.3L1L3
2.3

Claim 3. If a0a \ge 0 then a0-a \le 0 by step 1.1, so a=(a)=a=a|-a| = -(-a) = a = |a|. If a0a \le 0 then 0a0 \le -a by step 1.1, so a=a=a|-a| = -a = |a|.

step 1.1L1L3
2.4

Claim 4, case a0a \ge 0 and b0b \ge 0: ab0ab \ge 0 by step 1.2, so ab=ab=ab|ab| = ab = |a|\,|b|.

assume-case posposstep 1.2L3
2.5

Claim 4, case a0a \ge 0 and b0b \le 0: 0b0 \le -b by step 1.1, so 0a(b)=(ab)0 \le a(-b) = -(ab) by step 1.2, hence ab0ab \le 0 by step 1.1 again; therefore ab=(ab)=a(b)=ab|ab| = -(ab) = a(-b) = |a|\,|b|.

assume-case posnegstep 1.1step 1.2L1L3
2.6

Claim 4, case a0a \le 0 and b0b \ge 0: the same computation with the factors interchanged, using commutativity of multiplication, gives ab=(a)b=ab|ab| = (-a)b = |a|\,|b|.

assume-case negposstep 1.1step 1.2L1L3
2.7

Claim 4, case a0a \le 0 and b0b \le 0: 0a0 \le -a and 0b0 \le -b by step 1.1, so 0(a)(b)=ab0 \le (-a)(-b) = ab by step 1.2, hence ab=ab=(a)(b)=ab|ab| = ab = (-a)(-b) = |a|\,|b|.

assume-case negnegstep 1.1step 1.2L1L3
2.8

Claim 5. If a0a \ge 0 then a=a|a| = a, so aaa \le |a|; and a=a0a-|a| = -a \le 0 \le a by step 1.1, so aa-|a| \le a by transitivity. If a0a \le 0 then a=a|a| = -a and 0a0 \le -a by step 1.1, so a0aa \le 0 \le |a| by transitivity; and a=(a)=aa-|a| = -(-a) = a \le a.

step 1.1step 1.3L1L2L3
2.9

Claim 6, from right to left: suppose cac-c \le a \le c. If a0a \ge 0 then a=ac|a| = a \le c. If a0a \le 0 then a=a|a| = -a, and adding cac - a to ca-c \le a gives ac-a \le c, that is ac|a| \le c.

step 1.3L1L2L3
3.1

Claim 1 holds: a0|a| \ge 0 in both cases.

step 1.3step 1.4step 2.1cases
3.2

The four sign combinations of step 2.4 to step 2.7 exhaust the possibilities by totality, so claim 4 holds for all a,ba, b.

step 1.3step 2.4step 2.5step 2.6step 2.7cases
3.3

Claim 6, from left to right: suppose ac|a| \le c. Then aaca \le |a| \le c by step 2.8 and transitivity. Adding ca-c - |a| to ac|a| \le c gives ca-c \le -|a|, and aa-|a| \le a by step 2.8, so ca-c \le a by transitivity.

step 2.8L1L2
4.1

Every one of the six claims is now established, claim 6 by its two halves.

step 3.1step 2.2step 2.3step 3.2step 2.8step 3.3step 2.9

Remarks

  • Claim 6 is stated with \le on both sides deliberately, and the strict form follows from it: a<c|a| < c holds exactly when c<a<c-c < a < c. From left to right, aa<ca \le |a| < c and c<aa-c < -|a| \le a by claim 5. From right to left, c<a<c-c < a < c gives ac|a| \le c by claim 6, and a=c|a| = c is impossible, since a|a| is aa or a-a and both a=ca = c and a=c-a = c are excluded by the two strict inequalities.

  • The list does not include the triangle inequality, which is not used anywhere on this page. What the proofs below actually reach for is claim 1, claim 2, claim 4 and the bound aaa \le |a| of claim 5; claim 3 is used once, in the identification of the associate classes, and claim 6 is recorded for completeness rather than because something later needs it.

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 37 results over 15 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources