kenosian-vault
Ask whether a mathematical claim passed the Lean 4 kernel — in one call.
pip install kenosian-vault
No Lean toolchain is bundled. No dependencies. The install is a second.
Query the vault
from kenosian_vault import Vault
v = Vault()
c = v.theorem("KLean.Atoms.Bio.BiologicalAgeAtom.weighted_sum_nonneg")
c.verified # True
c.axiom_level # 'kernel-standard'
c.kernel_standard # True
c.olean_sha256 # '0ccb1c02...'
c.commit # 'fc0a692' — the vault commit that answered
verified is True or None, never False. None means the compiled artifact
is not present at that commit — that is unknown, not false. We do not sell a
true we cannot back.
Pin a commit when you audit
A vault that moves under you gives different answers to the same question.
v = Vault(expect_commit="fc0a692")
v.theorem(...) # raises StaleVaultError if the server has moved on
Every response carries X-KLV-Commit-Hash, so you can reconcile against a static
manifest without trusting the live server.
Check your own proof locally
from kenosian_vault import check
r = check("my_proof.lean")
if r.ok:
print(r.axiom_level, r.axioms)
else:
print(r.reason)
This calls the lake you already have. If Lean is not installed it says so
rather than pretending.
This is a filter, not a gatekeeper. The result can be forged — editing this file is enough. Client-side verification cannot be a basis for trust. What you get is a failure known in five seconds, which is where its value is: bad submissions never become pull requests.
Trust comes from the CI that re-runs the kernel after you submit.
What this is not
It does not reproduce a paper's experiments. It answers whether the mathematical claims a paper rests on passed the kernel, and lets you confirm that answer without our server.
What counts as passing
kernel-standard means the proof depends only on propext, Classical.choice,
and Quot.sound. If native_decide is involved, the level drops to
compiler-trusted — the compiler is then in the trusted base, and we say so
rather than hiding it.
A proof whose axioms include sorryAx did not close. That is reported as broken,
not as verified.
Apache-2.0
Metadata
Release files for kenosian-vault 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kenosian_vault-0.2.1.tar.gz | 9.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kenosian_vault-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.2 kB
Release files / kenosian_vault-0.2.1.tar.gz
| Download URL | kenosian_vault-0.2.1.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ccb1ae00830f22975099a7775eaca69da22622d01b8a8f4d231c98a74df17898
|
|
BLAKE2b-256 checksum How to use checksums |
4f9eba3447c77204c0dc4eceba7f37a02322624ef3fa88d77285be064f865ed6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Release files / kenosian_vault-0.2.1-py3-none-any.whl
| Download URL | kenosian_vault-0.2.1-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d43f6a8e46cae1b727e5f50a18fd3fb5b7b3c489c4537f289f03d8f80f889f8f
|
|
BLAKE2b-256 checksum How to use checksums |
500ac4a491e198f4c1e4bfdcbeafe54bb7a4f6fcb3da08b6460368eea136f089
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|