pith. machine review for the scientific record. sign in
inductive

SolvationShell

definition
show as:
view math explainer →
module
IndisputableMonolith.Chemistry.SolvationShellsFromConfigDim
domain
Chemistry
line
20 · github
papers citing
none yet

open explainer

Generate a durable explainer page for this declaration.

open lean source

IndisputableMonolith.Chemistry.SolvationShellsFromConfigDim on GitHub at line 20.

browse module

All declarations in this module, on Recognition.

explainer page

Tracked in the explainer inventory; generation is lazy so crawlers do not trigger LLM jobs.

open explainer

used by

formal source

  17namespace IndisputableMonolith.Chemistry.SolvationShellsFromConfigDim
  18open Constants
  19
  20inductive SolvationShell where
  21  | primaryHydration
  22  | secondaryHydration
  23  | tertiaryHydration
  24  | bulkBoundary
  25  | farBulk
  26  deriving DecidableEq, Repr, BEq, Fintype
  27
  28theorem solvationShell_count : Fintype.card SolvationShell = 5 := by decide
  29
  30noncomputable def shellRadius (k : ℕ) : ℝ := phi ^ k
  31
  32theorem shellRadius_ratio (k : ℕ) : shellRadius (k + 1) / shellRadius k = phi := by
  33  unfold shellRadius
  34  have hpos : (0 : ℝ) < phi ^ k := pow_pos phi_pos k
  35  rw [div_eq_iff hpos.ne', pow_succ]
  36  ring
  37
  38theorem shellRadius_pos (k : ℕ) : 0 < shellRadius k := pow_pos phi_pos k
  39
  40structure SolvationShellCert where
  41  five_shells : Fintype.card SolvationShell = 5
  42  phi_ratio : ∀ k, shellRadius (k + 1) / shellRadius k = phi
  43  radius_always_pos : ∀ k, 0 < shellRadius k
  44
  45noncomputable def solvationShellCert : SolvationShellCert where
  46  five_shells := solvationShell_count
  47  phi_ratio := shellRadius_ratio
  48  radius_always_pos := shellRadius_pos
  49
  50end IndisputableMonolith.Chemistry.SolvationShellsFromConfigDim