```MathCode, 数学编程代理```
MathCode, Mathematical Coding Agent

原始链接: https://math-ai-org.github.io/mathcode/

需要 macOS (arm64) 或 Linux (x86_64) 系统,并配备用于默认后端的 codex CLI。 git clone https://github.com/math-ai-org/mathcode.git cd mathcode bash setup.sh codex auth login mathcode setup.sh 会准备发布版本、下载捆绑的运行时和 Lean 工具链,并安装一个用户本地的 mathcode 启动器。 尝试运行: mathcode -p "prove that the square of an even number is even" 输出将写入 LeanFormalizations/ 目录中。可通过 ./run webui 使用浏览器界面。

```Hacker News最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交登录MathCode, 数学编程代理 (math-ai-org.github.io)12 点 由 homarp 发布于 1 小时前 | 隐藏 | 过往 | 收藏 | 2 条评论 帮助 homarp 1 小时前 [–] 一个带有内置数学形式化引擎的终端 AI 编程助手——用通俗语言描述一个问题,它会将其转换为 Lean 4 定理并尝试进行形式化证明。回复seunosewa 9 分钟前 | 父评论 [–] 你能提供一个实际的例子吗?回复rawland 3 分钟前 | 根评论 | 父评论 [–] 快速入门里有一个: mathcode -p "prove that the square of an even number is even"(证明偶数的平方是偶数) https://math-ai-org.github.io/mathcode/#quickstart - 如果你仔细看,顶部的截图实际上展示了输出(以及解决方案)。回复 准则 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索: ```
相关文章

原文

Requires macOS (arm64) or Linux (x86_64), plus the codex CLI for the default backend.

git clone https://github.com/math-ai-org/mathcode.git
cd mathcode
bash setup.sh
codex auth login
mathcode

setup.sh prepares the release checkout, downloads the bundled runtime and Lean toolchain, and installs a user-local mathcode launcher. Try it with:

mathcode -p "prove that the square of an even number is even"

Outputs are written to LeanFormalizations/. A browser UI is available via ./run webui.

联系我们 contact @ memedata.com