Aletheia-Prover-0.5B
Aletheia-Prover-0.5B is a merged, verified Qwen/Qwen2.5-0.5B (apache-2.0) micro-specialist trained (Foundation-0/aletheia#95) for two formal-verification tasks inside The Aletheia Method (Foundation-0/aletheia):
- Lean 4 Kernel Escape / Trust-Boundary Auditing – Detects
15classes of Lean 4 soundness and trust-boundary bypasses (sorry,axiom,native_decide,unsafe,implemented_by, metaprogramming/lexer escapes) in strict JSON (25/25,F1 = 1.0000). - Pure-
InitLean4.36.0Fast Tier-1 Tactic Filter – Proposes zero-sorry, zero-Classical.choicetactics verified end-to-end against a liveLean 4.36.0kernel behind a fail-closed verification router (0false accepts; unsolved multi-step theorems escalate cleanly to frontier provers).
Models Overview
| Property | Specification |
|---|---|
| Base Model | Qwen/Qwen2.5-0.5B (apache-2.0) |
| Adaptation & Merge | Matched-budget LoRA (8,798,208 trainable params, 168 linears = 24L x 7, rank 16, alpha = 32), merged into Qwen2ForCausalLM |
| Artifact Footprint | 988,097,824 B (model.safetensors, 502,830,976 params) |
Verified model.safetensors SHA-256 | ca62bd458f32caab25949a41aa3b8c64cf39e688c00a2e427e61d3c2d4d93755 |
| Formal Companion | 16/16 pure-Init Lean 4.36.0 theorems (Foundation-0/aletheia#95) |
Benchmark Results & Held-Out Verification
Evaluated over exact rational arithmetic (fractions.Fraction) + live Lean 4.36.0 kernel compilation on N = 24 unseen live theorems + N = 25 unseen-template escape snippets (seed = 42, NVIDIA RTX 3080 Laptop GPU 8 GiB, 180.66 s train wall, 2,572 MiB peak VRAM, verified across multi-family external audits with 1,428/1,428 tamper sweep):
| Metric | Base Qwen/Qwen2.5-0.5B | Aletheia-Prover-0.5B (standard_lora, merged) |
|---|---|---|
Unseen-Template Soundness-Escape Audit (N = 25) | 0/25 (F1 = 0.0000) | 25/25 (100.00%, F1 = 1.0000, 19/0/0/6) |
Live Lean 4.36.0 Kernel-Checked Unseen Proofs (N = 24) | 0/24 (0.00%) | 5/24 (20.83%, 0 escapes, 0 false accepts) |
Held-Out Target NLL (from 2.2394) | 2.2394 | 1.6570 (Delta L = 0.5824) |
Held-Out Base-Domain Retention NLL (Delta F from 2.0399) | 2.0399 | 2.3704 (+0.3305, F/L = 0.5675) |
| Inference Latency (Tactics / Escape Audit, RTX 3080) | 466.7 ms / 225.1 ms | 620.65 ms / 67.67 ms (215.17 tok/s audit) |
Live Lean 4.36.0 Kernel-Verified Held-Out Theorems Solved (0 Forbidden Axioms):
SovereignStackFourthOrder.borromean_4way_non_degeneracy_universalS87UniversalHigherOrderAtlas.ceer_five_gate_borromean_necessity_universalS87UniversalHigherOrderAtlas.s87_corpus_anchored_witness_suiteAletheiaMeshEngine.k16_balanced_order1_to_4_exponential_collapseAletheiaMeshEngine.k8_balanced_order1_to_4_total_5cell_extinction
Energy Efficiency & Power Profile
| Hardware Target | Workload / Regime | Avg Power (W) | Energy / Token (J/tok) | Efficiency (tok/J) | Run Energy (Wh/run) | Measurement Status |
|---|---|---|---|---|---|---|
NVIDIA GeForce RTX 3080 Laptop GPU | Per-model active training / inference (180.66 s train, 67.67 ms audit / 620.65 ms tactics) | Not recorded | Not recorded | Not recorded | Not recorded | Not recorded per-model in foundry_card.json (host boundary idle 53-56 °C / 13.2 W, 0 thermal throttles) |
[!NOTE] Energy readings are not guaranteed to be consistent due to uncontrollable variables (thermal state, ambient temperature, fan curve, and dynamic power limits).
Getting Started
pip install -U torch transformers safetensors accelerate
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
MODEL_ID = "ahrazzle/aletheia-prover-0.5b"
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID)
model = AutoModelForCausalLM.from_pretrained(MODEL_ID, dtype=torch.bfloat16, device_map="auto")
Custom Infrastructure Stack & Source Repositories
| Stack Layer | Component | Role in This Model | Public Repository |
|---|---|---|---|
| Verification & Audit Harness | Aletheia | Deterministic routing, isolated parity, Lean static/kernel verification, & leak scanning | Foundation-0/aletheia |
| Workbench OS & Exoskeleton | ML-OS / Aletheion | Hardware provenance stamping, GPU lease isolation, & host runtime exoskeleton | Moissanite-Labs/ml-os · Foundation-0/aletheion |
| Bounded Adaptation | ML Weft / Weft-Loom | Deterministic adapter bounds & Pi_t rollback safeguards | Moissanite-Labs/weft · Moissanite-Labs/weft-loom |
| Lattice Quantization & ECC | SiliQuant | Optional [16, 11, 4] A_16 + Block-H4 packing & verification | Moissanite-Labs/siliquant |
| Bare-Metal Silicon Kernels | SiliKernels | Zero-spill Ampere sm_86 & Intel AVX-512 kernels | Moissanite-Labs/silikernels |
| Five-Layer Stack Blueprint | Siliconcordat | Open L1–L5 stack specification | siliconcordat/.github |
Usage, Scope & Honest Limitations
- 0.5B Multi-Step Tactic Ceiling – At
0.5Bparameters,19/24multi-step held-out algebraic Lean proofs fail closed at theLean 4.36.0kernel. Deploy strictly as a fast Tier-1 local triage and soundness-audit filter behind a live Lean kernel + static scanner (so0invalid proofs are ever accepted), escalating unsolved goals to frontier provers. - Disjoint Training/Eval Splits – Trained/evaluated on
prover_train.jsonl(270rows),prover_eval_tactics.jsonl(24theorems), &prover_eval_audit.jsonl(25escape snippets) inahrazzle/aletheia-specialists-s95-datasets. - License Inheritance – Inherited Apache License 2.0 from
Qwen/Qwen2.5-0.5B.
Citation
@misc{moissanitelabs2026aletheiaprover,
title={Aletheia-Prover-0.5B: Lean 4.36.0 Trust-Boundary Auditor and Tier-1 Tactic Filter},
author={Moissanite Labs and Foundation-0},
year={2026},
howpublished={\url{https://huggingface.co/ahrazzle/aletheia-prover-0.5b}}
}