GLOBAL KNOWLEDGE ARK

Mathematics · Article

p-adic numbers and local–global questions

Build p-adic fields and their analysis, track finite-extension arithmetic and exact precision, and test local–global principles through quadratic forms, a cubic counterexample, adeles and ideles.

Back to Mathematics

After reading, you can

  • Construct Q_p and Z_p from valuations, completion and compatible residues, and prove their basic metric and topological properties.
  • Apply simple and stronger Hensel hypotheses, distinguish singular lifts, and calculate p-adic square classes with their special behavior at two.
  • Analyze convergence, logarithm–exponential domains, Mahler expansions, local differentiation and additive Haar measure.
  • Track finite-extension normalizations, ramification, residue fields, Frobenius, norms, traces and precision.
  • Use approximation, the rational product formula, Hilbert symbols and Hasse–Minkowski while preserving the difference between necessary local tests and a valid global converse.
  • Explain a genuine failure of the Hasse principle, the roles of height and integrality, and the restricted-product structures of adeles and ideles.
01

Closeness at a prime and the global question

Fix a prime p. Two rational numbers are p-adically close when their difference is divisible by a high power of p, even if that difference is large in the ordinary real absolute value. With v_p(p)=1 and |x|_p=p^(−v_p(x)) for nonzero x, completion produces the field Q_p. Its integer ring Z_p records compatible residues modulo every p^n. This turns congruence calculations into a complete metric theory, while preserving exact valuation information that an ordinary real decimal approximation does not describe.

The first task is to build that local theory carefully: digits, nested balls, compactness, root lifting, convergent series and local measure. Derivative conditions determine whether Hensel lifting is unique, and explicit convergence domains govern logarithms, exponentials and their inverse identities. Finite extensions add ramification, residue fields, norms and traces. Each worked calculation distinguishes an exact residue from an error bound for a finite approximation; a successful calculation alone supplies no unexamined infinite tail or theorem proof.

The second task is to ask what these completions say about rational equations. A rational point gives a point over R and over every Q_p, so one local obstruction can rule it out. The converse needs a theorem with an exact scope: Hasse–Minkowski gives it for quadratic forms, while a smooth genus-one cubic can have points everywhere locally and no rational point. Weak approximation, Hilbert symbols, adeles and ideles explain different forms of local compatibility without erasing that distinction. Deep theorem inputs and the limits of each proof are stated where they are used.

02

The p-adic valuation on the rationals

Fix a rational prime p. For a nonzero integer a, let v_p(a) be the largest exponent k≥0 such that p^k divides a. For a nonzero rational x=a/b define v_p(x)=v_p(a)−v_p(b), and put v_p(0)=+∞. This is independent of the presentation: if a/b=c/d, the equality ad=bc and unique prime factorization give v_p(a)+v_p(d)=v_p(b)+v_p(c). Valuations can be negative because a denominator may contain a power of p.

Unique factorization also proves v_p(xy)=v_p(x)+v_p(y) for nonzero x,y. To compare a sum, factor out the smaller power of p. If x=p^r u and y=p^s v with r≤s and rational p-units u,v, then x+y=p^r(u+p^(s−r)v). Its remaining factor has nonnegative valuation, so v_p(x+y)≥min(v_p(x),v_p(y)). The convention for a zero sum is consistent with this inequality.

When r<s, the remaining factor is a unit: reduce it modulo p after clearing denominators prime to p. Its residue is the nonzero residue of u, since the second summand vanishes. Thus v_p(x+y)=min(v_p(x),v_p(y)) whenever the two input valuations differ. Extra cancellation is possible only at equal valuation. For example, two p-units can add to a multiple of p, but a unit plus a multiple of p is still a unit.

A larger valuation means a smaller p-adic normUnequal 5-adic valuations; These bars show integer valuations only. Signed rational values and their p-adic norms are displayed in separate table columns.A larger valuation means a smaller p-adic normx3y2x+y2x−y2xy5x/y1-0.25.5Integer valuation v_5
These bars show integer valuations only. Signed rational values and their p-adic norms are displayed in separate table columns.

Divide out the lower input power of p. If the valuations differ, precisely one scaled residue is a unit and the sum and difference retain the smaller valuation. If the valuations agree, check cancellation in the scaled residues. Products add valuations and quotients subtract them.

Valuation tests
QuantityExact result
p5
Input valuations equalNo
Exact |x+y|_p1/25
Exact |x−y|_p1/25
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p5
x125/14
y25/21
Exact rational operations
ExpressionRational resultValuationp-adic norm
x125/1431/125
y25/2121/25
x+y425/4221/25
x−y325/4221/25
xy3125/29451/3125
x/y15/211/5

This valuation records divisibility by one chosen prime, not the ordinary magnitude of a numerator or denominator. Multiplying a rational by a p-unit changes its real size without changing v_p. A later product formula combines the separate primes and the real place; no one v_p alone is a complete invariant of a rational number. At this stage all statements are exact finite prime-factorization arguments on Q.

03

A different absolute value and metric

Define |x|_p=p^(−v_p(x)) for x≠0 and |0|_p=0. The valuation identities give |xy|_p=|x|_p|y|_p and |x+y|_p≤max(|x|_p,|y|_p). In particular |p|_p=1/p. This normalization is part of the definition; replacing p by a different real base greater than one would give an equivalent topology but would change numerical scaling identities. The chosen normalized absolute value will be used in the product formula.

The metric d_p(x,y)=|x−y|_p is positive off the diagonal, symmetric because v_p(−1)=0, and satisfies the stronger triangle inequality d_p(x,z)≤max(d_p(x,y),d_p(y,z)). Therefore it also satisfies the ordinary triangle inequality. Small distance means that the difference has a large positive p-power divisor, after allowing denominators prime to p. It does not mean that the two rational numbers are close in the real metric.

