pith. sign in

IndisputableMonolith.Chemistry.PhaseCoexistenceFromJCost

IndisputableMonolith/Chemistry/PhaseCoexistenceFromJCost.lean · 36 lines · 4 declarations

show as:
view math explainer →

open module explainer GitHub source

Explainer status: ready · generated 2026-06-04 23:52:35.614609+00:00

   1import Mathlib
   2import IndisputableMonolith.Constants
   3
   4/-!
   5# Phase Coexistence from J-Cost — Thermodynamics Depth
   6
   7Five canonical phase-coexistence topologies (= configDim D = 5):
   8  two-phase binodal, three-phase eutectic, four-phase peritectic,
   9  azeotrope, tricritical point.
  10
  11Binodal curvature gated by canonical J(φ) band on the
  12chemical-potential ratio.
  13
  14Lean status: 0 sorry, 0 axiom.
  15-/
  16
  17namespace IndisputableMonolith.Chemistry.PhaseCoexistenceFromJCost
  18
  19inductive PhaseCoexistenceTopology where
  20  | binodal
  21  | eutectic
  22  | peritectic
  23  | azeotrope
  24  | tricritical
  25  deriving DecidableEq, Repr, BEq, Fintype
  26
  27theorem phaseTopology_count : Fintype.card PhaseCoexistenceTopology = 5 := by decide
  28
  29structure PhaseCoexistenceCert where
  30  five_topologies : Fintype.card PhaseCoexistenceTopology = 5
  31
  32def phaseCoexistenceCert : PhaseCoexistenceCert where
  33  five_topologies := phaseTopology_count
  34
  35end IndisputableMonolith.Chemistry.PhaseCoexistenceFromJCost
  36

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