LLMs can generate Rust code. Formal proofs are a different problem entirely.
Large language models write surprisingly good Rust, but when you ask them for a formal proof they hallucinate invariants and invent syntax that no verifier...
LLMs can write Rust that compiles and even passes . What they cannot do reliably is write a formal proof that the code is correct for all possible inputs. The…