Series of a relation #
If r is a relation on α then a relation series of length n is a series
a_0, a_1, ..., a_n such that r a_i a_{i+1} for all i < n
Let r be a relation on α, a relation series of r of length n is a series
a_0, a_1, ..., a_n such that r a_i a_{i+1} for all i < n
- length : ℕ
The number of inequalities in the series
- toFun : Fin (self.length + 1) → α
The underlying function of a relation series
Adjacent elements are related
Instances For
For any type α, each term of α gives a relation series with the right most index to be 0.
Instances For
Every relation series gives a list
Instances For
Every nonempty list satisfying the chain condition gives a relation series
Instances For
A relation r is said to be finite dimensional iff there is a relation series of r with the
maximum length.
A relation
ris said to be finite dimensional iff there is a relation series ofrwith the maximum length.
Instances
A relation r is said to be infinite dimensional iff there exists relation series of arbitrary
length.
A relation
ris said to be infinite dimensional iff there exists relation series of arbitrary length.
Instances
The longest relational series when a relation is finite dimensional
Instances For
A relation series with length n if the relation is infinite dimensional
Instances For
If a relation on α is infinite dimensional, then α is nonempty.
Start of a series, i.e. for a₀ -r→ a₁ -r→ ... -r→ aₙ, its head is a₀.
Since a relation series is assumed to be non-empty, this is well defined.
Instances For
End of a series, i.e. for a₀ -r→ a₁ -r→ ... -r→ aₙ, its last element is aₙ.
Since a relation series is assumed to be non-empty, this is well defined.
Instances For
If a₀ -r→ a₁ -r→ ... -r→ aₙ and b₀ -r→ b₁ -r→ ... -r→ bₘ are two strict series
such that r aₙ b₀, then there is a chain of length n + m + 1 given by
a₀ -r→ a₁ -r→ ... -r→ aₙ -r→ b₀ -r→ b₁ -r→ ... -r→ bₘ.
Instances For
For two types α, β and relation on them r, s, if f : α → β preserves relation r, then an
r-series can be pushed out to an s-series by
a₀ -r→ a₁ -r→ ... -r→ aₙ ↦ f a₀ -s→ f a₁ -s→ ... -s→ f aₙ
Instances For
If a₀ -r→ a₁ -r→ ... -r→ aₙ is an r-series and a is such that
aᵢ -r→ a -r→ a_ᵢ₊₁, then
a₀ -r→ a₁ -r→ ... -r→ aᵢ -r→ a -r→ aᵢ₊₁ -r→ ... -r→ aₙ
is another r-series
Instances For
A relation series a₀ -r→ a₁ -r→ ... -r→ aₙ of r gives a relation series of the reverse of r
by reversing the series aₙ ←r- aₙ₋₁ ←r- ... ←r- a₁ ←r- a₀.
Instances For
Given a series a₀ -r→ a₁ -r→ ... -r→ aₙ and an a such that a₀ -r→ a holds, there is
a series of length n+1: a -r→ a₀ -r→ a₁ -r→ ... -r→ aₙ.
Instances For
Given a series a₀ -r→ a₁ -r→ ... -r→ aₙ and an a such that aₙ -r→ a holds, there is
a series of length n+1: a₀ -r→ a₁ -r→ ... -r→ aₙ -r→ a.
Instances For
If a series a₀ -r→ a₁ -r→ ... has positive length, then a₁ -r→ ... is another series
Instances For
To show a proposition p for xs : RelSeries r it suffices to show it for all singletons
and to show that when p holds for xs it also holds for xs prepended with one element.
Note: This can also be used to construct data, but it does not have good definitional properties,
since (p.cons x hx).tail _ = p is not a definitional equality.
Instances For
If a series a₀ -r→ a₁ -r→ ... -r→ aₙ, then a₀ -r→ a₁ -r→ ... -r→ aₙ₋₁ is
another series
Instances For
To show a proposition p for xs : RelSeries r it suffices to show it for all singletons
and to show that when p holds for xs it also holds for xs appended with one element.
Instances For
Given the series a₀ -r→ … -r→ aᵢ -r→ … -r→ aₙ, the series a₀ -r→ … -r→ aᵢ.
Instances For
Given the series a₀ -r→ … -r→ aᵢ -r→ … -r→ aₙ, the series aᵢ₊₁ -r→ … -r→ aₙ.
Instances For
A type is infinite dimensional if it has LTSeries of at least arbitrary length
Instances For
The longest <-series when a type is finite dimensional
Instances For
A <-series with length n if the relation is infinite dimensional
Instances For
if α is infinite dimensional, then α is nonempty.
An alternative constructor of LTSeries from a strictly monotone function.
Instances For
An injection from the type of strictly monotone functions with limited length to LTSeries.
Instances For
For two preorders α, β, if f : α → β is strictly monotonic, then a strict chain of α
can be pushed out to a strict chain of β by
a₀ < a₁ < ... < aₙ ↦ f a₀ < f a₁ < ... < f aₙ
Instances For
For two preorders α, β, if f : α → β is surjective and strictly comonotonic, then a
strict series of β can be pulled back to a strict chain of α by
b₀ < b₁ < ... < bₙ ↦ f⁻¹ b₀ < f⁻¹ b₁ < ... < f⁻¹ bₙ where f⁻¹ bᵢ is an arbitrary element in the
preimage of f⁻¹ {bᵢ}.
Instances For
The strict series 0 < … < n in ℕ.
Instances For
Any LTSeries can be refined to a CovBy-RelSeries
in a bidirectionally well-founded order.
In ℕ, two entries in an LTSeries differ by at least the difference of their indices.
(Expressed in a way that avoids subtraction).
In ℤ, two entries in an LTSeries differ by at least the difference of their indices.
(Expressed in a way that avoids subtraction).
In ℕ, the head and tail of an LTSeries differ at least by the length of the series
In ℤ, the head and tail of an LTSeries differ at least by the length of the series
If f : α → β is a strictly monotonic function and α is an infinite-dimensional type then so
is β.