Skip to main content

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

kenosian_vault-0.1.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kenosian_vault-0.1.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file kenosian_vault-0.1.0.tar.gz.

File metadata

  • Download URL: kenosian_vault-0.1.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for kenosian_vault-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6b5c23334ac1b880623002a2829db1254f59ca5301b986479ac025079030a116
MD5 4f254e6454d6b1d7cbeb1406be028699
BLAKE2b-256 18d2d4755ba5e69f3c06b7f053ff9c5f36a12cc322233cb35435bcfa05929681

See more details on using hashes here.

File details

Details for the file kenosian_vault-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kenosian_vault-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for kenosian_vault-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ad25fbbfe189ff31395fd162ff8b9d8ca48dbc02bc828872fe234170f7dbb64
MD5 472ebca60f0269abe0e29063fb4154d1
BLAKE2b-256 7469255e7a6ce674aba838366afa276bf01c7a66183007019da44522471b429b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.1

2 files

0.2.0

2 files

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page