MathCode, Mathematical Coding Agent (math-ai-org.github.io)
27 points by homarp 2 hours ago | 9 comments

• muds an hour ago

Interesting work. Is this a wrapper around the AUTOLEAN project (https://github.com/T3S1AMAX/autolean)?

• eisbaw 20 minutes ago

the tricky bit is ensuring your inaccurate plain english statement is captured and formalized correctly as lean.

• owlbite 40 minutes ago

Interesting, but I don't see any licensing terms, which means I can't touch it in a commercial setting.

• 129387 an hour ago

Instructions:

"git clone https://github.com/math-ai-org/mathcode.git"

What a luddite! It should be "Claude, write me a math coding agent. Make no mistakes!"

• eisbaw 23 minutes ago

git clone is slightly faster

• gumby 20 minutes ago

And doesn’t use as many tokens, at least for now.

• homarp 2 hours ago

A terminal AI coding assistant with a built-in math formalization engine — describe a problem in plain language and it converts it into a Lean 4 theorem and attempts a formal proof.

• seunosewa an hour ago

Could you provide a practical example?

• rawland an hour ago

There is one in the quickstart:

    mathcode -p "prove that the square of an even number is even"
https://math-ai-org.github.io/mathcode/#quickstart - if you look very closely, the screenshot at the top actually shows the output (and the solution).