Skip to content

K-Lean: machine-verified contracts for stLearn spatial analysis #351

@Heime-Jorgen

Description

@Heime-Jorgen

K-Lean offers machine-verified mathematical contracts for spatial transcriptomics tools.

For stLearn, the following contracts are relevant:

ShannonEntropy: formal verification that spatial tissue entropy calculations are non-negative and bounded by log(n) — essential for cell trajectory inference on tissue morphology

These Lean 4 proofs run in CI and catch numerical edge cases before they reach production.

GitHub: https://github.com/Heime-Jorgen/k-lean
Docs: https://kenosian.com/k-lean

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions