Repository navigation
NexusVerifier v0.1.0 — Initial Public Release
NexusVerifier v0.1.0
Graph-augmented Lean 4 verification pipeline for the DeepMind Formal Conjectures benchmark corpus (arXiv:2605.13171).
Independence notice: This is an independent research project by Nasser Towfigh. Not affiliated with or endorsed by Google DeepMind.
What it does
NexusVerifier provides the infrastructure layer between proof generation and rigorous formal verification:
- Axiom-closure filtering — mechanically rejects proofs that rely on native compilation paths (
Lean.ofReduceBool,Lean.trustCompiler) - Declaration-family holdout isolation — automatically excludes sibling declarations from the same problem file, preventing benchmark leakage
- Neo4j fossil vault — stores verified sub-goals in a graph-backed knowledge base for future tactic retrieval
- Deterministic Docker pipeline — reproducible, containerised verification of Lean proof artifacts
Benchmark results — FC100 (ingest-parts dry-run)
Evaluated on 10 sampled parts from the FC100SolvedSet1 corpus under native_decide=reject policy:
| Result | Count |
|---|---|
| Verified | 7 |
| Rejected (native axioms) | 3 |
| Excluded (holdout) | 0 (1 with holdout enabled) |
Holdout confirmed: enabling holdout for Erdos1074.erdos_1074.variants.EHSNumbers_init automatically excludes erdos_1074.variants.mem_pillaiPrimes → 6 passed, 3 rejected, 1 excluded.
Stack
| Component | Version |
|---|---|
| Formal language | Lean 4 v4.27.0 + Mathlib |
| Proof verification | lake env lean + #print axioms |
| Graph backend | Neo4j 5 (Docker / Enterprise locally) |
| Agent pipeline | C# / .NET 10 |
| Unit tests | 96 (xUnit, no external deps) |
| Container | Docker multi-stage, ~1.6 GB |
Quickstart
# Clone and configure
git clone https://github.com/Minu476/NexusVerifier
cd NexusVerifier
cp .env.example .env # set NEO4J_PASSWORD
# Build image
docker build -t nexus-agent:latest .
# Dry-run verification (10 parts)
docker run --rm -v /path/to/formal-conjectures:/formal-conjectures -v "$(pwd)":/workspace:ro -e NEXUS_NEO4J_URI=bolt://host.docker.internal:7687 -e NEXUS_NEO4J_PASSWORD=your_password -e NEXUS_LEAN_PROJECT=/formal-conjectures nexus-agent:latest ingest-parts --from-json /workspace/parts.json --dry-runLicense
Apache 2.0. The formal-conjectures/ submodule is governed by its own Apache 2.0 license.