In abstract algebra, a Dedekind domain or Dedekind ring, named after Richard Dedekind, is an integral domain in which every nonzero proper ideal factors into a product of prime ideals. It can be shown that such a factorization is then necessarily unique up to the order of the factors. There are at least three other characterizations of Dedekind domains which are sometimes taken as the definition: see below.
Note that a field is a commutative ring in which there are no nontrivial proper ideals, so that any field is a Dedekind domain, however in a rather vacuous way. Some authors add the requirement that a Dedekind domain not be a field. Many more authors state theorems for Dedekind domains with the implicit proviso that they may require trivial modifications for the case of fields.
An immediate consequence of the definition is that every principal ideal domain (PID) is a Dedekind domain. In fact a Dedekind domain is a unique factorization domain (UFD) if and only if it is a PID.
The prehistory of Dedekind domains 
In the 19th century it became a common technique to gain insight into integral solutions of polynomial equations (i.e., Diophantine equations) using rings of algebraic numbers of higher degree. For instance, fix a positive integer . In the attempt to determine which integers are represented by the quadratic form , it is natural to factor the quadratic form into , the factorization taking place in the ring of integers of the quadratic field . Similarly, for a positive integer the polynomial (which is relevant for solving the Fermat equation ) can be factored over the ring , where is a primitive root of unity.
For a few small values of and these rings of algebraic integers are PIDs, and this can be seen as an explanation of the classical successes of Fermat () and Euler (). By this time a procedure for determining whether the ring of all algebraic integers of a given quadratic field is a PID was well known to the quadratic form theorists. Especially, Gauss had looked at the case of imaginary quadratic fields: he found exactly nine values of for which the ring of integers is a PID and conjectured that there are no further values. (Gauss' conjecture was proven more than one hundred years later by Kurt Heegner, Alan Baker and Harold Stark.) However, this was understood (only) in the language of equivalence classes of quadratic forms, so that in particular the analogy between quadratic forms and the Fermat equation seems not to have been perceived. In 1847 Gabriel Lamé announced a solution of Fermat's Last Theorem for all -- i.e., that the Fermat equation has no solutions in nonzero integers, but it turned out that his solution hinged on the assumption that the cyclotomic ring is a UFD. Ernst Kummer had shown three years before that this was not the case already for (the full, finite list of values for which is a UFD is now known). At the same time, Kummer developed powerful new methods to prove Fermat's Last Theorem at least for a large class of prime exponents using what we now recognize as the fact that the ring is a Dedekind domain. In fact Kummer worked not with ideals but with "ideal numbers", and the modern definition of an ideal was given by Dedekind.
By the 20th century, algebraists and number theorists had come to realize that the condition of being a PID is rather delicate, whereas the condition of being a Dedekind domain is quite robust. For instance the ring of ordinary integers is a PID, but as seen above the ring of algebraic integers in a number field need not be a PID. In fact, although Gauss also conjectured that there are infinitely many primes such that the ring of integers of is a PID, to this day we do not even know whether there are infinitely many number fields (of arbitrary degree) such that is a PID! On the other hand, the ring of integers in a number field is always a Dedekind domain.
Another illustration of the delicate/robust dichotomy is the fact that being a Dedekind domain is, among Noetherian domains, a local property -- a Noetherian domain is Dedekind iff for every maximal ideal of the localization is a Dedekind ring. But a local domain is a Dedekind ring iff it is a PID iff it is a discrete valuation ring (DVR), so the same local characterization cannot hold for PIDs: rather, one may say that the concept of a Dedekind ring is the globalization of that of a DVR.
Alternative definitions 
(DD1) Every nonzero proper ideal factors into primes.
(DD2) is Noetherian, and the localization at each maximal ideal is a Discrete Valuation Ring.
(DD3) Every fractional ideal of is invertible.
Thus a Dedekind domain is a domain which satisfies any one, and hence all four, of (DD1) through (DD4). Which of these conditions one takes as the definition is therefore merely a matter of taste. In practice, it is often easiest to verify (DD4).
A Krull domain is a higher dimensional analog of a Dedekind domain: a Dedekind domain that is not a field is a Krull domain of dimension 1. This notion can be used to study the various characterizations of a Dedekind domain. In fact, this is the definition of a Dedekind domain used in Bourbaki's "Commutative algebra".
A Dedekind domain can also be characterized in terms of homological algebra: an integral domain is a Dedekind domain if and only if it is a hereditary ring; i.e., every submodule of a projective module over it is projective. Similarly, an integral domain is a Dedekind domain if and only if every divisible module over it is injective.
Some examples of Dedekind domains 
The ring of algebraic integers in a number field K is Noetherian, integrally closed, and of dimension one (to see the last property, observe that for any nonzero ideal I of R, R/I is finite and recall that a finite integral domain is a field), so by (DD4) R is a Dedekind domain. As above, this includes all the examples considered by Kummer and Dedekind and was the motivating case for the general definition, and these remain among the most studied examples.
The other class of Dedekind rings which is arguably of equal importance comes from geometry: let C be a nonsingular geometrically integral affine algebraic curve over a field k. Then the coordinate ring k[C] of regular functions on C is a Dedekind domain. Indeed, this is essentially an algebraic translation of these geometric terms: the coordinate ring of any affine variety is, by definition, a finitely generated k-algebra, so Noetherian; moreover curve means dimension one and nonsingular implies (and, in dimension one, is equivalent to) normal, which by definition means integrally closed.
Both of these constructions can be viewed as special cases of the following basic result:
Applying this theorem when R is itself a PID gives us a way of building Dedekind domains out of PIDs. Taking R = Z this construction tells us precisely that rings of integers of number fields are Dedekind domains. Taking R = k[t] gives us the above case of nonsingular affine curves.
Zariski and Samuel were sufficiently taken by this construction to pose as a question whether every Dedekind domain arises in such a fashion, i.e., by starting with a PID and taking the integral closure in a finite degree field extension. A surprisingly simple negative answer was given by L. Claborn.
If the situation is as above but the extension L of K is algebraic of infinite degree, then it is still possible for the integral closure S of R in L to be a Dedekind domain, but it is not guaranteed. For example, take again R = Z, K = Q and now take L to be the field of all algebraic numbers. The integral closure is nothing else than the ring of all algebraic integers. Since the square root of an algebraic integer is again an algebraic integer, it is not possible to factor any nonzero nonunit algebraic integer into a finite product of irreducible elements, which implies that is not Noetherian! In general, the integral closure of a Dedekind domain in an infinite algebraic extension is a Prüfer domain; it turns out that the ring of algebraic integers is slightly more special than this: it is a Bézout domain.
Fractional ideals and the class group 
(We remark that this is not exactly the same as the definition given on the page describing fractional ideals: the definition given there is that a fractional ideal is a nonzero finitely generated R-submodule of K. The two definitions are equivalent if and only if R is Noetherian. Otherwise our definition is strictly weaker, being permissive enough to make all nonzero R-submodules of R — i.e., integral ideals — fractional ideals.)
Given two fractional ideals I and J, one defines their product IJ as the set of all finite sums : the product IJ is again a fractional ideal. The set Frac(R) of all fractional ideals endowed with the above product is a commutative semigroup and in fact a monoid: the identity element is the fractional ideal R.
For any fractional ideal I, one may define the fractional ideal
One then tautologically has . In fact one has equality if and only if I, as an element of the monoid of Frac(R), is invertible. In other words, if I has any inverse, then the inverse must be .
A principal fractional ideal is one of the form for some nonzero x in K. Note that each principal fractional ideal is invertible, the inverse of being simply . We denote the subgroup of principal fractional ideals by Prin(R).
A domain R is a PID if and only if every fractional ideal is principal. In this case, we have Frac(R) = Prin(R) = , since two principal fractional ideals and are equal iff is a unit in R.
For a general domain R, it is meaningful to take the quotient of the monoid Frac(R) of all fractional ideals by the submonoid Prin(R) of principal fractional ideals. However this quotient itself is generally only a monoid. In fact it is easy to see that the class of a fractional ideal I in Frac(R)/Prin(R) is invertible if and only if I itself is invertible.
Now we can appreciate (DD3): in a Dedekind domain—and only in a Dedekind domain! -- is every fractional ideal invertible. Thus these are precisely the class of domains for which Frac(R)/Prin(R) forms a group, the ideal class group Cl(R) of R. This group is trivial if and only if R is a PID, so can be viewed as quantifying the obstruction to a general Dedekind domain being a PID.
We note that for an arbitrary domain one may define the Picard group Pic(R) as the group of invertible fractional ideals Inv(R) modulo the subgroup of principal fractional ideals. For a Dedekind domain this is of course the same as the ideal class group. However, on a more general class of domains—including Noetherian domains and Krull domains -- the ideal class group is constructed in a different way, and there is a canonical homomorphism
- Pic(R) Cl(R)
which is however generally neither injective nor surjective. This is an affine analogue of the distinction between Cartier divisors and Weil divisors on a singular algebraic variety.
A remarkable theorem of L. Claborn (Claborn 1966) asserts that for any abelian group G whatsoever, there exists a Dedekind domain R whose ideal class group is isomorphic to G. Later, C.R. Leedham-Green showed that such an R may constructed as the integral closure of a PID in a quadratic field extension (Leedham-Green 1972). In 1976, M. Rosen showed how to realize any countable abelian group as the class group of a Dedekind domain which is a subring of the rational function field of an elliptic curve, and conjectured that such an "elliptic" construction should be possible for a general abelian group (Rosen 1976). Rosen's conjecture was proven in 2008 by P.L. Clark (Clark 2009).
In contrast, one of the basic theorems in algebraic number theory asserts that the class group of the ring of integers of a number field is finite; its cardinality is called the class number and it is an important and rather mysterious invariant, notwithstanding the hard work of many leading mathematicians from Gauss to the present day.
Finitely generated modules over a Dedekind domain 
In view of the well known and exceedingly useful structure theorem for finitely generated modules over a principal ideal domain (PID), it is natural to ask for a corresponding theory for finitely generated modules over a Dedekind domain.
Let us briefly recall the structure theory in the case of a finitely generated module over a PID . We define the torsion submodule to be the set of elements of such that for some nonzero in . Then:
(M1) can be decomposed into a direct sum of cyclic torsion modules, each of the form for some nonzero ideal of . By the Chinese Remainder Theorem, each can further be decomposed into a direct sum of submodules of the form , where is a power of a prime ideal. This decomposition need not be unique, but any two decompositions
differ only in the order of the factors.
(M2) The torsion submodule is a direct summand: i.e., there exists a complementary submodule of such that .
(M3PID) isomorphic to for a uniquely determined non-negative integer . In particular, is a finitely generated free module.
Now let be a finitely generated module over an arbitrary Dedekind domain . Then (M1) and (M2) hold verbatim. However, it follows from (M3PID) that a finitely generated torsionfree module over a PID is free. In particular, it asserts that all fractional ideals are principal, a statement which is false whenever is not a PID. In other words, the nontriviality of the class group Cl(R) causes (M3PID) to fail. Remarkably, the additional structure in torsionfree finitely generated modules over an arbitrary Dedekind domain is precisely controlled by the class group, as we now explain. Over an arbitrary Dedekind domain one has
(M3DD) is isomorphic to a direct sum of rank one projective modules: . Moreover, for any rank one projective modules , one has
if and only if
Rank one projective modules can be identified with fractional ideals, and the last condition can be rephrased as
Thus a finitely generated torsionfree module of rank can be expressed as , where is a rank one projective module. The Steinitz class for P over R is the class of in Cl(R): it is uniquely determined. A consequence of this is:
Theorem: Let R be a Dedekind domain. Then , where K0(R) is the Grothendieck group of the commutative monoid of finitely generated projective R modules.
These results were established by Ernst Steinitz in 1912.
Locally Dedekind rings 
There exist integral domains which are locally but not globally Dedekind: the localization of at each maximal ideal is a Dedekind ring (equivalently, a DVR) but itself is not Dedekind. As mentioned above, such a ring cannot be Noetherian. It seems that the first examples of such rings were constructed by N. Nakano in 1953. In the literature such rings are sometimes called "proper almost Dedekind rings."
- Bourbaki, Nicolas (1972), Commutative Algebra, Addison-Wesley
- Claborn, Luther (1965), "Dedekind domains and rings of quotients", Pacific J. Math. 15: 59–64
- Claborn, Luther (1966), "Every abelian group is a class group", Pacific J. Math. 18: 219–222
- Clark, Pete L. (2009), "Elliptic Dedekind domains revisited", L'Enseignement Mathematique 55: 213–225
- Cohn, Paul M. (2003). Further algebra and applications. Springer. ISBN 1-85233-667-6.
- Leedham-Green, C.R. (1972), "The class group of Dedekind domains", Trans. Amer. Math. Soc. 163: 493–500, doi:10.2307/1995734, JSTOR 1995734
- Nakano, Noburu (1953), "Idealtheorie in einem speziellen unendlichen algebraischen Zahlkörper", J. Sci. Hiroshima Univ. Ser. A. 16: 425–439
- Rosen, Michael (1976), "Elliptic curves and Dedekind domains", Proc. Amer. Math. Soc. 57 (2): 197–201, doi:10.2307/2041187, JSTOR 2041187
- Steinitz, E. (1912), "Rechteckige Systeme und Moduln in algebraischen Zahlkörpern", Math. Ann. 71 (3): 328–354, doi:10.1007/BF01456849
- Fröhlich, A.; Taylor, M.J. (1991), "II. Dedekind domains", Algebraic number theory, Cambridge studies in advanced mathematics 27, Cambridge University Press, pp. 35–101, ISBN 0-521-36664-X, Zbl 0744.11001
- Zariski, Oscar; Samuel, Pierre (1958), Commutative Algebra, Volume I, D. Van Nostrand Company