formal-math icon indicating copy to clipboard operation
formal-math copied to clipboard

vp-vnp: `Statement.Separation` is equivalent to OpenAI's `vp_ne_vnp` statement (Lean, standard axioms)

Open barangaroo opened this issue 1 week ago • 0 comments

Hello,

I checked how the vp-vnp statement relates to OpenAI's VP ≠ VNP formalisation (openai/math, lean/ComparatorChallenges/VPVNP.lean). Using unmodified copies of both statement files, on this project's pin (Lean 4.33.1, Mathlib 0df444a), a small Lean package proves:

  • OpenAI's IsVP / IsVNP agree with Statement.VP F / Statement.VNP F over every field. This part was shown earlier, independently, in MoralityLabAI/EvalMath (CPF-02).
  • Statement.Separation is equivalent to OpenAI's vp_ne_vnp statement. OpenAI fixes the n-th variable set to Fin n × Bool, so the direction to OpenAI's statement uses a padding argument.
  • Built together with this repository's unmodified vp-vnp development, openai_of_separation Solution.separation proves OpenAI's statement; its type is the same Expr as OpenAI's declaration.

All theorems depend only on propext, Classical.choice and Quot.sound. On a port to Lean 4.35.0-rc2, con-ron and NanoDa accept the bridge (20,364 and 21,619 declarations). The composed theorem was checked by the Lean kernel only.

Limits: this relates the two statements; it does not check either proof (OpenAI's was not rebuilt), and it does not compare the quantitative bounds or the closure classes.

Record, package and 3-page note: https://doi.org/10.5281/zenodo.24628869. package/reproduce.sh rebuilds the bridge in about 4.5 minutes once Mathlib is built.

If I have misread either statement, I would be glad to hear it and will revise the record. The package and this note were prepared with substantial help from Claude.

barangaroo avatar Nov 28 '26 14:11 barangaroo