Pith. sign in

IndisputableMonolith.Cosmology.CosmicZHistory

IndisputableMonolith/Cosmology/CosmicZHistory.lean · 171 lines · 15 declarations

show as:
view math explainer →

open module explainer GitHub source

Explainer status: pending

   1import Mathlib
   2import IndisputableMonolith.Constants
   3import IndisputableMonolith.Cost
   4
   5/-!
   6# Cosmic Z-History and the Dark-Energy Shape (honest reduction of U5)
   7
   8The BIT mechanism (`Unification.BosonicIdentityTheorem.WzBITHypothesis`) gives the
   9dark-energy equation of state as
  10
  11  `w(z) = -1 + δw · Z(z)/Z_today`,
  12
  13where `Z(z)` is the integrated cosmic Z-complexity at redshift `z` and `Z_today = Z(0)`.
  14This module proves the two things that turn the dark-energy *shape* problem (U5) from
  15"posited `1/(1+z)`" into a precisely-localized, conditional derivation.
  16
  17## Results
  18
  191. **Shape reduction (exact).** Under the BIT kernel, the equation-of-state deviation is
  20   `δw(z) = δw₀ · Z(z)/Z_today`, so the *normalized* deviation equals the *normalized*
  21   cosmic-Z history (`shape_reduction`). Deriving the dark-energy shape is therefore
  22   **exactly** the problem of deriving the cosmic-Z accumulation history `Z(z)` — no more,
  23   no less. The boundary conditions are forced: `δw(0) = δw₀` (today) and `δw → 0` as
  24   `Z → 0` (early universe recovers ΛCDM).
  25
  262. **Conditional derivation of the canonical shape.** If cosmic Z accumulates linearly in
  27   the scale factor, `Z(z) = Z_today · a(z) = Z_today/(1+z)` (the
  28   `LinearScaleFactorAccumulation` premise, HYPOTHESIS), then the BIT kernel produces
  29   *exactly* the canonical `δw(z) = δw₀/(1+z)` deviation
  30   (`linear_accumulation_forces_canonical_kernel`). The shape is no longer posited; it is
  31   derived from one stated, physically-motivated premise about the Z-history.
  32
  333. **The premise is the only remaining freedom.** The Z-history `Z(z)` is monotone,
  34   positive today, and vanishing in the deep past; the linear-in-`a` member is the unique
  35   one giving the canonical kernel. What is *not* yet derived is why the accumulation is
  36   linear in `a` (rather than, say, in cosmic time or `a^p`); that single question is the
  37   honest residue of U5.
  38
  39Status: shape reduction is THEOREM; the canonical shape is THEOREM **conditional on** the
  40linear-accumulation HYPOTHESIS. Zero `sorry`, zero new `axiom`.
  41-/
  42
  43namespace IndisputableMonolith
  44namespace Cosmology
  45namespace CosmicZHistory
  46
  47open Constants
  48open Cost
  49
  50noncomputable section
  51
  52/-! ## §1. The BIT dark-energy kernel and its shape reduction -/
  53
  54/-- The BIT dark-energy equation of state `w(z) = -1 + δw₀ · Z(z)/Z_today`. -/
  55def bitKernel (dw0 Zt : ℝ) (Zhist : ℝ → ℝ) (z : ℝ) : ℝ :=
  56  -1 + dw0 * (Zhist z / Zt)
  57
  58/-- The equation-of-state deviation `δw(z) = w(z) + 1`. -/
  59def bitDeviation (dw0 Zt : ℝ) (Zhist : ℝ → ℝ) (z : ℝ) : ℝ :=
  60  bitKernel dw0 Zt Zhist z + 1
  61
  62/-- The deviation equals `δw₀ · Z(z)/Z_today`. -/
  63theorem bitDeviation_eq (dw0 Zt : ℝ) (Zhist : ℝ → ℝ) (z : ℝ) :
  64    bitDeviation dw0 Zt Zhist z = dw0 * (Zhist z / Zt) := by
  65  unfold bitDeviation bitKernel; ring
  66
  67/-- Today (`Z(0) = Z_today`), the deviation is `δw₀`. -/
  68theorem bitDeviation_today (dw0 Zt : ℝ) (Zhist : ℝ → ℝ)
  69    (h0 : Zhist 0 = Zt) (hZt : Zt ≠ 0) :
  70    bitDeviation dw0 Zt Zhist 0 = dw0 := by
  71  rw [bitDeviation_eq, h0, div_self hZt, mul_one]
  72
  73/-- Early universe (`Z(z) = 0`): the deviation vanishes, recovering `w = -1`. -/
  74theorem bitKernel_early (dw0 Zt : ℝ) (Zhist : ℝ → ℝ) (z : ℝ) (h : Zhist z = 0) :
  75    bitKernel dw0 Zt Zhist z = -1 := by
  76  unfold bitKernel; rw [h]; simp
  77
  78/-- **SHAPE REDUCTION.** The normalized dark-energy deviation equals the normalized
  79cosmic-Z history. Deriving the dark-energy shape is exactly deriving `Z(z)`. -/
  80theorem shape_reduction (dw0 Zt : ℝ) (Zhist : ℝ → ℝ) (z : ℝ) (hdw : dw0 ≠ 0) :
  81    bitDeviation dw0 Zt Zhist z / bitDeviation dw0 Zt Zhist 0
  82      = (Zhist z / Zt) / (Zhist 0 / Zt) := by
  83  rw [bitDeviation_eq, bitDeviation_eq, mul_div_mul_left _ _ hdw]
  84
  85/-! ## §2. The linear-accumulation premise forces the canonical shape -/
  86
  87/-- The cosmic-Z history for linear-in-scale-factor accumulation:
  88`Z(z) = Z_today · a(z) = Z_today/(1+z)`. -/
  89def linearZ (Zt z : ℝ) : ℝ := Zt / (1 + z)
  90
  91/-- The linear-`a` history equals `Z_today` today. -/
  92theorem linearZ_today (Zt : ℝ) : linearZ Zt 0 = Zt := by
  93  unfold linearZ; norm_num
  94
  95/-- The linear-`a` history is positive on `z ≥ 0` for positive `Z_today`. -/
  96theorem linearZ_pos (Zt : ℝ) (hZt : 0 < Zt) {z : ℝ} (hz : 0 ≤ z) : 0 < linearZ Zt z := by
  97  unfold linearZ
  98  have : (0 : ℝ) < 1 + z := by linarith
  99  positivity
 100
 101/-- The linear-`a` history is non-increasing in `z` (less Z accumulated at earlier epochs)
 102on `z ≥ 0`, for non-negative `Z_today`. -/
 103theorem linearZ_antitone (Zt : ℝ) (hZt : 0 ≤ Zt) {z1 z2 : ℝ}
 104    (h1 : 0 ≤ z1) (h12 : z1 ≤ z2) : linearZ Zt z2 ≤ linearZ Zt z1 := by
 105  unfold linearZ
 106  have hd1 : (0 : ℝ) < 1 + z1 := by linarith
 107  have hd2 : (0 : ℝ) < 1 + z2 := by linarith
 108  gcongr
 109
 110/-- **LINEAR ACCUMULATION FORCES THE CANONICAL KERNEL.** With the linear-`a` cosmic-Z
 111history, the BIT kernel produces exactly the canonical `δw(z) = δw₀/(1+z)` deviation. The
 112`1/(1+z)` shape is derived from the accumulation premise, not posited. -/
 113theorem linear_accumulation_forces_canonical_kernel (dw0 Zt z : ℝ)
 114    (hZt : Zt ≠ 0) (_hz : (1 : ℝ) + z ≠ 0) :
 115    bitDeviation dw0 Zt (linearZ Zt) z = dw0 / (1 + z) := by
 116  rw [bitDeviation_eq]
 117  unfold linearZ
 118  rw [div_div, mul_comm (1 + z) Zt, ← div_div, div_self hZt, mul_one_div]
 119
 120/-- The induced equation of state is the canonical kernel `w(z) = -1 + δw₀/(1+z)`. -/
 121theorem linear_accumulation_kernel (dw0 Zt z : ℝ)
 122    (hZt : Zt ≠ 0) (hz : (1 : ℝ) + z ≠ 0) :
 123    bitKernel dw0 Zt (linearZ Zt) z = -1 + dw0 / (1 + z) := by
 124  have h := linear_accumulation_forces_canonical_kernel dw0 Zt z hZt hz
 125  unfold bitDeviation at h
 126  linarith [h]
 127
 128/-- **GENERAL RECIPROCAL HISTORY.** For any cosmic-Z history of reciprocal form
 129`Z(z) = Z_today / g(z)`, the BIT deviation is `δw(z) = δw₀ / g(z)`. The canonical kernel is
 130`g(z) = 1+z` (linear-in-`a`); a power-law history `g(z) = (1+z)^p` gives
 131`δw(z) = δw₀/(1+z)^p`, where the shape index `p` is read directly off the `w(z)`
 132reconstruction. The accumulation law chooses `g`; every downstream observable is then fixed.
 133This is the precise statement that U5's residue is exactly the choice of `g`. -/
 134theorem reciprocal_history_kernel (dw0 Zt : ℝ) (g : ℝ → ℝ) (z : ℝ) (hZt : Zt ≠ 0) :
 135    bitDeviation dw0 Zt (fun z => Zt / g z) z = dw0 / g z := by
 136  rw [bitDeviation_eq]
 137  show dw0 * (Zt / g z / Zt) = dw0 / g z
 138  rw [div_div, mul_comm (g z) Zt, ← div_div, div_self hZt, mul_one_div]
 139
 140/-! ## §3. Certificate -/
 141
 142/-- **COSMIC Z-HISTORY / DARK-ENERGY SHAPE CERTIFICATE.** The dark-energy shape is the
 143cosmic-Z history (shape reduction), and the canonical `1/(1+z)` is forced by linear-in-`a`
 144accumulation. The only residual freedom is the accumulation law itself. -/
 145structure CosmicZShapeCert where
 146  deviation_formula :
 147    ∀ (dw0 Zt : ℝ) (Zhist : ℝ → ℝ) (z : ℝ),
 148      bitDeviation dw0 Zt Zhist z = dw0 * (Zhist z / Zt)
 149  today_value :
 150    ∀ (dw0 Zt : ℝ) (Zhist : ℝ → ℝ), Zhist 0 = Zt → Zt ≠ 0 →
 151      bitDeviation dw0 Zt Zhist 0 = dw0
 152  shape_is_z_history :
 153    ∀ (dw0 Zt : ℝ) (Zhist : ℝ → ℝ) (z : ℝ), dw0 ≠ 0 →
 154      bitDeviation dw0 Zt Zhist z / bitDeviation dw0 Zt Zhist 0
 155        = (Zhist z / Zt) / (Zhist 0 / Zt)
 156  linear_forces_canonical :
 157    ∀ (dw0 Zt z : ℝ), Zt ≠ 0 → (1 : ℝ) + z ≠ 0 →
 158      bitDeviation dw0 Zt (linearZ Zt) z = dw0 / (1 + z)
 159
 160def cosmicZShapeCert : CosmicZShapeCert where
 161  deviation_formula := bitDeviation_eq
 162  today_value := bitDeviation_today
 163  shape_is_z_history := shape_reduction
 164  linear_forces_canonical := linear_accumulation_forces_canonical_kernel
 165
 166end
 167
 168end CosmicZHistory
 169end Cosmology
 170end IndisputableMonolith
 171

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