1 Introduction

Let R be an integral domain with field of fractions Frac(R) (also denoted qf(R)). The set \(O(R)=[R,Frac(R)]\), i.e. the set of subrings T of Frac(R) such that \(R\subseteq T\subseteq Frac(R)\) is usually called the set of overrings of R. If O(R) is finite then R is called an FO domain (Gilmer 2003). Ring extensions with only finitely many intermediate rings have been named FIP extensions in Dobbs et al. (2005). Several finiteness conditions on the set of intermediate rings of a ring extension have been investigated in Jaballah (2010). If R is an FO integrally closed domain (in its field of fractions Frac(R)) and the set of prime ideals of R is explicitly known and ordered by the usual set inclusion, then Corollary 2.4 and Algorithm 2.5 of Jaballah (2005) explain how to compute the number of overrings of R . In the case where no enough information about the set of prime ideals is available, the present work shows that we still have sharp approximations on the number of overrings depending on the number of maximal ideals and the Krull dimension of R. These results will also induce sharp approximations of the number of maximal ideals and the dimension. Similar results are also obtained for the length of R. The search for such results had been already started in Ayache and Jaballah (1997), where several approximations for the number and length of chains of intermediate rings in normal pairs, and number and length of chains of overrings of Prüfer domains have been established. The exact number of overrings for PID and FO integrally closed domains was established in Jaballah (1997) and Jaballah (2005), which has been generalized for normal pairs in Ben Nasr and Jaballah (2008) and Ayache and Jarboui (2008). An algorithm listing overrings was obtained in Jaballah (2011). For not integrally closed rings, several results have been recently obtained in Ben Nasr (2016), Ben Nasr and Jaballah (2020), and Jaballah and Jarboui (2020). More approximations and exact results for the number of intermediate rings can be found in Jaballah (2012), Jaballah (2013), and Jaballah (2016).

Several results on the links between the cardinality of O(R) and the Krull dimension of the integral domain R have been obtained by several authors. Several characterizations have been recently obtained by Mimouni for domains R with \(|O(R)|=n+\dim R,\) when \(n\le 8\) for integrally closed domains, see (Mimouni 2009). We establish in this work the corresponding result for general n. We also establish an upper bound for the number of maximal ideals.

We obtain in Sect. 1 sharp upper bounds for the number of overrings of an FO integrally closed domain in Theorem 1. This will allow to obtain a sharp lower bound for the number of overrings of not necessarily integrally closed domains, Corollary 4. The particular case where the number of overrings is prime will induce the existence of a unique maximal subring of Frac(R), Proposition 5 and Example 6.

In Sect. 2, we obtain several approximations for the number of maximal ideals in Theorem 8, Example 9 and Theorem 10; and the Krull dimension in Corollary 11.

Several inequalities relating the length, the Krull dimension and the number of maximal ideals are obtained in the last section, Proposition 12 and Corollary 13.

All rings in this work are assumed to be commutative with identity. The set of proper prime ideals of the ring R is usually denoted by Spec(R),  while Max(R) denotes the set of its maximal ideals. The Krull dimension of R is defined to be the maximal length of chains of prime R-ideals, and is denoted by \(\dim (R)\).

Let P and \(P^{\prime }\) be two primes of R such that \(P\subset P^{\prime }\). The prime \(P^{\prime }\) is said to cover P (in Spec(R)), and we write \(P^{\prime }\) cov P, if there is no prime Q of R such that \( P\subset Q\subset P^{\prime }\). A function \(\alpha \) had been defined on Spec(R) by \(\alpha (P):=1\) if P is a maximal ideal of R, and \(\alpha (P):=\Pi _{P^{\prime }\text {cov }P}(1+\alpha (P^{\prime }))\) if P is not maximal. The function \(\alpha \) applied on the spectrum of an integrally closed FO domain R gives the number of overrings of R, see Corollary 2.4 of Jaballah (2005). Indeed the number of overrings is given by \( |O(R)|=\alpha (\{0\}),\)where \(\{0\}\) denotes the zero-ideal of R. For a subset I of R, Z(I) is usually defined to be the set of primes P of R such that \(I\subseteq P\).

