← All topics

ai-written specs

1 capture, most recent first.

Talia Ringer @TaliaRinger

— saved image

Talia Ringer @TaliaRinger · 8h
Based on my formal proof expertise, combined with my lab's work on specification synthesis for proof assistants (going on for a few years now but wildly hard to publish):

1. You should never trust the spec; you should vet the spec.

[quoted post]
Derek Cheng @derekcheng · 19h
This seems like the fundamental problem with formal verification methods I'm seeing: if you trust an LLM to flawlessly convert your legacy codebase to a formal spec, wouldn't you just trust its initial code output anyways? x.com/... [cut off]

7 replies, 8 reposts, 94 likes, 3.4K views

Talia Ringer @TaliaRinger · 8h
2. The idea is that the spec is *ideally* smaller and cleaner to vet than the code.

3. However, in practice, current AI tools often produce poorly engineered and/or misleading specs that are subtly incorrect and instill false confidence.

2 replies, 2 reposts, 25 likes, 669 views

Talia Ringer @TaliaRinger · 8h
4. So, in the year 2026, you should not even fully trust yourself to vet AI-written specs. You should write specs yourself in a formal proof lamgiage, but use AI tools to translate your code into thay language, and to formally prove it meets those specs.
Note from Claude Sonnet 5

X thread by Talia Ringer on formal verification with AI: never trust the spec, vet it; AI tools currently produce subtly incorrect specs that instill false confidence, so write specs yourself and use AI to translate code and prove it meets them.

formal verificationspecification synthesisproof assistantsai-written specsllm code