Physlib

Physlib.Units.LTMCTDimensionBase

PhysLib's default dimension basis

`LTMCTDimensionBase` is PhysLib's default basis of base dimensions — length, time, mass, charge and temperature. `Dimension LTMCTDimensionBase` is the familiar five-exponent dimension, and this module provides the concrete API on top of the generic `Dimension B`:

* the `.length`, `.time`, `.mass`, `.charge`, `.temperature` exponent projections; * the `ofLTMCTDimensionBase` constructor from five exponents; and * the named generators `L𝓭`, `T𝓭`, `M𝓭`, `C𝓭`, `Θ𝓭`, shown to be the generic `single` base vectors.

This basis is *charge*-based with five generators, so it is deliberately **not** the SI/ISQ base-quantity set (which takes electric current as base and adds amount of substance and luminous intensity); see `ISQDimensionBase`.

The LTMCTDimensionBase projections

The five base-dimension exponents of a `Dimension LTMCTDimensionBase`, provided so that the familiar `.length`, `.time`, `.mass`, `.charge`, `.temperature` API is available.

The named generators are the base vectors

Each named generator `L𝓭`, `T𝓭`, … is the generic `single` base vector at the corresponding base dimension, exhibiting them as instances of the basis-generic API.

20 declarations

inductive

Default basis of base dimensions (L,T,M,C,ΘL, T, M, C, \Theta)

The type `LTMCTDimensionBase` is an inductive type representing the five base physical dimensions used as the default basis in PhysLib: length (LL), time (TT), mass (MM), charge (CC), and temperature (Θ\Theta). This basis is specifically constructed to be charge-based rather than current-based, distinguishing it from the standard SI/ISQ base-quantity set.

instance

Equality on `LTMCTDimensionBase` is decidable

For any two base dimensions d1,d2d_1, d_2 in the set {L,T,M,C,Θ}\{L, T, M, C, \Theta\} represented by the type `LTMCTDimensionBase`, it is algorithmically decidable whether d1=d2d_1 = d_2. This set comprises the five base physical dimensions: length (LL), time (TT), mass (MM), charge (CC), and temperature (Θ\Theta).

instance

`LTMCTDimensionBase` is a finite type

The type `LTMCTDimensionBase`, which represents the set of five base physical dimensions—length (LL), time (TT), mass (MM), charge (CC), and temperature (Θ\Theta)—is a finite type.

definition

Length exponent of a dimension

The function maps a physical dimension to the rational number qQq \in \mathbb{Q} representing its exponent of the base dimension of length.

definition

Time exponent of a dimension

The function maps a physical dimension to a rational number Q\mathbb{Q} representing the exponent of the base dimension of time within that dimension.

definition

Mass exponent of a dimension

Given a physical dimension DD, the function returns the rational number qQq \in \mathbb{Q} representing the exponent of the mass base dimension in the dimensional representation of DD.

definition

The charge exponent of a dimension DD

Given a physical dimension DD, this function returns the rational number qQq \in \mathbb{Q} representing the exponent of the charge component in the dimensional representation of DD.

definition

Temperature exponent of a physical dimension DD

The function maps a physical dimension DD to the rational number representing the exponent of thermodynamic temperature (often denoted by the symbol Θ\Theta) in its decomposition into base dimensions.

definition

Construct a physical dimension from exponents of L,T,M,C,ΘL, T, M, C, \Theta

Given five rational numbers l,t,m,c,θQl, t, m, c, \theta \in \mathbb{Q}, this function constructs a physical dimension DD in the LTMCTLTMCT basis (representing length, time, mass, charge, and temperature) such that the exponents of its base components are respectively l,t,m,c,l, t, m, c, and θ\theta. Symbolically, this represents the dimension LlTtMmCcΘθL^l T^t M^m C^c \Theta^\theta.

theorem

The length exponent of ofLTMCTDimensionBase(l,t,m,c,θ)\text{ofLTMCTDimensionBase}(l, t, m, c, \theta) is ll

