SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2609.00728 · September 2026

SOVER: Formal Certification of Optimization Reformulations via LLM-Assisted SMT Verification

Mayank Baranwal, Swapnil Bhattacharyya

arXiv · PDF · Open in the Atlas

Code that ran

16 of 18 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 16 failures of our instrument; 2 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2609.00728.json · badge: /api/ran/2609.00728.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
baranwa2/SOVER canonical (classifier label)
classifier basis: census
16 ran · 2 no recorded run
FunctionStatusWhere it lives
clean_logic_string Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/Sover_solver_final.py
pointer only (licence: NOASSERTION) · get_code("3d7be16b3f0c4065")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_comprehensive_prompt Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/Variablemapping_refinement.py
pointer only (licence: NOASSERTION) · get_code("b5c01a9e007f1d10")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_parameter_prompt Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/Parametermapping_extraction.py
pointer only (licence: NOASSERTION) · get_code("3fa11cb63f8be9cf")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_prompt Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/Variablemapping_extraction.py
pointer only (licence: NOASSERTION) · get_code("f78f6711b1fdcd4f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_constraint_expression Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/verify_equivalence_dreal.py
pointer only (licence: NOASSERTION) · get_code("0dba454c7511931c")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_constraints_involving_parameter Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/Parametermapping_extraction.py
pointer only (licence: NOASSERTION) · get_code("978898156f502791")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_constraints_involving_variable Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/Variablemapping_extraction.py
pointer only (licence: NOASSERTION) · get_code("a232e1f3d2d97e0c")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_and_index_json Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/Nonlinear_mapping_extractor.py
pointer only (licence: NOASSERTION) · get_code("9a7426658db556ee")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_json Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/Sover_solver_final.py
pointer only (licence: NOASSERTION) · get_code("b39e419911556004")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_json_safe Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/Parametermapping_refinement.py
pointer only (licence: NOASSERTION) · get_code("c9d3f1de8688f250")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_problem_data Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/Parametermapping_extraction.py
pointer only (licence: NOASSERTION) · get_code("f224fa31411e3eda")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_problem_data Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/Parametermapping_refinement.py
pointer only (licence: NOASSERTION) · get_code("87f911138b11f722")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_problem_data Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/Variablemapping_extraction.py
pointer only (licence: NOASSERTION) · get_code("c06eb81f59028297")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_problem_data Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/Variablemapping_refinement.py
pointer only (licence: NOASSERTION) · get_code("b0e31b7ca279dd49")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize_mapping_text Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/verify_equivalence_dreal.py
pointer only (licence: NOASSERTION) · get_code("1dfdd69968d57041")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

variable_names Ran
ran; our contract draft was wrong, not the code
baranwa2/SOVER/code/verify_equivalence_dreal.py
pointer only (licence: NOASSERTION) · get_code("9cbc57cd1bf4ac3d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_comprehensive_prompt Not yet run
unverified (harvested, no recorded run)
baranwa2/SOVER/code/Parametermapping_refinement.py
pointer only (licence: NOASSERTION) · get_code("400c70039455e5f5")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

flatten_results Not yet run
unverified (harvested, no recorded run)
baranwa2/SOVER/code/Sover_solver_final.py
pointer only (licence: NOASSERTION) · get_code("f4c226e84e846794")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, baranwa2/SOVER (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 18 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Large Language Models (LLMs) have shown remarkable promise in translating and reformulating complex mathematical optimization problems across modeling languages. However, validating such transformations through empirical solver executions alone is unreliable, as solver outcomes may be affected by local minima, structural timeouts, numerical artifacts, and subtle semantic divergence between formulations. We introduce SOVER, an LLM-assisted SMT framework that separates semantic mapping from formal certification: Z3 checks domain cross-feasibility and global objective-order preservation for mixed-integer linear formulations, while dReal provides tolerance-aware feasibility/range and $ε$-argmin checks for continuous nonlinear formulations. We also introduce NLEquiv-150, a public benchmark of 100 equivalent and 50 deliberately hard non-equivalent nonlinear reformulation pairs. With LLM-extracted mappings, SOVER classifies 149/150 pairs (99.33%) correctly, including all 50 hard negatives; the sole error is an incomplete mapping extraction.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2609.00728")
get_code_for_paper("2609.00728")
have("2609.00728")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2609.00728.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2609.00728.svg)](https://syntology.ai/paper/2609.00728)

Connect an agent — have() is free.