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 : ; exactly when ; ; ; ; and exactly when
Statement
Let and let be as in The absolute value of an integer. Then
- ;
- if and only if ;
- ;
- ;
- ;
- if and only if .
Facts & Assumptions
Given: Integers , and the absolute value of The absolute value of an integer.
is a commutative ring: addition and multiplication are associative and commutative, , , multiplication distributes over addition, and every has an additive inverse ; we write for . Its standard consequences are used freely: , , , and (The integers form a commutative ring, Arithmetic on the integers).
The order on is total, antisymmetric and transitive, is compatible with addition ( implies ), and positives are closed under multiplication ( and imply ); means together with (The integers form a totally ordered ring, Order on the integers).
when , and when ; the second clause covers as well, since (The absolute value of an integer).
Proof
For every : if and only if , and if and only if . Adding to gives , and adding to gives back ; the second equivalence is the same computation with and interchanged, using .
If and then . If or then ; otherwise and , so because positives are closed under multiplication.
By totality, at least one of and holds, and correspondingly or ; this is the case split used throughout, and it is exhaustive.
Case : .
Case : , and by step 1.1, so .
If then by the first clause. Conversely, if then in the case we get , and in the case we get , whence . This is claim 2.
Claim 3. If then by step 1.1, so . If then by step 1.1, so .
Claim 4, case and : by step 1.2, so .
Claim 4, case and : by step 1.1, so by step 1.2, hence by step 1.1 again; therefore .
Claim 4, case and : the same computation with the factors interchanged, using commutativity of multiplication, gives .
Claim 4, case and : and by step 1.1, so by step 1.2, hence .
Claim 5. If then , so ; and by step 1.1, so by transitivity. If then and by step 1.1, so by transitivity; and .
Claim 6, from right to left: suppose . If then . If then , and adding to gives , that is .
Claim 1 holds: in both cases.
The four sign combinations of step 2.4 to step 2.7 exhaust the possibilities by totality, so claim 4 holds for all .
Claim 6, from left to right: suppose . Then by step 2.8 and transitivity. Adding to gives , and by step 2.8, so by transitivity.
Every one of the six claims is now established, claim 6 by its two halves.
Remarks
-
Claim 6 is stated with on both sides deliberately, and the strict form follows from it: holds exactly when . From left to right, and by claim 5. From right to left, gives by claim 6, and is impossible, since is or and both and 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 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.