Time #
i. Overview #
In this module we define the type Time, corresponding to time in a given
(but arbitrary) set of units, with a given (but arbitrary) choice of origin (time zero),
and a choice of orientation (i.e. a positive time direction).
We note that this is the version of time most often used in undergraduate and non-mathematical physics.
The choice of units or origin can be made on a case-by-case basis, as
long as they are done consistently. However, since the choice of units and origin is
left implicit, Lean will not catch inconsistencies in the choice of units or origin when
working with Time.
For example, for the classical mechanics system corresponding to the harmonic oscillator,
one can take the origin of time to be the time at which the initial conditions are specified,
and the units can be taken as anything as long as the units chosen for time t and
the angular frequency ω are consistent.
With this notion of Time, becomes a 1d vector space over ℝ with an inner product.
Within other modules e.g. TimeMan and TimeTransMan, we define
versions of time with less choices made, and relate them to Time via a choice of units
or origin.
ii. Key results #
Time: The type representing time with a choice of units and origin.
iii. Table of contents #
- A. The definition of
Time - B. Instances on Time
- B.1. Natural numbers as elements of
Time - B.2. Real numbers as elements of
Time - B.3. Time is inhabited
- B.4. The order on
Time - B.5. Addition of times
- B.6. Negation of times
- B.7. Subtraction of times
- B.8. Scalar multiplication of time
- B.9. Module on
Time - B.10. Norm of time
- B.11. Inner product on
Time - B.12. Decidability of
Time - B.13. Measurability of
Time
- B.1. Natural numbers as elements of
- C. Basis of
Time - D. Maps from
Timetoℝ
iv. References #
B. Instances on Time #
B.3. Time is inhabited #
Equations
- One or more equations did not get rendered due to their size.
B.5. Addition of times #
B.6. Negation of times #
B.7. Subtraction of times #
B.8. Scalar multiplication of time #
Equations
- One or more equations did not get rendered due to their size.
Equations
- Time.instAddCommGroup = { toAddGroup := Time.instAddGroup, add_comm := Time.instAddCommGroup._proof_1 }
Equations
- One or more equations did not get rendered due to their size.
B.10. Norm of time #
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- Time.instNormedSpaceReal = { toModule := Time.instModuleReal, norm_smul_le := Time.instNormedSpaceReal._proof_1 }
Equations
- One or more equations did not get rendered due to their size.
Equations
- t1.instDecidableEq t2 = decidable_of_iff (t1.val = t2.val) ⋯
Equations
The orthonomral basis on Time defined by 1.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The continuous linear map from Time to ℝ.
Equations
- Time.toRealCLM = LinearMap.toContinuousLinearMap { toFun := Time.val, map_add' := Time.toRealCLM._proof_8, map_smul' := Time.toRealCLM._proof_9 }