Skip to content

K-Lean: machine-verified contracts for critical-care EHR research (MIMIC database) #2011

@Heime-Jorgen

Description

@Heime-Jorgen

Hi,

We've been working on K-Lean (https://github.com/Heime-Jorgen/kenosian-lean4) — a Lean 4 library providing machine-verified mathematical contracts for computational biology.

Given mimic-code's work on critical-care EHR research (MIMIC database), a few contracts may be directly relevant:

  • KLean.CkdMdrd — machine-certified eGFR bounds for ICU renal-failure risk scoring
  • KLean.OsmoticPressure — osmotic pressure contracts for fluid-balance decision support

Each contract is sorry-free and verified by the Lean kernel — meaning the mathematical properties (bounds, monotonicity, conservation laws) are machine-certified, not just tested.

Happy to hear if formal verification would be useful here, or if there are specific formulas in this codebase worth covering.

— Kenosian (https://kpp.kenosian.com/k-lean.html)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions