Boris Cherny 用 Opus 5.5 结合 Lean 形式化验证 Claude Agent SDK
If you’re looking for ways to try Opus 5.5 and Claude Tag in Slack…
Anthropic 的 Boris Cherny 拿 Opus 5.5 写 Lean 验证 Claude Agent SDK,几条提示词修出 16 个 bug,并发代码排查可以抄这个思路。
Boris Cherny 使用 Opus 5.5 通过 Lean 语言对 Claude Agent SDK 做形式化验证,只用几条简短提示词就生成了 16 个修复 bug 和竞态条件的 PR。他还表示 TLA+ 同样适用,有时会将 Lean 和 TLA+ 结合起来排查数据流、并发和状态管理问题。他自述并不精通这两种语言,但 Claude 能熟练使用,这种方式能发现人工难以察觉的 bug。
If you’re looking for ways to try Opus 5.5 and Claude Tag in Slack…
If you’re looking for ways to try Opus 5.5 and Claude Tag in Slack… Boris Cherny @bcherny I used Opus 5.5 to formally verify the Claude Agent SDK using Lean. A couple short prompts = 16 PRs fixing various bugs and race conditions. Video attached. TLA+ also works well. I sometimes combine Lean and TLA+ to look for issues around data flow, concurrency, and state mgmt. I don't know either language well, but Claude is excellent at both. This approach is super useful for formally modeling your code and finding bugs that a human probably wouldn't have spotted. Is formal verification the future of coding (or at least, bug finding)? Your browser does not support the video tag. 🔗 View on Twitter 🔗 View Quoted Tweet 💬 4 🔄 0 ❤️ 34 👀 3152 📊 7 ⚡