pith. sign in

IndisputableMonolith.Physics.CondensedMatterPhasesFromRS

IndisputableMonolith/Physics/CondensedMatterPhasesFromRS.lean · 52 lines · 8 declarations

show as:
view math explainer →

open module explainer GitHub source

Explainer status: ready · generated 2026-05-13 14:21:51.391927+00:00

   1import Mathlib
   2import IndisputableMonolith.Common.CanonicalJBand
   3
   4/-!
   5# Condensed Matter Phases from RS — B9/B13 Materials Depth
   6
   7Five canonical condensed matter phases (solid, liquid, gas, plasma, BEC)
   8= configDim D = 5.
   9
  10Phase transitions in RS: J(order_param) crosses canonical band J(φ).
  11
  12Additional: five topological phases (trivial, topological insulator, topological
  13superconductor, Chern insulator, quantum spin liquid) = configDim D = 5.
  14
  15Lean: 5 phases + 5 topological = 10 = 2 × configDim D.
  16
  17Lean status: 0 sorry, 0 axiom.
  18-/
  19
  20namespace IndisputableMonolith.Physics.CondensedMatterPhasesFromRS
  21open Common.CanonicalJBand
  22
  23inductive MatterPhase where
  24  | solid | liquid | gas | plasma | BEC
  25  deriving DecidableEq, Repr, BEq, Fintype
  26
  27theorem matterPhaseCount : Fintype.card MatterPhase = 5 := by decide
  28
  29inductive TopologicalPhase where
  30  | trivial | topologicalInsulator | topologicalSC | chernInsulator | qSL
  31  deriving DecidableEq, Repr, BEq, Fintype
  32
  33theorem topologicalPhaseCount : Fintype.card TopologicalPhase = 5 := by decide
  34
  35/-- Total phases: 5 + 5 = 10 = 2 × D. -/
  36def totalPhaseCount : ℕ := Fintype.card MatterPhase + Fintype.card TopologicalPhase
  37theorem totalPhases_eq_10 : totalPhaseCount = 10 := by decide
  38
  39structure CondensedMatterPhaseCert where
  40  five_matter : Fintype.card MatterPhase = 5
  41  five_topological : Fintype.card TopologicalPhase = 5
  42  total_10 : totalPhaseCount = 10
  43  phase_threshold : CanonicalCert
  44
  45noncomputable def condensedMatterPhaseCert : CondensedMatterPhaseCert where
  46  five_matter := matterPhaseCount
  47  five_topological := topologicalPhaseCount
  48  total_10 := totalPhases_eq_10
  49  phase_threshold := cert
  50
  51end IndisputableMonolith.Physics.CondensedMatterPhasesFromRS
  52

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