A unit-of-measure is a constant-quantity that serves as a standard of measurement for some dimension. For example, the meter is a unit-of-measure for the length-dimension, as is the inch. Square-feet is a unit for length*length quantities. Units-of-measure can be defined as primitives or can be defined as products of units or units raised to real exponents.
There is no intrisic property of a unit that makes it primitive or fundamental; rather, a system-of-units defines a set of orthogonal dimensions and assigns units for each. Therefore, there is no distinguished class for fundamental unit of measure.
The magnitude of a unit-of-measure is always a positive real number, using any comparable unit. Units are not scales, which have reference origins and can have negative values. Units are like distances between points on scales.
Any composition of units and reals using the * and expt functions is also a unit-of-measure. For example, the quantity 'three meters' is denoted by the expression (* 3 meter). There is an identity-unit that forms and abelian-group with the * operator over units of measure. That means * is commutative and associative for units. It is also commutative for multiplying units and other constant-quantities. This is important for factoring out units from expressions containing tensors or functions.
(=> (And (Unit-Of-Measure ?A) (Constant-Quantity ?B)) (= (* ?A ?B) (* ?B ?A))) (=> (And (Unit-Of-Measure ?A) (Real-Number ?B)) (Unit-Of-Measure (Expt ?A ?B))) (Abelian-Group Unit-Of-Measure * Identity-Unit) (<=> (Unit-Of-Measure ?U) (And (Constant-Quantity ?U) (Forall (?Other-Unit) (=> (And (Unit-Of-Measure ?Other-Unit) (Compatible-Quantities ?U ?Other-Unit)) (And (Real-Number (Magnitude ?U ?Other-Unit)) (Positive (Magnitude ?U ?Other-Unit)))))))