The unequal-valuation rule says that when |x−y|_p<|y−z|_p, the third distance |x−z|_p equals |y−z|_p. Every triangle therefore has its largest distance attained at least twice. This conclusion follows from two applications of the ultrametric inequality, not from drawing a Euclidean triangle with an unusual scale. It is the source of the nested-ball behavior used below. Sutherland’s [The field of p-adic numbers and absolute values](https://math.mit.edu/classes/18.782/2023sp/LectureNotes5.pdf) develops the valuation and metric construction; the ultrametric inequality is a precise algebraic statement about the normalized p-adic absolute value.

For example p^n tends to zero in d_p because |p^n|_p=p^(−n), although its real absolute value tends to infinity. The sequence p^(−n) has the opposite behavior. Convergence, boundedness and continuity always refer to the specified absolute value. A formula involving a rational limit cannot be moved between the real and p-adic settings without checking convergence in each topology.

04

Constructing the complete field Q_p

Construct Q_p from p-adic Cauchy sequences of rationals. Two sequences (a_n) and (b_n) represent the same element when |a_n−b_n|_p tends to zero. Coordinatewise addition and multiplication descend to the equivalence classes. For multiplication, each Cauchy sequence is bounded, and the estimate |a_n b_n−a_m b_m|_p≤max(|a_n|_p|b_n−b_m|_p,|b_m|_p|a_n−a_m|_p) shows both the Cauchy property and independence of representatives.

A nonzero class has a representative whose norms are eventually a fixed positive value. Indeed, if a Cauchy sequence does not tend to zero, choose a non-small term sufficiently far into its Cauchy tail. Every later difference is smaller than that term, so the unequal-norm rule fixes all later norms. On that nonzero tail, the reciprocal sequence is Cauchy because |a_n^(−1)−a_m^(−1)|_p=|a_n−a_m|_p/(|a_n|_p|a_m|_p). Discarding a finite initial prefix removes any earlier zero terms without changing the class. Thus the completion is a field, not merely a completed ring.

Set the norm of a nonzero class equal to that eventual norm, and the norm of the zero class equal to zero. Equivalent representatives give the same value because their difference tends to zero. Multiplicativity and the ultrametric inequality pass to classes. The nonzero values are still p^Z, so the extended valuation takes integer values on Q_p×. Constant sequences embed Q isometrically, and the original rational sequence approximates its own class, proving density.

Completeness can be checked by a diagonal approximation. Given a Cauchy sequence X_n in the new field, choose a rational q_n with |X_n−q_n|_p≤p^(−n), using density. The q_n form a rational Cauchy sequence and hence define a class X. The ultrametric inequality then gives X_n→X. This closes the construction without using real limits or assuming that a digit string already names a point in a completed field.

05

Digits and the inverse limit of residue rings

Define Z_p={x∈Q_p:|x|_p≤1}. For each n≥1 and x∈Z_p, density supplies a rational q with |x−q|_p≤p^(−n). Then q also has nonnegative valuation. In lowest terms its denominator is prime to p, so it has a unique residue r_n in {0,…,p^n−1} modulo p^n. Choosing that integer residue gives |x−r_n|_p≤p^(−n). A second such residue differs from the first by a multiple of p^n and hence is the same representative.

These residues are compatible: r_(n+1) reduces to r_n modulo p^n. Conversely, compatible residues r_n form a Cauchy sequence, since r_m−r_n is divisible by p^n for m≥n. Their limit lies in Z_p and has precisely those residues. Addition and multiplication are compatible with reduction, giving a ring isomorphism Z_p≅lim_n Z/p^nZ. The inverse limit consists of compatible tuples, not arbitrary independent choices of one residue at every level.

Write r_(n+1)=r_n+a_n p^n, with a_n∈{0,…,p−1}, and let a_0=r_1. This gives x=Σ_{n≥0}a_n p^n. The partial sums converge because their tails have norm at most p^(−N) after N digits. If two strings first differ at index k, their difference is p^k times a unit, so their limits differ by norm p^(−k). This proves uniqueness as well as existence of the canonical digit expansion.

Every nonzero x∈Q_p has integer valuation k and can be written x=p^k u with u∈Z_p×. Its expansion therefore has finitely many negative powers and an infinite tail in nonnegative powers, beginning at index k with a nonzero digit. This is a p-adic Laurent expansion. The digits extend toward increasing powers; writing them in a familiar base notation must not reverse which truncation determines the precision. Sutherland’s [The p-adic integers as an inverse limit](https://math.mit.edu/classes/18.782/2023sp/LectureNotes4.pdf) connects compatible residues with digits. In the construction here, the nth correction is p^n times a digit, so the previously fixed residues remain unchanged.

06

The local integer ring, units and ideals

The ultrametric inequality and multiplicativity show that Z_p is a subring of Q_p. Its units are exactly the elements of norm one. If |u|_p=1, its inverse in Q_p also has norm one and belongs to Z_p. If v_p(u)>0, multiplying it by any element of Z_p cannot give one. Reduction modulo p maps Z_p onto F_p with kernel pZ_p, so pZ_p is a maximal ideal.

It is the unique maximal ideal. Every element outside pZ_p is a unit, and a proper ideal cannot contain a unit. The inverse can also be constructed directly: write u=a_0+pz with a_0∈{1,…,p−1}. Then u^(−1)=a_0^(−1)Σ_{j≥0}(−pz/a_0)^j. The ultrametric bound makes the geometric partial sums Cauchy, and multiplication by a finite partial sum has a remainder tending to zero. Completeness therefore supplies the displayed inverse with its convergence premise.

Let I be a nonzero ideal of Z_p. The set of valuations of its nonzero elements is a nonempty subset of the nonnegative integers, so it has a minimum n. Choose x=p^n u∈I with u a unit. Multiplying by u^(−1) gives p^n∈I, hence p^n Z_p⊆I. The minimal valuation gives the reverse containment. Thus every nonzero ideal is p^n Z_p, with the zero ideal treated separately.

Consequently Z_p is a discrete valuation ring and its residue quotients are Z_p/p^n Z_p≅Z/p^nZ. The ideals p^n Z_p are also metric neighborhoods, tying divisibility to topology. The field Q_p itself has only its zero and unit ideals; the interesting valuation ideals live in the integer ring. Field elements, units of that ring and residue classes are different objects even when the same digit notation is used.

07

Ultrametric balls and disconnected topology

Consider a closed ball B(a,r)={x:|x−a|_p≤r} with r>0. If b belongs to it, every x in B(a,r) satisfies |x−b|_p≤max(|x−a|_p,|a−b|_p)≤r. Interchanging a and b proves B(a,r)=B(b,r). The same argument works for open balls with strict inequalities. A ball therefore has no preferred center among its own points.

If two balls meet, choose a point in their intersection as a common center. For unequal radii the smaller-radius ball lies in the larger one. At equal displayed radius, two closed balls are equal, as are two open balls; if one is open and the other closed, the open ball is contained in the closed one and need not equal it. Thus intersecting balls are always nested, and equal-radius balls of the same open/closed type are equal or disjoint. For example, the radius-one open ball pZ_p is a proper subset of the radius-one closed ball Z_p. This statement concerns balls, not arbitrary open subsets, and follows from the ultrametric inequality.

Because nonzero norms are powers of p, a closed ball of radius p^(−n) is also an open ball of any radius strictly between p^(−n) and p^(−n+1). Its complement is open as well: a point outside the ball has a sufficiently small neighborhood that stays outside, by the unequal-norm rule. Hence every ball is clopen. In particular {|x|_p≤1}=Z_p, while {|x|_p<1}=pZ_p; both are open and closed, but they are not the same set.

Any two distinct points can be separated by one of these clopen balls. A connected subset containing both would then split into two nonempty relatively open pieces, a contradiction. Q_p is therefore totally disconnected. It nevertheless has infinite convergent sequences and many continuous functions. Total disconnectedness does not mean that the topology is discrete, and it does not justify importing an interval-based intermediate-value argument.

08

Compactness without a real interval

For each n≥1, the p^n residue classes modulo p^n partition Z_p into finitely many balls of radius p^(−n). This makes Z_p totally bounded. It is closed in the complete field Q_p, hence complete. The metric theorem that complete and totally bounded spaces are compact already gives compactness, with every relevant hypothesis stated.

A direct sequential argument shows the mechanism. From any sequence in Z_p select an infinite subsequence constant modulo p, then an infinite subsequence of that one constant modulo p², and continue. The diagonal subsequence has each fixed initial digit string eventually constant. Its compatible residues determine a point of Z_p, and the distance to that point tends to zero. Sequential compactness is equivalent to compactness in a metric space.

Every point of Q_p has a translated and scaled copy of Z_p as a compact neighborhood, so Q_p is locally compact. It is not compact: the increasing open balls p^(−n)Z_p for n≥0 cover Q_p, but no finite subcollection covers the element p^(−N−1) when N is their largest index. An increasing union of compact neighborhoods need not itself be compact.

The digit construction also proves uncountability: every infinite string using only digits zero and one gives a distinct element of Z_p. The rationals are countable and dense in Q_p, so many completion points are genuinely new. Density does not mean equality or completeness. Compactness here comes from finitely many residue choices at each precision, independently of any ordering or Euclidean closed-interval picture.

09

Exact rational expansions and convergence

A finite geometric identity remains algebraically valid in Q_p, but its infinite limit uses the p-adic norm. Since |p|_p<1, Σ_{j≥0}p^j=1/(1−p). The N-term sum is (1−p^N)/(1−p), and its error is p^N/(1−p), of norm p^(−N) because 1−p is a unit. The corresponding real series diverges; the rational identity describes a different convergent topology.

The integer −1 has every digit equal to p−1. Indeed Σ_{j=0}^{N−1}(p−1)p^j=p^N−1, whose difference from −1 is p^N and tends to zero p-adically. There is no negative-digit convention hidden in this expansion. A finite truncation records the residue modulo p^N, while the sign in the real ordering is unrelated to the most significant part of an infinite p-adic string.

As a concrete rational example in Z_3, 1/2=2+Σ_{j≥1}3^j. The geometric value is 2+3/(1−3)=1/2. The N-digit truncation is 2+3+…+3^(N−1), and the remaining error has valuation N. Equivalently, solving 2r≡1 modulo successive powers of three first gives digit two and then digit one at every higher position. Exact rational arithmetic and the digit congruences agree.

The residue can stay fixed while its modulus growsSix positions for 3/7 in base five; Every row gives the least nonnegative residue in its own modulus. A zero digit can leave the integer prefix fixed although the next congruence is deeper.The residue can stay fixed while its modulus growsk=1 · modulus 5Digit 4 · residue 4 · error valuation 2k=2 · modulus 25Digit 0 · residue 4 · error valuation 2k=3 · modulus 125Digit 2 · residue 54 · error valuation 3k=4 · modulus 625Digit 1 · residue 179 · error valuation 4k=5 · modulus 3125Digit 4 · residue 2679 · error valuation 5k=6 · modulus 15625Digit 2 · residue 8929 · error valuation 6k increases one p-adic place at a time
Every row gives the least nonnegative residue in its own modulus. A zero digit can leave the integer prefix fixed although the next congruence is deeper.

Find the digit d for which the old representative plus d p^k satisfies the congruence modulo p^(k+1). The denominator is a p-adic unit so exactly one digit works. Compute the exact rational error after choosing the representative; its valuation can exceed the advertised minimum for that prefix.

Exact requested and next prefix
QuantityExact result
Prefix through 5 digits2679
Next digit2
Next prefix8929
Signed rational error at requested and next precision-18750/7, -62500/7
Actual valuation of each error5, 6
Actual norms1/3125, 1/15625
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p5
value3/7
digits5
Complete compatible digit calculation
kp^kNew digitPrefixExact error valuation
15442
225042
31252543
462511794
53125426795
615625289296

Truncation is a precision statement, not an ordinary inequality about the unknown real size. Knowing x modulo p^N fixes its first N nonnegative digits but leaves infinitely many possible higher digits. Each compatible infinite choice has a limit by completeness. A numerical p-adic approximation must therefore carry its modulus or valuation error; displaying a long digit string without that information does not certify a root or a global rational identity.

10

Simple-root Hensel lifting

Let f∈Z_p[x], and suppose a_1 modulo p satisfies f(a_1)≡0 and f′(a_1)≠0 modulo p. Given a root a_n modulo p^n, every possible next digit has the form a_n+t p^n with t∈{0,…,p−1}. Polynomial expansion gives f(a_n+t p^n)≡f(a_n)+t p^n f′(a_n) modulo p^(n+1). The omitted terms contain p^(2n), which is divisible by p^(n+1) for n≥1.

After division by p^n, the new-root condition is one linear equation modulo p: f(a_n)/p^n+t f′(a_n)≡0. The derivative remains the same nonzero residue as at a_1, so it is invertible and determines exactly one t. This constructs compatible roots at every precision. Their limit α∈Z_p satisfies f(α)=0 by polynomial continuity, and α has the prescribed initial residue.

Uniqueness is stronger than a uniqueness claim about one algorithm. If α and β are two roots in that residue class, factor f(β)−f(α)=(β−α)(f′(α)+(β−α)g) with g∈Z_p. Since β−α∈pZ_p and f′(α) is a unit, the second factor is a unit. The field has no zero divisors, so β=α. This proves the simple-root form of Hensel’s lemma with both existence and uniqueness.

The derivative hypothesis is essential and concerns the residue, not just a nonzero derivative in Q_p. A derivative divisible by p cannot be inverted in the one-digit linear equation. Such a residue root may fail to lift or may have several children. Also, computing its next digit requires the coefficients and f(a_n) to the relevant precision; the theorem does not create information absent from a finite coefficient approximation. Conrad’s [Hensel’s lemma](https://kconrad.math.uconn.edu/blurbs/gradnumthy/hensel.pdf) treats both simple and stronger Newton hypotheses, with examples explaining singular lifts. The root and its derivative must be evaluated in the stated valuation, not merely tested for being nonzero as real numbers.

11

Newton convergence with a valued derivative

A useful stronger version allows a nonunit derivative. Take f∈Z_p[x], a_0∈Z_p and f′(a_0)≠0. Put r=v_p(f′(a_0)) and s_0=v_p(f(a_0)). Assume s_0>2r. If f(a_0)=0 the root is already known. Otherwise define Newton steps a_(n+1)=a_n−f(a_n)/f′(a_n). The first correction has valuation s_0−r>r≥0 and therefore stays inside Z_p.

For an integral polynomial, Taylor expansion can be written f(a+h)=f(a)+f′(a)h+h²R and f′(a+h)=f′(a)+hS with R,S∈Z_p whenever a,h∈Z_p. This uses integral binomial coefficients, not an unjustified division by a factorial. If s_n=v_p(f(a_n))>2r, the Newton correction cancels the linear terms, giving s_(n+1)≥2(s_n−r). The derivative changes by valuation at least s_n−r>r, so its valuation remains exactly r.

Consequently s_n−2r≥2^n(s_0−2r), and the correction valuations s_n−r tend to infinity. The iterates are Cauchy and converge to a root α. Unless the initial residual was zero, the first correction has strictly smaller valuation than every later correction, so v_p(α−a_0)=s_0−r. In norm form |α−a_0|_p=|f(a_0)|_p/|f′(a_0)|_p<|f′(a_0)|_p. The residual and derivative control both convergence and distance.

The root is unique in the neighborhood v_p(x−a_0)>r. For two points in that neighborhood, the divided difference of f is f′(a_0) plus terms of valuation greater than r; its valuation is r and it cannot vanish. Thus two roots there must coincide. This is a precise ball statement. It neither claims uniqueness in all of Z_p nor permits a step with a zero derivative or an unchecked strong Hensel inequality.

12

Singular roots and finite lifting trees

For a general root a modulo p^n, the same one-digit expansion explains the lifting tree. If f′(a)≡0 modulo p, the candidate digit t disappears from the next congruence. Either f(a) is already zero modulo p^(n+1), in which case all p digits lift, or it is not, in which case none does. A singular residue root therefore has branching or failure instead of the simple-root rule.

For f(x)=x²−p, zero is a root modulo p, but there is no lift modulo p². Any lift of the zero residue has x² divisible by p², while f(x) remains congruent to −p modulo p². The visible root at the first precision is therefore not evidence for a root in Z_p. Its derivative is zero modulo p, exactly where the simple Hensel theorem gave no conclusion.

The opposite counting effect occurs for f(x)=x². Modulo p^n its roots are the residues divisible by p^ceil(n/2), giving p^floor(n/2) roots. Yet in the field Q_p the equation x²=0 has only the root zero. Those many finite residues do not define the same number of compatible infinite paths. A fixed nonzero valuation eventually fails the growing square-divisibility requirement.

Finite residue paths provide different root certificatesTwo simple 7-adic branches; The paths show actual residues at each successively larger modulus. Both simple branches extend uniquely to roots.Finite residue paths provide different root certificates3mod 710mod 49108mod 3432166mod 24014mod 739mod 49235mod 343235mod 2401Precision increases from left to rightArrows go to the unique next residue for each simple class.
The paths show actual residues at each successively larger modulus. Both simple branches extend uniquely to roots.

The two initial residues are nonzero, so 2T is invertible modulo seven. At each continuation, one solves a linear equation for the next digit and obtains unique compatible roots.

Exact root count and lifting
QuantityExact result
PolynomialT²−2
Possible exact field rootsExactly two, one above each simple class modulo seven
Final finite root count2
TestDerivative invertible along both paths
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p7
c2
root3
depth4
Complete residue count
ModulusRoot countResidues or defining condition
723, 4
49210, 39
3432108, 235
240122166, 235
Next-digit equations for the two simple branches
Root mod 7New digit mod 49New digit mod 343New digit mod 2401
3Digit 1; 1+6d≡0 mod 7Digit 2; 2+6d≡0 mod 7Digit 6; 6+6d≡0 mod 7
4Digit 5; 2+1d≡0 mod 7Digit 4; 3+1d≡0 mod 7Digit 0; 0+1d≡0 mod 7

There is nevertheless a valid compactness result: if one fixed integral polynomial has a root modulo p^n for every n, then it has a root in Z_p. The sets {x∈Z_p:v_p(f(x))≥n} are nested, nonempty and closed in compact Z_p, so their intersection is nonempty. A point in the intersection has f(x)=0. Arbitrary roots chosen separately at each level need not be compatible; compactness supplies a compatible choice. This local theorem says nothing by itself about a rational global root.

13

Squares over odd local fields and over Q_2

Write a nonzero x∈Q_p as p^k u with u a unit. If x=y² then k is even, since valuations double. Conversely, once k is even, the question reduces to whether u is a square in Z_p×. For odd p, a unit square must reduce to a nonzero square in F_p. If that residue condition holds, apply simple Hensel lifting to t²−u at a nonzero residue root: its derivative 2t is a unit. Thus this condition is also sufficient.

At p=2 the derivative of t²−u is never a unit at an odd t, so that argument cannot be reused. Every odd square is congruent to one modulo eight, because (2m+1)²=1+4m(m+1) and m(m+1) is even. Conversely, if u≡1 modulo eight, use the strong Hensel theorem at a_0=1. Here v_2(1−u)≥3>2v_2(2)=2, unless u=1 is already solved. This proves the square criterion and produces the root congruent to one modulo four.

The negative of that root is the root congruent to three modulo four. These are the only two roots in Q_2, since (x−α)(x+α)=0 in a field. At finite precision the count is different: for n≥3 and an odd square unit, there are four roots modulo 2^n. Indeed, for odd x and α the two differences x−α and x+α are even, with one having valuation exactly one; their product is zero modulo 2^n precisely when the other has valuation at least n−1. Hence x≡±α modulo 2^(n−1), giving four residues modulo 2^n.

The local square tests therefore keep three pieces of data: valuation parity, the appropriate unit congruence and the ambient prime. A nonzero quadratic residue modulo an odd prime lifts uniquely in each of its two residue classes, while the 2-adic unit test begins modulo eight. Four finite modular roots are not four field roots. The zero element is a separate square with infinite valuation and should not be inserted into a unit criterion.

14

Teichmuller roots and unit decompositions

For every residue a∈F_p, the polynomial x^p−x has a simple root at a because its derivative is −1 modulo p. Hensel lifting gives a unique ω(a)∈Z_p with ω(a)≡a and ω(a)^p=ω(a). For a≠0 this is a unit satisfying ω(a)^(p−1)=1; ω(0)=0. These are the Teichmüller representatives. Their defining polynomial and uniqueness matter more than choosing an arbitrary integer representative.

For nonzero residues, ω(a)ω(b) is again a (p−1)-st root of unity and reduces to ab. Uniqueness gives ω(ab)=ω(a)ω(b), so the nonzero representatives form a group isomorphic to F_p×. Every unit u has the unique factorization u=ω(a)v with a its residue and v∈1+pZ_p. The intersection of the two factors is trivial, since the only (p−1)-st root of unity reducing to one is one. This is a multiplicative decomposition, not an additive ring section.

There is also a limit construction: u^(p^n) tends to ω(a). Factor u=ω(a)v and note that ω(a)^(p^n)=ω(a). If v≡1 modulo p, binomial expansion increases v_p(v^p−1) by at least one at each iteration. Hence v^(p^n)→1. This argument includes p=2, although its group decomposition needs an additional distinction. A finite power is an approximation, not automatically the exact Teichmüller lift.

For odd p the displayed split is Z_p×≅μ_(p−1)×(1+pZ_p). For p=2 the Teichmüller group μ_1 is trivial, and −1 still lies in 1+2Z_2 as nontrivial torsion. A more useful split is Z_2×≅{±1}×(1+4Z_2): the residue modulo four uniquely selects the sign. This exceptional 2-adic factor is why a logarithm on principal units cannot be assumed globally injective on every odd 2-adic unit.

15

Characteristic zero and characteristic p

The field Q_p and its ring Z_p have characteristic zero because the rational embedding is injective. In particular the integer p is nonzero, although its norm is less than one. Their residue field F_p has characteristic p because reduction kills pZ_p. Saying that p vanishes after reduction is not saying that it vanishes in the complete field; convergence of p^n to zero is likewise not an equality at a finite exponent.

In F_p the binomial coefficients between the endpoints of (x+y)^p are divisible by p, so Frobenius x↦x^p is a ring homomorphism and is the identity on F_p itself. The same polynomial-power map is not additive on Z_p. Already (1+1)^p=2^p differs from 1^p+1^p=2 as a characteristic-zero integer. The two expressions are congruent modulo p, which is exactly the weaker statement reduction preserves.

The ring Z_p/p^nZ_p has characteristic p^n. When n≥2, the class of p is nonzero and nilpotent, so this quotient is not a field. By contrast a finite field of size p^f is obtained from F_p by adjoining a root of an irreducible polynomial of degree f, not by replacing the modulus p with p^f in the integer residue ring. Equal cardinalities do not identify the two ring structures.

In a later unramified local extension, the residue-field Frobenius has a distinguished lift as a field automorphism. Such a lift is extra extension structure; it is not the unrestricted characteristic-zero power map x↦x^p. Teichmüller representatives obey a compatible power identity because of their special defining equation. Keeping these distinctions prevents a residue calculation from becoming a false identity in the original p-adic field.

16

Convergent series and analytic domains

For a series Σ a_n in Q_p, convergence implies a_n→0 because consecutive partial sums have difference a_n. The converse also holds. A finite tail has norm at most the largest norm of its terms, so a_n→0 makes the partial sums Cauchy. Completeness gives a sum. This criterion is much stronger than its real counterpart, where terms tending to zero are necessary but not sufficient for a series to converge.

Convergence also permits any permutation of a single series. For each precision only finitely many terms have norm above that precision, and every permutation eventually includes all of them; the remaining tails are uniformly small. A double series needs the analogous joint condition over both indices. Separate convergence in each row does not automatically justify exchanging two infinite summations. Products of two convergent series do satisfy the joint condition, because both factor sequences are bounded and tend to zero.

For a power series Σ c_n x^n, the usual root test gives radius R=1/limsup_n |c_n|_p^(1/n), interpreted in the nonnegative real numbers. If |x|_p<R the terms tend to zero; if |x|_p>R they do not. At equality the actual terms must be tested separately. The radius may not be an attained norm value in the field, since Q_p has the discrete value group p^Z.

On a closed disc strictly inside the convergence radius, the same coefficient bounds make the tails uniformly small. The sum is continuous there, and polynomial expansion on a still smaller neighborhood justifies its analytic Taylor operations. Formal identities between power series can then be evaluated only where the required series and compositions converge. A formal coefficient identity is not by itself permission to substitute a boundary point or to reorder a nonconvergent double sum.

17

The p-adic exponential and logarithm

The exponential is exp(x)=Σ_{n≥0}x^n/n!. Legendre’s factorial formula gives v_p(n!)=Σ_{k≥1}floor(n/p^k)=(n−s_p(n))/(p−1), where s_p(n) is the sum of the base-p digits of n. Hence its radius is p^(−1/(p−1)). Strictly inside that radius the term valuations tend to infinity. If the boundary is attained, the subsequence n=p^k has bounded term valuation and prevents convergence there.

The logarithm log(1+t)=Σ_{n≥1}(−1)^(n+1)t^n/n converges for |t|_p<1: its term valuation is n v_p(t)−v_p(n), and v_p(n) grows at most logarithmically in n. For a unit t the infinitely many indices prime to p have term norm one, so the series does not converge. The logarithm is therefore initially a function on 1+pZ_p, not on every nonzero p-adic number.

Cauchy products and the binomial theorem prove exp(x+y)=exp(x)exp(y) on the exponential domain. The formal inverse and logarithm-product identities are valid on their convergent domains by the same tail controls. In Q_p these give mutually inverse maps pZ_p↔1+pZ_p for odd p and 4Z_2↔1+4Z_2 for p=2. The first nonzero term dominates on these domains, so v_p(exp(x)−1)=v_p(x) and v_p(log(1+t))=v_p(t). The restrictions are part of both bijections.

The logarithm series is defined on the larger group 1+2Z_2, but it is not injective there. Its product identity gives 2log(−1)=log(1)=0, so log(−1)=0 in characteristic zero, although −1≠1. Thus the sign factor in the 2-adic unit decomposition cannot be recovered from this logarithm. Extending logarithms beyond their initial domains requires explicit choices or a declared torsion convention; it must not be confused with a global exponential inverse.

The inverse assertion requires convergence of the composed series on the stated small discs. Equal derivatives alone would not justify it for arbitrary p-adic differentiable functions. Here one uses the restricted logarithm–exponential inverse theorem on D_p={x:v_p(x)>1/(p−1)} and 1+D_p; its formal identities can be justified by convergent truncations there. The logarithm’s larger domain does not inherit that inverse conclusion. In particular, at two the composite exp(log u) on all of 1+2Z_2 can discard the sign of u; it equals u only in the smaller inverse neighborhood. Conrad’s [Infinite series in p-adic fields](https://kconrad.math.uconn.edu/blurbs/gradnumthy/infseriespadic.pdf) provides the convergence and restricted inverse framework. The smaller logarithm–exponential inverse domain is kept separate from the larger domain of the logarithm alone.

18

Continuous functions and Mahler expansions

For n≥0 define the binomial polynomial binom(x,n)=x(x−1)…(x−n+1)/n!, with binom(x,0)=1. It is a rational polynomial and therefore continuous on Q_p. On nonnegative integers its values are ordinary integers. Those integers are dense in Z_p, so continuity gives binom(x,n)∈Z_p for every x∈Z_p and |binom(x,n)|_p≤1. Denominators involving n! do not destroy its integer-valued property on this domain.

The Mahler expansion theorem is the additional approximation input: every continuous f:Z_p→Q_p has a unique uniformly convergent expansion f(x)=Σ_{n≥0}a_n binom(x,n), with a_n→0. Its coefficients are a_n=Δ^n f(0)=Σ_{k=0}^n(−1)^(n−k)binom(n,k)f(k), where Δf(x)=f(x+1)−f(x). Necessity of coefficient decay and existence for every continuous f are substantive parts of that named theorem, not consequences of checking finitely many values.

Several directions can be proved directly. If a_n→0, the uniform bound on the binomial polynomials makes the series uniformly Cauchy on Z_p, so it defines a continuous function. Evaluating at integers k gives a triangular system, because binom(k,n)=0 for n>k and binom(k,k)=1. Inverting that finite system gives the displayed difference formula and uniqueness. Equality on the dense nonnegative integers then identifies two continuous functions on all of Z_p.

A finite difference table computes only a finite prefix of the coefficients. It does not certify a_n→0 for an unspecified tail. Also, continuity is weaker than representation by one power series on a whole disc: analytic regularity imposes stronger coefficient behavior. The Mahler basis therefore supplies a rigorous connection to finite approximation while keeping a theorem about all higher differences separate from a successful finite interpolation. Conrad’s [Mahler expansions](https://kconrad.math.uconn.edu/blurbs/gradnumthy/mahlerexpansions.pdf) states the continuous-function expansion theorem used here. The necessity and existence directions are named theorem inputs, rather than consequences of checking a finite difference table.

19

Why real calculus rules need new hypotheses

A locally constant function can be continuous and have derivative zero everywhere without being globally constant. For example f:Z_p→Q_p defined by f(x)=1 on pZ_p and f(x)=0 outside pZ_p is locally constant because those two sets are clopen. For every fixed x, all sufficiently small increments h stay in the same set, so (f(x+h)−f(x))/h=0 and f′(x)=0. Yet f takes both values.

This example does not contradict a real mean-value theorem: that theorem uses an interval and its connected order geometry, which are absent here. Even local analyticity at every point does not turn the displayed function into one globally constant function; it is represented by a constant polynomial separately on each residue ball. Being locally represented by power series and being represented by one series on a specified whole disc are distinct conditions.

Analytic differentiation still has a precise local role. Inside the convergence domain of a power series, binomial expansion and uniform tail estimates justify differentiation and the usual algebraic product and chain rules where their compositions converge. Newton’s method uses just such local polynomial estimates. A conclusion requiring a common analytic domain must not be inferred from unrelated local formulas on disjoint clopen pieces.

Integration needs its own choice of measure and codomain. Ordinary Haar measure is nonnegative and real-valued, and it integrates real or complex functions in the usual measure-theoretic sense. A Q_p-valued integration theory is additional structure; interpreting the real mass p^(−n) as a p-adic number changes boundedness and convergence. In particular an interval-style fundamental theorem or an unqualified integral of a p-adic antiderivative cannot be imported merely from the notation of a derivative.

20

Haar measure and uniform residue probabilities

Give each residue class modulo p^n in Z_p real mass p^(−n). These finite probabilities are compatible, since each class has p children of equal mass. Equivalently, choose independent uniform digits in {0,…,p−1} and transfer their product probability through the digit homeomorphism. This constructs a Borel probability μ on Z_p with μ(Z_p)=1. Translation permutes residue classes at every level and therefore preserves this measure.

The measure extends consistently to Q_p using its increasing compact balls. If a Borel set E is contained in p^(−m)Z_p, put μ(E)=p^m μ(p^m E), using the probability on Z_p on the right. The cylinder values make the definition independent of a larger choice of m. Extending over the increasing cover gives a translation-invariant, locally finite Haar measure on Q_p. Existence and uniqueness can also be taken from the general Haar theorem with the same normalization.

Multiplication by a unit permutes finite residue classes and preserves mass, while multiplication by p shrinks each ball’s mass by a factor p. Thus μ(aE)=|a|_p μ(E) for nonzero a, with |a|_p read as a positive real scaling factor. In particular μ(b+p^nZ_p)=p^(−n) for every integer n. The field measure is infinite because μ(p^(−m)Z_p)=p^m tends to infinity, even though each such ball is compact.

Every point has measure zero, since it lies in balls of mass p^(−n) for every n. Hence the countable rational subset has measure zero inside Z_p despite being dense there. Uniformity means equal mass for equally precise residue conditions; it is not uniform choice from a finite list of rational numbers or from a real interval. The probabilistic digit model describes the additive Haar distribution, with its actual independent-digit and real-probability conventions. Sutherland’s [Global fields and the product formula](https://math.mit.edu/classes/18.785/2021fa/LectureNotes13.pdf) develops local Haar measure and its scaling. Equal masses of residue classes follow from translation invariance and the chosen normalization.

21

Exact local integration and additive characters

If a complex-valued function F on Z_p is constant on residue classes modulo p^N, its integral is exactly ∫_(Z_p)F dμ=p^(−N)Σ_{a=0}^{p^N−1}F(a). Refining to the next level repeats each value p times and leaves the normalized sum unchanged. A continuous complex-valued F is uniformly approximated by such step functions, and the probability bound controls the integral error. This is ordinary integration against real Haar mass.

There is a useful complex additive character with kernel Z_p. Write {x}_p for the finite sum of negative-power digits in the canonical expansion of x, interpreted as a rational number in [0,1). Define ψ_p(x)=exp(2πi{x}_p), using the ordinary complex exponential. Since x−{x}_p∈Z_p, the discrepancy {x+y}_p−{x}_p−{y}_p belongs to Z_p∩Z[1/p]=Z. Thus fractional parts add modulo an integer; therefore ψ_p(x+y)=ψ_p(x)ψ_p(y). This character is not the p-adic exponential defined earlier.

Its basic Fourier integral is ∫_(Z_p)ψ_p(tx)dμ(x)=1 if t∈Z_p and zero otherwise. The first case is pointwise triviality. In the second, write t=p^(−m)u with m>0 and u a unit. The integral is the finite average over residues modulo p^m of exp(2πi a u/p^m), where u means its unit residue. The corresponding geometric sum is zero. Equivalently, translation by an element with nontrivial character value forces the integral to equal that value times itself.

Fourier support is a valuation threshold on integer shellsAt the 3-adic support threshold; Boundary equality is included. Labels refer to valuation shells in the local field, not points of a real interval. A zero coefficient has no phase.Fourier support is a valuation threshold on integer shellsv_3(ξ)=-5Outside supportv_3(ξ)=-4Outside supportv_3(ξ)=-3 · selectedIn supportv_3(ξ)=-2In supportv_3(ξ)=-1In supportv_3(ξ)=0In supportDiscrete valuation shells at the selected prime
Boundary equality is included. Labels refer to valuation shells in the local field, not points of a real interval. A zero coefficient has no phase.

Translate x by the center to factor out the character of the translation. The remaining Haar integral equals the mass if the character is trivial on the additive subgroup p^kℤ_p. Otherwise translation by a subgroup element with nontrivial character makes the integral vanish.

Exact Haar and Fourier data
QuantityExact result
Translated ball2 + 27ℤ_3
Real Haar mass1/27
Supportv_3(ξ)≥−3
Selected frequency valuation-3
Phaseexp(−4πi/27)
Fourier coefficient1/27 · exp(−4πi/27)
Absolute value1/27
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p3
center2
depth3
frequency1/27

Scaling gives ∫_(p^nZ_p)ψ_p(tx)dμ(x)=p^(−n)1_{t∈p^(−n)Z_p}. Thus the ball’s annihilator has the reciprocal radius. With Fourier convention Fhat(ξ)=∫F(x)ψ_p(−xξ)dμ(x), the indicator of Z_p transforms to itself under the chosen normalization. This exact finite-residue calculation motivates local Fourier analysis; it does not by itself classify every continuous character or establish a global adelic Fourier theorem.

22

Finite extensions and normalized valuations

Let K/Q_p be a finite extension of degree n. The local-field structure theorem supplies the unique extension of the p-adic absolute value, completeness, a discrete valuation ring O_K finite free of rank n over Z_p, and finite residue field k of size p^f. Choose a uniformizer π and normalize the integer valuation w by w(π)=1. Write p=uπ^e with u a unit. These structural facts are named inputs; the following degree and normalization calculations do not constitute a proof of that whole theorem.

The equality n=ef has a direct counting mechanism. As a free Z_p-module of rank n, O_K/pO_K has p^n elements. But pO_K=π^e O_K, and the filtration by π^j has e successive quotients, each a one-dimensional vector space over k. Hence the same quotient has (p^f)^e elements. Comparing cardinalities gives n=ef. Finite residue degree, completeness and this local-field setting are important; no general defect-free assertion for every valued field is being inferred.

The absolute value compatible with the base normalization is |x|_K=p^(−w(x)/e), because w(p)=e. It restricts to |·|_p on Q_p. Another useful normalization is the positive real module q^(−w(x)), where q=p^f; it measures the scaling of local Haar volume. These are related by q^(−w(x))=|x|_K^n. They are not the same numerical absolute value when n>1, even though they induce the same topology.

The integer ring is {x:w(x)≥0}, its maximal ideal is πO_K and its residue field is O_K/πO_K. A valuation w=1 means one extension uniformizer, not one base prime p. Any trace, norm, precision or measure formula must specify which valuation and absolute-value normalization it uses. The relation n=ef explains why residue cardinality and ramification both appear when translating these formulas. Milne’s [Algebraic Number Theory](https://www.jmilne.org/math/CourseNotes/ANT.pdf), version 3.08, treats completions, local integer rings and ramification. The degree relation [K:Q_p]=ef uses both the residue extension and the ramification index.

23

Ramification and Eisenstein presentations

For a monic Eisenstein polynomial f(T)=T^n+c_(n−1)T^(n−1)+…+c_0 over Z_p, all nonleading coefficients are divisible by p and v_p(c_0)=1. Eisenstein irreducibility gives [Q_p(α):Q_p]=n for a root α. With the base-compatible valuation extended to that field, α cannot have nonpositive valuation: the leading term would be the unique term of least valuation in f(α). For positive valuation t, every intermediate term has valuation greater than one, so cancellation between the leading and constant terms forces nt=1.

Thus α has base-compatible valuation 1/n. Since its integer valuation is w(α)=e/n and the degree is n=ef, this forces e=n, f=1 and w(α)=1. The extension is totally ramified and α is a uniformizer. This valuation proof uses the monic Eisenstein hypotheses; an arbitrary irreducible polynomial with a repeated reduction does not supply the same conclusion.

In this Eisenstein setting O_K=Z_p[α]. Each residue has an integer representative because the residue field is F_p. Successive division by the uniformizer therefore expands every integral element as Σ a_j α^j with a_j∈{0,…,p−1}. The finite sums lie in Z_p[α]. That order is closed: it is the continuous image of compact Z_p^n under the basis map for 1,α,…,α^(n−1). The expansion limit is consequently still in the order. This proves the full integral-basis claim rather than assuming that every integral generator has that property.

There is a complementary unramified construction. A monic integral polynomial with irreducible reduction of degree f generates an extension whose residue field already has degree f; the degree formula gives e=1. Its residue power basis lifts an integral basis by repeatedly subtracting a residue representative and dividing by p, then using the same closed finite-module argument. These two constructions distinguish residue extension from ramification. General presentations still need an index or integral-basis certificate. For the number-field and local-field framework behind these presentations, see Milne’s [Algebraic Number Theory](https://www.jmilne.org/math/CourseNotes/ANT.pdf), version 3.08. An explicit presentation and a full ring of integers are distinguished throughout.

24

Local norms, traces and absolute values

For x∈K× the normalized integer valuations satisfy v_p(N_(K/Q_p)(x))=f w(x). One proof starts with a unit: multiplication by it is an automorphism of the free Z_p-module O_K, so its determinant has p-adic valuation zero. Multiplication by π has cokernel O_K/πO_K of size p^f; the determinant-index identity gives valuation f. Write x=π^k u and use multiplicativity, allowing negative k for fractional elements.

It follows that |N_(K/Q_p)(x)|_p=p^(−f w(x))=|x|_K^n for the base-compatible norm. For a tower L/K/Q_p the typed identities are N_(L/Q_p)=N_(K/Q_p)∘N_(L/K) and w_K(N_(L/K)(x))=f_(L/K)w_L(x). A relative residue degree is not interchangeable with the ramification index. Each norm lands in its named lower field before another valuation or norm is applied.

Trace is the trace of the multiplication matrix and norm is its determinant. If x belongs to a proper subfield, the embeddings and eigenvalues are counted with the ambient extension multiplicity. Integrality of that matrix gives Tr_(K/Q_p)(O_K)⊆Z_p. A unit need not have unit trace: Tr(1)=n may be divisible by p. A trace value alone therefore does not provide the multiplicative unit test supplied by an integral norm.

In characteristic zero, separability expresses the trace as the sum over all embeddings into a finite normal closure. Uniqueness of the extended base absolute value gives every conjugate the same norm as x, and the ultrametric inequality yields |Tr(x)|_p≤|x|_K. This is a bound in the declared absolute values, not an equality or a claim that trace pairing is nondegenerate after every residue reduction. Wild ramification and different ideals retain additional arithmetic data. Sutherland’s [The different and the discriminant](https://math.mit.edu/classes/18.785/2021fa/LectureNotes12.pdf) develops trace-dual lattices and different ideals. Those objects supply additional ramification information beyond the norm and measure identities derived here.

25

Unramified extensions and lifted Frobenius

For each f≥1 there is, up to Q_p-isomorphism, one unramified extension with residue field F_(p^f). A monic lift of an irreducible degree-f polynomial constructs one. Its reduced polynomial is separable, and all of its conjugate residue roots lie in F_(p^f). Hensel lifting each simple root places all f conjugates in the extension. It is consequently Galois, with f automorphisms corresponding to the residue-field automorphisms.

The residue Frobenius a↦a^p generates that cyclic group. Lifting the image of one defining residue generator gives a unique automorphism σ of K with the same action on the residue field. Another unramified degree-f extension contains a lift of that same simple root and hence an isomorphic degree-f subfield, proving uniqueness. The finite-field and Hensel inputs are explicit; a chosen irreducible polynomial is one presentation, not a new isomorphism class for each coefficient lift.

Put q=p^f. The equation T^q−T has derivative −1 modulo the maximal ideal, so every residue a has a unique Teichmüller lift ω(a) satisfying ω(a)^q=ω(a). For nonzero a these are the q−1 prime-to-p roots of unity. The lifted Frobenius obeys σ(ω(a))=ω(a^p)=ω(a)^p. Its action on a p-adic expansion in these representatives applies this residue power to each digit and fixes p.

The representatives are multiplicative, but their addition involves carries. Their set is not a characteristic-zero copy of the finite residue field as a ring. A Witt-vector description organizes those carries and the lifted Frobenius; it is an additional structural language rather than componentwise finite-field addition. In particular σ is a ring automorphism while x↦x^p on arbitrary elements of O_K is generally not additive. They agree on the special representatives, which is a narrower statement.

26

Roots of unity and cyclotomic ramification

If m is prime to p, reduction injects the m-th roots of unity in a finite local extension into its residue multiplicative group. A root reducing to one is uniquely the lift of the simple root one of T^m−1, so it must be one. Conversely every residue m-th root has a unique Hensel lift. In a residue field of size q, the number is therefore gcd(m,q−1). This argument treats prime-to-p roots and makes no assertion about p-power torsion.

For r≥1, the polynomial Φ_(p^r)(1+T) is Eisenstein at p. Its constant term is p, and modulo p the identity Φ_(p^r)(X)=(X^(p^r)−1)/(X^(p^(r−1))−1) gives the pure power T^(p^(r−1)(p−1)) after substituting X=1+T. Thus all intermediate coefficients vanish modulo p, while the constant is not divisible by p². The degree is p^(r−1)(p−1).

Consequently Q_p(ζ_(p^r)) is totally ramified of that degree, with uniformizer ζ_(p^r)−1 and base-compatible valuation 1/(p^(r−1)(p−1)). For odd p, Q_p contains no nontrivial p-power root of unity, since even a primitive p-th root would require degree p−1>1. In Q_2, −1 is present, but no primitive fourth root exists: −1 fails the odd-unit square test modulo eight. A higher 2-power root would contain one. Thus the roots of unity in Q_p are μ_(p−1) for odd p and {±1} for p=2.

In an extension containing a p-power root ζ, the logarithm series converges because |ζ−1|<1. Its product identity gives p^r log ζ=0 and hence log ζ=0 in characteristic zero. This does not make ζ equal to one. Such nontrivial torsion lies outside the neighborhood where exponential and logarithm are inverse: at order p its distance has the exponential boundary valuation, and at higher order it is even farther from one. The convergence domain and the injectivity domain must remain separate.

27

Finite congruences and simultaneous approximation

For distinct primes p_1,…,p_s and positive integers N_i, the Chinese remainder theorem solves a≡a_i modulo p_i^(N_i) simultaneously, uniquely modulo M=∏ p_i^(N_i). One explicit solution is Σ a_i M_i b_i, where M_i=M/p_i^(N_i) and M_i b_i≡1 modulo p_i^(N_i). Each summand is the desired residue at one prime and zero at all the others. Multiple conditions at one prime require compatibility under reduction instead of pairwise coprimality.

This proves density of Z in a finite product of the p-adic integer rings Z_{p_i}: any desired residue precision fixes a finite congruence system. For arbitrary targets x_i∈Q_{p_i}, choose D=∏p_i^(d_i) with d_i large enough that D x_i is integral. Choose an integer a approximating D x_i modulo p_i^(N_i+d_i) for every i. Then r=a/D satisfies v_{p_i}(r−x_i)≥N_i. The denominator valuation is subtracted explicitly; a congruence for the numerator alone is not the final precision.

The result concerns finitely many places and a chosen finite precision at each. It supplies a rational point in any such product neighborhood, with many possible choices. It does not assert that one rational has independently prescribed exact infinite p-adic expansions at all primes. It also does not turn an approximate polynomial residual into an exact root without a local convergence or Hensel argument.

Infinite compatible integral data form the much larger product of local integer rings, while only countably many diagonal integers occur in it. Finite CRT consistency therefore cannot reconstruct an arbitrary infinite tuple as one integer. A rational integral at every finite prime is itself an integer, by its reduced denominator, so allowing a rational instead does not remove that obstruction. These distinctions prepare the restricted-product topology and the theorem-specific nature of a local-global principle.

28

Weak approximation with a real place

Weak approximation also permits a real target. Fix finitely many p-adic targets x_i, desired precisions N_i≥1, a real target y and an error δ>0. Choose D=∏p_i^(d_i) so that every D x_i is integral, and put M=∏p_i^(N_i+d_i). For any positive integer q coprime to M, CRT gives a residue A_0 modulo M satisfying A_0≡Dq x_i modulo p_i^(N_i+d_i). Each rational r=(A_0+kM)/(Dq) then has the required p-adic precision.

The real values of those candidates form an arithmetic progression with step M/(Dq). Choose q large enough that half this step is less than δ; there are arbitrarily large such q, for example q=1+tM. A nearest candidate lies within δ of y. Its denominator has p_i-valuation d_i because q is a unit at each selected prime, so dividing the numerator congruences still gives v_(p_i)(r−x_i)≥N_i. The real approximation and all finite local approximations hold simultaneously.

This proves density of the rational diagonal in R×∏_{i=1}^s Q_{p_i} for every finite set of primes. The construction uses a denominator that may introduce other primes outside that selected set. It therefore does not approximate every completion while also keeping integrality everywhere else. The finite product topology and the later restricted product topology impose different neighborhoods.

An approximation theorem concerns points near arbitrary targets, not exact simultaneous roots of an arbitrary polynomial. The candidate r may have a very small residual at each chosen place without f(r)=0 in Q. Hensel lifting can produce local exact roots separately, but identifying them with one rational point is an additional global question. This is the precise boundary between weak approximation and a Hasse principle.

29

The rational product formula

For x∈Q×, write its prime factorization x=±∏_p p^(k_p), where only finitely many integers k_p are nonzero. Then |x|_∞=∏_p p^(k_p), while |x|_p=p^(−k_p). Consequently |x|_∞∏_p|x|_p=1. The product is finite in the sense that almost every factor is one; no convergence of an arbitrary infinite analytic product is being asserted.

The normalization |p|_p=1/p is essential for that displayed formula. A different positive power of one local absolute value would change the balance unless the weights were changed too. Also, a general element of one Q_p has no automatically defined real and other-prime embeddings, so the formula cannot be applied to it by assigning unrelated completion values. It concerns one global number embedded at every place.

For a number field, the corresponding place factors are |σ(x)| at real embeddings, |τ(x)|² for one member of each complex pair, and N(P)^(−v_P(x)) at finite primes. Their product is one. This follows by applying the rational formula to the field norm: its real value is the product of the embedding factors, and its p-adic valuation is Σ_{P|p}f_P v_P(x). The complex square is a multiplicative place weight, not an ordinary complex absolute value satisfying the same triangle inequality.

A useful consequence is exact global discreteness. A rational with |x|_p≤1 at every finite prime has no prime in its reduced denominator and is therefore an integer. If additionally |x|_∞<1, it must be zero. Hence a nonzero rational cannot be simultaneously small in all these senses. This elementary fact will separate a full adelic neighborhood from a neighborhood involving only finitely many unrestricted places. The local normalizations and their global compatibility are developed in Sutherland’s [Global fields and the product formula](https://math.mit.edu/classes/18.785/2021fa/LectureNotes13.pdf). For rational numbers, the displayed product formula also follows directly from unique prime factorization.

30

A first local-global theorem for rational squares

A nonzero rational x is a rational square if and only if it is positive in R and every prime valuation v_p(x) is even. Necessity follows from squaring a rational. For sufficiency, write x=∏p^(2m_p) with positive sign and define r=∏p^(m_p). This finite rational product satisfies r²=x. Thus the global reconstruction is explicit, including denominator exponents.

Equivalently, x is a square in Q if and only if it is a square in R and every Q_p. Local squarehood gives even valuation at each prime and a positive real sign, so the previous argument constructs the rational square. Conversely a rational square is a square under every field embedding. The zero case is separately trivial. This is a genuine local-global theorem, not a statement that any local-root problem has the same solution.

There is no fixed finite list of places that tests every rational square. Given finitely many selected primes, Dirichlet’s theorem supplies a prime ℓ outside them with ℓ≡1 modulo eight and modulo each selected odd prime. It is positive, a square unit at every selected odd prime by Hensel’s criterion, and a square in Q_2 if that place was selected. But v_ℓ(ℓ)=1, so it is not a rational square. This uses the prior infinitude theorem, not a new prime-count computation.

For one specified rational, complete factorization nevertheless gives a finite certificate: verify the sign and every exponent in its numerator and denominator. That certificate controls all other valuations because they are known to be zero. Testing a finite unproved sample of primes lacks that completeness statement. The distinction is between a finite proof closing all remaining places and a finite list that leaves an uncontrolled tail.

31

The Hasse-Minkowski theorem for quadratic forms

The Hasse–Minkowski theorem is a deeper named input. For a nondegenerate quadratic form q in at least one variable over Q, q has a nonzero rational isotropic vector if and only if it has one over R and every Q_p. Isotropic means q(v)=0 with v≠0. A degenerate form already has a nonzero rational kernel vector, so its degeneracy is handled separately rather than hidden inside the nondegenerate statement.

Over a characteristic-zero field a nondegenerate quadratic form can be diagonalized by a rational change of basis and completing squares. The real test concerns its signature: a definite form has no nonzero real zero, while an indefinite form in at least two variables does. The p-adic tests retain valuation and square-class information absent from the real signature. The global theorem combines all places; neither local completeness nor weak approximation proves it by itself.

For example x²+y²−3z² has real nonzero zeros, but no nonzero Q_3 zero. Scale a hypothetical local vector so its coordinates are 3-adic integers with at least one a unit. Modulo three, x²+y²=0 forces x and y to be divisible by three. The equation then forces z to be divisible by three as well, contradicting the chosen normalization. The same argument after clearing rational denominators proves the global obstruction by infinite descent.

Notice that modulo three the vector (0,0,1) appears to solve the homogeneous congruence. It cannot lift to a primitive solution modulo nine, because the first two squares are then divisible by nine and 3z² is not. A nontrivial solution of one residue congruence is therefore weaker than a nontrivial local vector. The Hasse–Minkowski theorem requires actual local isotropy at every place and remains a theorem specifically about quadratic forms. Sutherland’s [Approximation and the Hasse–Minkowski theorem](https://math.mit.edu/classes/18.782/2023sp/LectureNotes11.pdf) states the quadratic local–global theorem. Its full global proof is an external input; the concrete local obstruction above is established separately.

32

Hilbert symbols and explicit local obstructions

For a,b∈Q_v×, define the Hilbert symbol (a,b)_v to be +1 when z²=a x²+b y² has a nontrivial local solution and −1 otherwise. When a is nonsquare this is equivalent to b being a norm from Q_v(√a): a nontrivial solution must have y≠0 and can be divided by y². If a is square the symbol is always +1, matching the split norm interpretation. Multiplying a or b by a square does not change the test.

For an odd prime p, write a=p^αu and b=p^βv with u,v units. The formula is (a,b)_p=(−1)^(αβ(p−1)/2)(u/p)^β(v/p)^α, where the parentheses in the last two factors are Legendre symbols of unit residues. Its mechanism can be seen after reducing α modulo two. A nonsquare unit a gives the unramified quadratic extension, whose norms have even valuation and arbitrary unit part. For a=pu, the norm of √a is −pu, and norm units have square residue. Principal units are norms in either case because every principal unit at odd p is a square. These two cases give the formula.

At p=2, write a=2^αu and b=2^βv with odd units. Put ε(u)=(u−1)/2 modulo two and ω(u)=(u²−1)/8 modulo two, using odd residue representatives modulo eight. The formula is (a,b)_2=(−1)^(ε(u)ε(v)+αω(v)+βω(u)). The full 2-adic norm table is an additional local-classification input here; the eight square classes are represented by ±1,±2,±5,±10. A Legendre-symbol substitution from the odd-prime formula would lose this unit information.

Each place needs the positive local signTwo finite local obstructions; Signs are categorical local tests. The product is separately +1 by reciprocity, which does not require each individual sign to be +1.Each place needs the positive local signPlace 2-1Place 13-1Place ∞1-1.21.2Hilbert symbol values
Signs are categorical local tests. The product is separately +1 by reciprocity, which does not require each individual sign to be +1.

At 2 use (13²−1)/8=21 odd. At 13 the Legendre symbol is (2/13)=−1. At the real place 13 is positive. Omitted odd primes have unit inputs, so their factors are +1. Solve the norm equation locally exactly when the corresponding Hilbert symbol is +1. The local–global assertion follows from Hasse–Minkowski applied to the corresponding nondegenerate ternary form, or the quadratic norm theorem. The rational witnesses can be checked directly.

Exact local symbols and global consequence
QuantityExact result
Equationx²−13y²=2
Place 2−1
Place 13−1
Place ∞+1
Product over every place+1
Rational solutionNone
Exact inputs and supporting calculations
Declared inputs
ParameterValue
d13
target2

At the real place the symbol is −1 exactly when both a and b are negative. Hilbert reciprocity is the named global theorem ∏_v(a,b)_v=1 for nonzero rational a,b. Almost every finite factor is one, so the product has finite support. Reciprocity can check the consistency of a complete local calculation, but its global content is not proved merely by evaluating a few formula instances. Definitions, the local norm formulas and the global reciprocity theorem have separate proof roles. Sutherland’s [The Hilbert symbol and reciprocity](https://math.mit.edu/classes/18.782/2023sp/LectureNotes10.pdf) gives the explicit local formulas and global reciprocity statement. The latter retains its status as a named global theorem.

33

Quadratic norm equations and finite place tests

Consider x²−a y²=b with a,b∈Q× and a nonsquare. Homogenize it to X²−aY²−bZ²=0. A nonzero rational isotropic vector has Z≠0, since Z=0 would make a rational square equal to a. Dividing by Z² therefore gives an affine rational norm solution. Conversely any affine solution is a nonzero isotropic vector. The Hasse–Minkowski theorem turns this quadratic problem into actual local solvability at all places.

If a stays nonsquare in a completion, the same homogenization argument identifies its local conic point with a norm solution. If a becomes a square there, every b has a solution: with c²=a, choose x=(b+1)/2 and y=(1−b)/(2c). Thus the local condition is precisely (a,b)_v=1 at every place, including the split cases. This derivation specifies why a homogeneous point at infinity does not create a false affine obstruction.

Only finitely many places need a nontrivial formula for this fixed rational pair. Include the real place, p=2 and every prime dividing a numerator or denominator of a or b. At any other odd prime, both valuations α and β are zero, so the Hilbert formula is +1. Complete factorization and exact unit residues therefore close the omitted-prime tail. The selected finite set depends on a and b; it is not one universal sample for every equation.

If every local symbol is +1, the named global theorem proves a rational point exists. It does not by itself give a small-height point, a particular numerical search limit or the same conclusion for a higher-degree variety. If one symbol is −1, it is an exact obstruction that no global rational solution can overcome. Local approximation, exact local roots, global existence and an explicit rational certificate remain distinct stages.

34

The limits of a Hasse principle

A Hasse principle is not a theorem for every variety. The classical Selmer cubic 3X³+4Y³+5Z³=0 is a named counterexample: it has points over R and every Q_p but no nontrivial rational point. Its global nonexistence is a separate descent theorem, not proved here by the local calculations. Here “nontrivial” means a vector other than (0,0,0), or equivalently a projective point represented by such a vector.

The bad-prime local points already illustrate two Hensel mechanisms. At p=2, fix X=1,Y=0 and lift Z=1 in 3+5Z³: the residual is 8 and derivative 15 is a unit. At p=5, fix X=1,Z=0 and lift Y=2 in 3+4Y³: residual 35 and derivative 48 give a simple root. At p=3, fix X=0,Z=1 and start Y=7 in 4Y³+5. Its value is 1377=3^4·17 and derivative 588 has valuation one, so the strong inequality 4>2 proves a local root.

At every p not dividing 30 the projective plane cubic is smooth. The named Hasse–Weil estimate for a smooth genus-one curve gives at least p+1−2√p>0 residue points. Smoothness supplies a chart with a nonzero partial derivative, so Hensel lifting gives a Q_p point. A real point exists by taking X=0,Z=1 and the real cube root Y³=−5/4. Thus the local conclusion has explicit bad-prime lifts and a declared finite-field theorem for all remaining primes; it is not inferred from a finite prime sample.

A genus-one curve need not have the rational origin required to identify it with an elliptic curve over Q. Descent and Tate–Shafarevich classes organize such failures; Brauer–Manin methods supply further local-global obstructions in arithmetic geometry. These are named structural connections for the later curve and scheme lessons, not a claim that one obstruction classifies every variety or decides every rational-point problem. The quadratic-form theorem and the cubic counterexample must keep their different global inputs.

The finite-field route uses two named geometric inputs: a smooth plane cubic is a genus-one curve, and the Hasse–Weil bound applies to smooth projective curves before a rational point is chosen. Thus it can establish the point needed for a smooth Hensel lift without first assuming an elliptic origin. Conrad also gives elementary cube-coset constructions of every local point for this same cubic, independent of that geometric route. MIT Mathematics’ [The Hasse–Weil bound](https://math.mit.edu/~roed/courses/18.782/LectureNotes37.pdf) states the point-count bound for smooth projective curves. Applying it to a smooth plane cubic does not require choosing a rational point first.

The global obstruction needs different machinery. Conrad’s descent rewrites a hypothetical solution as X³+6Y³=10Z³ and factors it in the full integer ring of Q(∛6). Prime-ideal factors, class number one and unit classes modulo cubes constrain the coefficient of (∛6)² in a putative cube. Successive reductions force three integer coefficients all divisible by three, contradicting infinite descent. This is an outline of the external proof, not a proof that the local tests alone establish global nonexistence. A noncubic unit suffices in that descent; it need not first be proved fundamental. Conrad’s [Selmer’s example](https://kconrad.math.uconn.edu/blurbs/gradnumthy/selmerexample.pdf) supplies the exact cubic, local constructions and global descent. Local solubility and the global nonexistence proof are distinct parts of that result.

35

Local points, integral points and height bounds

Rational points and integral points are different requirements. The equation 2x=1 has the rational point x=1/2 and therefore points in every Q_p, but it has no point in Z_2. A local integer condition concerns a chosen integral model and chart. Clearing denominators preserves a rational equation only when the resulting denominator and primitivity conditions are retained; it does not turn its rational solutions into the same affine integral solutions.

For a homogeneous equation, every nonzero vector over Q_p can be scaled so that its coordinates are integral and at least one is a unit. That primitive condition must survive a modular test. The all-zero residue vector is always a solution of a positive-degree homogeneous congruence and supplies no projective point. Likewise, an affine chart requiring one coordinate nonzero cannot include a point at infinity without changing the question.

A projective rational point has a primitive integer coordinate vector, unique up to overall sign, and a height given by its largest ordinary coordinate absolute value in that normalization. Searching height at most B is a finite exact task: enumerate the bounded primitive vectors and check the equation. Failure in that finite set proves absence only up to B, unless an additional height theorem proves every possible point must lie there.

Local obstruction tests can reject candidates or prove global nonexistence when one required local point is impossible. When all tested places pass, a bounded search is still a bounded search. A complete local-global theorem may supply existence in its own class, and a constructive or height result may then produce a finite rational certificate. These are separate statements. Increasing p-adic precision or an ordinary search cutoff alone does not close an unproved global tail.

36

Adeles and the restricted product topology

The adele ring A_Q is R×∏′_p Q_p, restricted with respect to Z_p: a tuple has an integral finite component at all but finitely many primes. Basic neighborhoods have the form U_∞×∏_{p∈S}U_p×∏_{p∉S}Z_p, with S finite and each displayed U open. Componentwise addition and multiplication preserve this restriction. Every rational embeds diagonally because its denominator has only finitely many prime factors.

This topology is finer than merely inspecting finitely many unrestricted coordinates. The neighborhood (−1/2,1/2)×∏Z_p meets the rational diagonal only at zero: finite integrality makes a rational an integer, and the real interval excludes every nonzero integer. Thus Q is discrete, and it is closed by the same small-difference argument in the Hausdorff additive group. Weak approximation in a finite product is compatible with this result because the other finite places there were unrestricted.

Every adele can be shifted by one rational into [0,1)×∏Z_p. To see this, let D be a product of powers of precisely the finitely many primes where its components are nonintegral, large enough to clear those components, and use CRT to choose a/D with the same principal parts at those primes. Subtracting it leaves all finite components integral. Subtract an additional integer to place the real component in [0,1). The compact set [0,1]×∏Z_p therefore maps onto A_Q/Q, so that quotient is compact. Product compactness is the topology input, and the rational shift is an explicit finite construction.

The ring is locally compact as well: the closed interval [−1,1] times ∏Z_p is a compact neighborhood of zero, and translations give one at every point. Adeles organize simultaneous local data without asserting that each tuple is one rational number. The rational diagonal is a special discrete subset, and quotient compactness is a topological statement. Neither fact supplies a rational point on every variety with local points.

37

Ideles and the global norm constraint

The idele group I_Q is the multiplicative restricted product of R× and Q_p× with respect to Z_p×. Thus every component is nonzero and almost every finite component is a unit. Both conditions matter. The tuple with real component one and a_p=p for every prime is an adele with no zero component, but its componentwise inverse is not an adele, so it is not an idele. The idele topology uses the multiplicative restricted product; it is not simply assumed to be the subspace topology on the units of the adele ring.

For an idele a, the positive real module is |a|_A=|a_∞|∏_p|a_p|_p, a finite-support product. It is a continuous multiplicative homomorphism in the idele topology. The rational diagonal Q× lies in its kernel by the product formula. The norm therefore descends to the idele class group I_Q/Q×, keeping the global compatibility condition visible instead of treating all local sizes as independent.

The norm-one idele class group is compact in this rational case by an explicit reduction. Given |a|_A=1, let r=∏p p^(v_p(a_p)), a positive rational with the same finite valuations. The finite components of a/r are units, and its real component has absolute value one. Multiplying r by a sign sets that real component to one. Thus every norm-one class has a representative in {1}×∏Z_p×, a compact product. No class-number or unit-rank computation has been silently assumed for a general number field.

This multiplicative language connects local norms to global zeta and character methods, while additive adeles support Fourier and Poisson summation. Those later global analytic theorems require their own measures, characters and convergence conditions. The elementary rational reductions above explain the restricted-product data and the norm constraint; they are not proofs of an adelic functional equation or a universal local-global principle. Milne’s [Class Field Theory](https://www.jmilne.org/math/CourseNotes/CFT.pdf), version 4.03, develops ideles and the idele norm. Here the compactness argument is given specifically over Q; no general class-field-theoretic existence theorem is inferred from it.

38

Precision as mathematical data

A finite approximation is a ball x∈a+p^N Z_p, with integer N giving absolute precision. If v_p(a)=k<N, every point in the ball has valuation k, and N−k is its relative precision in unit digits. If v_p(a)≥N, the ball contains zero and gives only the lower bound v_p(x)≥N. One cannot infer a nonzero value or a fixed relative precision from that center.

For x∈a+p^N Z_p and y∈b+p^M Z_p, addition is known modulo p^min(N,M). Cancellation can raise the valuation of the center without improving this absolute bound, so the number of reliable relative digits can decrease. Multiplication gives error valuation at least min(v_p(a)+M,v_p(b)+N,N+M), by expanding the two errors. A result should retain that derived ball rather than inventing extra exact digits from an apparently short output.

Division by an exact nonzero d of valuation k sends the ball to a/d+p^(N−k)Z_p. Its absolute precision loses k when k>0, while relative precision of a known nonzero value is unchanged. Inversion of a ball with v_p(a)=k<N gives 1/x∈1/a+p^(N−2k)Z_p, since x and a have the same valuation. A ball containing zero cannot be inverted as one bounded uncertainty ball. These are exact valuation error bounds, not floating-point relative-error rules copied from real arithmetic.

Absolute precision and relative digits answer different questionsTwo 7-adic inputs; The exponents describe nested congruence balls, not real intervals. Absolute precision zero means an uncertainty ideal ℤ_p, and may still leave relative digits for a negative-valuation center.Absolute precision and relative digits answer different questionsa+bv=1 · absolute exponent 4 · relative digits 3abv=3 · absolute exponent 6 · relative digits 3a/bv=1 · absolute exponent 4 · relative digits 3a⁻¹v=-2 · absolute exponent 1 · relative digits 3b⁻¹v=-1 · absolute exponent 2 · relative digits 3Failed inversion of the zero-centered ballNo uniform inverse ballRead each center valuation separately from its precision
The exponents describe nested congruence balls, not real intervals. Absolute precision zero means an uncertainty ideal ℤ_p, and may still leave relative digits for a negative-valuation center.

For products propagate the two linear error terms and the higher-order product of errors. For inversion use 1/(x+δ)−1/x=−δ/(x(x+δ)). When v(δ)>v(x), the denominator has valuation 2v(x). Division follows by multiplying by the inverse. Independent error choices show the displayed guarantee is tight. For a zero-centered difference, nonzero entries can have arbitrarily high valuation, so their inverses are unbounded.

Exact inputs and rejected inverse
QuantityExact result
Input valuations2, 1
Input relative digits3, 3
Difference a−a_center7^5ℤ_7
Attempt to invert this differenceNo uniform inverse ball; zero is included
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p7
a49
aPrecision5
b14
bPrecision4
Exact centers and precision guarantees
OperationGuaranteed ballCenter valuationRelative digits
a+b63 + 7^(4) ℤ_713
ab686 + 7^(6) ℤ_733
a/b7/2 + 7^(4) ℤ_713
a⁻¹1/49 + 7^(1) ℤ_7-23
b⁻¹1/14 + 7^(2) ℤ_7-13

A Newton certificate must identify an exact polynomial and justify the needed residual and derivative valuations or lower bounds. A derivative of known valuation r and a residual proved to have valuation greater than 2r satisfy the strong Hensel premise. If the available precision does not decide that comparison, more information is needed. A long digit string with an unchecked residual is not the certificate, and an exact local root obtained from it is still distinct from a global rational root.

39

A hierarchy of local and global evidence

The first layer is exact algebra: prime valuations, residue rings, unit tests and finite congruence calculations. Completion adds limits and compactness, allowing compatible digit sequences and closed nested local conditions to define actual points. Hensel’s inequalities then certify a local root in a specified ball. None of those steps assumes an ordinary real interpretation of the digits.

Local analysis adds convergence domains, logarithmic torsion, function approximation and real Haar measure. Finite extensions add residue degree, ramification and typed norm formulas. Their hypotheses and normalizations travel with every calculation: one uniformizer is not one base prime, a residue Frobenius is not the arbitrary power map, and a real Haar mass is not automatically a p-adic integration weight.

Global arithmetic is another layer. Weak approximation controls finitely many neighborhoods; the product formula constrains one global number at all places. Rational squares and quadratic forms have explicit local-global theorems, while higher-degree curves can fail them. Adeles and ideles organize the local data but do not erase the need for a global existence or obstruction theorem.

Computational conclusions therefore state their precision, coefficient knowledge, ambient field and completeness certificate. Finite modular roots, a compatible local point, a bounded-height search, a rational point and a theorem for an entire class of equations have different proof obligations. Exact calculations can support each layer only within its declared scope, preserving the distinction between a useful approximation and the mathematical claim it actually proves.

Compute exact local valuations, compatible residues, lifting and support tests, with guaranteed arithmetic precision.

Valuation changes under exact rational operations

Unequal 5-adic valuations

A larger valuation means a smaller p-adic normUnequal 5-adic valuations; These bars show integer valuations only. Signed rational values and their p-adic norms are displayed in separate table columns.A larger valuation means a smaller p-adic normx3y2x+y2x−y2xy5x/y1-0.25.5Integer valuation v_5
These bars show integer valuations only. Signed rational values and their p-adic norms are displayed in separate table columns.

Divide out the lower input power of p. If the valuations differ, precisely one scaled residue is a unit and the sum and difference retain the smaller valuation. If the valuations agree, check cancellation in the scaled residues. Products add valuations and quotients subtract them.

Valuation tests
QuantityExact result
p5
Input valuations equalNo
Exact |x+y|_p1/25
Exact |x−y|_p1/25
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p5
x125/14
y25/21
Exact rational operations
ExpressionRational resultValuationp-adic norm
x125/1431/125
y25/2121/25
x+y425/4221/25
x−y325/4221/25
xy3125/29451/3125
x/y15/211/5

Compatible residues and p-adic digit precision

Six positions for 3/7 in base five

The residue can stay fixed while its modulus growsSix positions for 3/7 in base five; Every row gives the least nonnegative residue in its own modulus. A zero digit can leave the integer prefix fixed although the next congruence is deeper.The residue can stay fixed while its modulus growsk=1 · modulus 5Digit 4 · residue 4 · error valuation 2k=2 · modulus 25Digit 0 · residue 4 · error valuation 2k=3 · modulus 125Digit 2 · residue 54 · error valuation 3k=4 · modulus 625Digit 1 · residue 179 · error valuation 4k=5 · modulus 3125Digit 4 · residue 2679 · error valuation 5k=6 · modulus 15625Digit 2 · residue 8929 · error valuation 6k increases one p-adic place at a time
Every row gives the least nonnegative residue in its own modulus. A zero digit can leave the integer prefix fixed although the next congruence is deeper.

Find the digit d for which the old representative plus d p^k satisfies the congruence modulo p^(k+1). The denominator is a p-adic unit so exactly one digit works. Compute the exact rational error after choosing the representative; its valuation can exceed the advertised minimum for that prefix.

Exact requested and next prefix
QuantityExact result
Prefix through 5 digits2679
Next digit2
Next prefix8929
Signed rational error at requested and next precision-18750/7, -62500/7
Actual valuation of each error5, 6
Actual norms1/3125, 1/15625
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p5
value3/7
digits5
Complete compatible digit calculation
kp^kNew digitPrefixExact error valuation
15442
225042
31252543
462511794
53125426795
615625289296

Simple and singular roots across growing precision

Two simple 7-adic branches

Finite residue paths provide different root certificatesTwo simple 7-adic branches; The paths show actual residues at each successively larger modulus. Both simple branches extend uniquely to roots.Finite residue paths provide different root certificates3mod 710mod 49108mod 3432166mod 24014mod 739mod 49235mod 343235mod 2401Precision increases from left to rightArrows go to the unique next residue for each simple class.
The paths show actual residues at each successively larger modulus. Both simple branches extend uniquely to roots.

The two initial residues are nonzero, so 2T is invertible modulo seven. At each continuation, one solves a linear equation for the next digit and obtains unique compatible roots.

Exact root count and lifting
QuantityExact result
PolynomialT²−2
Possible exact field rootsExactly two, one above each simple class modulo seven
Final finite root count2
TestDerivative invertible along both paths
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p7
c2
root3
depth4
Complete residue count
ModulusRoot countResidues or defining condition
723, 4
49210, 39
3432108, 235
240122166, 235
Next-digit equations for the two simple branches
Root mod 7New digit mod 49New digit mod 343New digit mod 2401
3Digit 1; 1+6d≡0 mod 7Digit 2; 2+6d≡0 mod 7Digit 6; 6+6d≡0 mod 7
4Digit 5; 2+1d≡0 mod 7Digit 4; 3+1d≡0 mod 7Digit 0; 0+1d≡0 mod 7

Haar mass and the Fourier transform of a ball

At the 3-adic support threshold

Fourier support is a valuation threshold on integer shellsAt the 3-adic support threshold; Boundary equality is included. Labels refer to valuation shells in the local field, not points of a real interval. A zero coefficient has no phase.Fourier support is a valuation threshold on integer shellsv_3(ξ)=-5Outside supportv_3(ξ)=-4Outside supportv_3(ξ)=-3 · selectedIn supportv_3(ξ)=-2In supportv_3(ξ)=-1In supportv_3(ξ)=0In supportDiscrete valuation shells at the selected prime
Boundary equality is included. Labels refer to valuation shells in the local field, not points of a real interval. A zero coefficient has no phase.

Translate x by the center to factor out the character of the translation. The remaining Haar integral equals the mass if the character is trivial on the additive subgroup p^kℤ_p. Otherwise translation by a subgroup element with nontrivial character makes the integral vanish.

Exact Haar and Fourier data
QuantityExact result
Translated ball2 + 27ℤ_3
Real Haar mass1/27
Supportv_3(ξ)≥−3
Selected frequency valuation-3
Phaseexp(−4πi/27)
Fourier coefficient1/27 · exp(−4πi/27)
Absolute value1/27
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p3
center2
depth3
frequency1/27

Local quadratic norm obstructions

Two finite local obstructions

Each place needs the positive local signTwo finite local obstructions; Signs are categorical local tests. The product is separately +1 by reciprocity, which does not require each individual sign to be +1.Each place needs the positive local signPlace 2-1Place 13-1Place ∞1-1.21.2Hilbert symbol values
Signs are categorical local tests. The product is separately +1 by reciprocity, which does not require each individual sign to be +1.

At 2 use (13²−1)/8=21 odd. At 13 the Legendre symbol is (2/13)=−1. At the real place 13 is positive. Omitted odd primes have unit inputs, so their factors are +1. Solve the norm equation locally exactly when the corresponding Hilbert symbol is +1. The local–global assertion follows from Hasse–Minkowski applied to the corresponding nondegenerate ternary form, or the quadratic norm theorem. The rational witnesses can be checked directly.

Exact local symbols and global consequence
QuantityExact result
Equationx²−13y²=2
Place 2−1
Place 13−1
Place ∞+1
Product over every place+1
Rational solutionNone
Exact inputs and supporting calculations
Declared inputs
ParameterValue
d13
target2

Guaranteed precision for arithmetic and inversion

Two 7-adic inputs

Absolute precision and relative digits answer different questionsTwo 7-adic inputs; The exponents describe nested congruence balls, not real intervals. Absolute precision zero means an uncertainty ideal ℤ_p, and may still leave relative digits for a negative-valuation center.Absolute precision and relative digits answer different questionsa+bv=1 · absolute exponent 4 · relative digits 3abv=3 · absolute exponent 6 · relative digits 3a/bv=1 · absolute exponent 4 · relative digits 3a⁻¹v=-2 · absolute exponent 1 · relative digits 3b⁻¹v=-1 · absolute exponent 2 · relative digits 3Failed inversion of the zero-centered ballNo uniform inverse ballRead each center valuation separately from its precision
The exponents describe nested congruence balls, not real intervals. Absolute precision zero means an uncertainty ideal ℤ_p, and may still leave relative digits for a negative-valuation center.

For products propagate the two linear error terms and the higher-order product of errors. For inversion use 1/(x+δ)−1/x=−δ/(x(x+δ)). When v(δ)>v(x), the denominator has valuation 2v(x). Division follows by multiplying by the inverse. Independent error choices show the displayed guarantee is tight. For a zero-centered difference, nonzero entries can have arbitrarily high valuation, so their inverses are unbounded.

Exact inputs and rejected inverse
QuantityExact result
Input valuations2, 1
Input relative digits3, 3
Difference a−a_center7^5ℤ_7
Attempt to invert this differenceNo uniform inverse ball; zero is included
Exact inputs and supporting calculations
Declared inputs
ParameterValue
p7
a49
aPrecision5
b14
bPrecision4
Exact centers and precision guarantees
OperationGuaranteed ballCenter valuationRelative digits
a+b63 + 7^(4) ℤ_713
ab686 + 7^(6) ℤ_733
a/b7/2 + 7^(4) ℤ_713
a⁻¹1/49 + 7^(1) ℤ_7-23
b⁻¹1/14 + 7^(2) ℤ_7-13

Worked examples

Unequal valuations and genuine cancellation

At p=5 take x=125/14 and y=25/21. Compute their valuations and those of x+y,x−y,xy and x/y, then give the corresponding absolute values. Contrast this with 1/6+29/6 and explain when cancellation raises a valuation.

  1. Neither 14 nor 21 is divisible by five. The numerators give v_5(x)=3 and v_5(y)=2. Their norms are therefore 1/125 and 1/25. A larger divisibility exponent gives a smaller p-adic magnitude; ordinary numerator size alone would not express that relation.
  2. Putting the sum and difference over denominator 42 gives x+y=425/42=25·17/42 and x−y=325/42=25·13/42. Both have valuation two. This agrees with the unequal-valuation rule: the smaller input valuation is two, so no additional cancellation is possible.
  3. The product is 3125/294 with valuation five. The quotient is 15/2 with valuation one. These are also 3+2 and 3−2, respectively. Multiplicativity gives norms 1/3125 and 1/5, independently of the common-denominator computation for addition.
  4. Both 1/6 and 29/6 are 5-adic units, but their sum is 30/6=5. The equal input valuations permit the residues to cancel and raise the sum valuation to one. The ultrametric inequality is strict in norm here. Equal valuation permits such cancellation; it does not force it for every pair of units.

The valuations of x,y,x+y,x−y,xy,x/y are 3,2,2,2,5,1, so the norms are 5^(−3),5^(−2),5^(−2),5^(−2),5^(−5),5^(−1). The two units 1/6 and 29/6 sum to 5, of valuation one.

A rational number from five digits and a certified next digit

Find the first five base-five digits of 3/7, from the units digit upward, and determine the next digit. Give exact valuation errors for the two truncations, not just their residue classes.

  1. The extended Euclidean identity 7·893−2·3125=1 gives the inverse of seven modulo 3125. Multiplying by three yields 2679, already in the canonical residue range. This is valid in Z_5 because seven is a unit.
  2. Successive division by five gives residues 4,0,2,1,4: 2679=4+0·5+2·25+1·125+4·625. These are the low-to-high digits. The exact residual is 7·2679−3=18750=6·3125, so v_5(3/7−2679)=5. The five-digit truncation has norm error exactly 5^(−5).
  3. Write the next truncation as 2679+d·3125. The equation for its numerator residual modulo 15625 is 6+7d≡0 modulo five. Since seven reduces to two, d=2. The new truncation is 8929.
  4. Now 7·8929−3=62500=4·15625, so its error valuation is exactly six and its norm error is 5^(−6). This calculation distinguishes a known absolute precision from the exact rational value: infinitely many 5-adic numbers share each finite truncation, while the rational equation 7x=3 identifies this one.

The first five digits are 4,0,2,1,4, giving 2679 modulo 3125. The next digit is 2, giving 8929 modulo 15625. Their errors have valuations five and six, respectively.

Compatible residues define a ball, not one exact value

Consider residues 2 modulo 3, 5 modulo 9, 14 modulo 27 and 68 modulo 81. Check compatibility, identify their digit prefix, solution ball and real Haar mass. Do 68 and 149 both qualify? Can the final residue be replaced by 50 modulo 81 while keeping the first three?

  1. Reduction gives 68≡14 modulo 27, 14≡5 modulo nine and 5≡2 modulo three. Also 68=2+1·3+1·9+2·27, so the four digits are 2,1,1,2. They form one consistent inverse-limit prefix.
  2. The strongest congruence already implies the other three. Its solution set in Z_3 is the ball 68+3^4Z_3, equivalently |x−68|_3≤3^(−4). It is clopen, and every point of it can serve as a center. An open ball of radius 2/81 describes the same set because no norm value lies between 1/81 and 1/27.
  3. The integer 149=68+81 has the same prefix. Their distance is |81|_3=3^(−4), so they are distinct completions of the finite data. With additive Haar measure normalized by μ(Z_3)=1, the ball has the positive real mass 3^(−4)=1/81. That probability is not a p-adic integration weight.
  4. The proposed residue 50 reduces to 23 modulo 27, not 14. Thus it cannot be combined with the earlier third-level residue. Finite CRT or an inverse limit does not authorize inconsistent conditions at one prime. Compatible finite data give a ball; compatible data at every level give one limit.

The prefix is 2,1,1,2 and the solution set is 68+81Z_3, with real Haar mass 1/81. Both integers qualify and are at distance 3^(−4). The replacement 50 is incompatible with 14 modulo 27.

A simple Hensel root with four visible digits

Lift the root 3 of T²−2 modulo 7 through moduli 49,343 and 2401. Show every digit equation, identify the opposite root at the final precision, and state exactly which uniqueness follows in Q_7.

  1. At a=3, f(a)=7 and f′(a)=6 is a unit modulo seven. Write a_2=3+7t. Dividing the next congruence by seven gives 1+6t≡0, so t=1 and a_2=10. Simple Hensel guarantees the continuing root in the residue class three.
  2. Now f(10)=98=2·49. For a_3=10+49t the divided condition is 2+20t≡2+6t≡0 modulo seven. Hence t=2 and a_3=108. Its exact residual is 11662=34·343.
  3. For a_4=108+343t, the new equation is 34+216t≡6+6t≡0 modulo seven. Thus t=6 and a_4=2166. Indeed f(2166)=4691554=1954·2401. The digits are therefore 3,1,2,6, in increasing powers of seven.
  4. The opposite residue is 2401−2166=235, with f(235)=55223=23·2401. Modulo seven the only roots are three and four, both simple. Any Q_7 square root of the unit two is itself a unit and reduces to one of them. Thus there are exactly two field roots, each unique in its own residue class; the final finite residues still approximate their exact limits.

The lifts are 3,10,108,2166, with digits 3,1,2,6. The opposite residue modulo 2401 is 235. Each initial root class has one exact lift; the two field roots are negatives of one another.

Strong Hensel at a nonunit derivative

Apply Newton’s method to T²−17 over Q_2, starting at a_0=1. Compute the next two rational iterates and their residual valuations, give the root-distance certificate, and compare with the four roots modulo 64.

  1. The initial residual is −16, of valuation four, while f′(1)=2 has valuation one. The strong inequality 4>2·1 applies even though the derivative is not a unit. It supplies one exact root in v_2(x−1)>1 and gives v_2(α−1)=4−1=3.
  2. Newton gives a_1=1−(−16)/2=9. Its residual is 81−17=64, of valuation six, and f′(9)=18 still has valuation one. The next iterate is 9−64/18=49/9. Its residual is (2401−1377)/81=1024/81, of valuation ten; its derivative 98/9 again has valuation one.
  3. The excess residual valuations s_n−2r are 2,4,8, matching the doubling estimate. Since nine is a 2-adic unit, reducing 49/9 modulo 64 is valid: 9^(−1)≡57, and 49·57≡41. This is a finite approximation to the root selected by the initial ball, not an ordinary real ordering of the iterates.
  4. The four root residues modulo 64 are ±9 and ±(9+32), namely 9,23,41,55. They do not supply four field roots: T²−17 has only ±α in Q_2. The extra modular branches need not give compatible roots at all later precisions. The derivative and residual bounds identify the convergent branch rather than merely counting finite residues.

a_1=9 and a_2=49/9 have residual valuations six and ten; initially the residual valuation is four and derivative valuation one. The chosen field root has v_2(α−1)=3. Modulo 64 the roots are 9,23,41,55, with a_2≡41.

Many singular modular roots and one field root

Count the roots of T² modulo 5^5 and 5^6, describe how those branches behave at precision 5^7, and compare them with the exact equation in Z_5. Contrast this with lifting the root zero of T²−5 modulo five.

  1. The condition t²≡0 modulo 5^5 requires v_5(t)≥3. Its residues are 125k with 0≤k<25, giving 25 roots. Their derivatives 2t are divisible by five, so the simple-root uniqueness theorem is inapplicable.
  2. Each such square is already divisible by 5^6. Consequently all five children t+d·5^5 lift, yielding 125 roots modulo 5^6. At the next level the square condition requires v_5(t)≥4. Only the earlier residues divisible by 625 can continue, though each surviving residue again has five children. The count of finite branches is not the count of infinite paths.
  3. An exact nonzero element of Q_5 has finite valuation k, so its square has finite valuation 2k and cannot be zero. Hence the only exact field or integer-ring root is zero. For any fixed nonzero singular branch, a sufficiently high precision exposes that failure; a large modular root count alone gave no extra field roots.
  4. For T²−5, zero is a residue root modulo five. Every proposed lift has t divisible by five and t² divisible by 25, leaving f(t)≡−5 modulo 25. Thus no child is a root at the next precision. This is failure at a singular residue root, fully compatible with Hensel’s actual simple or strong hypotheses.

There are 25 roots modulo 5^5 and 125 modulo 5^6. At precision 5^7 the roots must be divisible by 5^4. The exact equation T²=0 has only zero, while T²−5 has no lift from zero modulo five to a root modulo 25.

A logarithm calculation and the exponential domain

Compute log(4) modulo 3^5 from its 3-adic series. Explain why the local exponential recovers 4. At p=2 distinguish exp(2), exp(4) and log(−1), including the boundary obstruction to convergence.

  1. Put t=3 into log(1+t)=Σ_{n≥1}(−1)^(n+1)t^n/n. The nth term has valuation n−v_3(n). The first four terms are 3,−9/2,9,−81/4. Every term from n=5 onward has valuation at least five: check n=5,…,8 directly, and use v_3(n)≤log_3(n)≤n−5 for n≥9. Thus they vanish modulo 243, and the convergent tail also lies in 243Z_3.
  2. The retained rational sum is −51/4. Since 4·61=244≡1 mod 243, its residue is −51·61≡48 mod 243. As 48 is divisible by three but not nine, the logarithm has valuation one. This is exact information from a convergent series and a rigorously bounded tail, rather than a real logarithm rounded to an integer.
  3. For p=3 the exponential converges at every element of 3Z_3, and log maps 1+3Z_3 to that ball. The formal inverse identities are valid on these convergent domains, so exp(log4)=4. The calculation does not assert that a finite representative such as 48 has exactly the same exponential as the full logarithm; it determines its output only to the corresponding precision.
  4. At p=2 the radius condition is v_2(x)>1. For x=2 and n=2^k, Legendre’s factorial formula gives v_2(2^n/n!)=n−(n−1)=1, so those terms do not tend to zero and exp(2) diverges. At x=4 the valuations tend to infinity. The logarithm still converges at −1=1−2; its homomorphism identity gives 2log(−1)=log1=0, hence log(−1)=0 in characteristic zero. This torsion lies outside 1+4Z_2, where log and exp really are inverse.

log(4)≡48 mod 243, with valuation one. The 3-adic exponential is inverse to log on 1+3Z_3. The 2-adic exp(2) diverges, exp(4) converges, and log(−1)=0; the exponential inverse is restricted to 4Z_2 and 1+4Z_2.

The Fourier transform of a p-adic ball

Normalize additive Haar measure on Q_3 by μ(Z_3)=1 and use ψ(x)=exp(2πi{x}_3), whose kernel is Z_3. For B=2+27Z_3 and the Fourier convention f̂(ξ)=∫f(x)ψ(−ξx)dx, compute the measure of B and f̂ at ξ=1/27 and ξ=1/81. Derive the support condition.

  1. Translation leaves Haar measure unchanged. Multiplication by 27 scales the real-valued measure by |27|_3=3^(−3), so B has measure 1/27. Substitute x=2+27y with y∈Z_3 into the complex-valued Fourier integral. This gives 1̂_B(ξ)=3^(−3)ψ(−2ξ)I(27ξ), where I(a)=∫_{Z_3}ψ(−ay)dy.
  2. If a∈Z_3, then ay∈Z_3 and the character is identically one, giving I(a)=1. If a∉Z_3, choose t∈Z_3 with ψ(−at)≠1, for instance t=1 for the standard character. Translation by t preserves Z_3 and its measure, so I(a)=ψ(−at)I(a). A nontrivial complex multiplier forces I(a)=0. This proves the full indicator formula without numerical quadrature.
  3. For ξ=1/27 the quantity 27ξ equals one, so the character integral is one. The phase is ψ(−2/27)=exp(−4πi/27), independent of which representative modulo Z_3 is used for the fractional part. For ξ=1/81, the quantity 27ξ=1/3 is not integral, and the second integral is zero. The support is precisely v_3(ξ)≥−3, equivalently ξ∈3^(−3)Z_3.
  4. The factor 1/27 is a positive real measure and the phase is a complex number. No Q_3-valued measure or real-weighted integration of arbitrary Q_3-valued functions has been introduced. The sign in the phase follows the declared minus-sign Fourier convention; changing that convention would conjugate the phase, not change the support or the measure.

μ(B)=1/27 and 1̂_B(ξ)=3^(−3)ψ(−2ξ)·1_{3^(−3)Z_3}(ξ). The two values are exp(−4πi/27)/27 and zero, respectively.

One finite extension, three different normalizations

Let K=Q_5(α), α^3=5. Determine the degree, residue degree, ramification index and ring of integers. With w_K(α)=1, compute w_K(5), the base-compatible absolute value and Haar modulus of α, Tr(α), N(α), N(1−α), the size of O_K/(α²), and the different and discriminant valuations. Distinguish the local ideal norm of the unit 1−α from its field norm.

  1. The polynomial T³−5 is Eisenstein at five, so it is irreducible and its root is a uniformizer in a totally ramified extension of degree three. The Eisenstein integral-basis result gives O_K=Z_5[α], with residue field F_5. Consequently e=3 and f=1. In the integer-valued valuation w_K, the equality α³=5 gives w_K(5)=3; this valuation is not the extension of v_5 with v_5(5)=1.
  2. The base-compatible absolute value is |x|=5^(−w_K(x)/3), so |α|=5^(−1/3). Multiplication by α scales normalized additive Haar measure on the three-dimensional Q_5-vector space by |N_{K/Q_5}(α)|_5=1/5. Equivalently the modulus is q^(−w_K(α)) with q=5, or |α|³. Confusing the compatible absolute value with the Haar modulus loses the degree factor.
  3. The coefficient of T² gives Tr(α)=0. The constant term gives N(α)=5, while evaluating the monic polynomial at one gives N(1−α)=1−5=−4. This last element is a 5-adic unit, as is 1−α in O_K. Hence its ideal is O_K and its local ideal norm is one. A signed field norm in Q_5 is not the positive cardinality of a residue quotient, nor is its ordinary real absolute value that cardinality.
  4. The two successive quotients O_K/(α) and (α)/(α²) each have five elements, so #O_K/(α²)=25. For this full monogenic order the different is generated by f′(α)=3α², with w_K equal to two because three is a unit. The polynomial discriminant is −27·25=−675, of 5-adic valuation two, agreeing with the different exponent multiplied by f=1. The ramification is tame since five does not divide e=3.

[K:Q_5]=e=3, f=1 and O_K=Z_5[α]. We have w_K(5)=3, |α|=5^(−1/3), Haar modulus 1/5, Tr(α)=0, N(α)=5 and N(1−α)=−4. The quotient by α² has 25 elements, the different exponent is two, and v_5(disc)=2. The unit ideal (1−α) has local ideal norm one.

Real and p-adic approximation in the same rational number

Construct a rational x satisfying x∈2+9Z_3, x∈5+25Z_5 and |x−1/2|_∞<1/100. Show how the denominator makes the real adjustment possible without spoiling the finite congruences, and explain what is not controlled at other primes.

  1. For an integer numerator and a denominator congruent to one modulo 225, the finite conditions reduce to a≡2 mod 9 and a≡5 mod 25. Writing a=5+25k gives 7k≡6 mod 9, hence k≡6 mod 9. Thus a≡155 mod 225 solves the two congruences. The integer progression alone has fixed real spacing 225, so it cannot in general approximate a real target arbitrarily closely.
  2. Choose q=22501=1+100·225, which is a unit at three and five and equals one in both required residue rings. Numerators of the form a=155+225k give rational spacing 225/q. Taking k=49 gives a=11180. The target numerator q/2=11250.5 lies only 70.5 away, so the real error is 70.5/22501=141/45002<1/100.
  3. Direct subtraction gives x−2=−33822/22501 and x−5=−101325/22501. The denominator is prime to three and five. The first numerator is 9·(−3758), with 3758 not divisible by three, and the second is 25·(−4053), with 4053 not divisible by five. Both required local valuations are therefore exactly two. The real inequality and both p-adic assertions have separate exact certificates.
  4. More generally take q=1+225t sufficiently large and choose the closest numerator in 155+225Z to q/2. The real error is at most 225/(2q), while the finite congruences persist. Other prime denominators and integrality conditions were not requested and need not be preserved. Weak approximation controls finitely many specified places; it does not assert density in an unrestricted product topology or in the adelic restricted product.

One choice is x=11180/22501. Its 3-adic and 5-adic differences from 2 and 5 have valuation two, and its real error is 141/45002<1/100. Only the named three places are controlled.

Two local obstructions to a quadratic norm equation

Use Hilbert symbols to test x²−13y²=2 over Q. Identify the nontrivial local obstructions and compare their product with reciprocity. Then contrast x²−13y²=3 with an exact rational solution. State where the local–global theorem enters.

  1. For a nonsquare a and nonzero b, the equation x²−ay²=b asks whether b is a norm from Q(√a). At a place v the Hilbert symbol (a,b)_v is +1 exactly when that local norm condition holds. The norm criterion and the quadratic local–global theorem are structural inputs here; the calculations below apply their stated scope rather than prove them from a finite set of numerical tests.
  2. At the odd prime thirteen we have v_13(13)=1 and v_13(2)=0, so the odd-prime formula gives (13,2)_13=(2/13). Since 13≡5 mod 8, this Legendre symbol is −1. Equivalently an integral primitive local solution would force a nonzero square congruent to two modulo thirteen, which is impossible; the valuation balance rules out rescuing it by a denominator or by both coordinates divisible by thirteen.
  3. At two write a=2^0·13 and b=2^1·1. The exponent in the 2-adic formula reduces to (13²−1)/8=21, so (13,2)_2=−1. At every odd prime other than thirteen the two valuation exponents are zero except at no additional odd divisor of two, giving +1. At the real place a is positive and the symbol is +1. The product of the two negative signs is +1, in agreement with reciprocity; reciprocity does not say every individual factor must be positive.
  4. For b=3, the exact equality 4²−13·1²=3 supplies a global solution and therefore a solution in every completion without a separate symbol table. Conversely, for this quadratic norm problem solvability at every completion would imply global rational solvability by Hasse–Minkowski applied to X²−13Y²−bZ²; nonsquareness of thirteen ensures a nonzero global isotropic vector has Z≠0. That conclusion is special to the stated quadratic setting and does not generalize to arbitrary cubic curves.

The symbols (13,2)_13 and (13,2)_2 are both −1; all other places give +1. Thus the equation with right side two has no rational solution. Their product is +1 as reciprocity requires. For right side three, x=4,y=1 is an exact solution, so every local obstruction vanishes.

Absolute precision, relative precision and failed inversion

For independent 7-adic inputs a∈49+7^5Z_7 and b∈14+7^4Z_7, give guaranteed balls for a+b, ab, a/b and a^(−1). Identify the exact input valuations and explain why a−49 cannot be uniformly inverted from the saved information.

  1. The centers have valuations two and one, both strictly below their absolute precision exponents five and four. Hence every possible input has that exact center valuation, and their relative precisions are 5−2=3 and 4−1=3. Addition propagates uncertainty at least as 7^min(5,4)Z_7, giving 63+7^4Z_7. Since v_7(63)=1<4, the sum valuation is known to be one.
  2. Write a=49+δa and b=14+δb. The product center is 686, and its three error terms 49δb,14δa,δaδb have valuation at least 2+4=6,1+5=6 and 5+4=9. Thus ab∈686+7^6Z_7, whose center has valuation three. Both relative precision counts remain three in this product; the absolute count changes with the valuation.
  3. Inversion of a known nonzero ball c+p^NZ_p, with v_p(c)=k<N, gives c^(−1)+p^(N−2k)Z_p, by factoring c and using the convergent unit inverse. Therefore a^(−1)∈1/49+7Z_7, while b^(−1)∈1/14+7²Z_7. Multiplying a by the latter ball gives a/b∈7/2+7^4Z_7; both cross-error lower bounds are four and the product of errors has higher valuation. Negative center valuations in an inverse do not imply a loss of all relative precision.
  4. The difference a−49 lies in 7^5Z_7. That ball contains zero and elements of arbitrarily large valuation, so the information does not identify a fixed finite valuation or any common inverse ball. Cancellation can erase known leading digits. A displayed residue or a small residual is a precision statement; an exact root conclusion additionally needs an exact equation and a valid existence certificate such as the applicable Hensel hypotheses.

v(a)=2 and v(b)=1. The guaranteed output balls are 63+7^4Z_7, 686+7^6Z_7, 7/2+7^4Z_7 and 1/49+7Z_7. Both inputs have relative precision three. The ball a−49=7^5Z_7 contains zero, so it has no uniform inverse ball.

Try it yourself

  1. In Q_7 evaluate the convergent digit series Σ_{n≥0}7^(2n). Give its base-seven digit pattern and compare it with the expansion of −1. Explain why neither infinite leftward expansion conflicts with the usual real sizes of the rational answers.

    Show the answer and reasoning

    The series is 1/(1−49)=−1/48, with digits 1,0,1,0,… from the units place upward. The expansion of −1 has every digit six. Both converge in the 7-adic metric, not in the real metric.

    The partial geometric sum S_N=1+49+⋯+49^N satisfies (1−49)S_N=1−49^(N+1). Since |49^(N+1)|_7=7^(−2N−2) tends to zero, completeness gives S_N→1/(1−49)=−1/48 in Q_7. This argument fixes the topology explicitly; the same partial sums grow without bound in the real metric. Each coefficient is already a permitted base-seven digit: one at even powers and zero at odd powers. There is no carry to perform. The rational answer is a 7-adic unit because 48 is prime to seven. An infinite digit string can therefore describe an ordinary rational number, and an eventually periodic digit expansion is compatible with rationality. For −1 use 6+6·7+⋯+6·7^N=7^(N+1)−1. The first term on the right tends to zero 7-adically, so the partial sums tend to −1. This is a second geometric series, with all digits six. It does not identify −1 with a positive real infinite sum under the real notion of convergence. The digits encode successively more precise compatible residues modulo 7^m. The order relation and real sign are not part of the 7-adic metric. Rational identities such as the finite geometric-sum formula remain valid in both fields; what differs is which error term tends to zero.

  2. In Z_5 compare B=3+25Z_5, C=28+125Z_5 and D=8+25Z_5. Determine their inclusions, intersections and normalized Haar measures. Describe the children of B at the next precision and the compactness mechanism behind these finite partitions.

    Show the answer and reasoning

    C⊂B and B∩D=C∩D=∅. Their measures are 1/25,1/125,1/25. B is the union of five disjoint cosets 3+25j+125Z_5 for j=0,…,4; C is the child j=1.

    The center 28 differs from three by 25, so every member of C lies in B. The centers eight and three differ by five, of valuation one. Two balls of radius 5^(−2) with that center separation are disjoint: otherwise subtracting a common point would force their center difference to have valuation at least two. The same argument gives C∩D=∅. Normalize additive Haar measure by μ(Z_5)=1. A coset of 5^nZ_5 has measure 5^(−n). Thus B and D each have measure 1/25, while C has measure 1/125. This uses real-valued Haar measure; the measure is not a 5-adic norm masquerading as an integral value. An element of B is three plus 25 times a 5-adic integer. Its next digit j modulo five gives the five disjoint balls 3+25j+125Z_5. The center 28 corresponds to j=1. Every child has one fifth of the parent measure, and their measures sum to 1/25. At each precision Z_5 has finitely many residue classes. An infinite sequence therefore has a subsequence with fixed first digit, then a further subsequence with fixed second digit, and so on. The diagonal subsequence is Cauchy and converges by completeness. This proves sequential compactness in the metric space; the inverse-limit description gives the same compactness from finite discrete levels. A ball is both open and closed in this topology.

  3. Lift the root three of f(T)=T²+T−1 modulo eleven through moduli 11² and 11³. Find the other root at those precisions and justify that exactly two roots occur in Z_11.

    Show the answer and reasoning

    The chosen root is 3 mod 11 and 36 mod 121 and mod 1331. The other is 7 mod 11,84 mod 121 and 1294 mod 1331. Both lift uniquely and exhaust the roots in Z_11.

    The reduction f(3)=11 is zero modulo eleven and f′(3)=7 is a unit. For T=3+11t, reduction modulo 121 gives f(T)/11≡1+7t mod 11. The inverse of seven is eight modulo eleven, so t≡−8≡3. Hence the first lifted residue is 36 modulo 121. Evaluate the original exact polynomial at that representative: f(36)=1296+36−1=1331=11³. Thus no new 11² digit is needed, and the same representative 36 is already a root modulo 1331. The simple Hensel derivative remains a unit at every lift, so the compatible residues determine one unique 11-adic root in the class three modulo eleven. If r is one root, the other is −1−r because the sum of roots is −1 and their product is −1. This gives 7 modulo eleven, 84 modulo 121 and 1294 modulo 1331. The reduction has exactly these two roots: its discriminant five has square roots ±4 in F_11. Both roots are simple. Every root in Z_11 reduces to a root of the polynomial over F_11. Uniqueness within each simple residue class and the complete two-root reduction therefore give exactly two Z_11 roots. The finite residue 36 is not itself an exact rational root, since f(36)=1331 is nonzero; it is a certified prefix of an actual root.

  4. Test the strict strong-Hensel inequality v_p(f(a))>2v_p(f′(a)) for f(T)=T²−18 at p=3,a=3 and for g(T)=T²−100 at p=5,a=5. Decide solvability in each field and explain what equality in that inequality does and does not imply.

    Show the answer and reasoning

    Both inputs have equality s=2r=2. The first equation has no Q_3 root, while the second has the rational roots ±10. The strict inequality is sufficient and its failure is not a universal nonexistence criterion.

    For f at a=3, f(3)=−9 has 3-adic valuation two and f′(3)=6 has valuation one. Thus s=2r, so the strict theorem supplies no conclusion. A root would have valuation one because its square is eighteen. Writing the root as 3u would require a unit u with u²=2 in Q_3. Reducing that unit equation modulo three is impossible: the only nonzero square is one. Therefore T²−18 has no root in Q_3. This is an actual local obstruction, independent of the inconclusive Hensel inequality. The initial root zero modulo three is singular and cannot by itself certify a field root. For g at a=5, g(5)=−75 has 5-adic valuation two and g′(5)=10 has valuation one. The same equality occurs. Nevertheless g has the exact rational roots ten and minus ten, hence roots in Q_5. In this case the failure of the strict sufficient condition does not prevent existence. The strong-Hensel condition packages a neighborhood and uniqueness certificate under its stated strict hypothesis. Replacing > by ≥ would falsely certify the first example. Reading failure of the strict test as a proof of nonexistence would falsely reject the second. A boundary case requires a different argument, a different starting approximation or an independent obstruction.

  5. Classify 41,−7,−4 and 24 as squares or nonsquares in Q_2. Justify the odd-unit residue criterion and distinguish this field question from a count of roots modulo a fixed power of two.

    Show the answer and reasoning

    41 and −7 are squares in Q_2. −4 and 24 are not. A nonzero 2-adic number is a square exactly when its valuation is even and its odd unit part is one modulo eight.

    Write a nonzero candidate as 2^m u with u odd. A square must have m even, since v_2(x²)=2v_2(x). An odd square is one modulo eight: for x=1+2k, x²=1+4k(k+1), and k(k+1) is even. Thus the odd unit part must lie in 1+8Z_2. Conversely let u≡1 mod 8. For f(T)=T²−u at a=1, v_2(f(a))≥3 and v_2(f′(a))=1, so the strict strong-Hensel inequality holds. It produces a root of the unit u, after which an even power of two restores a square root of the original number. This proves sufficiency rather than treating the mod-eight condition as a sample. The integers 41 and −7 are both odd and congruent to one modulo eight, so both have roots. For −4 the valuation is two but the unit part is −1≡7 mod 8, so it is not a square. For 24 the valuation is three, already odd, so it cannot be a square regardless of its remaining unit factor. A nonzero square has exactly two roots in the field, because a degree-two polynomial over a characteristic-zero field cannot have more and the roots differ by sign. At a finite modulus there may be additional compatible-looking or eventually dead residue classes. Counting roots modulo 2^n is a different statement from counting field roots; an existence proof must control compatible lifts.

  6. Lift the residue two to its Teichmüller representative modulo 5^4. Use it to decompose the unit seven modulo 625 into a fourth root of unity times an element of 1+5Z_5. Explain why x↦x^5 is not an automorphism of Q_5.

    Show the answer and reasoning

    The Teichmüller lift is 182 mod 625, with 182²≡−1 mod 625. Seven decomposes as 182·601 mod 625, where 601∈1+5Z_5. The fifth-power map on Q_5 is not additive.

    A nonzero Teichmüller representative at p=5 satisfies T^4−1=0 and the given residue modulo five. Its derivative 4T³ is a unit at T=2. Starting from two, the next corrections give seven modulo 25 and 57 modulo 125: the residual quotients are three and 96, and the derivative is two modulo five in both correction equations. At 57 the exact value 57^4−1 is 10556000. Dividing by 125 gives 84448≡3 mod 5, so the next correction digit is one. The lift is 57+125=182 modulo 625. Squaring gives 33124≡624≡−1 mod 625; consequently its fourth power is one. Uniqueness of the simple lift identifies this residue with the Teichmüller unit, rather than with the ordinary integer two. The inverse of 182 is −182≡443 modulo 625, since its square is minus one. Therefore seven divided by the lifted root of unity is 7·443≡601 modulo 625. The factor 601 is one modulo five. Multiplying 182·601 gives seven modulo 625, displaying the root-of-unity part and principal-unit part at this precision. In the characteristic-zero field Q_5 the fifth-power map is not additive: (1+1)^5=32 differs from 1^5+1^5=2. The finite residue-field Frobenius and its lift on an unramified field extension must not be confused with this power map on arbitrary 5-adic elements. A Teichmüller unit does satisfy ω^5=ω, but that property holds on a selected finite subgroup, not on all of Q_5.

  7. Find the Mahler coefficients of x³. Then consider the function g(n)=(−1)^n on nonnegative integers: compute its finite-difference coefficients and decide whether it extends continuously to Z_2 and to Z_3.

    Show the answer and reasoning

    x³=binom(x,1)+6binom(x,2)+6binom(x,3). For g the coefficients are (−2)^n. They tend to zero in Q_2 and give the continuous parity function on Z_2. No continuous extension to Z_3 exists.

    The forward differences of x³ at zero are a_0=0,a_1=1,a_2=6,a_3=6 and zero thereafter. Expanding the three binomial polynomials gives x+3x(x−1)+x(x−1)(x−2)=x³. This direct identity proves the finite Mahler expansion without invoking the existence theorem for arbitrary continuous functions. For g(k)=(−1)^k, the nth forward difference at zero is Σ_{k=0}^n binom(n,k)(−1)^(n−k)(−1)^k=(−2)^n. In Q_2 these coefficients tend to zero. Since binom(x,n) lies in Z_2 for x∈Z_2, the series Σ (−2)^n binom(x,n) converges uniformly and defines a continuous function. On the nonnegative integers the binomial theorem makes this series equal to (1−2)^k=(−1)^k. By density it is the unique continuous extension, namely the function taking value one on 2Z_2 and minus one on 1+2Z_2. Each coset is open and closed. The Mahler existence characterization is a named general theorem; convergence and identification for this particular example have been justified directly. In Z_3 the positive integers 3^m tend to zero, while every 3^m is odd. Any extension agreeing with g would have values −1 along that sequence but value g(0)=1 at its limit. These are distinct in Q_3, contradicting continuity. The coefficients also fail to tend to zero 3-adically, in agreement with the obstruction.

  8. Define h:Z_3→Q_3 by h(x)=j when x∈j+3Z_3, j∈{0,1,2}. Prove that h is continuous, nonconstant and has derivative zero at every point. Explain the failed real-variable inference.

    Show the answer and reasoning

    h is locally constant on each residue class, hence continuous with derivative zero everywhere, but h(0)=0 and h(1)=1. The real implication from zero derivative to constancy uses connected intervals and does not apply to this domain.

    The three residue classes partition Z_3, and each is both open and closed. On each class h is constant. Every point therefore has a neighborhood where the function is constant, immediately proving continuity. Since h(0) and h(1) differ, the function is nonconstant on the whole domain. Fix x∈Z_3. For every sufficiently small nonzero t∈Q_3 with x+t∈Z_3, we have t∈3Z_3. Then x+t has the same residue class as x, and [h(x+t)−h(x)]/t=0. The p-adic derivative limit is consequently zero. No appeal to numerical differencing is required. The example is even 1-Lipschitz: within one residue class the output difference vanishes; in different classes the input difference has absolute value one, while the output difference is a 3-adic unit and also has norm one. Thus the phenomenon does not come from a discontinuity or an uncontrolled jump at a real-style boundary. A proof over the real numbers that derivative zero forces constancy uses a mean-value theorem on a connected interval. Z_3 is totally disconnected, with the explicit open-and-closed partition above. The derivative controls behavior in sufficiently small neighborhoods but does not join those neighborhoods into a real interval. This example does not assert that every stronger analytic identity theorem fails; its hypotheses would have to be checked separately.

  9. Let L=Q_5(β), β²=2. Identify its ramification and residue field, give its arithmetic Frobenius automorphism on β, and compare this with the literal fifth-power map. Check the residue norm of β against its field norm.

    Show the answer and reasoning

    L is unramified of degree two with residue field F_25 and O_L=Z_5[β]. Frobenius sends β to −β. The exact fifth power is 4β, not −β, although they agree modulo five. N(β)=−2, whose residue is three; β^6≡3 mod 5 gives the same residue norm.

    Two is not a square modulo five, so T²−2 is irreducible over F_5. Its discriminant eight is a 5-adic unit. The unramified integral-extension criterion therefore gives degree two, e=1,f=2, full ring Z_5[β] and residue field F_25. These conclusions depend on the separable irreducible reduction, not merely on a count of complex roots. The nontrivial field automorphism sends β to −β. Modulo five we have β^5=β(β²)²=4β=−β, so this automorphism induces the p-power arithmetic Frobenius of F_25 over F_5. The unramified lifting theorem identifies that residue action with the indicated field automorphism. In L itself β^5=4β and 4β differs from −β by 5β, which is nonzero. Thus the lifted Frobenius is not obtained by applying the ordinary fifth power to every element of L. The equality holds after reduction only. The distinction is essential in a characteristic-zero field. The field norm of β is the product β·(−β)=−2, reducing to three modulo five. In F_25 the norm to F_5 is z^(1+5)=z^6. At β this gives (β²)^3=2³=8≡3, the same residue. This compatibility is exact, while the real absolute value of −2 is irrelevant to a local unit ideal norm.

  10. For a primitive ninth root of unity ζ in an algebraic closure of Q_3, prove that ζ−1 is a uniformizer of Q_3(ζ), compute its base-compatible valuation, and explain why log(ζ)=0 does not contradict the local exponential inverse theorem.

    Show the answer and reasoning

    Φ_9(1+T)=T^6+6T^5+15T^4+21T³+18T²+9T+3 is Eisenstein. The extension is totally ramified of degree six and v_3(ζ−1)=1/6. Its logarithm is zero, but ζ lies outside the domain v_3(u−1)>1/2 on which the exponential supplies the inverse.

    Since Φ_9(X)=X^6+X³+1, substitution X=1+T and binomial expansion gives the displayed degree-six polynomial. Every nonleading coefficient is divisible by three and the constant term is three, not divisible by nine. Eisenstein’s criterion proves irreducibility and gives a totally ramified degree-six extension with uniformizer π=ζ−1. With integer-valued w_K normalized by w_K(π)=1, we have w_K(3)=6. The compatible extension of v_3 therefore assigns v_3(π)=1/6. Equivalently |π|=3^(−1/6). The distinction between these two valuation normalizations is necessary even though both express that π is a uniformizer. The logarithm series converges whenever v_3(u−1)>0, so it converges at ζ. Its multiplicative identity on this domain yields 9log(ζ)=log(ζ^9)=0. The field has characteristic zero, hence log(ζ)=0. Thus torsion can lie in the kernel of log on the larger principal-unit domain. The exponential converges only for arguments with v_3(x)>1/(3−1)=1/2, and the logarithm/exponential inverse statement is restricted to the matching small unit neighborhood. Here v_3(ζ−1)=1/6, which is outside that neighborhood. Applying the restricted inverse identity to ζ would discard its hypothesis. There is no conflict between the torsion calculation and the valid local inverse theorem.

  11. Verify the rational product formula for r=88/49. Then show why a rational number that is a unit at every finite prime cannot at the same time approximate an arbitrary small positive real target.

    Show the answer and reasoning

    The nonzero valuations are v_2(r)=3,v_7(r)=−2,v_11(r)=1. Their norms multiply to 49/88, which cancels |r|_∞=88/49. A rational unit at every finite place is ±1, so arbitrary real approximation under all those simultaneous restrictions is impossible.

    Factor r=2³·7^(−2)·11. At two, seven and eleven the normalized absolute values are 1/8, 49 and 1/11, respectively. Every other finite absolute value is one. Their product is 49/88, while the real absolute value is 88/49. The total product over all places is therefore one. For a general nonzero rational number, unique factorization gives r=±∏p p^{v_p(r)} with only finitely many nonzero exponents. Multiplying the finite norms ∏p p^(−v_p(r)) cancels the real magnitude. This proves the rational product formula directly, rather than checking only the chosen numerical example. If r is a unit in every Z_p, every exponent v_p(r) is zero. Unique factorization forces r=1 or −1. Such a two-element set cannot approximate, for example, a positive real target in a sufficiently small neighborhood of zero. The contradiction comes from imposing infinitely many integrality-and-unit conditions, not from a failure of weak approximation. Weak approximation prescribes neighborhoods at a finite set of places and leaves the others free. The adelic and idelic restricted products organize the remaining places under their own definitions; they do not turn a finite-place density theorem into an arbitrary infinite list of constraints. The product formula is one explicit global relation that must be respected.

  12. Give a finite certificate that 441/169 is a square in Q, then distinguish a finite certificate for one given rational number from a fixed finite list of completions that tests every rational square. Use Dirichlet’s theorem only as an explicitly named input if needed.

    Show the answer and reasoning

    441/169=(21/13)², with positive sign and even exponents at 3,7 and 13. Each individual rational square decision has a finite factorization certificate. No fixed finite set of places detects all rational nonsquares.

    The numerator factors as 3²·7² and the denominator as 13², so every prime exponent is even and the real sign is positive. Taking half the exponents produces the rational root 21/13, with its negative as the other root. This is an exact finite certificate for the specified input. In general r∈Q× is a rational square exactly when it is positive and every exponent in its prime factorization is even. Necessity follows from squaring a rational factorization. For sufficiency, halve the finitely many nonzero exponents and form their product. Primes not dividing the reduced numerator or denominator already have exponent zero, so the certificate is finite for each input. Now fix a finite collection S of places. Choose a prime ℓ≡1 modulo 8 times the product of the odd primes in S, using Dirichlet’s theorem on the coprime progression. The number ℓ is positive, is one modulo eight, and is one modulo every selected odd prime. The local square criteria show it is a square in every chosen completion, including the real and 2-adic ones if present. Nevertheless v_ℓ(ℓ)=1, so ℓ is not a square in Q. The obstructing place changes with the input and can lie outside any prescribed finite S. Dirichlet’s theorem is a deep named existence input for this uniform counterexample argument; the earlier factorization certificate does not require it.

  13. Analyze q(X,Y,Z)=X²+Y²−3Z² over R and Q_3. Explain why the nonzero point (0,0,1) modulo three does not lift to a nonzero 3-adic isotropic vector, and state the implication of Hasse–Minkowski for rational solutions.

    Show the answer and reasoning

    The form has a nonzero real zero but no nonzero Q_3 zero, hence no nonzero rational zero. The mod-three point is singular and fails the necessary next-level conditions.

    Over R, the vector (√3,0,1) is a nonzero zero of q. Over Q_3, suppose a nonzero zero existed. Scale it by a power of three so that all three coordinates are integral and at least one is a unit. This primitive normalization is valid because q is homogeneous. Modulo three the equation becomes X²+Y²=0. The only square residues are zero and one, so both X and Y must be divisible by three. Substitute X=3A,Y=3B and divide the equation by three. It becomes Z²=3(A²+B²), forcing Z divisible by three as well. This contradicts primitive normalization. The residue vector (0,0,1) does solve q≡0 mod 3, but all partial derivatives vanish there modulo three. The simple multivariable Hensel criterion therefore does not apply. In fact any prospective lift with X and Y divisible by three would have q≡−3Z² mod 9, which is nonzero modulo nine for a unit Z. The obstruction is visible at the next level. Hasse–Minkowski is the named local–global theorem for nondegenerate rational quadratic forms. Here the diagonal determinant is −3≠0, so its hypotheses apply; the Q_3 obstruction already excludes a rational nonzero zero. A nondegenerate hypothesis should not be silently dropped when stating the theorem, even though a degenerate form with a nontrivial rational radical already has a nonzero rational zero for a different reason.

  14. Compute the Hilbert symbols (−1,−1)_v at all places of Q and check reciprocity. Interpret the result as a norm obstruction and explain why the odd-prime symbols are positive even at primes where −1 is a nonsquare.

    Show the answer and reasoning

    The symbols are −1 at 2 and ∞ and +1 at every odd prime. Their product is +1. The equation x²+y²=−1 has no real or 2-adic solution; nonsquareness of each unit separately at an odd prime does not determine their Hilbert symbol.

    At the real place the symbol is negative precisely when both inputs are negative. Thus (−1,−1)_∞=−1, in agreement with the impossibility of a sum of two real squares being −1. This alone prevents a rational norm solution from Q(i). At two both inputs are odd units and have valuation exponent zero. The parity exponent in the Hilbert formula is ((−1−1)/2)((−1−1)/2)=1, so the symbol is −1. The auxiliary terms containing valuation exponents vanish. This gives a second local obstruction rather than an additional global contradiction. At an odd prime both valuation exponents are zero, so the odd-prime Hilbert formula gives +1. The symbol asks whether the second argument is a norm from the quadratic algebra specified by the first. It is not the product of two independent Legendre-symbol square tests. In the nonsplit unramified case the residue norm is surjective on residue units, consistent with this answer. Only the factors at two and infinity are negative, so the product over all places is +1, as Hilbert reciprocity requires. Reciprocity constrains the collection of local signs; it does not erase a negative sign at a particular place. The norm equation is therefore locally obstructed at two distinct completions, and globally obstructed as well.

  15. For the classical Selmer cubic 3X³+4Y³+5Z³=0, establish local solvability at 2,3,5 and the remaining places using the stated smooth genus-one finite-field bound. Taking its classical rational nonexistence theorem as a named external input, explain exactly why these local certificates do not amount to a global proof.

    Show the answer and reasoning

    Simple Hensel works at 2 and 5; strong Hensel works at 3 using Y=7, X=0, Z=1. Smooth reduction and Hasse–Weil give points at the other finite primes, and a real point is immediate. Global nonexistence is a separate descent theorem, not a consequence of these local checks.

    At two set X=1,Y=0 and vary Z in 3+5Z³=0. Starting Z=1 gives residual eight and derivative fifteen, a unit. At five set X=1,Z=0 and vary Y in 3+4Y³=0. Starting Y=2 gives residual 35 and derivative 48, again a unit. The respective simple Hensel hypotheses produce actual local points. At three set X=0,Z=1 and take F(Y)=4Y³+5 at Y=7. Its residual is 1377=3^4·17 and its derivative is 588, of valuation one. Thus v_3(F(7))=4>2v_3(F′(7))=2, and strong Hensel gives a 3-adic root. Ordinary simple-root reduction would not handle this chosen singular starting residue. For p not dividing 30 the projective cubic is smooth of genus one. The Hasse–Weil bound, used here as a named theorem, gives at least p+1−2√p=(√p−1)²>0 points over F_p. At a smooth nonzero projective point one can choose an affine chart and a nonzero partial derivative, then lift to Q_p. Over R take X=0,Z=1 and the real cube root Y³=−5/4. The statement that this same curve has no nonzero rational projective point is the classical Selmer descent result. Conrad’s descent supplies this global theorem; it has not been derived from the local calculations above. With that external theorem in hand the curve disproves a universal local–global principle for cubics. It does not contradict Hasse–Minkowski, which concerns nondegenerate quadratic forms, not arbitrary genus-one curves.

  16. Let a have real component 1 and p-adic component p at every finite prime. Is it an adele or an idele? Compare it with b having real component 1/2,2-adic component 1/2 and all other finite components 1. Compute the idelic module of b and decide whether it is a principal rational idele.

    Show the answer and reasoning

    a is an adele with every component nonzero but is not an idele. b is an idele of module one, yet it is not a diagonal rational idele. Norm one alone does not mean principal.

    An adele is integral at all but finitely many finite places. Each component a_p=p lies in Z_p, so a is an adele, and every component including the real one is nonzero. An idele instead requires p-adic units at all but finitely many primes. Here every a_p is a nonunit, so that stronger condition fails. The componentwise inverse would have p-adic entries 1/p, nonintegral at every prime, and therefore would not be an adele. Thus a is not a unit of the adelic ring. Merely requiring every component to be nonzero is insufficient to characterize the ideles. Their restricted-product topology must also be stated separately rather than inferred without checking from an ambient subspace topology. The element b has a nonunit component only at two and has nonzero real component, so it is an idele. Its module is |1/2|_∞·|1/2|_2=(1/2)·2=1; the other factors are one. The product is finite because only finitely many local unit norms differ from one. If b were the diagonal image of a rational number r, its real component would force r=1/2. But at every odd prime its component is one, which differs from 1/2 in Q_p. Hence it is not principal. The rational product formula says that every principal idele has module one; it does not assert the converse.

  17. Consider the adele with real component √2,2-adic component 1/8,3-adic component 2/9 and all other finite components zero. Subtract one rational number so that all finite components become integral and the real component lies in [0,1]. Relate the construction to compactness of A_Q/Q.

    Show the answer and reasoning

    Subtract r=97/72. Its principal parts cancel the two nonintegral components, and √2−97/72 lies between zero and one. This is an explicit instance of the compact fundamental-set argument.

    First take r_0=1/8+2/9=25/72. At two, the residual is 1/8−r_0=−2/9, which is 2-adically integral. At three it is 2/9−r_0=−1/8, which is 3-adically integral. At any other finite prime the denominator 72 is a unit, so subtracting r_0 from the zero component also gives an integral element. The real residual √2−25/72 lies between one and two. For the lower bound, 97²=9409<2·72²=10368, so 97/72<√2. The upper bound follows, for example, from √2<2<169/72. Subtracting the additional integer one puts the real component in (0,1). Thus use r=r_0+1=97/72. An integer subtraction preserves integrality at every finite prime, so all the finite conclusions remain valid. The original adele had only two nonintegral components, making the principal-part sum finite. In the general case the restricted-product definition again leaves only finitely many nonintegral places, so the same finite subtraction method is available. Every adelic class modulo diagonal Q therefore has a representative in [0,1]×∏pZ_p, a compact set. The projection to A_Q/Q is continuous and surjective from that set, proving compactness of the quotient. The endpoint convention does not claim uniqueness of representatives. This compact quotient coexists with the discreteness of diagonal Q and with finite-place weak approximation.

  18. For independent 3-adic inputs a∈9+3^6Z_3 and b∈−9+3^5Z_3, propagate precision through a+b,ab,a/b and a^(−1). Explain the cancellation in the sum and why treating its central zero as an exact value would be wrong.

    Show the answer and reasoning

    The guaranteed balls are 3^5Z_3,−81+3^7Z_3,−1+3³Z_3 and 1/9+3²Z_3. The sum valuation is only bounded below by five; it need not be infinite or exactly five, and the sum cannot be uniformly inverted.

    Both centers have valuation two, below the precision exponents six and five. Thus both actual inputs have exact valuation two, with relative precisions four and three. Their centers cancel under addition, but the independent errors need not cancel. The sum lies in 3^5Z_3, containing zero and elements of every valuation at least five. For multiplication, write a=9+δa and b=−9+δb. The center is −81. The cross errors have valuations at least 2+5=7 and 2+6=8; the double error has valuation at least eleven. Thus ab∈−81+3^7Z_3. Its center valuation four is strictly below seven, so the product valuation is known exactly. The inverse formula gives a^(−1)∈1/9+3^(6−4)Z_3. For b it gives b^(−1)∈−1/9+3^(5−4)Z_3. Multiplication by the a ball yields a/b∈−1+3³Z_3. Equivalently the quotient has valuation zero and the poorer input relative precision, namely three. The sum’s center zero is a representative of an uncertainty ball, not a proof that the two unknown inputs are exact negatives. Since that ball contains zero, no common inverse can be inferred. A numerical interface should retain the precision bound and the unknown valuation rather than printing an exact zero or assigning the valuation five without evidence.

What to carry forward

  • A large p-adic valuation means a small p-adic absolute value; the completion preserves this normalized relation.
  • A compatible residue system defines one p-adic integer, while a finite residue fixes only a ball of possible values.
  • Hensel lifting needs its full derivative and precision hypotheses; singular residue roots can branch or disappear.
  • A p-adic series converges when its terms tend to zero, but logarithm–exponential inverse identities require their stated smaller domains.
  • Local norm, trace, Haar and precision formulas depend on the chosen valuations and on both ramification and residue degree.
  • A local obstruction is decisive; local solubility becomes a global theorem only for an explicitly justified class of equations.
  • The rational product formula balances all places, and restricted products impose integrality or unit conditions at almost every prime.
  • Exact finite calculations test identities and bounds; they do not prove an unchecked tail, a global descent or a general local–global principle.

References

Sources for the concepts and teaching approaches in this article.

  1. Andrew V. Sutherland6 sources
    1. The p-adic integers as an inverse limitAndrew V. SutherlandOfficial university lecture notes · PDFmath.mit.eduRead source
    2. The field of p-adic numbers and absolute valuesAndrew V. SutherlandOfficial university lecture notes · PDFmath.mit.eduRead source
    3. The Hilbert symbol and reciprocityAndrew V. SutherlandOfficial university lecture notes · PDFmath.mit.eduRead source
    4. Approximation and the Hasse–Minkowski theoremAndrew V. SutherlandOfficial university lecture notes · PDFmath.mit.eduRead source
    5. Global fields and the product formulaAndrew V. SutherlandOfficial university lecture notes · PDFmath.mit.eduRead source
    6. The different and the discriminantAndrew V. SutherlandOfficial university lecture notes · PDFmath.mit.eduRead source
  2. Keith Conrad4 sources
    1. Hensel’s lemmaKeith ConradAuthor expository notes · PDFkconrad.math.uconn.eduRead source
    2. Infinite series in p-adic fieldsKeith ConradAuthor expository notes · PDFkconrad.math.uconn.eduRead source
    3. Mahler expansionsKeith ConradAuthor expository notes · PDFkconrad.math.uconn.eduRead source
    4. Selmer’s exampleKeith ConradAuthor expository notes · PDFkconrad.math.uconn.eduRead source
  3. J. S. Milne2 sources
    1. Class Field TheoryJ. S. MilneAuthor graduate course notes · PDFjmilne.orgRead source
    2. Algebraic Number TheoryJ. S. MilneAuthor graduate course notes · PDFjmilne.orgRead source
  4. The Hasse–Weil boundMIT MathematicsOfficial university lecture notes · PDFmath.mit.eduRead source