2 Approximating the number of overrings

We start with the main result of this work by establishing sharp upper bounds for the number of overrings, when the dimension and the number of maximal ideals are known. Notice that according to Theorem 1.5 of Gilmer (2003), an integrally closed domain D is an FO domain if and only if D is a finite-dimensional Prüfer domain with finite maximal spectrum.

Theorem 1

Let R be a Prüfer domain with finite Krull dimension, \(\dim (R)\), and finite number m of maximal ideals. Then,

$$\begin{aligned} \left( 2^{m}+\dim (R)-1\right) \le |O(R)|\le \left( 1+\dim (R)\right) ^{m}. \end{aligned}$$

Proof

If \(\dim (R)=1,\) then the inequalities are trivially satisfied and are indeed equalities. Let us assume by induction that the inequalities are satisfied for every Prüfer FO domain of dimension d with \(1\le d\le n,\) and let R be a Prüfer FO domain of dimension \(n+1.\) We want to show that the inequalities hold true for R as well. That is,

$$\begin{aligned} \left( 2^{m}+n\right) \le |O(R)|\le \left( 1+(n+1)\right) ^{m}. \end{aligned}$$

Let \(\{P_{t}|t=1, \ldots ,s\}\) be the set of prime ideals of R covering \(\{0\}.\) We have then,

$$\begin{aligned} |O(R)|=\alpha (0)=\Pi _{P\text { cov }\{0\}}(1+\alpha (P))=\Pi _{t=1}^{s}(1+\alpha (P_{t})). \end{aligned}$$

The domain \(R/P_{t}\) is a Prüfer domain. Each \(\alpha (P_{t})\) depends on the set \(Z(P_{t})\) of prime ideals of R containing \(P_{t}\). The set \(Z(P_t)\) is in bijective correspondence, respecting inclusion, with the spectrum of \(R/P_{t}\). Then \( \alpha (P_{t})=\alpha (0_{R/P_{t}})\). Hence \(\alpha (P_{t})=|O(R/P_{t})|\). Using induction and letting \(n_{t}=\dim (R/P_{t})\) and \(m_{t}=|Max(R/P_{t})|\) , we obtain,

$$\begin{aligned} \left( 2^{m_{t}}-1+n_{t}\right)\le & {} \alpha (P_{t})=|O(R/P_{t})| \\\le & {} \left( 1+n_{t}\right) ^{m_{t}}. \end{aligned}$$

Then,

$$\begin{aligned} \Pi _{t=1}^{s}\left( 2^{m_{t}}+n_{t}\right)\le & {} \Pi _{t=1}^{s}(1+\alpha (P_{t})) \\\le & {} \Pi _{t=1}^{s}(1+\left( 1+n_{t}\right) ^{m_{t}}). \end{aligned}$$

Each \(n_{t}\le n\) and \(n_{t_{0}}=n\) for at least one of the indices since \( \dim (R)=n+1\). Hence,

$$\begin{aligned} n+\Pi _{t=1}^{s}(2^{m_{t}})\le & {} \Pi _{t=1}^{s}(2^{m_{t}}+n_{t}) \\\le & {} |O(R)|=\Pi _{t=1}^{s}(1+\alpha (P_{t})) \\\le & {} \Pi _{t=1}^{s}(1+\left( 1+n_{t}\right) ^{m_{t}}) \\\le & {} \Pi _{t=1}^{s}(1+\left( 1+n\right) ^{m_{t}}) \\\le & {} \Pi _{t=1}^{s}(1+\left( 1+n\right) )^{m_{t}}. \end{aligned}$$

Therefore,

$$\begin{aligned} n+\Pi _{t=1}^{s}(2^{m_{t}})\le |O(R)|\le \Pi _{t=1}^{s}(2+n)^{m_{t}}. \end{aligned}$$

Finally, using the fact that \(\sum m_{t}=m\) as Spec(R) is treed, we obtain,

