Source code illustrating vibe coding and formal software verification

Bend 2 Needs 442 Lines to Prove What SPARK Solves in 12 Checks

Bend 2 presents itself as the ideal language for the AI era: humans write laws, AI writes the proofs. But to prove a player never touches a flag it needs 442 lines of proof, while SPARK, a formal verification language with decades of history, solves the same thing in 12 automated checks. The case exposes a classic vibe-coding trap: building a lot before checking whether a better solution already exists.