For any rational numbers l,t,m,c,θQl, t, m, c, \theta \in \mathbb{Q}, the length exponent of the physical dimension constructed from these exponents (representing length, time, mass, charge, and temperature respectively) is equal to ll. Symbolically, (ofLTMCTDimensionBase(l,t,m,c,θ)).length=l(\text{ofLTMCTDimensionBase}(l, t, m, c, \theta)).\text{length} = l.

theorem

Time exponent of LlTtMmCcΘθL^l T^t M^m C^c \Theta^\theta equals tt

For any rational numbers l,t,m,c,θQl, t, m, c, \theta \in \mathbb{Q}, the time exponent of the physical dimension LlTtMmCcΘθL^l T^t M^m C^c \Theta^\theta (constructed via `ofLTMCTDimensionBase`) is equal to tt.

theorem

The mass exponent of a dimension LlTtMmCcΘθL^l T^t M^m C^c \Theta^\theta is mm

For any rational numbers l,t,m,c,θQl, t, m, c, \theta \in \mathbb{Q}, the mass exponent of the physical dimension constructed with exponents l,t,m,c,θl, t, m, c, \theta (representing the dimension LlTtMmCcΘθL^l T^t M^m C^c \Theta^\theta) is equal to mm.

theorem

The charge exponent of LlTtMmCcΘθL^l T^t M^m C^c \Theta^\theta is cc

For any rational numbers l,t,m,c,θQl, t, m, c, \theta \in \mathbb{Q}, the charge exponent of the physical dimension constructed with these five values as the exponents for length, time, mass, charge, and temperature respectively, is equal to cc.

theorem

Temperature exponent of LlTtMmCcΘθL^l T^t M^m C^c \Theta^\theta is θ\theta

For any rational numbers l,t,m,c,l, t, m, c, and θ\theta, the temperature exponent of the physical dimension D=LlTtMmCcΘθD = L^l T^t M^m C^c \Theta^\theta (constructed via the LTMCTLTMCT basis) is equal to θ\theta.

theorem

The temperature component of dd's exponent vector is d.temperatured.\text{temperature}

For any physical dimension dd represented in the LTMCTLTMCT basis (comprising length, time, mass, charge, and temperature), the temperature component of its exponent vector is equal to its temperature projection d.temperatured.\text{temperature}.

theorem

LdL_{\mathfrak{d}} is the single basis vector for length

The physical dimension of length LdL_{\mathfrak{d}} is equal to the single basis vector corresponding to the base dimension of length, denoted as single(length)\text{single}(\text{length}). This represents a dimension vector where the exponent for length is 11 and all other base dimensions (time, mass, charge, and temperature) have an exponent of 00.

theorem

Td=single(time)T_d = \text{single}(\text{time})

The time dimension TdT_d is equal to the basis vector single(time)\text{single}(\text{time}). Here, single(time)\text{single}(\text{time}) represents the dimension vector where the exponent for the time dimension is 11 and the exponents for all other base dimensions (length, mass, charge, and temperature) are 00.

theorem

The mass dimension Md\mathsf{M}_d is the base vector for the mass dimension

In the LTMCT (Length, Time, Mass, Charge, Temperature) dimension basis, the named mass dimension generator Md\mathsf{M}_d is equal to the base vector corresponding to the mass dimension (the vector where the exponent of mass is 1 and all other exponents are 0).

theorem

C𝓭=single(charge)C𝓭 = \text{single}(\text{charge})

The physical dimension of electric charge, denoted as C𝓭C𝓭, is equal to the basis vector in the LTMCTLTMCT (length, time, mass, charge, temperature) system that has a unit exponent for the charge dimension and zero for all other base dimensions.

theorem

Θd\Theta_d equals the single basis vector for temperature

In the LTMCTLTMCT dimension system, the base dimension for thermodynamic temperature, denoted as Θd\Theta_d, is equal to the basis vector created by the `single` function for the temperature component (representing a dimension vector where the temperature exponent is 1 and all other exponents—length, time, mass, and charge—are 0).