$$\begin{aligned} n+2^{m}\le |O(R)|\le (2+n)^{m}. \end{aligned}$$

This finishes the proof of the claimed result. \(\square \)

Remark 2

Theorem 1 shows that the Krull dimension or the number of maximal ideals of a Prüfer domain is arbitrarily large, if and only if so is the number of overrings.

Remark 3

The inequalities of Theorem 1 contain several interesting particular cases.

  1. 1.

    If \(m=1\), then all terms of the inequalities are equal to \( |O(R)|=1+\dim (R)\). This is the case of valuation domains of finite dimension.

  2. 2.

    If \(\dim (R)=1\), then all terms are equal to \(|O(R)|=2^{m}\). This is the case of semi-local one-dimensional Prüfer domains.

For integral domains that are not necessary integrally closed, we have the following result.

Corollary 4

Let R be an FO integral domain with finite Krull dimension, \(\dim (R)\), and finite number m of maximal ideals. Then

$$\begin{aligned} |O(R)|\ge \left( 2^{m}+\dim (R)-1\right) . \end{aligned}$$

Proof

Let \(R^{\prime }\) be the integral closure of R and \(m^{\prime }=|Max(R^{\prime })|\) the number of maximal ideals of \(R^{\prime }\). We have,

$$\begin{aligned} |O(R)|\ge |O(R^{\prime })|\ge (2^{m^{\prime }}+\dim (R^{\prime })-1)\ge \left( 2^{m}+\dim (R)-1\right) . \end{aligned}$$

\(\square \)

The case where the number of overrings is a prime number is particularly interesting and is presented in the next result and example. We say that T is a maximal subring of R if \(T\subset R\) and there is no subring S of R such that \(T\subset S\subset R\), i.e. \([T,R]=\{T,R\}\). We will show in the next result that when the number of overring is prime, then Frac(R) has a unique maximal subring.

Proposition 5

If R is an FO integrally closed domain, such that |O(R)| is a prime number, then R has a unique height 1 prime ideal which is comparable to all prime ideals of R, and Frac(R) has a unique maximal subring which is comparable to all overrings of R.

Proof

Since \(|O(R)|=\alpha (\{0\})=\Pi _{P\text { cov }\{0\}}(1+\alpha (P))\) is a prime number, then there is a unique term in the product \(\Pi _{P\text { cov } \{0\}}(1+\alpha (P))\) and \(\alpha (\{0\})=1+\alpha (P)\), where P is the only prime containing \(\{0\}\). Hence P is contained in all non-zero primes of R. Therefore \(R_{P}\) contains all localizations \(R_{Q}\) for non-zero primes Q of R. Then \(R_{P}\) is contained in \(R_{0}=Frac(R)\) and contains all other overrings as they are intersections of such localizations \(R_{Q}\) since R is a Prüfer domain. This means that \(R_{P}\) is the unique maximal subring of Frac(R). \(\square \)

Example 6

Let R be a Prüfer domain whose spectrum is isomorphic to a Y-graph as in Fig. 1 below. Such an integral domain exists by Theorem 3.1 of Lewis (1973). As a concrete example we can define R with the following pullback construction of commutative rings, where \({\mathbb {Z}}\) is the ring of integers and \({\mathbb {Q}}\) is the field of rationals.

$$\begin{aligned} \begin{array}{ccc} R\simeq {\mathbb {Z}}_{2{\mathbb {Z}}}\cap {\mathbb {Z}}_{3{\mathbb {Z}}}+x{\mathbb {Q}} [x]_{(x)} &{} \rightarrow &{} {\mathbb {Z}}_{2{\mathbb {Z}}}\cap {\mathbb {Z}}_{3\mathbb {Z }} \\ \downarrow &{} &{} \downarrow \\ {\mathbb {Q}}[x]_{(x)} &{} \rightarrow &{} {\mathbb {Q}}[x]_{(x)}/x{\mathbb {Q}} [x]_{(x)}\simeq {\mathbb {Q}} \end{array} \end{aligned}$$

