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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kenosian_vault-0.2.0.tar.gz.
File metadata
- Download URL: kenosian_vault-0.2.0.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c44c7e33243eb394b4aeb4a93883026ff481a69b8049b72feabb3c9fbb4331c
|
|
| MD5 |
f1faa4e5d8a5279539a0b90b3aeff2e0
|
|
| BLAKE2b-256 |
c8cbd58b7a28d8ae8162affee028a4c11afceb6dca95c1637e4875babee9b5fe
|
File details
Details for the file kenosian_vault-0.2.0-py3-none-any.whl.
File metadata
- Download URL: kenosian_vault-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2932a9ae5a7a0965f2adfd49899340173fc1e408de04acbe13e0a349b7905d0b
|
|
| MD5 |
b4e0bc90f940cfed62aa2694f07a3a63
|
|
| BLAKE2b-256 |
93d9f16033cad2ab81baaab190390032db4a896b15809af2bb6057320c6e7a7c
|