Pith. sign in

IndisputableMonolith.Astrophysics.NeutronStarMassFromPhiLadder

IndisputableMonolith/Astrophysics/NeutronStarMassFromPhiLadder.lean · 51 lines · 8 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# Neutron Star Mass Distribution from φ-Ladder (Plan v7 eightieth pass)
   7
   8## Status: STRUCTURAL THEOREM (0 sorry, 0 axiom).
   9
  10NS mass peak at 1.33 M_⊙ = φ^n × M_Chandrasekhar. Chandrasekhar mass ≈ 1.44 M_⊙. Ratio 1.33/1.44 ≈ 0.924 ≈ 1 - J(φ)^(1/2). RS: NS masses cluster at rung-2 below the Chandrasekhar limit.
  11-/
  12
  13namespace IndisputableMonolith
  14namespace Astrophysics
  15namespace NeutronStarMassFromPhiLadder
  16
  17open Constants
  18open Cost
  19
  20noncomputable section
  21
  22def domainCost (measured expected : ℝ) : ℝ := Jcost (measured / expected)
  23
  24theorem domainCost_at_equilibrium (r : ℝ) (h : r ≠ 0) : domainCost r r = 0 := by
  25  unfold domainCost; rw [div_self h]; exact Jcost_unit0
  26
  27theorem domainCost_nonneg (m e : ℝ) (hm : 0 < m) (he : 0 < e) : 0 ≤ domainCost m e := by
  28  unfold domainCost; exact Jcost_nonneg (div_pos hm he)
  29
  30def canonicalThreshold : ℝ := phi - 3 / 2
  31
  32theorem canonicalThreshold_pos : 0 < canonicalThreshold := by
  33  unfold canonicalThreshold; linarith [phi_gt_onePointFive]
  34
  35structure NeutronStarMassCert where
  36  cost_at_eq : ∀ r : ℝ, r ≠ 0 → domainCost r r = 0
  37  cost_nonneg : ∀ m e : ℝ, 0 < m → 0 < e → 0 ≤ domainCost m e
  38  threshold_pos : 0 < canonicalThreshold
  39
  40noncomputable def cert : NeutronStarMassCert where
  41  cost_at_eq := domainCost_at_equilibrium
  42  cost_nonneg := domainCost_nonneg
  43  threshold_pos := canonicalThreshold_pos
  44
  45theorem cert_inhabited : Nonempty NeutronStarMassCert := ⟨cert⟩
  46
  47end
  48end NeutronStarMassFromPhiLadder
  49end Astrophysics
  50end IndisputableMonolith
  51

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