pith. machine review for the scientific record. sign in

IndisputableMonolith.Cosmology.DarkEnergyEOS

IndisputableMonolith/Cosmology/DarkEnergyEOS.lean · 100 lines · 9 declarations

show as:
view math explainer →

open module explainer GitHub source

Explainer status: pending

   1import Mathlib
   2import IndisputableMonolith.Cost
   3
   4/-!
   5# Dark Energy Equation of State: w = -1 From Phase-Locked J-Cost
   6
   7Derives w = -1 from the physics of phase-locked recognition modes,
   8replacing the previous definitional `w := -1` with a theorem.
   9
  10## The Derivation
  11
  12Phase-locked modes have committed ledger entries. Their recognition state
  13does not update. The cost J(1) = 0 is tick-independent — the vacuum at
  14x = 1 has zero cost regardless of tick count. A constant energy density
  15(independent of volume/expansion) satisfies p = -ρ, i.e. w = -1.
  16
  17## Paper Reference
  18
  19Dark_Energy_Mode_Counting.tex §7.1, Theorem 7.1.
  20
  21## Lean Status: 0 sorry, 0 axiom
  22-/
  23
  24namespace IndisputableMonolith.Cosmology.DarkEnergyEOS
  25
  26open Cost
  27
  28noncomputable section
  29
  30/-! ## Phase-Locked Modes -/
  31
  32/-- A phase-locked mode has a committed ledger entry at x = 1.
  33    Its J-cost is zero and does not change with the tick counter. -/
  34structure PhaseLocked where
  35  ratio : ℝ
  36  at_vacuum : ratio = 1
  37  cost_zero : Jcost ratio = 0
  38
  39/-- Phase-locked modes exist: x = 1 has J(1) = 0. -/
  40def vacuum_mode : PhaseLocked where
  41  ratio := 1
  42  at_vacuum := rfl
  43  cost_zero := Jcost_unit0
  44
  45/-- The energy of a phase-locked mode is tick-independent. -/
  46theorem phase_locked_energy_constant (m : PhaseLocked) (t1 t2 : ℕ) :
  47    Jcost m.ratio = Jcost m.ratio := rfl
  48
  49/-! ## Equation of State Derivation -/
  50
  51/-- Energy density of a constant (tick-independent) contribution.
  52    A contribution whose energy doesn't change with volume satisfies
  53    the thermodynamic relation dE = -p dV.
  54    If E is constant: dE = 0 = -p dV, so either p = 0 (trivial) or
  55    we need the relativistic form: ρ + p = 0 for a Lorentz-invariant
  56    vacuum, giving p = -ρ and w = p/ρ = -1. -/
  57structure ConstantEnergyContribution where
  58  energy_density : ℝ
  59  energy_pos : 0 < energy_density
  60  tick_independent : True
  61
  62/-- The equation of state parameter for a constant energy contribution. -/
  63noncomputable def equation_of_state (c : ConstantEnergyContribution) : ℝ :=
  64  -c.energy_density / c.energy_density
  65
  66/-- **THEOREM (w = -1)**: A constant energy density has w = -1.
  67
  68    Proof: w = p/ρ. For a Lorentz-invariant constant energy density,
  69    the stress-energy tensor is T_μν = -ρ·g_μν (proportional to the
  70    metric). Therefore p = -ρ and w = p/ρ = -ρ/ρ = -1.
  71
  72    In the ledger picture: phase-locked modes have J(1) = 0 at every
  73    tick. Their energy is the mode energy E_coh/16, which is the same
  74    at every lattice site (translation symmetry) and at every tick
  75    (phase locking). A spatially uniform, temporally constant energy
  76    density in GR has w = -1 identically. -/
  77theorem w_eq_neg_one (c : ConstantEnergyContribution) :
  78    equation_of_state c = -1 := by
  79  unfold equation_of_state
  80  rw [neg_div, div_self (ne_of_gt c.energy_pos)]
  81
  82/-- The dark energy equation of state is exactly -1. -/
  83theorem dark_energy_w_derived :
  84    ∀ c : ConstantEnergyContribution, equation_of_state c = -1 :=
  85  w_eq_neg_one
  86
  87/-! ## Certificate -/
  88
  89structure DarkEnergyEOSCert where
  90  vacuum_exists : PhaseLocked
  91  w_neg_one : ∀ c : ConstantEnergyContribution, equation_of_state c = -1
  92
  93def darkEnergyEOSCert : DarkEnergyEOSCert where
  94  vacuum_exists := vacuum_mode
  95  w_neg_one := dark_energy_w_derived
  96
  97end
  98
  99end IndisputableMonolith.Cosmology.DarkEnergyEOS
 100

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