Skip to content

NexusVerifier v0.3.0

Latest

Choose a tag to compare

@Minu476 Minu476 released this 26 Jul 17:47
· 24 commits to master since this release
d33e46a

NexusVerifier v0.3.0

Three PRs since v0.2.0: a critical soundness fix found via an external code review and verified independently before being fixed, plus two documentation updates completing the FC100 corpus-selection story from v0.2.0.

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


Sorry-citation-laundering: the namespace bypass (#8)

An external read-only review (GLM-5.2) flagged that the #print axioms defense added in v0.2.0 (#2) could be bypassed for namespace-wrapped theorems. Verified independently before writing any fix — reproduced the exact mechanism against a real Lean build:

LeanOracle.HasSorryAxiomAsync extracted a bare theorem name and appended #print axioms <name> after the full sketch. For a theorem declared inside namespace Foo ... end Foo, that probe sits outside the namespace by the time it runs — the bare name doesn't resolve, Lean reports unknown constant (not sorryAx), and the check silently no-ops instead of catching an inherited sorry. FC-corpus problem files commonly wrap their theorem in the original problem's own namespace, so this was the majority shape in production sketches, not an edge case.

Fix: SketchValidator.QualifiedTheoremNamesIn tracks namespace/section/end alongside theorem declarations and prefixes each name with its enclosing namespace path before probing. Scoped to only the axiom-check probe — the structural-validity gate's existing bare-name matching is untouched. 6 new tests (5 pure unit tests + 1 end-to-end regression against a real Lean compile, replicating the exact bypass with the same Green14.W_3_15 citation used in #2's original regression test).

FC100 corpus-selection story, completed (#7, #9)

v0.2.0 found that the "gap-set" swarm experiment was built from FC100SolvedSet1 (upstream's already-solved corpus) instead of FC100OpenSet1 (the real open-problems corpus). This release closes that thread:

  • Re-verified the ingest-parts dry-run table (7 passed, 3 rejected, 0 excluded / 6/3/1 with holdout) against the fixed pipeline — identical results, confirmed never at risk in the first place (AxiomChecker launches Lean directly, bypassing LeanOracle entirely). (#7)
  • Reran the gap-set methodology against the actually-correct FC100OpenSet1 corpus. Found first that 60 of 94 FC100OpenSet1 declarations use formal-conjectures' answer(sorry) idiom — the statement itself embeds an unknown-answer placeholder, so no proof of these can ever be sorryAx-free by construction, independent of prover capability. Of the 34 valid "plain" candidates, 23 survived preflight compilation: real famous open problems (smooth 4D Poincaré conjecture, Mandelbrot set local connectivity, the p-adic Littlewood conjecture, Gilbreath's conjecture, Selfridge's conjecture, Grimm's conjecture, the class number problem, transcendence of π^π^π, and others). Result: 0/23 solved — the correct, expected outcome, replacing the misleading 28% figure as the number that should be cited for this pipeline's actual proof-search capability. Two defenses were exercised for real under this pressure and held: SketchValidator caught 13 reward-hacking attempts, and ProofGoalGraph (v0.2.0's Topos-backed goal memory) correctly deduped 16 repeated stuck-goal states. (#9)

Full details: docs/FC100_GAP_SET_METHODOLOGY.md.


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 128 (xUnit; 3 pre-existing failures require a local Neo4j instance)
Container Docker multi-stage

License

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