
Into AI4Math, Coding Agents. PhD student @PKU1898 中文/EN/日本語
Joined November 2019
- Tweets205
- Following516
- Followers17
- Likes31
Happy to share that OPAL was accepted to AAAI 2027!
The Lean proof of the RH was recently compressed from ~17M lines to ~76K. OPAL studies this kind of work: optimizing Lean projects at the repository level without changing what they prove.
📄 arxiv.org/abs/2611.40707
2
109
The agent may change anything, but anchored statements must stay the same and the project must still build and pass the kernel check. We built 160+ tasks from 18 real Lean blueprint projects. Without verification, nearly half of the optimizations agents report do not hold up.
1
9
Code, benchmark and evaluation tools are open source. Feedback welcome!
💻 github.com/liuchengwucn/opal
🤗 hf.co/datasets/liuchengwu/OP…
1
11
Code Mode is to Bash what Dynamic Workflow is to subagents. The edifice of agent harnessing is now complete. 🫡
Check out Code Mode, a new, experimental way for Claude Code to work with tools. Claude writes scripts that chain your tools together in sophisticated ways, and it can answer you while long commands are still running.
Opt in with CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 code.claude.com/docs/en/code…
1
64
Claude Code's stable channel used to trail latest by about a week.
But this week, stable went 2.1.304 → 306 → 308 in two days. stable == latest == next right now. 😅
Stable is supposed to be stable, right?
1
36
Chengwu Liu retweeted
🚀 Introducing DeepInfer, our in-house inference framework, now fully open source!
Powering DeepSeek-V4.1-Flash at scale with high throughput and low latency. We’re sharing our production stack to help the community lower compute costs, reduce energy use, and make AI more affordable.
🔗 github.com/deepseek-ai/DeepI…
1/4
Chengwu Liu retweeted
You can now mod Claude Code:
- Change how it behaves
- Customize the UI
- Swap in your own features
Write one with a few lines of TypeScript, or have Claude build it for you. Mods ship inside plugins, so you install them with /plugin in the CLI or desktop app.
A few examples:
🫡
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)?
50
Chengwu Liu retweeted
Checking that a major mathematical proof is correct can take years. Formalization—converting the mathematical reasoning into a form computer proof assistants like Lean can verify—can help.
Last month, Claude completed the first formalized proof of Fermat’s Last Theorem, one of the most famous theorems of all time. This was a project experts thought would take many years. It is the largest Lean proof ever written.
Fermat’s Last Theorem was first proven in 1995 by Sir Andrew Wiles, more than 350 years after it was conjectured. Our proof, which totals over 13 million lines of code, provides machine verification. More importantly, it proves over 29,000 other theorems that the proof requires, across many areas of math which had never before been formalized.
We see this as a major step in the long process of firming up the core of mathematical knowledge, building on work from three centuries of mathematicians and hundreds of contributors to Lean and Mathlib. We are optimistic that AI-assisted verification of mathematical proofs will help reduce the burden of refereeing mathematics in an era where more proofs are being produced than ever before.
You can read about the process on our Science Blog: anthropic.com/research/forma…
And see the complete proof on GitHub: github.com/anthropics/fermat…
Chengwu Liu retweeted
Is Astra AGI?
1. no
2. yes, in the literal sense that it's artificial, general, and intelligent
3. no, but it's still not doing work like humans do
4. yes, but it's literally superhuman on tons of benchmarks
5. no, but it's subhuman on things that are hard to benchmark
all true
First time cracking $1K in a single day! 😇
Shoutout to #ccusage for the numbers.
1
32
Ironically, people feel Anthropic is running wild. The Responsible Scaling Policy itself may be convincing, but public relations is never that simple. 😇
31
I noticed that my Claude Code auto mode no longer uses the Write/Read tools. It's now all in on the Bash tool, using sed, heredocs, and the like to make edits.
It feels really awkward and convoluted, and it quietly breaks the usability of the /rewind command.
Fix is below ⬇️
1
1
93
Claude Code (v2.1.212 or newer) now enforces a per-session limit of 200 web searches.
/compact doesn't reset it, and sub-agents share the same quota. With parallel sub-agents + frequent compaction, hitting the limit is remarkably easy. 😅
1
76
Excited to see this!
I loved this concept when I first saw it on Gastown. Back then the model capability wasn’t quite there yet, but now it is. Rolling this into the harness is a meaningful step forward.
Really looking forward to seeing more MAS use cases emerge from this.
New in Claude Code: your sessions can now message each other.
Instead of having to re-explain yourself in another session, you can now tell Claude to do it. It sends a summary (not your history or files), and the other session picks it up mid-task.
45
Chengwu Liu retweeted
Lost my phone at the office and spent 30 minutes turning the place over. Find My was disabled by MDM.
Out of ideas, I asked Claude how I could find it. It suggested tracking the Bluetooth signal strength, then wrote me a meter in about a minute.
I walked around watching the number climb. Found it.
Apparently you can just make the tool you need now.
Code: github.com/ben-z/findphone










