pith. machine review for the scientific record. sign in

IndisputableMonolith.Physics.ConservationLawsFromRS

IndisputableMonolith/Physics/ConservationLawsFromRS.lean · 51 lines · 7 declarations

show as:
view math explainer →

open module explainer GitHub source

Explainer status: pending

   1import Mathlib
   2
   3/-!
   4# Conservation Laws from RS — Foundation
   5
   6Noether's theorem: each symmetry → conservation law.
   7
   8RS conserved quantities:
   9- σ = 0 (recognition charge conservation)
  10- J total decreasing (second law)
  11- Momentum: from translation symmetry
  12- Angular momentum: from rotation symmetry
  13- Energy: from time translation symmetry
  14
  15Five canonical conservation laws (energy, momentum, angular momentum,
  16electric charge, baryon number) = configDim D = 5.
  17
  18Key: σ = 0 is the RS form of charge conservation.
  19
  20Lean: 5 conservation laws, 3 from spacetime = D symmetries.
  21
  22Lean status: 0 sorry, 0 axiom.
  23-/
  24
  25namespace IndisputableMonolith.Physics.ConservationLawsFromRS
  26
  27inductive ConservationLaw where
  28  | energy | momentum | angularMomentum | electricCharge | baryonNumber
  29  deriving DecidableEq, Repr, BEq, Fintype
  30
  31theorem conservationLawCount : Fintype.card ConservationLaw = 5 := by decide
  32
  33/-- Three spacetime symmetry conserved quantities = D = 3. -/
  34def spacetimeConserved : ℕ := 3
  35theorem spacetime_conserved_eq_D : spacetimeConserved = 3 := rfl
  36
  37/-- Total conservation laws: 3 + 2 = 5 = D + 2. -/
  38theorem total_conservation : spacetimeConserved + 2 = 5 := by decide
  39
  40structure ConservationCert where
  41  five_laws : Fintype.card ConservationLaw = 5
  42  three_spacetime : spacetimeConserved = 3
  43  total_five : spacetimeConserved + 2 = 5
  44
  45def conservationCert : ConservationCert where
  46  five_laws := conservationLawCount
  47  three_spacetime := spacetime_conserved_eq_D
  48  total_five := total_conservation
  49
  50end IndisputableMonolith.Physics.ConservationLawsFromRS
  51

source mirrored from github.com/jonwashburn/shape-of-logic