Skip to content

K-Lean: machine-verified contracts for biological image analysis #2

@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 react-alignment-graphic's work on biological image analysis and cell profiling, a few contracts may be directly relevant:

  • KLean.OsmoticPressure — Van't Hoff pressure bounds under dilute-solution assumptions
  • KLean.MembraneVoltage — Nernst potential monotonicity with respect to ion concentration ratio
  • KLean.MrnaHalfLife — transcript stability bounds in senescent vs. proliferating cells

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