Thanks to visit codestin.com
Credit goes to github.com

Skip to content

szl-holdings/lean-kernel

lean-kernel

A live, machine-checked proof kernel that anyone can use to verify SZL's core math claim for themselves.

License Doctrine v11 SLSA

Docs · Quickstart · HF model card → · SZL Holdings

💡 Why it matters

Trust in governed AI shouldn't require trusting a vendor's word. This kernel lets you re-run the formal proofs behind SZL's invariant in your browser, so the math is independently checkable, not just asserted.

▶️ HF Kernel Suite

Note (alignment fix 2026-06-30): The HF artifact for this repo is the model SZLHOLDINGS/szl-kernels (the unified governed-kernel suite). An HF Space SZLHOLDINGS/lean-kernel was previously referenced here but does not exist — the correct HF entry point is the model card.

Open the kernel suite →

szl-kernels model card

SZL Holdings kanchay mark

⚡ Quick start (30 seconds)

git clone https://github.com/szl-holdings/lean-kernel.git
cd lean-kernel
make quickstart   # or: see docs.szlholdings.com/quickstart

🔍 How it works

In two sentences: this component is part of SZL's governed-AI mesh — it enforces policy and emits signed, replayable audit receipts so every AI action can be verified after the fact. The full mathematical foundation, formal proofs, and protocol details are documented below and in the technical docs.


📐 Full technical detail, math, and proofs (the proof, not the pitch)

title: Lean Kernel — Lutar Invariant Λ emoji: 🔏 colorFrom: indigo colorTo: blue sdk: docker app_port: 7860 pinned: true license: apache-2.0 short_description: Live Lean v4.13.0 kernel for the Lutar Invariant

SZLHOLDINGS/szl-kernels (formerly lean-kernel)

Live verification kernel for szl-holdings/lutar-lean — the Lean 4 formalization of the Lutar Invariant Λ.

Λ definition (canonical): Λ_k(x) = (∏ xᵢ)^(1/k) — the unweighted geometric mean of the axis vector (equivalently, the weighted geomean with all Egyptian unit-fraction weights 1/k). Source of truth: Lutar/Invariant.lean and ouroboros/docs/lambda-spec.md.

This Space pins Lean v4.13.0 + Mathlib v4.13.0 (from the repo's lean-toolchain + lakefile.lean) and exposes a live API + UI.

Endpoints

Method Path Purpose
GET /api/lean/healthz build status + commit + toolchain
GET /api/lean/numbers canonical numbers, live from lean_numbers.py against the deployed commit
GET /api/lean/theorems full theorem table — every decl with status PROVEN/AXIOM/SORRY + file:line
POST /api/lean/verify verify a Λ-receipt {"axes":[…],"lambda":…}; returns Y/N + confirming theorem
GET /api/lean/build trigger lake build, stream output via SSE, final pass/fail + timing
GET /api/lean/vectors the 10 golden reference vectors
POST /api/lean/vectors/exercise recompute each vector's Λ against current Lean, pass/fail

Honesty

Numbers are never hardcoded — every figure is recomputed live from the deployed commit. If lake build fails (e.g. Mathlib cache or disk is unavailable on the box), healthz and the UI report BUILD FAIL with the verbatim error tail. Nothing is faked green.

Doctrine v11 LOCKED. Author: Stephen P. Lutar Jr. (ORCID 0009-0001-0110-4173), SZL Holdings.


Citation & doctrine

Cite this work via CITATION.cff. Math foundations: szl-papers · lutar-lean (kernel c7c0ba17).

HF artifact: SZLHOLDINGS/szl-kernels (model, not Space).

Λ Conjecture 1 (not a theorem) · 749/14/163 v11 LOCKED (kernel c7c0ba17) · SLSA L1 honest · Section 889 = 5 vendors · SZL Holdings · Apache-2.0 code · CC-BY-4.0 papers

Signed-off-by: Stephen Lutar [email protected]


Explore the SZL estate: a11oy console · LLM Router · Receipt format spec · Lean proofs · Docs · 🤗 SZLHOLDINGS

About

Live Lean v4.13.0 kernel for the Lutar Invariant — Λ uniqueness as Conjecture 1. 749/14/163, source-mirrored from HF Space SZLHOLDINGS/lean-kernel. Doctrine v11 LOCKED · Apache-2.0.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors