AFTD Auto-Formalizing Theoretical Domains

SpeedOfLight

structureimported Lean

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 arbitrary system of units.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
structure SpeedOfLight
Defined in
Physlib, `SpeedOfLight`
Lean proof
By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.
Verified
09 Oct 2026
Axioms
none listed
Used by 20

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
/-- 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 arbitrary system of units. -/
structure SpeedOfLight where
  /-- The underlying value of the speed of light. -/
  val : ℝ
  pos : 0 < val
See it in the graphDiscuss this resultChallenge it