Ordered scalar multiplication and vector addition #
This file defines ordered scalar multiplication and vector addition, and proves some properties.
In the additive case, a motivating example is given by the additive action of ℤ
on subsets of
reals that are closed under integer translation. The order compatibility allows for a treatment of
the R((z))
-module structure on (z ^ s) V((z))
for an R
-module V
, using the formalism of Hahn
series. In the multiplicative case, a standard example is the action of non-negative rationals on
an ordered field.
Implementation notes #
- Because these classes mix the algebra and order hierarchies, we write them as
Prop
-valued mixins. - Despite the file name, Ordered AddTorsors are not defined as a separate class. To implement them,
combine
[AddTorsor G P]
with[IsOrderedCancelVAdd G P]
Definitions #
- IsOrderedSMul : inequalities are preserved by scalar multiplication.
- IsOrderedVAdd : inequalities are preserved by translation.
- IsCancelSMul : the scalar multiplication version of cancellative multiplication
- IsCancelVAdd : the vector addition version of cancellative addition
- IsOrderedCancelSMul : inequalities are preserved and reflected by scalar multiplication.
- IsOrderedCancelVAdd : inequalities are preserved and reflected by translation.
Instances #
- OrderedCommMonoid.toIsOrderedSMul
- OrderedAddCommMonoid.toIsOrderedVAdd
- IsOrderedSMul.toCovariantClassLeft
- IsOrderedVAdd.toCovariantClassLeft
- IsOrderedCancelSMul.toCancelSMul
- IsOrderedCancelVAdd.toCancelVAdd
- OrderedCancelCommMonoid.toIsOrderedCancelSMul
- OrderedCancelAddCommMonoid.toIsOrderedCancelVAdd
- IsOrderedCancelSMul.toContravariantClassLeft
- IsOrderedCancelVAdd.toContravariantClassLeft
TODO #
- (lex) prod instances
- Pi instances
- WithTop (in a different file?)
Alias of IsOrderedVAdd
.
An ordered vector addition is a bi-monotone vector addition.
Equations
Instances For
An ordered scalar multiplication is a bi-monotone scalar multiplication. Note that this is
different from OrderedSMul
, which uses strict inequality, requires G
to be a semiring, and the
defining conditions are restricted to positive elements of G
.
Instances
Alias of IsCancelVAdd
.
A vector addition is cancellative if it is pointwise injective on the left and right.
Equations
Instances For
An ordered cancellative vector addition is an ordered vector addition that is cancellative.
Instances
Alias of IsOrderedCancelVAdd
.
An ordered cancellative vector addition is an ordered vector addition that is cancellative.
Equations
Instances For
An ordered cancellative scalar multiplication is an ordered scalar multiplication that is cancellative.