logoalt Hacker News

pzolntoday at 4:47 AM1 replyview on HN

Sorry, must be a very naive question, but what if you give LLM just a source code (maybe even obfuscate the names like Raft and Etcd) and ask it to create a TLA+ spec of that?


Replies

_doctor_lovetoday at 6:58 AM

This is already being done by some folks, reverse-engineering existing source into a TLA+ spec. Like other commenters have mentioned, the challenge is in ensuring that the spec and code match each other.