Skip to the work samples
MathCase

Ryan J. Gurganious · Research software

What I built with MathCase

I built MathCase so someone who questions an AI’s answer can find the step that went wrong and try a change of their own. I design the tests and the workflow for saving evidence, direct the development, and decide what each public result supports. AI assistants help me write code, research the math and propose proof steps.

Watch Lean catch a bad proof step

If a prime divides a square, it divides the number you squared. The first model request included a proof hint showing how to use both assumptions. The model still left out the fact that the divisor was prime. Lean rejected that step. After receiving the error, the model supplied the missing argument and Lean accepted the proof. A later proof uses the result to show that √2 is irrational.

Compare the rejected proof and the repair · Try the separate example with 4 and 2 · Replay both Lean targets

In a separate test I used a polynomial lemma published by Anthropic. At 1, the line reaches its endpoint. At 0, it is back at the origin. Lean accepted the proof for the first claim and rejected the same proof for the second. Compare the statements, diagnostic and replay command.

Change one digit and share the verdict

Does 1/40 + 1/2094 + 1/6575160 equal 4/157? Yes. Change the last denominator to 6575161 and the cross products differ by two. Open either receipt to check the exact integers in your browser.

Check the original sum · Check the one-digit change

The hosted MathCase MCP server lets an AI client run the same calculation and return a board link with the inputs and verdict. Connect a client to the hosted MCP server.

A model comparison that ended in a tie

Would a saved MathCase case help a model write a Collatz predictor and prove it sound? One attempt received the basic definitions. A second also received the saved library interface. Both passed all 4,873 checks and Lean accepted both proofs. One matched pair leaves the size of any benefit on other tasks unknown.

Read the task, compare both outputs, and replay the scoring

Review a MathCase result · Ryan’s other engineering work