Docs / Semantics / Degree / Measurement

Differentials and factors under changes of scale

import Linglib.Semantics.Degree.Measurement

A differential comparative (3 inches taller) says that one measure is another moved by a difference, and a factor equative (twice as tall) that it is another scaled by a ratio. A statement about measures is meaningful when it is Invariant under every admissible change of scale. A change of scale that is equivariant along a map of amounts carries each statement to the one at the image amount, so an affine change of scale acts on a differential by its linear part, and an action that commutes with the amounts preserves the statement, as a common unit does for ratios and a common origin for differences. A factor equative needs a zero, since a translation preserves it only when the factor fixes the translation. On an ordinal scale only the zero differential and the factor $1$ survive.

Implementation notes

Amounts act on degrees, ratios by SMul and differences by VAdd, so a ratio need not itself be a degree, and dates or degrees Celsius need no origin. The differential comparative is the additive form of the factor equative.

References

Differentials and factors

L47–53
L49–51
L55–57

Changes of scale

L65–70
L65
L72–80
L72

An injective change of scale that is equivariant along a map σ of amounts carries each statement to the statement whose amount is the image under σ.

theorem factorEquative_comp_iffL82–88
{E : Type u_1} {M : Type u_2} {N : Type u_3} {D : Type u_5} {D' : Type u_6} [SMul M D] [SMul N D'] {g : D → D'} {σ : M → N} (hg : Function.Injective g) (h : ∀ (m : M) (x : D), g (m • x) = σ m • g x) (μ : E → D) (a b : E) (n : M) :
FactorEquative (g ∘ μ) a b (σ n) ↔ FactorEquative μ a b n

Built from

L84

An action on degrees that commutes with the amounts preserves every statement, as a common unit does for ratios and a common origin for differences.

theorem factorEquative_const_smulL92–98
{E : Type u_1} {M : Type u_2} {C : Type u_4} {D : Type u_5} [SMul M D] [SMul C D] [SMulCommClass C M D] {c : C} (hc : Function.Injective fun (x : D) => c • x) (μ : E → D) (a b : E) (n : M) :
FactorEquative (fun (x : E) => c • μ x) a b n ↔ FactorEquative μ a b n

Built from

L94

An injective affine change of scale carries a differential to the differential whose amount is the image under its linear part, so the differences of an interval scale form a ratio scale.

theorem differentialComparative_comp_affineMapL100–106
{E : Type u_1} {k : Type u_7} {V₁ : Type u_8} {V₂ : Type u_9} {P₁ : Type u_10} {P₂ : Type u_11} [Ring k] [AddCommGroup V₁] [Module k V₁] [AddTorsor V₁ P₁] [AddCommGroup V₂] [Module k V₂] [AddTorsor V₂ P₂] (f : P₁ →ᵃ[k] P₂) (hf : Function.Injective ⇑f) (μ : E → P₁) (a b : E) (d : V₁) :
DifferentialComparative (⇑f ∘ μ) a b (f.linear d) ↔ DifferentialComparative μ a b d

Built from

Numerical scales

L111–113
L115–120

Every strictly increasing change of scale carries a differential to some differential exactly when its amount is zero, so a differential needs more than an ordinal scale.

theorem differentialComparative_comp_strictMono_iffL122–145
{E : Type u_1} {k : Type u_7} [CommRing k] [LinearOrder k] [IsStrictOrderedRing k] [Nontrivial E] {d : k} :
(∀ (g : k → k), StrictMono g → ∃ (d' : k), ∀ (μ : E → k) (a b : E), DifferentialComparative (g ∘ μ) a b d' ↔ DifferentialComparative μ a b d) ↔ d = 0

Built from

Translating a scale by c carries the factor equative of factor n to that of factor n' exactly when n' = n and n fixes c, so moving the zero of a scale destroys ratios.

theorem factorEquative_add_const_iffL147–157
{E : Type u_1} {D : Type u_5} [Ring D] [Nontrivial E] (c n n' : D) :
(∀ (μ : E → D) (a b : E), FactorEquative (fun (x : E) => μ x + c) a b n' ↔ FactorEquative μ a b n) ↔ n' = n ∧ n * c = c

Built from

Every strictly increasing change of scale carries a factor equative to some factor equative exactly when its factor is 1, so a factor equative needs more than an ordinal scale.

theorem factorEquative_comp_strictMono_iffL159–169
{E : Type u_1} {D : Type u_5} [Ring D] [LinearOrder D] [IsStrictOrderedRing D] [Nontrivial E] {n : D} :
(∀ (g : D → D), StrictMono g → ∃ (n' : D), ∀ (μ : E → D) (a b : E), FactorEquative (g ∘ μ) a b n' ↔ FactorEquative μ a b n) ↔ n = 1

Built from

Meaningful statements

L196–203