The domain \({\mathbb {Z}}_{2{\mathbb {Z}}}\cap {\mathbb {Z}}_{3{\mathbb {Z}}}\) is Prüfer as it is an overring of \({\mathbb {Z}}\). Therefore the domain \({\mathbb {Z}}_{2 {\mathbb {Z}}}\cap {\mathbb {Z}}_{3{\mathbb {Z}}}+x{\mathbb {Q}}[x]_{(x)}\) is also a Prüfer domain by Theorem 2.1 of Bastida and Gilmer (1973). The spectrum of \({\mathbb {Z}}_{2{\mathbb {Z}}}\cap {\mathbb {Z}}_{3{\mathbb {Z}}}+x{\mathbb {Q}}[x]_{(x)}\) is

$$\begin{aligned} \{\{0\},M=x{\mathbb {Q}}[x]_{(x)},P_{1}=M+2\left( {\mathbb {Z}}_{2{\mathbb {Z}}}\cap {\mathbb {Z}}_{3{\mathbb {Z}}}\right) ,P_{2}=M+3\left( {\mathbb {Z}}_{2{\mathbb {Z}} }\cap {\mathbb {Z}}_{3{\mathbb {Z}}}\right) \}. \end{aligned}$$

Using Corollary 2.4 of Jaballah (2005), we obtain that the number of overrings is \(\alpha (\{0\})=5.\) It is clear that the ideal M is the unique height 1 prime ideal of R. The set of overrings is ordered as in Fig. 2 below. Hence the overring \(R_{M}\) is the unique maximal subring of Frac(R).

Fig. 1
figure 1

Spec(R) ordered by inclusion

Fig. 2
figure 2

A unique maximal subring

Given an integer \(n\ge 3\), we would like to know whether there exist a domain R such that \(|O(R)|=n+\dim R\), see (Mimouni 2009). For the integrally closed case and \(n=2\) we have the following result.

Remark 7

There is no integrally closed domain R of finite dimension such that \( |O(R)|=2+\dim (R)\).

Proof

We necessarily have \(|O(R)|\ge 1+\dim (R)\). We also know that \( |O(R)|=1+\dim (R)\) if and only if R is a valuation domain by Theorem 7 of Mimouni and Samman (2003). Now if R has at least two maximal ideals, then let \(P_{0}=\{0\}\subset P_{1}\subset \ldots \subset P_{d}=M\) be a chain of prime ideals of length \(d=\dim (R)\), where \(M\ \)is a maximal ideals of R. Also let N be a second maximal ideal. Then R has at least \(d+3\) overrings, namely \(R_{P_{0}}\supset R_{P_{1}}\supset \ldots \supset R_{P_{d}}=R_{M},\) \( R_{N} \) and \(R_{N}\cap R_{M}\). Hence \(|O(R)|\ge 3+\dim (R).\) Therefore there is no integrally closed domain R such that \(|O(R)|=2+\dim (R).\) \(\square \)

3 Maximal ideals, dimension and overrings

Motivated by Theorem 2.5 of (Mimouni 2009), where it is shown that if R is an integral domain with finite Krull dimension, \(\dim R\), n an integer with \(n\ge 2\), and \(|O(R)|=n+dimR\), then \(|Max(R)|\le n-1\). We give in this section sharp approximations for the number of maximal ideals.

Theorem 8

Let R be an integrally closed domain with finite Krull dimension d \(\ge 1\), and let n be a positive integer. If \( |O(R)|=n+d\), then the following statements hold true:

  1. 1.

    The number of maximal ideals is finite and satisfies the inequalities:

    $$\begin{aligned} \log _{d+1}(n+d)\le |Max(R)|\le \log _{2}(n+1). \end{aligned}$$
  2. 2.

    R has exactly \(m=\log _{d+1}(n+d)\) maximal ideals if and only if \( n=(d+1)^{m}-d\) and R is a Prüfer domain with spectrum isomorphic to a tree consisting of m chains each containing \(d+1\) elements and meeting only at their respective minimal elements.

  3. 3.

    R has exactly \(m=\log _{2}(n+1)\) maximal ideals if and only if \( n=2^{m}-1\) and R is a Prüfer domain with spectrum isomorphic to a tree consisting of a chain containing d elements and connected at the top element with m additional edges to each of the m maximal ideals.

