Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passjudge pass (openai/gpt-5.4)audited 2026-07-24
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 and the triangle inequality

Statement

For xQx \in \mathbb{Q} set x=x|x| = x if x0x \ge 0 and x=x|x| = -x otherwise. Then xy=xy|xy| = |x|\,|y|, x+yx+y|x + y| \le |x| + |y|, and xyxy\bigl||x| - |y|\bigr| \le |x - y|.

The proof uses only the axioms of a totally ordered field, so it applies verbatim to any such field (in particular to R\mathbb{R} once constructed).

Facts & Assumptions

Given: Elements x,yx, y of the totally ordered field Q\mathbb{Q}.

[L1]

Ordered-field arithmetic: trichotomy, compatibility of the order with addition, products of positives are positive, (u)v=(uv)(-u)v = -(uv) (The rationals form a totally ordered field).

Proof

technique · cases
1.1

For every uu: uuu \le |u|, uu-u \le |u|, u0|u| \ge 0, and u=u|-u| = |u|, directly from the definition and trichotomy.

L1
1.2

Case xx and yy have the same sign (both 0\ge 0 or both <0< 0): xy0xy \ge 0 and xy=xyxy = |x||y| (for both negative, xy=(x)(y)xy = (-x)(-y)).

assume-case sameL1
1.3

Case x,yx, y have mixed signs, say x0>yx \ge 0 > y (the other order is identical): xy0xy \le 0, so xy=(xy)=x(y)=xy|xy| = -(xy) = x(-y) = |x||y|.

assume-case mixedL1
2.1

In all cases xy=xy|xy| = |x|\,|y|.

step 1.2step 1.3cases-exhaustive
2.2

Adding xxx \le |x| and yyy \le |y| gives x+yx+yx + y \le |x| + |y|; adding xx-x \le |x| and yy-y \le |y| gives (x+y)x+y-(x+y) \le |x| + |y|; since x+y|x+y| is one of ±(x+y)\pm(x+y), x+yx+y|x+y| \le |x| + |y|.

step 1.1L1
3.1

From x=(xy)+yx = (x - y) + y: xxy+y|x| \le |x-y| + |y|, so xyxy|x| - |y| \le |x-y|; symmetrically yxyx=xy|y| - |x| \le |y-x| = |x-y|; hence xyxy\bigl||x|-|y|\bigr| \le |x-y|.

step 2.2L1

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 22 results over 10 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