Encyclopedia Chemistry Chemistry Osmosis3 From Jcost
ARTICLE 4 claims 2 theorems 1 model
Chemistry Osmosis3 From Jcost
A machine-checked module shows that a general cost function vanishes at equilibrium, but it does not yet prove any chemistry.
Osmotic pressure from a cost function
Osmotic pressure is the pressure that must be applied to a solution to stop the flow of solvent across a semipermeable membrane. The classical law, due to Jacobus van 't Hoff in 1887, states that the osmotic pressure Π equals iMRT, where i is the number of particles per formula unit, M is the molar concentration, R is the gas constant, and T is the absolute temperature. A solution is iso-osmotic when it has the same osmotic pressure as another solution, meaning no net solvent flow occurs.
In Recognition Science, the framework models osmotic equilibrium through its cost function, a measure of the forced price of a recognition event. The module Osmosis3_FromJCost defines a cost for a ratio of concentrations, J(m/e), where m is a molarity and e is a reference molarity. The framework's proved theorem states that this cost vanishes when m equals e, and is nonnegative for all positive inputs. This matches the physical idea that an iso-osmotic pair has zero osmotic cost.
The module proves three general facts about this cost function: it is zero when the two concentrations are equal, it never goes negative for positive concentrations, and the golden-ratio-derived constant φ − 3/2 is positive. These are all true statements about the cost function, and they are checked by the machine-checked library of formal theorems. The module also bundles these into a certificate structure, a formal package that records the proofs together.
What the module does not do is connect these facts to any specific chemical system. The cost is defined as J(m/e) without any reference to a particular solute, membrane, or experimental setup. The docstring notes that the intended application to van 't Hoff's law, where the osmotic pressure would be RT · J(M/M_iso) · M_total, is a research note, not a theorem. To make this a theorem about osmosis, one would need a definition of m and e in the subject's own terms, which the module does not provide.
The practical upshot is clear: the framework has a general mathematical structure that could in principle describe osmotic equilibrium, but the bridge from that structure to actual chemistry remains open. The module is a template, one of many identical siblings, that shows what a cost-based formulation would look like. It establishes the formal properties of the cost function, not the physics of osmosis.
MODEL domainCost · IndisputableMonolith/Chemistry/Osmosis3_FromJCost.lean
def domainCost (m e : ℝ) : ℝ := Jcost (m / e)
THEOREM domainCost_at_eq · domainCost_nonneg · IndisputableMonolith/Chemistry/Osmosis3_FromJCost.lean
theorem domainCost_at_eq (r : ℝ) (h : r ≠ 0) : domainCost r r = 0 := by
unfold domainCost; rw [div_self h]; exact Jcost_unit0
theorem domainCost_nonneg (m e : ℝ) (hm : 0 < m) (he : 0 < e) : 0 ≤ domainCost m e := by
unfold domainCost; exact Jcost_nonneg (div_pos hm he)
THEOREM cert_inhabited · IndisputableMonolith/Chemistry/Osmosis3_FromJCost.lean
theorem cert_inhabited : Nonempty Osmosis3Cert := ⟨cert⟩
What this page does not claim
The module proves van 't Hoff's law or any specific osmotic pressure formula. The cost function J(m/e) is derived from chemical principles rather than chosen as a model. The constant φ − 3/2 has a demonstrated physical meaning in osmosis.
Verify this page
Every tagged claim above names its theorem. To check one yourself rather than trust this page, elaborate the source module with Lean 4 and audit its axiom basis:
$ lake env lean IndisputableMonolith/Chemistry/Osmosis3_FromJCost.lean
expected axiom basis: [propext, Classical.choice, Quot.sound] (the Lean kernel's standard three; no RS-specific axioms)
A page whose claims cannot be reproduced this way does not ship. In production, every anchor links to the exact declaration in the public source release, and this block carries the build receipt for the page itself.
Derived articles
This page is generated by a question-recursion engine: the questions its answers raise become the next pages. The current agenda, with open targets marked red:
- What definition of m and e in chemical terms would make this module a theorem about osmosis?
- How does the cost function J relate to the measurable osmotic pressure in a real solution?
- What experimental setup would falsify the proposed cost-based formulation of van 't Hoff's law?
MACHINE LAYER · GROUNDED CLAIM TABLE · CLICK TO EXPAND
MODEL domainCost · IndisputableMonolith/Chemistry/Osmosis3_FromJCost.lean
def domainCost (m e : ℝ) : ℝ := Jcost (m / e)The module defines a cost for a ratio of concentrations, J(m/e), where m is a molarity and e is a reference molarity. domainCost · IndisputableMonolith/Chemistry/Osmosis3_FromJCost.leanTHEOREM domainCost_at_eq · domainCost_nonneg · IndisputableMonolith/Chemistry/Osmosis3_FromJCost.lean
theorem domainCost_at_eq (r : ℝ) (h : r ≠ 0) : domainCost r r = 0 := by unfold domainCost; rw [div_self h]; exact Jcost_unit0theorem domainCost_nonneg (m e : ℝ) (hm : 0 < m) (he : 0 < e) : 0 ≤ domainCost m e := by unfold domainCost; exact Jcost_nonneg (div_pos hm he)The framework's proved theorem states that this cost vanishes when m equals e, and is nonnegative for all positive inputs. domainCost_at_eq · domainCost_nonneg · IndisputableMonolith/Chemistry/Osmosis3_FromJCost.leanTHEOREM cert_inhabited · IndisputableMonolith/Chemistry/Osmosis3_FromJCost.lean
theorem cert_inhabited : Nonempty Osmosis3Cert := ⟨cert⟩The module proves three general facts about this cost function: it is zero when the two concentrations are equal, it never goes negative for positive concentrations, and the golden-ratio-derived constant φ − 3/2 is positive. cert_inhabited · IndisputableMonolith/Chemistry/Osmosis3_FromJCost.lean- OPENThe module does not connect these facts to any specific chemical system.