Proof

(1) Let d be the dimension of R, and let m be the number of maximal ideals. Then by Theorem 1 we have,

$$\begin{aligned} 2^{m}+d-1\le |O(R)|=n+d. \end{aligned}$$

Hence, \(2^{m}\le n+1\), and \(m\le \log _{2}(n+1)\). On the other hand and using the same theorem, we obtain,

$$\begin{aligned} n+d=|O(R)|\le (d+1)^{m}. \end{aligned}$$

Therefore,

$$\begin{aligned} m\ge \log _{d+1}(n+d). \end{aligned}$$

Finally \(\log _{d+1}(n+d)\le m\le \log _{2}(n+1)\) as required.

(2) If the number of maximal ideals is \(m=\log _{d+1}(n+d)\), then \( n+d=(d+1)^{m}=|O(R)|.\) But \(|O(R)|=\alpha (\{0\})\) by Corollary 2.4 of Jaballah (2005). \(\alpha (\{0\})=\) \((d+1)^{m}\) is only possible for Spec(R) isomorphic to a tree consisting of m chains each containing \(d+1\) elements and meeting only at their respective minimal elements. On the other hand if Spec(R) is isomorphic to such a tree, we have \(\alpha (\{0\})=\) \( (d+1)^{m}=|O(R)|\) as required.

(3) If the number of maximal ideals is \(m=\log _{2}(n+1)\), then \(n=2^{m}-1\) and \(|O(R)|=n+d=2^{m}+d-1.\) But \(|O(R)|=\alpha (\{0\})\) by Corollary 2.4 of Jaballah (2005). Then \(\alpha (\{0\})=\) \(2^{m}+d-1\) is only possible for Spec(R) isomorphic to a tree consisting of a chain containing d elements and connected at the top with m additional edges to each of the m maximal ideals.. On the other hand if Spec(R) isomorphic to such a tree, we have \(\alpha (\{0\})=\) \(2^{m}+d-1=|O(R)|\) as required. \(\square \)

If \(d=1\) in part (1) of Theorem 8, then the number of maximal ideals is necessarily \(|Max(R)|=m=\log _{2}(n+1)\). Hence \( n=2^{m}-1\) and \(|O(R)|=1+n=2^{m}\). Therefore if \(d=1\), then the only possible values for |O(R)| are powers of 2.

To give examples related to the previous results, recall that for each finite tree with a unique minimal element, there exists a Prüfer domain whose spectrum ordered by the usual set inclusion is isomorphic to the given tree, see Theorem 3.1 of Lewis (1973). We give a concrete example that satisfies part (3) of Theorem 8.

Example 9

Let \(p_{1},p_{2}, \ldots ,p_{m}\) be m distinct prime numbers, consider the domain \(T={\mathbb {Z}}_{p_{1}{\mathbb {Z}}}\cap {\mathbb {Z}}_{p_{2}{\mathbb {Z}}}\cap \ldots \cap {\mathbb {Z}}_{p_{m}{\mathbb {Z}}}\) and define R with the following pullback construction of commutative rings:

$$\begin{aligned} \begin{array}{ccc} R\simeq T+x{\mathbb {Q}}[x]_{(x)} &{} \rightarrow &{} T \\ \downarrow &{} &{} \downarrow \\ {\mathbb {Q}}[x]_{(x)} &{} \rightarrow &{} {\mathbb {Q}}[x]_{(x)}/x{\mathbb {Q}} [x]_{(x)}\simeq {\mathbb {Q}} \end{array} \end{aligned}$$

The integral domain T is a PID with \(Spec(T)=\{\{0\},p_{1}T, \ldots ,p_{m}T\}\), which is ordered as in Fig. 3 below. The domain T is Prüfer as it is an overring of \({\mathbb {Z}}\). By Theorem 2.1 of Bastida and Gilmer (1973), we can see that the integral domain \(T+x{\mathbb {Q}}[x]_{(x)}\) is also a Prüfer domain with a spectrum consisting of the prime ideals:

