Units on Length #
A unit of length corresponds to a choice of translationally-invariant
metric on the space manifold (to be defined). Such a choice is (non-canonically) equivalent to a
choice of positive real number. We define the type LengthUnit to be equivalent to the
positive reals.
On LengthUnit there is an instance of division giving a real number, corresponding to the
ratio of the two scales of length unit.
To define specific length units, we first state the existence of a a given length unit, and then construct all other length units from it. We choose to state the existence of the length unit of meters, and construct all other length units from that.
Equations
- LengthUnit.instInhabited = { default := { val := 1, property := LengthUnit.instInhabited._proof_1 } }
Division of LengthUnit #
Equations
- LengthUnit.instHDivNNReal = { hDiv := fun (x t : LengthUnit) => ⟨x.val / t.val, ⋯⟩ }
The scaling of a length unit #
The scaling of a length unit by a positive real.
Instances For
Specific choices of Length units #
To define a specific length units.
We first define the notion of a meter to correspond to the length unit with underlying value
equal to 1. This is really down to a choice in the isomorphism between the set of metrics
on the space manifold and the positive reals.
From this choice of meters, we can define other length units by scaling meters.
The definition of a length unit of meters.
Equations
- LengthUnit.meters = { val := 1, property := LengthUnit.instInhabited._proof_1 }
Instances For
The length unit of femtometers (10⁻¹⁵ of a meter).
Equations
Instances For
The length unit of picometers (10⁻¹² of a meter).
Equations
Instances For
The length unit of nanometers (10⁻⁹ of a meter).
Equations
Instances For
The length unit of micrometers (10⁻⁶ of a meter).
Equations
Instances For
The length unit of millimeters (10⁻³ of a meter).
Equations
Instances For
The length unit of centimeters (10⁻² of a meter).
Equations
Instances For
The length unit of inch (0.0254 meters).
Equations
Instances For
The length unit of link (0.201168 meters).
Equations
Instances For
The length unit of feet (0.3048 meters)
Equations
Instances For
The length unit of a yard (0.9144 meters)
Equations
Instances For
The length unit of a rod (5.0292 meters)
Equations
Instances For
The length unit of a chain (20.1168 meters)
Equations
Instances For
The length unit of a furlong (201.168 meters)
Equations
Instances For
The length unit of kilometers (10³ meters).
Equations
Instances For
The length unit of a mile (1609.344 meters).
Equations
Instances For
The length unit of a nautical mile (1852 meters).
Equations
Instances For
The length unit of an astronomical unit (149,597,870,700 meters).
Equations
Instances For
The length unit of a light year (9,460,730,472,580,800 meters).
Equations
Instances For
The length unit of a parsec (648,000/π astronomicalUnits).