Actions by nonnegative rational numbers #
Scalar multiplication #
@[instance 100]
Equations
- NNRat.instDistribSMul = { toSMul := NNRat.smulDivisionSemiring, smul_zero := ⋯, smul_add := ⋯ }
@[instance 100]
Equations
- Rat.instDistribSMul = { toSMul := Rat.smulDivisionRing, smul_zero := ⋯, smul_add := ⋯ }