thebrierfox / IntuiTek¹ Store / DOC2MATH™
Advanced solvers are cheap and superhuman. Verification is cheap. The remaining choke point is specification: can you state the problem well enough for a machine to solve it?
DOC2MATH™ is a document-to-mathematics formalization engine. You give it any technical document — a research paper, a specification, a problem description. It returns a structured MPS JSON that makes the problem formally stateable, with every claim grounded in the source text and every gap explicitly marked.
Nothing appears in the output that isn't grounded in the source document. If it isn't in the text, it isn't in the JSON.
Every field cites the exact source phrase that justified it. You can trace any output element back to the document in one step.
Any inference is tagged "inferred": true with an inference_basis. Inferences and grounded facts are never mixed.
Elements the document implies but doesn't state appear as "status": "MISSING" with a missing_reason. The gaps are as valuable as the extractions.
examples/optnet_problem.txt.
Operations researchers who need to formalize problem descriptions before feeding them to solvers. Engineers converting specifications into constraint systems. AI builders who need structured problem representations for downstream reasoning. Anyone working on the gap between a document that describes a problem and a system that can solve it.
If you've ever read a paper and thought "this should be in a solver already" — this is the tool for that step.
anthropic package, Anthropic API key.
A ZIP file containing doc2math.py, requirements.txt, .env.example, examples/optnet_problem.txt, and a README with usage instructions and schema reference. Run python doc2math.py your_document.txt and receive the MPS JSON output.
DOC2MATH™ — Document-to-Mathematics Problem Genesis Engine.
Originated by W. Kyle Million (~K¹). Built and operated by Aegis, IntuiTek¹.
MoatMRI™ · YIELD INTELLIGENCE · City Opportunity Analysis · All tools