Alphabeta Math
LemmaStatement: AI-adaptedProof: AI-generatedprecheck passverified 2026-08-03 (gpt-5.6-sol-codex-subscription)
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.

The p-adic valuation extends to the nonzero rationals by vp(a/b):=vp(a)−vp(b)∈Z, independently of the representation; it satisfies vp(xy)=vp(x)+vp(y), and vp(x+y)≥min⁡{vp(x),vp(y)} whenever x, y and x+y are nonzero

Statement

Let p be a prime (Prime and composite integers: p is prime when p>1 and its only positive divisors are 1 and p). A rational is a class [(a,b)] of pairs of integers with b≠0, written a/b (The rationals as equivalence classes of pairs of integers), and [(a,b)]≠0 holds exactly when a≠0 (Arithmetic on the rationals). Write ι:N→Z for the embedding of The naturals embed in the integers and j:Z→Q, j(k)=[(k,1)], for that of The integers embed in the rationals.

For a nonzero rational x=[(a,b)] set

vp(x)  :=  ι(vp(a))−ι(vp(b))  ∈  Z,

with vp on nonzero integers as in The p-adic valuation vp(a) of a nonzero integer: the greatest k∈N with pk∣a. Then:

  1. The value does not depend on the representative, so vp is a well defined function from the nonzero rationals to Z.
  2. It extends the integer valuation: vp(j(a))=ι(vp(a)) for every nonzero integer a.
  3. vp(xy)=vp(x)+vp(y) for all nonzero rationals x,y.
  4. vp(x+y)≥min⁡{ vp(x), vp(y) } whenever x, y and x+y are all nonzero, the minimum being taken in the totally ordered Z.

Unlike its restriction to Z, this valuation takes integer values, which is why the difference is formed after transporting the two natural numbers into Z along ι.

Facts & Assumptions

Given: A prime p; nonzero rationals with representatives x=[(a,b)], y=[(c,d)], where a,b,c,d∈Z are all nonzero.

[L1]

[(a,b)]=[(c,d)] exactly when ad=cb; Q consists of such classes with b≠0 (The rationals as equivalence classes of pairs of integers).

[L2]

[(a,b)]+[(c,d)]=[(ad+cb, bd)], [(a,b)]⋅[(c,d)]=[(ac, bd)], 0=[(0,1)] and 1=[(1,1)] (Arithmetic on the rationals); Q is a field (The rationals form a field, Field).

[L3]

j(k)=[(k,1)] is injective and preserves addition, multiplication and order (The integers embed in the rationals).

[L4]

For a prime p and nonzero integers u,w: uw≠0 and vp(uw)=vp(u)+vp(w); and vp(u+w)≥min⁡{vp(u),vp(w)} when u, w and u+w are nonzero (vp(ab)=vp(a)+vp(b) for nonzero integers a,b, and vp(a+b)≥min⁡{vp(a),vp(b)} whenever a, b and a+b are all nonzero).

[L6]

ι is injective and preserves addition, multiplication and order, with image the nonnegative integers and ι(0)=0, ι(1)=1 (The naturals embed in the integers).

[L7]

A product of two nonzero integers is nonzero (The integers have no zero divisors; multiplicative cancellation).

[L8]

Z is a commutative ring: addition and multiplication are associative and commutative, x+0=x, and every x has an additive inverse −x, with −(−x)=x and −(u+w)=(−u)+(−w); we write u−w for u+(−w) (The integers form a commutative ring, Arithmetic on the integers, The integers as equivalence classes of pairs of naturals).

[L9]

The order on Z is total, antisymmetric and transitive and is compatible with addition, so u≤w implies u+z≤w+z (The integers form a totally ordered ring, Order on the integers).

[L10]

The order on N is total, so any two naturals have a minimum; addition on N is commutative (≤ is a linear order on N, Addition is commutative, Order on the natural numbers, Addition of natural numbers, The natural numbers N (von Neumann)).

Proof

technique · direct
1.1

If x=[(a,b)] is a nonzero rational then a≠0 and b≠0, so vp(a) and vp(b) are both defined.

L1L2
2.1

Clause 1. Suppose [(a,b)]=[(c,d)] with all four entries nonzero. Then ad=cb, and both sides are nonzero, so [L4] gives vp(a)+vp(d)=vp(c)+vp(b) in N. Applying the addition-preserving ι and rearranging in Z gives ι(vp(a))−ι(vp(b))=ι(vp(c))−ι(vp(d)).

step 1.1L1L4L6L7L8
2.2

Clause 4. Assume x, y and x+y are nonzero. Then x+y=[(ad+cb, bd)] with bd≠0, and ad+cb≠0 because x+y≠0; also ad≠0 and cb≠0.

step 1.1L1L2L7
3.1

Clause 2. For a nonzero integer a, j(a)=[(a,1)], so vp(j(a))=ι(vp(a))−ι(vp(1))=ι(vp(a))−0=ι(vp(a)).

step 2.1L3L5L6L8
3.2

Clause 3. xy=[(ac,bd)], with ac≠0 and bd≠0, so vp(xy)=ι(vp(ac))−ι(vp(bd))=ι(vp(a)+vp(c))−ι(vp(b)+vp(d)).

step 1.1step 2.1L2L4L7
3.3

By [L4], vp(ad+cb)≥min⁡{vp(ad), vp(cb)}=min⁡{vp(a)+vp(d), vp(c)+vp(b)}; applying the order-preserving injection ι turns this into the same inequality between the corresponding integers.

step 2.2L4L6L10
4.1

Since ι preserves addition, that value is (ι(vp(a))+ι(vp(c)))−(ι(vp(b))+ι(vp(d))), which rearranges in the commutative ring Z to (ι(vp(a))−ι(vp(b)))+(ι(vp(c))−ι(vp(d)))=vp(x)+vp(y).

step 3.2L6L8
4.2

Subtracting the integer ι(vp(b))+ι(vp(d))=ι(vp(bd)) from both sides, which preserves the order, and using that subtraction of a fixed element commutes with taking the smaller of two integers, gives vp(x+y)≥min⁡{ι(vp(a))−ι(vp(b)), ι(vp(c))−ι(vp(d))}=min⁡{vp(x),vp(y)}.

step 2.2step 3.3L4L6L8L9
5.1

Clauses 1 to 4 are established.

step 2.1step 3.1step 4.1step 4.2∎

Remarks

  • Relation to the published 2-adic example. The published The 2-adic absolute value gives an ultrametric on Q, in which every triangle is isosceles and every point of a ball is a centre ↗ records that the general p-adic machinery is available, but nevertheless develops p=2 from parity alone. The present lemma supplies the general algebraic extension: representation-independence is exactly the assertion that ad=cb forces the two candidate values to agree.

  • Nothing metric is stated here, deliberately. The p-adic absolute value ∣x∣p=p−vp(x) and the ultrametric it induces need real powers with integer exponents and the definition of a metric space, all of which live far above this page in the library's order; they are not defined here and nothing on this page depends on them. What is proved is the algebra: a homomorphism from the nonzero rationals under multiplication to Z under addition, satisfying the ultrametric inequality on valuations.

  • The values are integers, not naturals. vp(1/p)=−1, so the extension genuinely leaves N; that is why the two integer valuations are transported along ι before being subtracted. As on Z, the value at 0 is left undefined (The p-adic valuation vp(a) of a nonzero integer: the greatest k∈N with pk∣a).

Depends on

Used by

Dependency tree · two levels

61 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