$$\begin{aligned} \{0\},M=x{\mathbb {Q}}[x]_{(x)},\text {and }P_{i}=M+p_{i}T,1\le i\le m. \end{aligned}$$

The integral domain R is a Prüfer domain with a spectrum obtained by gluing Spec(T) over \(Spec(Q[x]_{(x)})\) and is ordered as in Fig. 3. The number of overrings is:

$$\begin{aligned} |O(R)|=\alpha (\{0\})=1+2^{m}. \end{aligned}$$

We also have as in part (3) of Theorem 8:

$$\begin{aligned} \log _{2}(n+1)= & {} \log _{2}(|O(R)|-d+1) \\= & {} \log _{2}(1+2^{m}-2+1) \\= & {} m \\= & {} |Max(R)|. \end{aligned}$$
Fig. 3
figure 3

Maximal ideals and overrings

The next result shows that the right hand inequality in part (1) of Theorem 8 is still valid for not necessarily integrally closed domains.

Theorem 10

Let R be an integral domain with finite Krull dimension d and n a positive integer. If \(|O(R)|=n+d\), then the following statements hold true:

  1. 1.

    The number of maximal ideals is finite and satisfies the inequality:

    $$\begin{aligned} |Max(R)|\le \log _{2}(n+1). \end{aligned}$$
  2. 2.

    R has exactly \(m=\log _{2}(n+1)\) maximal ideals if and only if \( n=2^{m}-1\) and R is a Prüfer domain with spectrum isomorphic to a tree consisting of a chain containing d elements and connected at the top with m additional edges to each of the m maximal ideals.

Proof

(1) Let \(R^{\prime }\) be the integral closure of R. Let \(d=\dim R\). We have \(d=\dim R=\dim R^{\prime }\) and \(|O(R)|=n+d\ge |O(R^{\prime })|\). Therefore \(|O(R^{\prime })|=n^{\prime }+d\) for some positive integer \( n^{\prime }\le n\). Using Theorem 8 we obtain:

$$\begin{aligned} |Max(R)|\le |Max(R^{\prime })|\le \log _{2}(n^{\prime }+1)\le \log _{2}(n+1). \end{aligned}$$

(2) The equality \(|Max(R)|=\log _{2}(n+1)\) would imply the equality:

$$\begin{aligned} |Max(R)|=|Max(R^{\prime })|=\log _{2}(n^{\prime }+1)=\log _{2}(n+1). \end{aligned}$$

Therefore necessarily \(n^{\prime }=n\) and \(|O(R^{\prime })|=|O(R)|.\) Therefore \(R^{\prime }=R\) and R is integrally closed. Therefore the statement follows directly from Theorem 8. \(\square \)

The following results gives lower and upper bounds for the Krull dimension, when the number of overrings and the number maximal ideals are known.

Corollary 11

Let R be an integrally closed domain with only finitely many overrings, and let \(m=|Max(R)|\). Then the Krull dimension \( \dim R\) of R satisfies the following inequalities:

$$\begin{aligned} -1+\root m \of {|O(R)|}\le \dim (R)\le |O(R)|+1-2^{m}. \end{aligned}$$

Proof

Using the left inequality of Theorem 1, we have

$$\begin{aligned} \left( 2^{m}-1+\dim (R)\right) \le |O(R)|. \end{aligned}$$

This trivially implies that

$$\begin{aligned} \dim (R)\le |O(R)|+1-2^{m}. \end{aligned}$$

Then the required right hand inequality is proven. Now we use the right hand inequality \(|O(R)|\le \left( 1+\dim (R)\right) ^{m}\) of the same theorem. We obtain

$$\begin{aligned} \root m \of {|O(R)|}\le \left( 1+\dim (R)\right) . \end{aligned}$$

This trivially gives the required left hand inequality:

