Write . The second modular congruence becomes . The Bezout identity above says that is the inverse of modulo , so . Therefore
The checks are . The Chinese remainder theorem explains uniqueness modulo , since the moduli are coprime integers.
The idele group is the restricted product
with componentwise multiplication and the restricted product topology on the idele group relative to the unit groups at finite places. We need weak approximation for number fields only at the finitely many specified coordinates, not density in the full restricted-product topology.
Here is a proof including the Archimedean places. At each finite place in , choose sufficiently close to , using the definition of the completion. Choose a nonzero clearing their denominators. Pick powers so that whenever . Put . For each positive rational integer coprime to the rational primes below these places, the Chinese remainder theorem gives with . All of satisfy the same congruences.
Under the Minkowski embedding of a number field, is a full lattice in . A fundamental parallelepiped is bounded, so every real vector is within a fixed distance of this lattice, uniformly over its translates. Choose a target vector whose coordinates at the specified Archimedean places are those of , assigning arbitrary values at the other Archimedean places. There is within that fixed distance of the target. Dividing by makes all specified Archimedean errors tend to zero as through the allowed integers. At finite places is a unit, so the earlier congruence bounds persist. By taking the initial approximations sufficiently close, the ultrametric inequality gives the requested errors there too. Thus some satisfies every required inequality. If there are no finite places, set and omit the congruences.
Choose a separation into two nonempty clopen sets. Both are closed in the Zariski topology, so write and for ideals . Their disjointness gives . A proper ideal lies in a maximal ideal, so this forces .
Their union is all of the spectrum of a commutative ring, and . Thus every prime ideal contains , so
The last equality uses that is a reduced ring. For comaximal ideals, : if and , then . Therefore the Chinese remainder theorem gives
The isomorphism sends to its two residue classes. Its kernel is ; for surjectivity, and are obtained from , where , and . The two factors are nonzero because are nonempty, so are proper.
This is a disconnected reduced spectrum product decomposition. The elements also satisfy , , , exhibiting the ring product decomposition by an idempotent. No Noetherian hypothesis is required.
Use on the target and on the source, so the map of coordinate rings sends to . A closed point of the real affine line corresponds to a maximal ideal generated either by , , or by a monic irreducible quadratic . The scheme-theoretic fibre over that point has coordinate algebra
Here is the residue field, and in the real-point case. The fibre is a scheme, so its nilpotents must be retained.
For , put . The factors , , are pairwise coprime, with the last one irreducible over . The Chinese remainder theorem identifies with , giving three irreducible components.
For , put . The exact factorization is
Each quadratic has discriminant , and they are distinct and coprime. Thus , giving two irreducible components.
For , . It has one prime ideal, generated by the class of , so one irreducible component. It is not the reduced point : its class of is a nonzero nilpotent element with nilpotency index four.
Finally write the irreducible quadratic as , with . Over , has four roots above and four above . They are all simple, because , and the two sets are disjoint. None is real. Conjugation pairs them into four distinct irreducible real quadratics. Hence and this fibre has four irreducible components.
Target closed-point typeReal coordinate algebra of the fibreIrreducible components
,
,
Irreducible quadratic
All fibres in each row are isomorphic as affine schemes over . The rows are distinct: their numbers of irreducible components already distinguish them, and the zero fibre is additionally nonreduced. Therefore
These are ordinary scheme components, not geometric components counted after complexifying the base. Counting only real roots would miss both the complex-residue factors and the nonreal closed points.
Factor . These factors generate pairwise comaximal ideals, so the Chinese remainder theorem gives
The three copies of have different module structures: acts by , respectively. Thus acts on as , making a module homomorphism.
The inverse, obtained by Lagrange interpolation, is
Evaluating at recovers . Conversely, a polynomial whose three evaluations vanish is divisible by , so these maps are mutual inverses on the quotient module. Three copies with identical trivial -action would not give the required isomorphism.
A ring homomorphism is understood to preserve . Start with . Its map on spectra of rings is
Contraction gives a prime ideal, and . Thus is continuous for the Zariski topology. On each principal open subscheme, the structure sheaf map is the ring homomorphism
These maps commute with restrictions, so they define a sheaf morphism . At , with , its stalk map is . The inverse image of the maximal ideal is , so this is a local homomorphism. We have constructed a morphism of locally ringed spaces.
Conversely, let be a morphism of locally ringed spaces. Its map on global sections gives , using and . Fix and put . Compatibility with the stalk maps and the local homomorphism property give
Consequently , so the underlying map is forced. On , the sheaf morphism is forced as well: it extends and sends to a unit, hence agrees with the displayed map by the universal property of localization. The principal open subschemes form a basis, so the entire sheaf morphism is determined. Taking global sections of the construction recovers . The two constructions are inverse, proving the affine-target adjunction for schemes in the affine-source case:
To describe the real affine plane scheme points, write . It is a unique factorization domain of Krull dimension two. Its points are exactly the following prime ideals:
For completeness, any height-one prime ideal contains an irreducible polynomial ; since is already a height-one prime ideal, it must equal . Every remaining nonzero prime ideal has height two and is maximal, by Krull dimension. For a nonreal pair, evaluation generates all of over , so its kernel is maximal. Conversely, each residue field isomorphic to has exactly the two conjugate real-algebra embeddings into , proving the assertion about repetitions.
This describes the topology too: consists of the prime ideals containing , and the closure of a point is . In particular, the closure of is the whole affine plane, while the closure of contains precisely the closed points on , together with itself. The spectrum is much larger than the set . For example, is a height-one point although its curve has no real points. Its structure sheaf has and stalk at .
The induced morphism of schemes
is contraction of prime ideals, with the structure sheaf maps given above. On closed points, it sends to the kernel of real-polynomial evaluation at . A real closed point has one complex point above it; a nonreal closed point has two, interchanged by complex conjugation. The source generic point maps to the target generic point. The source height-one points are generated by irreducible complex polynomials . Their contractions are height-one prime ideals , and is a factor of over . An irreducible real either stays irreducible over or splits into two distinct conjugate irreducible factors. Indeed, complex conjugation acts transitively on its distinct factors, or a proper orbit product would give a real factor of ; every orbit has size at most two. Repeated factors are excluded by separability in characteristic zero. Thus one or two height-one points lie above .
The complexification fibres of a real scheme give a uniform description of all scheme-theoretic fibres, including the nonclosed points, is especially useful. The extension of coordinate rings is
a free -module with basis . At , with residue field , the scheme-theoretic fibre is
If is a square in , the Chinese remainder theorem gives , hence two points. Otherwise it is a quadratic field extension, hence one point. The polynomial has no repeated root in characteristic zero, so all these scheme-theoretic fibres are reduced schemes. This also proves surjectivity. Conjugation acts on each two-point fibre by exchanging its points and fixes each one-point fibre. As a finite morphism, is closed, so its underlying topological space is the quotient by complex conjugation. The fibre formula explains why a real closed point gives one complex point, whereas the generic point gives a single point with residue field .
An irreducible scheme is a nonempty scheme whose underlying topological space cannot be expressed as the union of two proper closed subsets. Equivalently, any two nonempty open subsets meet. A reduced scheme is one whose local rings have no nonzero nilpotent elements. Equivalently, every affine open subscheme has a reduced ring of regular functions. We may define an integral scheme as a nonempty scheme for which the coordinate ring of every nonempty affine open subscheme is an integral domain. We shall show that this is equivalent to being reduced and irreducible. The nonempty convention matters: the empty scheme is reduced but is not irreducible or integral.
For a commutative ring , the spectrum of a ring is reduced exactly when is a reduced ring. One direction follows since localization preserves reducedness. Conversely, if is a nonzero nilpotent element, choose a prime ideal containing its proper annihilator. Then cannot vanish at that localization, contradicting reducedness of its local ring.
The spectrum of a ring is irreducible exactly when its nilradical is a prime ideal. To see the essential implication directly, if , then is empty. Irreducibility forces or to be empty, hence or . Also is proper because the spectrum is nonempty. Conversely, if is a prime ideal, the point has closure , so the spectrum is irreducible. Combining the two criteria gives
Now suppose is reduced and irreducible. Every nonempty affine open subscheme is also reduced and irreducible: irreducibility passes to nonempty open subsets, because their nonempty open subsets are nonempty opens of . The affine criterion makes each coordinate ring an integral domain, so is integral. Conversely, suppose all its nonempty affine coordinate rings are integral domains. Their localizations show that is reduced. If were reducible, there would be disjoint nonempty open subsets; choose nonempty affine open subschemes and inside them. Their disjoint union is itself an affine open subscheme . Since are nonzero, contradicts the domain condition. Therefore
The generic point of an integral scheme is the unique point with . For existence, take a nonempty affine open subscheme . Its point has closure containing , which is dense in , so its closure in is all of . For uniqueness, both proposed generic points lie in every nonempty open subset, hence in , where the only dense point is . The function field is
Here the stalk description shows that the field of fractions is independent of the choice of nonempty affine open subscheme.
Every nonempty open subscheme contains , so taking a germ there defines . If a section has zero germ, restrict it to any nonempty affine open subscheme . Its image in is zero. Since this coordinate ring is an integral domain, the section is zero on . Such affines cover , and the sheaf gluing axiom makes the section zero on . Thus the generic-point embedding of regular functions is
For a nonreduced reducible fibre between integral schemes, take both source and target to be the affine line over , and use the ring homomorphism
Both coordinate rings are integral domains, so both schemes are integral. At the target closed point , the scheme-theoretic fibre has ring
by the Chinese remainder theorem. Its underlying space has two distinct closed points, so it is reducible. The class of is nonzero but has square zero, so it is not reduced. Even a morphism between integral schemes can have a fibre consisting of two nonreduced double points.
Interpret the language of ordered rings in the standard natural numbers, with nonlogical symbols . We give a single first-order formula defining , rather than a separate expression with multiplication signs. The key is Gödel beta-function sequence coding. The remainder relation
uses only the allowed symbols; all variables range over . With , it assigns a unique remainder at each position .
The factorial graph formula via remainder coding asserts that one code contains the initial value , the final value , and every recurrence step. Here is the fully expanded formula, with no remainder-function or factorial symbol:
The first equation represents remainder at position zero: its omitted explicit remainder bound follows from . The second line represents remainder at position . The universally checked equations represent the adjacent remainders and impose multiplication by . Uniqueness of remainders therefore forces them, successively, to be , proving by mathematical induction. When , the recurrence clause is empty and the two endpoint clauses force .
Conversely, choose a positive larger than every value in the finite sequence and divisible by each positive integer at most . The moduli , , are pairwise coprime. Indeed, for , a common divisor of divides and is coprime to , so divides . Since divides , the common divisor must be one. The Chinese remainder theorem gives a nonnegative with for every . The chosen values are smaller than their moduli, so they are the actual remainders; the appropriate quotient witnesses then make true. Thus
The formula has fixed length, independent of . For example, writing its displayed syntax in plain text with one-character variables, ordinary parentheses, and explicit logical connectives takes fewer than characters and fewer than logical-symbol tokens. Its length is therefore as a uniform definition of the graph. Numeral names for particular input values, if substituted for the variables, add their own encoding lengths. Over the ordered ring , restrict every quantifier to nonnegative integers and require ; this gives the same definition on its nonnegative part. It is the chosen arithmetic structure, not ring axioms alone, that makes the formula define factorial.