Krull dimension of a preordered set and height of an element #
If α
is a preordered set, then krullDim α : WithBot ℕ∞
is defined to be
sup {n | a₀ < a₁ < ... < aₙ}
.
In case that α
is empty, then its Krull dimension is defined to be negative infinity; if the
length of all series a₀ < a₁ < ... < aₙ
is unbounded, then its Krull dimension is defined to be
positive infinity.
For a : α
, its height (in ℕ∞
) is defined to be sup {n | a₀ < a₁ < ... < aₙ ≤ a}
, while its
coheight is defined to be sup {n | a ≤ a₀ < a₁ < ... < aₙ}
.
Main results #
The Krull dimension is the same as that of the dual order (
krullDim_orderDual
).The Krull dimension is the supremum of the heights of the elements (
krullDim_eq_iSup_height
), or their coheights (krullDim_eq_iSup_coheight
), or their sums of height and coheight (krullDim_eq_iSup_height_add_coheight_of_nonempty
)The height in the dual order equals the coheight, and vice versa.
The height is monotone (
height_mono
), and strictly monotone if finite (height_strictMono
).The coheight is antitone (
coheight_anti
), and strictly antitone if finite (coheight_strictAnti
).The height is the supremum of the successor of the height of all smaller elements (
height_eq_iSup_lt_height
).The elements of height zero are the minimal elements (
height_eq_zero
), and the elements of heightn
are minimal among those of height≥ n
(height_eq_coe_iff_minimal_le_height
).Concrete calculations for the height, coheight and Krull dimension in
ℕ
,ℤ
,WithTop
,WithBot
andℕ∞
.
Design notes #
Krull dimensions are defined to take value in WithBot ℕ∞
so that (-∞) + (+∞)
is
also negative infinity. This is because we want Krull dimensions to be additive with respect
to product of varieties so that -∞
being the Krull dimension of empty variety is equal to
sum of -∞
and the Krull dimension of any other varieties.
We could generalize the notion of Krull dimension to an arbitrary binary relation; many results in this file would generalize as well. But we don't think it would be useful, so we only define Krull dimension of a preorder.
The Krull dimension of a preorder α
is the supremum of the rightmost index of all relation
series of α
ordered by <
. If there is no series a₀ < a₁ < ... < aₙ
in α
, then its Krull
dimension is defined to be negative infinity; if the length of all series a₀ < a₁ < ... < aₙ
is
unbounded, its Krull dimension is defined to be positive infinity.
Equations
- Order.krullDim α = ⨆ (p : LTSeries α), ↑p.length
Instances For
The height of an element a
in a preorder α
is the supremum of the rightmost index of all
relation series of α
ordered by <
and ending below or at a
.
Equations
- Order.height a = ⨆ (p : LTSeries α), ⨆ (_ : RelSeries.last p ≤ a), ↑p.length
Instances For
The coheight of an element a
in a preorder α
is the supremum of the rightmost index of all
relation series of α
ordered by <
and beginning with a
.
The definition of coheight
is via the height
in the dual order, in order to easily transfer
theorems between height
and coheight
. See coheight_eq
for the definition with a
series ordered by <
and beginning with a
.
Equations
Instances For
Height #
The coheight of an element a
in a preorder α
is the supremum of the rightmost index of all
relation series of α
ordered by <
and beginning with a
.
This is not the definition of coheight
. The definition of coheight
is via the height
in the
dual order, in order to easily transfer theorems between height
and coheight
.
Variant of height_le_iff
ranging only over those series that end exactly on a
.
Alternative definition of height, with the supremum ranging only over those series that end at a
.
Alternative definition of coheight, with the supremum only ranging over those series
that begin at a
.
Variant of coheight_le_iff
ranging only over those series that begin exactly on a
.
The height of the last element in a series is larger or equal to the length of the series.
The coheight of the first element in a series is larger or equal to the length of the series.
The height of an element in a series is larger or equal to its index in the series.
The coheight of an element in a series is larger or equal to its reverse index in the series.
In a maximally long series, i.e one as long as the height of the last element, the height of each element is its index in the series.
In a maximally long series, i.e one as long as the coheight of the first element, the coheight of each element is its reverse index in the series.
There exist a series ending in a element for any length up to the element’s height.
For an element of finite height there exists a series ending in that element of that height.
Another characterization of height, based on the supremum of the heights of elements below.
Another characterization of coheight, based on the supremum of the coheights of elements above.
The height of an element is infinite iff there exist series of arbitrary length ending in that element.
The coheight of an element is infinite iff there exist series of arbitrary length ending in that element.
The elements of height zero are the minimal elements.
Alias of the reverse direction of Order.height_eq_zero
.
The elements of height zero are the minimal elements.
The elements of coheight zero are the maximal elements.
Alias of the reverse direction of Order.coheight_eq_zero
.
The elements of coheight zero are the maximal elements.
The elements of finite height n
are the minimial elements among those of height ≥ n
.
The elements of finite coheight n
are the maximal elements among those of coheight ≥ n
.
Krull dimension #
A definition of krullDim for nonempty α
that avoids WithBot
The Krull dimension is the supremum of the elements' heights.
This version of the lemma assumes that α
is nonempty. In this case, the coercion from ℕ∞
to
WithBot ℕ∞
is on the outside fo the right-hand side, which is usually more convenient.
If α
were empty, then krullDim α = ⊥
. See krullDim_eq_iSup_height
for the more general
version, with the coercion under the supremum.
The Krull dimension is the supremum of the elements' coheights.
This version of the lemma assumes that α
is nonempty. In this case, the coercion from ℕ∞
to
WithBot ℕ∞
is on the outside of the right-hand side, which is usually more convenient.
If α
were empty, then krullDim α = ⊥
. See krullDim_eq_iSup_coheight
for the more general
version, with the coercion under the supremum.
The Krull dimension is the supremum of the elements' height plus coheight.
The Krull dimension is the supremum of the elements' heights.
If α
is Nonempty
, then krullDim_eq_iSup_height_of_nonempty
, with the coercion from
ℕ∞
to WithBot ℕ∞
outside the supremum, can be more convenient.
The Krull dimension is the supremum of the elements' coheights.
If α
is Nonempty
, then krullDim_eq_iSup_coheight_of_nonempty
, with the coercion from
ℕ∞
to WithBot ℕ∞
outside the supremum, can be more convenient.