$$\begin{aligned} -1+\root m \of {|O(R)|}\le \dim (R). \end{aligned}$$

This concludes the proof for both inequalities. \(\square \)

4 Length, dimension and number of maximal ideals

The length l[RS] of the set [RS] of intermediate rings is defined to be the supremum of the length of chains of intermediate rings, see (Jaballah 1999b). The length l[R] of the ring R is defined to be l(O(R)). We can now give sharp bounds for the length and the number of prime ideals of an integral domain.

Proposition 12

Let R be an integrally closed domain with only finitely many overrings. Let \(m=|Max(R)|\) and \(d=\dim (R)\), then the following inequalities are satisfied:

$$\begin{aligned} m+d-1\le l[R]=|Spec(R)|-1\le md. \end{aligned}$$

Proof

Since \(l[R]=|Spec(R)|-1\) by (Jaballah 1999a, Corollary 3.4), let us prove the equivalent inequalities:

$$\begin{aligned} m+d\le |Spec(R)|\le md+1. \end{aligned}$$

It is clear that \(m+d\le |Spec(R)|\). So we need only to prove that \( |Spec(R)|\le md+1\). If \(\dim (R)=1,\) then the inequality is trivially satisfied and is indeed an equality. Let us assume by induction that the inequality is satisfied for every FO integrally closed domain of dimension \( d=\dim (R)\) with \(1\le d\le n,\) and let R be an FO integrally closed domain of dimension \(n+1.\) We want to show that

$$\begin{aligned} |Spec(R)|\le m(n+1)+1. \end{aligned}$$

Let \(\{P_{t}|t=1, \ldots ,s\}\) be the set of prime ideals of R covering \(\{0\}.\) We have then,

$$\begin{aligned} |Spec(R)|=1+\sum _{P\text { cov \{0\}}}|Z(P)|=1+\sum _{t=1}^{s}|Z(P_{t})|. \end{aligned}$$

The set \(Z(P_{t})\) of prime ideals is order isomorphic to \(Spec(R/P_{t})\), where \(R/P_{t}\) is an FO integrally closed domain of dimension \(\le n\). Set \(m_{t}=|Max(R/P_{t})|\). So by induction we obtain,

$$\begin{aligned} |Z(P_{t})|\le m_{t}(\dim (R/P_{t}))+1\le m_{t}n+1. \end{aligned}$$

We have \(\sum _{t=1}^{s}m_{t}=m\) as \(Spec(R)\backslash \{0\}\) is the disjoint union of the \(Z(P_{t})\) since Spec(R) is treed. Then,

$$\begin{aligned} |Spec(R)|-1=\sum _{t=1}^{s}|Z(P_{t})|\le \sum _{t=1}^{s}(m_{t}n+1). \end{aligned}$$

We have \(s\le m\) since Spec(R) is treed. Therefore,

$$\begin{aligned} |Spec(R)|-1\le & {} \sum _{t=1}^{s}(m_{t}n+1) \\\le & {} \left( \sum _{t=1}^{s}m_{t}\right) n+s=mn+s \\\le & {} mn+m. \end{aligned}$$

That is,

$$\begin{aligned} |Spec(R)|\le mn+m+1=m(n+1)+1. \end{aligned}$$

This finishes the proof of the claimed result. \(\square \)

Using the precedent Proposition 12, we can easily obtain the following approximations for the dimension and the number of maximal ideals in terms of the length.

Corollary 13

Let R be an integrally closed domain with only finitely many overrings. Let \(m=|Max(R)|\) and assume that \(d=\dim (R)\) is a positive integer. Then the following inequalities are satisfied:

  1. 1.

    \(\frac{l[R]}{d}\le m\le l[R]+1-d.\)

  2. 2.

    \(\frac{l[R]}{m}\le d\le l[R]+1-m.\)

For not necessarily integrally closed integral domains, we have the following inequality.

Remark 14

Let R be an integral domain of finite dimension \(d=\dim (R)\), and only finitely many m maximal ideals, then,

$$\begin{aligned} l[R]\ge m+d-1. \end{aligned}$$