Skip to content

NexusVerifier v0.2.0

Choose a tag to compare

@Minu476 Minu476 released this 26 Jul 16:11
· 30 commits to master since this release
b26a5fe

NexusVerifier v0.2.0

Six PRs since v0.1.0: three pipeline soundness fixes found by actually running the prover against FC100 problems, a real Topos hypergraph dependency (two independent consumers), and a benchmark-methodology finding from auditing a multi-sample ("swarm") experiment.

Independence notice: This is an independent research project by Nasser Towfigh. Not affiliated with or endorsed by Google DeepMind.


Pipeline soundness fixes (#1, #2)

Running FC100 problems through NexusProverSubagent surfaced and fixed four real false-positive / reward-hacking gaps:

  • LeanOracle false-positive compile check — compiled = exitCode == 0 || errors.Count == 0 (should be &&); error/warning regex didn't match a newer Lean diagnostic format. Could report Compiled=true on output Lean had actually rejected. (#1)
  • SketchValidator reward-hacking gap — the structural gate could be defeated by substring name matching or by shadowing the original declaration with a new def/abbrev/instance/etc. (#1)
  • Stale DeepSeek model names (deepseek-chat/deepseek-reasoner → deepseek-v4-flash/deepseek-v4-pro), causing silent API failures. (#1)
  • Sorry-citation-laundering — citing an already-sorry'd declaration compiles clean with SorryCount=0 and no warning at the citing site; only #print axioms reveals the inherited sorryAx. LeanOracle now runs that check whenever a sketch looks fully proved. (#2)

Rerunning the FC100 gap-set with the fixed pipeline dropped the apparent solve rate from an inflated 37% to an honest 23% — the difference is exactly the sorry-laundering false positives.

Real Topos hypergraph integration (#3, #4)

NexusAgent.Core now depends on Topos as a real, Docker-buildable git submodule (external/Topos) — not a shape-mirroring toy. Two independent consumers:

  • AND-OR backward chainer — the proof-search planner's candidate-lemma expansion is backed by a real HypergraphKernel instance. (#3)
  • ProofGoalGraph — per-run memory of proof goals and tactic attempts, surfaced in the LLM prompt as failed-attempt history and sibling-subgoal structure, so the prover isn't re-trying dead ends with zero memory. Purely additive prompt context — never influences Compiled/SorryCount/IsFullyProved/the structural gate. Ephemeral, per-SolveAsync-run local state; no cross-run persistence yet. (#4)

FC100 gap-set methodology finding (#5)

An audit of a "swarm" experiment (8 independent tries × 54 previously-unsolved gap-set problems) found a corpus-selection error, not a pipeline bug: the candidate problems were built from FC100SolvedSet1 — upstream's curated already-solved corpus — instead of FC100OpenSet1, the actual open-problems corpus. Because the reconstructed sketches still import the original file, the complete upstream proof stays in scope and citable by name.

Of 63 individual solves in that run, at least 47 (75%) were literal citations of the pre-existing answer; several of the rest were trivial by definitional unfolding rather than derivation. All confirmed sound (#print axioms clean, no sorryAx) but not evidence of novel proof-search. Full write-up and per-problem classification: docs/FC100_GAP_SET_METHODOLOGY.md.

This repository still does not claim novel proofs of open Erdős problems — this finding reinforces that disclaimer with concrete new evidence rather than weakening it.

Docs (#6)

README brought up to date: pipeline-hardening summary, benchmark-corpus caveat, new Hypergraph integration (Topos) section, test count, submodule-init clone step, updated project layout.


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)
Hypergraph backend Topos (git submodule, external/Topos)
Agent pipeline C# / .NET 10
Unit tests 122 (xUnit; 3 pre-existing failures require a local Neo4j instance)
Container Docker multi-stage

Upgrading from v0.1.0

git pull
git submodule update --init --recursive   # new: external/Topos

License

Apache 2.0. The formal-conjectures/ checkout and the external/Topos submodule are each governed by their own licenses.