SemVer.Lemmas #
In this file, theorems are provided that assert that the less-than (<) relations for the types
used to define version numbers are transitive, i.e. that a < c results from a < b ∧ b < c.
Ensures that the canonical injection
fun {α} a ↦ a.val : {α : Type} → NonEmptyList α → List α
is strictly increasing under the respective <-relations.
Asserts that < is a transitive relation inNonEmptyList α if the
underlying < on α has the same property.
Equations
- NonEmptyList.instTransLt = { trans := ⋯ }
Assert that the canonical injection
fun a ↦ a.val : NonEmptyString → String
is a strictly increasing function under the respective <-relations.
Asserts that < is transitive on NonEmptyString.
Equations
- NonEmptyString.instTransLt = { trans := ⋯ }
Ensures that < is transitive on AlphanumIdent.
Equations
- AlphanumIdent.instTransLt = { trans := ⋯ }
Ensures that < is transitive on PreRelIdent.
Equations
- PreRelIdent.instTransLt = { trans := ⋯ }
Ensures that < is transitive on DotSepPreRelIdents.
Equations
- DotSepPreRelIdents.instTransLt = { trans := ⋯ }
Ensures that < is transitive on VersionCore.
Equations
- VersionCore.instTransLt = { trans := ⋯ }
Lemma asserting that Version.ltPreRelease is transitive.