Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-adaptedprecheck 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 x∈Q set ∣x∣=x if x≥0 and ∣x∣=−x otherwise. Then ∣xy∣=∣x∣ ∣y∣, ∣x+y∣≤∣x∣+∣y∣, and ∣∣x∣−∣y∣∣≤∣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 once constructed).

Facts & Assumptions

Given: Elements x,y of the totally ordered field Q.

[L1]

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

Proof

technique · cases
1.1

For every u: u≤∣u∣, −u≤∣u∣, ∣u∣≥0, and ∣−u∣=∣u∣, directly from the definition and trichotomy.

L1
1.2

Case x and y have the same sign (both ≥0 or both <0): xy≥0 and xy=∣x∣∣y∣ (for both negative, xy=(−x)(−y)).

assume-case sameL1
1.3

Case x,y have mixed signs, say x≥0>y (the other order is identical): xy≤0, so ∣xy∣=−(xy)=x(−y)=∣x∣∣y∣.

assume-case mixedL1
2.1

In all cases ∣xy∣=∣x∣ ∣y∣.

step 1.2step 1.3cases-exhaustive
2.2

Adding x≤∣x∣ and y≤∣y∣ gives x+y≤∣x∣+∣y∣; adding −x≤∣x∣ and −y≤∣y∣ gives −(x+y)≤∣x∣+∣y∣; since ∣x+y∣ is one of ±(x+y), ∣x+y∣≤∣x∣+∣y∣.

step 1.1L1
3.1

From x=(x−y)+y: ∣x∣≤∣x−y∣+∣y∣, so ∣x∣−∣y∣≤∣x−y∣; symmetrically ∣y∣−∣x∣≤∣y−x∣=∣x−y∣; hence ∣∣x∣−∣y∣∣≤∣x−y∣.

step 2.2L1∎

Depends on

Used by

Dependency tree · two levels

5 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources