# LLM이 쓴 언어 명세, 인터프리터와 일치함을 Lean으로 증명하다

Original title: Ship Your Interpreter

> Hacker News story 50160440 · language: ko · submitted 2026-10-20
> Web version: https://zeli.app/ko/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의 연구진은 LLM에게 작은 프로그래밍 언어 WHILE의 형식적 의미론을 작성하게 한 뒤, 실제 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/ko/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
- ja: https://zeli.app/ja/story/50160440 · markdown: https://zeli.app/ja/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
