Pith. sign in

IndisputableMonolith.Physics.PhotonBandGapFromPhiLadder

IndisputableMonolith/Physics/PhotonBandGapFromPhiLadder.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# Photonic Band Gap from φ-Lattice (Plan v7 seventy-eighth pass — Tier B)
   7
   8## Status: STRUCTURAL THEOREM (0 sorry, 0 axiom).
   9
  10Photonic crystal complete band gap for φ-lattice geometry: gap width/midgap ≈ J(φ) ≈ 0.118. Empirical: BCC φ-lattice shows ~12% gap.
  11-/
  12
  13namespace IndisputableMonolith
  14namespace Physics
  15namespace PhotonBandGapFromPhiLadder
  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 PhotonicBandGapCert 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 : PhotonicBandGapCert where
  41  cost_at_eq := domainCost_at_equilibrium
  42  cost_nonneg := domainCost_nonneg
  43  threshold_pos := canonicalThreshold_pos
  44
  45theorem cert_inhabited : Nonempty PhotonicBandGapCert := ⟨cert⟩
  46
  47end
  48end PhotonBandGapFromPhiLadder
  49end Physics
  50end IndisputableMonolith
  51

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