theorem
UnitsSystem.Scalar.hMul_assoc
[UnitsSystem]
{d₁ d₂ d₃ : Dimensions}
(a : Scalar d₁)
(b : Scalar d₂)
(c : Scalar d₃)
:
A cast is needed here because (d₁+d₂)+d₃ is not definitionally equal to d₁+(d₂+d₃).
theorem
UnitsSystem.Scalar.left_distrib
[UnitsSystem]
{d₁ d₂ : Dimensions}
(a : Scalar d₁)
(b c : Scalar d₂)
:
theorem
UnitsSystem.Scalar.right_distrib
[UnitsSystem]
{d₁ d₂ : Dimensions}
(a b : Scalar d₁)
(c : Scalar d₂)
:
A cast is needed here because 2 • d is not definitionally equal to d+d.
An alternate proof based on working in coordinates