PhysLean Documentation

PhysLean.Relativity.SpeedOfLight

The Speed of Light #

i. Overview #

In this module we deine a type for the speed of light in a vacuum, along with some basic properties. An element of this type is a positive real number, and should be thought of as the speed of light in some chosen but arbitary system of units.

ii. Key results #

iii. Table of contents #

iv. References #

A. The Speed of Light type #

structure SpeedOfLight :

The speed of light in a vacuum. An element of this type should be thought of as the speed of light in some chosen but arbitary system of units.

  • val :

    The underlying value of the speed of light.

  • pos : 0 < self.val
Instances For

    B. Instances on the type #

    C. The instance of one #

    We define the instance of one for SpeedOfLight to be the speed of light equal to 1. This is useful when we are working in units where the speed of light is equal to one.

    @[simp]

    D. Positivity properties #

    @[simp]