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
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