# LLMに「本物のインタプリタ」と一致する証明を書かせ、検証済みソフトウェアの土台を作る

Original title: Ship Your Interpreter

> Hacker News story 50160440 · language: ja · submitted 2026-10-20
> Web version: https://zeli.app/ja/story/50160440
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 24 · by [gopiandcode](<https://news.ycombinator.com/user?id=gopiandcode>) · 💬 25
[original](<https://www.basis.ai/blog/ship-your-interpreters/>) · [HN discussion](<https://news.ycombinator.com/item?id=50160440>)

## Summary

Basisの研究者らは、小さな言語WHILEの形式的意味論をLLMに書かせ、その規則が実際のCインタプリタをRISC-Vにコンパイルしたバイナリの挙動と全プログラムで一致することをLeanで証明した。テストでは見逃す59文字の関数名による文字列化の差異も、証明の過程で発見・修正された。検証のボトルネックは定理証明から仕様記述へ移りつつある。

## Key quote

> テストは役に立つが、以下に示すように、意味論はすべてのテストに合格してもなお誤っていることがあり得る。

## HN discussion (25 comments)

### [ngruhn](<https://news.ycombinator.com/item?id=50177095>)

> これは素晴らしい。ネット上で「ソフトウェアを検証する」と言っている人の多くは、LLMに「これを検証して」と伝えるだけで、何が出てくるのか全く分かっていないように見える。モデルは彼らが知らないうちに1+1=2を証明しているかもしれないのだ。
>
> この人たちは実際に証明したLeanの定理をいくつか見せている。既存のインタプリタを事実上の仕様としてコンパイルするというアプローチも興味深い。

### [ISackKnights](<https://news.ycombinator.com/item?id=50177266>)

> ここで何を読んだのかよく分からない。AIの文章のせいで最後まで読めなかった。でも考えてしまうのは——これって（単なる）Rustのサブセットなんじゃないか？

### [jupitr](<https://news.ycombinator.com/item?id=50178376>)

> これはメタ循環評価器の不動点と同じアイデアだ——Lispがほぼ正確にモデル化している、抽象的な理想言語のことだ。

---

## Cite

- Page: https://zeli.app/ja/story/50160440
- Date: 2026-10-20
- Source: basis.ai (https://www.basis.ai/blog/ship-your-interpreters/)
- Hacker News: https://news.ycombinator.com/item?id=50160440

## Other languages

- en: https://zeli.app/story/50160440 · markdown: https://zeli.app/story/50160440.md
- zh: https://zeli.app/zh/story/50160440 · markdown: https://zeli.app/zh/story/50160440.md
- ko: https://zeli.app/ko/story/50160440 · markdown: https://zeli.app/ko/story/50160440.md
- de: https://zeli.app/de/story/50160440 · markdown: https://zeli.app/de/story/50160440.md
- es: https://zeli.app/es/story/50160440 · markdown: https://zeli.app/es/story/50160440.md
- ru: https://zeli.app/ru/story/50160440 · markdown: https://zeli.app/ru/story/50160440.md
