PhysLean Documentation

PhysLean.Relativity.SpaceTime.Basic

Space time #

This file introduce 4d Minkowski spacetime.

@[reducible, inline]
abbrev SpaceTime (d : := 3) :

The space-time

Equations
Instances For

    To space and time #

    The space part of spacetime.

    Equations
    Instances For
      @[simp]
      theorem SpaceTime.space_toCoord_symm {d : } (f : Fin 1 Fin d) :
      space (Lorentz.Vector.toCoord.symm f) = fun (i : Fin d) => f (Sum.inr i)

      The function space is equivariant with respect to rotations.

      Equations
      Instances For

        The time part of spacetime.

        Equations
        Instances For

          A continuous linear equivalence between SpaceTime d and Time × Space d.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Coordinates #

            def SpaceTime.coord {d : } (μ : Fin (1 + d)) :

            For a given μ : Fin (1 + d) coord μ p is the coordinate of p in the direction μ.

            This is denoted 𝔁 μ p, where 𝔁 is typed with \MCx.

            Equations
            Instances For

              For a given μ : Fin (1 + d) coord μ p is the coordinate of p in the direction μ.

              This is denoted 𝔁 μ p, where 𝔁 is typed with \MCx.

              Equations
              Instances For

                Derivatives #

                noncomputable def SpaceTime.deriv {M : Type} [AddCommGroup M] [Module M] [TopologicalSpace M] {d : } (μ : Fin (1 + d)) (f : SpaceTime dM) :
                SpaceTime dM

                The derivative of a function SpaceTime d → ℝ along the μ coordinte.

                Equations
                Instances For

                  The derivative of a function SpaceTime d → ℝ along the μ coordinte.

                  Equations
                  Instances For
                    theorem SpaceTime.deriv_eq {M : Type} [AddCommGroup M] [Module M] [TopologicalSpace M] {d : } (μ : Fin (1 + d)) (f : SpaceTime dM) (y : SpaceTime d) :
                    @[simp]
                    theorem SpaceTime.deriv_zero {d : } (μ : Fin (1 + d)) :
                    (deriv μ fun (x : SpaceTime d) => 0) = 0
                    theorem SpaceTime.neg_deriv {d : } (μ : Fin (1 + d)) (f : SpaceTime d) :
                    -deriv μ f = deriv μ fun (y : SpaceTime d) => -f y
                    theorem SpaceTime.neg_deriv_apply {d : } (μ : Fin (1 + d)) (f : SpaceTime d) (y : SpaceTime d) :
                    -deriv μ f y = deriv μ (fun (y : SpaceTime d) => -f y) y
                    theorem SpaceTime.deriv_coord_same {d : } (μ : Fin (1 + d)) (y : SpaceTime d) :
                    deriv μ (⇑(coord μ)) y = 1
                    theorem SpaceTime.deriv_coord_diff {d : } (μ ν : Fin (1 + d)) (h : μ ν) (y : SpaceTime d) :
                    deriv μ (⇑(coord ν)) y = 0
                    theorem SpaceTime.deriv_coord_eq_if {d : } (μ ν : Fin (1 + d)) (y : SpaceTime d) :
                    deriv μ (⇑(coord ν)) y = if μ = ν then 1 else 0