Vibecheck began with the following question: Formal methods have officially entered the zeitgeist, but are these techniques actually ready for prime time? We know FM can be brought to bear on stodgy academic software: basically mathematical in nature, not reliant on external dependencies, and lacking a GUI, a database, or third-party APIs. But could it be brought to bear on Microsoft Word, or Flappy Bird, or Claude Code? Is FM ready for truly mainstream adoption? Could the next hot YC company build its product to be formally verified from the very start, without needing to first complete a PhD at Carnegie Mellon?
The question is a little cheeky, because of course, in some sense, formal methods are “ready” -- they’ve been deployed by experts against the most critical software and hardware targets, such as the Mars rover, nuclear reactors, and airborne detect-and-avoid software -- for decades. Why would I move the goalpost so that now, to be considered “ready”, formal methods instead need to be easily applicable by non-experts to less important targets? Well, the reason is that right now, everything is getting hacked. The open-weight models are now highly effective at hacking[1], and models generally are not yet good enough at coding to one-shot secure software (a task we refer to as secure program synthesis). Society unfortunately runs on all sorts of “unimportant” (and thus, hitherto unverified) targets like the websites for small banks and energy companies, the email servers used by local fire departments, and the antiquated-at-launch software deployed on GE medical devices at your local hospital, and right now, I can tell you without a shadow of a doubt, all that existing boring stuff is quite easy to hack, and the next generation of boring targets are being vibe-coded by models which, despite their spikey capabilities, still print imperfect code. Thus, for the time being, we need some kind of stopgap to keep society functioning. Perhaps the only viable proposal right now is funding the proliferation of formal methods. But to do this we’d need FM to be easily and effectively usable by complete novices with access to coding agents. We decided to evaluate this problem head-on.
Making FM tractably useful for the average SWE (vibe-coder) requires a) making FM tools easier to use and/or b) making models better at using FM[2]. Lots of social harm will accrue from hacking while we wait for the labs to accomplish b), so for now, we’re interested in short-term approaches to a). Hence: Vibecheck.
During the first weekend of November, we (a ragtag collection of degenerates) organized a formal methods hackathon in San Francisco. We brought together ≈55 programmers with little to no formal methods experience, equipped them with Claude (≈1K USD in tokens each), and provided ≈20 formal methods experts from industry and academia to answer questions and provide advice. We tasked the non-expert programmers with building cool consumer software -- stuff that you might talk to your mom about over Thanksgiving dinner -- and formally verify it. Our mission was simple: to empirically measure to what degree, if at all, AI uplift has made verification approachable for generic engineers. The short answer is “not enough”, but we’ll explain in a lot more detail below.
Sponsors and Experts
This hackathon would not have been possible without our generous sponsors. In particular, we would like to thank (in no particular order) Theorem for t-shirts; workers.io, Math Inc, and Atlas Ignota for logistical support; Anthropic for (a significant amount of) tokens, TheGP for physically hosting the event, offering us a podcast studio[3], and providing coffee and some snacks; Omni for organizer lodging and flights; Prime Intellect, Harmonic, Party, and Random Labs for product-specific tokens; Datadog and Apollo GraphQL for the major prizes and Math Inc and Lanyon AI for smaller prizes; and perhaps most importantly, Antithesis, workers.io, Astrio Labs, and Ulyssean for catering! The two lead organizers for this event Quinn Dougherty of ForAll R&D, and Max von Hippel (myself, the guy writing this, acting as myself, and not on behalf of any employer etc. etc.), both of whom also spent considerable funds out of pocket -- for instance, Quinn fronted >1k USD out of pocket since the Anthropic spend-limit doesn’t work correctly and failed to bound participant spend. We hope that Anthropic will formally verify their spend-limit functionality for workspace keys! If you’re reading this and work at Ant, please help the homie Quinn out …
We are also very grateful to our ≈20 formal methods experts, who flew from all over the country, on their own dime, to participate in this event. For us, as long-term FM practitioners, it is really exciting (albeit maybe a bit scary) to see this flood of interest from the rest of the world, and it was really fun for many of us to be able to come and support this hackathon. The FM experts were predominantly folks with PhDs in formal methods or mathematics, and all of them had at least three or four years of professional experience, pre-AI, using interactive theorem provers.
Lastly, we’d like to thank Sergey Bratus for giving the opening remarks for the event on Saturday morning.[4]
Rules and Prompts
We ran the event over two days, in person at TheGP’s office in San Francisco. Participants coordinated face-to-face or through a dedicated (and still active) Zulip. We, organizers, provided two files at the beginning of the event on Saturday morning (and no earlier): Claude.md and Rules.md.[5] The former was predominantly written by MTS at Math Inc, and lightly modified by us to better fit the shape of the event, e.g., we explicitly said not to work on cryptoslop. In short: entries were to be evaluated in terms of both (1) how cool the project is irrespective of formal proofs, and (2) how meaningful the proofs were, and we tried to prompt the participants’ agents such that they would avoid the most obvious footguns (such as vibe-translating to Lean and then proving uninteresting properties about a vibe-translation). Note, we strongly encouraged contestants to just work in Lean, for simplicity of judging and to maximize the odds of a successful project, but if a contestant had a good reason to do something else, we’d of course allow it.
Throughout the weekend, we hosted both planned and impromptu lightning talks. Alok Singh spoke about vibe-coding in Lean[6]. Quinn Dougherty talked about proof forensics (going through enormous quantities of Leanslop and trying to mine value). Simon Henniger, who was also on the organizing committee, gave a tutorial on Djinn, his synthesis language. Jacob Lagerros of Ulyssean gave a talk on hardware acceleration for provers. Kiran of Random Labs gave a talk on debugging complex distributed systems. Shubho and Dean from Axiom showed up and chatted with everyone about agentic proof-generation. And many others gave other amazing, interesting talks, and in short, if you weren’t there, then yes you missed out and should be feeling intense and painful retrospective FOMO right now.
Figure 1: We, uh, did not anticipate a team would be splicing and soldering.
Around 4pm on Sunday the participants submitted their entries and we (the ≈20 formal methods experts) began grading. We did so semi-agentically. First, we defined a grading rubric which we did not expose to the participants pre-submission, and we asked Claude to evaluate each submission by this rubric. However, we found Claude was not very good at this and we had to do quite a bit of manual review in order to deflate scores to be even semi-realistic. We did this to the best of our collective ability given the short time-frame of the event and the very real need for someone to win something before 10pm. Every entry’s “Proof Score” was judged by two FM judges[7] independently; then if the two judges differed substantially in scores they would discuss the discrepancy and arrive at a mutual conclusion, else we’d average the two. We followed a similar process for the “Demo Score”, where two judges evaluated how cool the demo was and then arrived at a composite demo score. Finally, we scaled the two scores to be equally weighted to arrive at the total score. I don’t quite remember what equation we used for that last step but it doesn’t really matter. Results below.
Results
This table utilizes the SJ scoring criteria from the previously-linked grading rubric. We use this A/B fraction-looking notation to show Judge 1’s score / Judge 2’s score for the Proof Score components.
Note, it’s totally possible (even likely) we made a mistake somewhere and as a result gave a prize incorrectly. If so, no, you’re not getting the prize you were cheated of. Life is unjust. If you really care about this you should have built a formally verified judging platform to make our lives easier.
Figure 2: Demo time.
Some demo scores are missing, presumably because those teams didn’t demo anything. Notes in this table are left pretty raw, we just removed the names of the reviewers who wrote them so as to avoid pointless Internet drama. We think these results will be interesting for the contestants, and also potentially a useful dataset for researchers interested in investigating proofslop (although plenty such code exists on the Internet already …).
Well constrained but a bit simple to verging on boring
Liveness issues (strong guarantee is not reachable for upright/edge blanks, the checker is “gameable” in a way that the intent seems to imply was to rule out.)
Spec doesn’t capture crucial aspects of behavior but does capture some basic structural properties (but also the properties couldn’t conceivably be violated by the program); a formal link to the scheduler etc would have been vital.
Spec doesn’t exclude some “maliciously complying” behaviors; doesn’t capture pedestrian speed (which might be relevant?); model is relative to consistent exactly-once guaranteed broadcast.
Eight safety and liveness properties proven for two Lean controllers, but the spec omits pedestrian timing, minimum green and demand response, so it does not fully pin down a correct controller.
takes forever to build since it's doing precise probability math on build. It's been 30 minutes.
had to manually revert in order to get it to build. be18cbc8b340629745cdaa83f98995dcbdc2ee23
deducted S6 by .3 for this.
also as a game. it's very obviously claudeslop and pretty jank.
Lots of unproved code, properties that have no content, and nothing constrains the engine’s rules, “DM cannot cheat” does not end up bearing load. Some specs are about code that isn’t what runs.
Choreography generator/verifier. Spec does not fully align with proofs
“in bounds” and “teleportation” promises can be false -> penalty. Untrusted config too so maybe too kind on S4. Cool idea, no collision proof seems sound and good but was able to disprove some spec claims
I did not find any issue with teleportation but indeed there are other issues.
Verified poker engine, it’s cool but unfortunately it looks like they couldn’t find general purpose properties so they just invented lots of small and specific ones. So it’s correct, but I didn’t find it very interesting.
The project is a verified FLAC/WAV encoder/decoder, the theorems work in isolation but they’re not well-connected to existing implementations. I don’t think their mother would be very excited about it though.
Lots of untrusted components: formalize some experiment as json, translate that to lean with a python script, report whether the lean model of the scientific machine can support the experiment. Lean theorems are pretty decent, but narrowly scoped: "adding new information cannot decrease the judgment", etc.
Really impressive verification engineering, especially the Lean implementation and Aeneas work. The main weakness is that the specification doesn’t fully capture the project’s ambitions.
AWESOME project. Highly ambitious and it’s amazing that they got this far. A couple of minor deficiencies and relatively loose spec are keeping the score low, but this project is a winner afaict.
Too many trusted shims, no formal statements of internet-facing behavior; properties proved are of library/client. Fable: ”This is the most carefully engineered verification project I have read at this event, and also one whose theorems do least for the product it ships”
crashed my computer :) closer to "a rigorous framework for verifying a SIP server" than "a verified SIP server."
About 400 new laws formulated and proved ; user-facing promises proven over running code went from 40 to 54 of 97; 43 remain partly (30) or not yet (13) proven.
Some issues with authority monotonicity and some proofs are about “twins.” Storage model diverges from impl in a way that would have been easy to avoid..
Oh boy. All kinds of mistakes. We knew this would happen, in fact, when we announced the event, our friend Eric Smith said something along the lines of, “Oh, you’re gonna have regular engineers write in Lean? This is gonna be a shitshow!” Which was correct, and we knew it then, and we know it now, and yeah, that was the entire point of the event. So! Let’s discuss what people got wrong.
Before we begin, we need to be super, super clear. We fully anticipated that every single team would make disastrous mistakes. Formal methods are very much an expert domain. We, the organizers, want to democratize FM, not by bullying experts into accepting junk “proofs”, but rather, by pushing for better tools and better models, which will allow everyday engineers to create perfect proofs! The only way we can get there is by measuring the issues that stop average engineers from successfully vibe-proving today, and then enumerating those problems, and consequent research directions, in order to build the models and tools of tomorrow. This is exactly what Vibecheck was about. So, if and when we call you out below, do not feel shame. You are a guinea pig in an exciting and important project. You are cool. You are on the cutting edge. You are the future. Your coworkers envy you and your cool opinions. Ok? All good?
Vibe-translations
If you write code in one language, and then vibe-translate that code to Lean, and then prove things about it in Lean, this does not mean you have proven anything about your original code in whatever languages you began in. The translation can be unfaithful in many ways. As one simple example (a mistake made in Pink, which has since been made private, unfortunately), a Lean integer is not the same thing as a C integer[8]. More generally, vibe translation is a really challenging problem for models, because they are preconditioned to want to prove the theorem(s) of interest successfully, which priors them to translate in a way that maximizes the odds of being able to dispatch that proof, even if it’s at the expense of validity!
Research direction 1: We either need better formal semantics (e.g., update Aeneas until you saturate support for all the code in the crates.io ecosystem), and/or we need to be able to run code written in an ITP very quickly (well, we can with ACL2, but not with Lean …). In other words, either make it easy to prove stuff about existing production code, or make it tractable to write new production code in a manner that’s amenable to proof. See below figure, by me (Max), on the many possible approaches currently being explored for secure program synthesis, i.e., getting from prompts to provably correct code.
Figure 3: Space of possible approaches to secure program synthesis.
Research direction 2: Until research direction 1 is sufficiently resolved, we need better ways to audit vibe-translations and make sure they accurately capture the system under test (SUT). For example, we could differentially fuzz a vibe translation against the code it tries to capture. The same principle applies to slop semantics (see e.g. this excellent work by Sam Xifaras).
As a motivating example for direction 2, consider Semantic-MIPS, which the team differentially fuzzed against the MARS simulator, leading to a bug fix!
Horrible specs
In many cases, participants proved totally uninteresting properties, or did not actually prove the properties they thought they’d proven. The funniest example was the SevenBridges team, who proved a theorem of the shape “for all bridges in the game …” but, in an effort to avoid a bug that had rivers and roads intersecting weirdly, accidentally made bridges so statistically unlikely in the level-generation logic that none of the dozens of levels they shipped the game with had any in them. Another funny example can be found in VGI-Health, which has several results involving “an independent second nurse” but actually allows nearly any string whatsoever for the nurse, and in one result, even an empty string is allowed (rather than, e.g., restricting it to some predefined authorized-nurse list). A similar, and hilarious mistake occurs in CryoLean, where a certificate whose status is “INVALID” counts as certified, because “invalid” contains “valid”. Choreo-Helper makes a funny geometry spec error, where a theorem saying the dancers are always “in bounds” computes its “bounds” from the dancers positions. As far as we can tell, most projects had at least one significant bug, but these were the ones that made me chuckle the most.
Research direction 3: We need more easily interpretable spec languages. For example, schematic.tech has a spec language which makes properties look just like property-based tests, except they get proven using a formal semantics. This is obviously the future, and we need more innovations like this which make it straightforward for both non-expert humans and nonspecialized models to review specifications and make sure they’re meaningful. (Arguably, this also plays a role for AI Control proposals, by lessening the intellectual load of oversight.) Oath and ForAll R&D are two organizations we’re aware of currently working on this and related problems.
Research direction 4: We need much better spec elicitation tools. For example, mutation testing can be seen as a spec elicitation technique. What other techniques could be used to “force” a human into making the requisite decisions to produce a spec? E.g., imagine a language with preconditions and postconditions, and functions are fully LLM-emulated until they’ve been sufficiently specified to be unambiguously synthesized. Every prompted feedback trickles to further specification, and synthesis happens upon reaching some unambiguity constraint, a lá Djinn.
In some cases, a piece of “formally verified” code was really bad. For example, one of the projects actually crashed a judge’s laptop and it had to restart. Other projects had obvious visual glitches, or other tell-tale signs of slop. Interestingly, this implies the specs were insufficiently developed. Contestants may have myopically focused on proving big headline results, at the expense of just proving that their code was, at a basic level, correct. We suggest specification languages where the user only writes spec-code, such as Djinn, as a possible solution for this kind of problem -- i.e., we suggest that all desired functionality should be formally specified, with the proof bit being outsourced as much as possible to the clankers.
Unrealistic or bizarre trust models
We found that non-expert practitioners assumed verified code was more certainly correct than it actually is[9], and broadly assumed the world was more orderly, well-understood, and coherent than it in fact is. They made incorrect assumptions like: “C has a formal semantics”, or “we understand and can fully predict the physics on the silicon”. They were often pretty confused about what was actually running on their machines -- they’d say that an app was “running in Lean” when actually the story was a bit more complex, e.g., the Lean code was emitting code in some other language, and proving things about that code using some ad-hoc formal semantics, for example. In many cases, these trust gaps could have been partially closed with some careful fuzzing. Impressively, some projects did exactly this and indeed fixed bugs!
Token-maxxing didn’t help as much as you’d think
Inspired by recent token-maxxing successes in formal verification by Anthropic, OpenAI, Theorem, Math Inc, Axiom, and Oath (through the Apart x AtlasSecure Program Synthesis Fellowship, which we created), we asked Anthropic for O(1k USD) in tokens per contestant, so that contestants could experiment with token-maxxing. While token-maxxing is often derided as wasteful and stupid, we believe that 1) the dollar cost of computational intelligence is going down, so what’s expensive today is a preview for what will be cheap tomorrow; and 2) formal methods, being a verifiable domain, is exactly the kind of space where token-maxxing actually can yield outsized results. We still believe this, however, in the case of Vibecheck, where the contestants were not experts in formal methods, more tokens did not mean better results. In fact, we did not find any correlation at all between token spend and placement in the results.
Of course, this might just mean we suck at judging. Certainly due to time constraints, there’s a decent chance that the actual best project wasn’t the one we gave the top prize to, etc.
Figure 4: Holmes doing some insane levels of token-maxxing. Holmes’ project is exceedingly cool, but it’s also a bit of an outlier, because it’s something he has been working on for years, and he decided to try and port it to Lean. So, he has all the latent domain knowledge needed to prompt the models to produce meaningful proofs of important properties. In contrast, most contestants didn’t really know what properties to prove to begin with!
Regardless, we think that with the format of our hackathon, and the very real constraints of the models available at the time of the event and the level of knowledge of the participants, more tokens were not ultimately a meaningful unlock for significantly better proofs.
The biggest reason for this seems to be because the LLMs are not very good at evaluating whether or not a spec is good, or a proof is good. They seem to consistently conflate “I formally proved this theorem in a way that would make Adam Chlipala smile” (the actual goal) with “I played with Lean enough to convince myself, a model, that this statement is true” (presumably, a common goal in training?). More tokens seemed to correlate with more statements of the latter variety, when it would have been better to have fewer statements, but of the previously described, higher level of rigor.
Research direction 5: Models need to get better at writing meaningful specs, and evaluating proofs to make sure they’re significant.
We have worked on the converse problem, that is, benchmark design for proofgen (see also this less mature effort), but we are not sure how to attack this problem, that is, benchmark design for specgen. It feels more open-ended and challenging, sort of like making a benchmark for poetry.
This problem is under-appreciated, perhaps, because people at the big-labs just care about math, where writing the problem/spec down is easy and there’s not much room for cheating. In software, it’s totally different, there is an enormous amount of room to cheat and it’s extremely challenging even for an expert to write down a good spec. Anyone who claims otherwise is probably trying to raise venture capital …
Conclusion
This was an incredibly fun event and, in our view, an enormous success. We want to run more of these. However, each Vibecheck should yield new “learnings”, to use corpslop. Here are our current ideas:
Vibecheck NYC should target the quant community and focus on using formality to safely constrain ambitious token-burning performance hillclimbing. We would love to arrange this, and can probably find sponsors, but to make it work we need buy-in from fintech/quant folks … if you live in that world and want to help make this a reality, please let us know and we will work with you to make it happen!
Vibecheck London should target the FM community and focus on finding soundness bugs or vulnerabilities in load-bearing FM tools. Colocated with FMxAI London, which we are helping to organize in collaboration with Galois. The main bottleneck here is finding some FM tools where the maintainers are OK with dealing with the likely deluge of bug reports from the event. Maybe we can convince the ACL2 folks to agree to this, given our connections with that community? TBD …
Vibecheck DC will focus on formal methods for the defense industry and is being organized by myself (Max) and Math Inc.
We plan to run more of these. If you’re excited by this and want to help, please reach out! We are a ragtag group of friends -- academics, industry researchers, engineers, startup founders, and enthusiasts. We care very deeply about software safety and cybersecurity, and we want to proliferate formal methods to the masses, without the slop or security theater. And we think the only way to do so is by iterating in public. Thank you for your attention to this matter!
To be clear, I personally have a lot of ideas about b), both semi-formulated (publicly) and very-well-formulated (privately), but this event was designed to focus on a).
Sergey’s opening remarks were not recorded, but if you’d like to see a much lengthier talk about formal methods given by myself (Max) and Sergey, look here.
You are more than welcome to re-use our Claude.md and Rules.md files, and our rules generally, for your own hackathon, project, event, etc. We only ask that you credit us, and that you do not use the name “Vibecheck” without our permission. We don’t have any legal rights to the name “Vibecheck” so this is just an ask, not like, a legal mandate.
Alok is a wunderkid who is perpetually 8 months ahead of the rest of the industry. He walks a tightrope between full-on AI psychosis and cutting-edge formal methods research. I honestly think if you’re a striver and want to get into YC you should just hang out with Alok for like an hour and then rip off any single one of the 30 or so bizarre productivity hacks you see him employ during that time, turn it into a company, and profit.
The judges were just volunteers from our meandering group of experts. Some experts volunteered to judge the FM; others volunteered to judge demos (concurrently); others went out for a beer, or chose to just spectate for the last leg of the event.
In Lean, the int representing -7 / 2 is -4, while in C, it is -3. More generally, Lean's Int is a mathematical integer with arbitrary precision, whereas C's int is a fixed-width machine type, usually 32-bit two's complement.
Introduction
Vibecheck began with the following question: Formal methods have officially entered the zeitgeist, but are these techniques actually ready for prime time? We know FM can be brought to bear on stodgy academic software: basically mathematical in nature, not reliant on external dependencies, and lacking a GUI, a database, or third-party APIs. But could it be brought to bear on Microsoft Word, or Flappy Bird, or Claude Code? Is FM ready for truly mainstream adoption? Could the next hot YC company build its product to be formally verified from the very start, without needing to first complete a PhD at Carnegie Mellon?
The question is a little cheeky, because of course, in some sense, formal methods are “ready” -- they’ve been deployed by experts against the most critical software and hardware targets, such as the Mars rover, nuclear reactors, and airborne detect-and-avoid software -- for decades. Why would I move the goalpost so that now, to be considered “ready”, formal methods instead need to be easily applicable by non-experts to less important targets? Well, the reason is that right now, everything is getting hacked. The open-weight models are now highly effective at hacking[1], and models generally are not yet good enough at coding to one-shot secure software (a task we refer to as secure program synthesis). Society unfortunately runs on all sorts of “unimportant” (and thus, hitherto unverified) targets like the websites for small banks and energy companies, the email servers used by local fire departments, and the antiquated-at-launch software deployed on GE medical devices at your local hospital, and right now, I can tell you without a shadow of a doubt, all that existing boring stuff is quite easy to hack, and the next generation of boring targets are being vibe-coded by models which, despite their spikey capabilities, still print imperfect code. Thus, for the time being, we need some kind of stopgap to keep society functioning. Perhaps the only viable proposal right now is funding the proliferation of formal methods. But to do this we’d need FM to be easily and effectively usable by complete novices with access to coding agents. We decided to evaluate this problem head-on.
Making FM tractably useful for the average SWE (vibe-coder) requires a) making FM tools easier to use and/or b) making models better at using FM[2]. Lots of social harm will accrue from hacking while we wait for the labs to accomplish b), so for now, we’re interested in short-term approaches to a). Hence: Vibecheck.
During the first weekend of November, we (a ragtag collection of degenerates) organized a formal methods hackathon in San Francisco. We brought together ≈55 programmers with little to no formal methods experience, equipped them with Claude (≈1K USD in tokens each), and provided ≈20 formal methods experts from industry and academia to answer questions and provide advice. We tasked the non-expert programmers with building cool consumer software -- stuff that you might talk to your mom about over Thanksgiving dinner -- and formally verify it. Our mission was simple: to empirically measure to what degree, if at all, AI uplift has made verification approachable for generic engineers. The short answer is “not enough”, but we’ll explain in a lot more detail below.
Sponsors and Experts
This hackathon would not have been possible without our generous sponsors. In particular, we would like to thank (in no particular order) Theorem for t-shirts; workers.io, Math Inc, and Atlas Ignota for logistical support; Anthropic for (a significant amount of) tokens, TheGP for physically hosting the event, offering us a podcast studio[3], and providing coffee and some snacks; Omni for organizer lodging and flights; Prime Intellect, Harmonic, Party, and Random Labs for product-specific tokens; Datadog and Apollo GraphQL for the major prizes and Math Inc and Lanyon AI for smaller prizes; and perhaps most importantly, Antithesis, workers.io, Astrio Labs, and Ulyssean for catering! The two lead organizers for this event Quinn Dougherty of ForAll R&D, and Max von Hippel (myself, the guy writing this, acting as myself, and not on behalf of any employer etc. etc.), both of whom also spent considerable funds out of pocket -- for instance, Quinn fronted >1k USD out of pocket since the Anthropic spend-limit doesn’t work correctly and failed to bound participant spend. We hope that Anthropic will formally verify their spend-limit functionality for workspace keys! If you’re reading this and work at Ant, please help the homie Quinn out …
We are also very grateful to our ≈20 formal methods experts, who flew from all over the country, on their own dime, to participate in this event. For us, as long-term FM practitioners, it is really exciting (albeit maybe a bit scary) to see this flood of interest from the rest of the world, and it was really fun for many of us to be able to come and support this hackathon. The FM experts were predominantly folks with PhDs in formal methods or mathematics, and all of them had at least three or four years of professional experience, pre-AI, using interactive theorem provers.
Lastly, we’d like to thank Sergey Bratus for giving the opening remarks for the event on Saturday morning.[4]
Rules and Prompts
We ran the event over two days, in person at TheGP’s office in San Francisco. Participants coordinated face-to-face or through a dedicated (and still active) Zulip. We, organizers, provided two files at the beginning of the event on Saturday morning (and no earlier): Claude.md and Rules.md.[5] The former was predominantly written by MTS at Math Inc, and lightly modified by us to better fit the shape of the event, e.g., we explicitly said not to work on cryptoslop. In short: entries were to be evaluated in terms of both (1) how cool the project is irrespective of formal proofs, and (2) how meaningful the proofs were, and we tried to prompt the participants’ agents such that they would avoid the most obvious footguns (such as vibe-translating to Lean and then proving uninteresting properties about a vibe-translation). Note, we strongly encouraged contestants to just work in Lean, for simplicity of judging and to maximize the odds of a successful project, but if a contestant had a good reason to do something else, we’d of course allow it.
Throughout the weekend, we hosted both planned and impromptu lightning talks. Alok Singh spoke about vibe-coding in Lean[6]. Quinn Dougherty talked about proof forensics (going through enormous quantities of Leanslop and trying to mine value). Simon Henniger, who was also on the organizing committee, gave a tutorial on Djinn, his synthesis language. Jacob Lagerros of Ulyssean gave a talk on hardware acceleration for provers. Kiran of Random Labs gave a talk on debugging complex distributed systems. Shubho and Dean from Axiom showed up and chatted with everyone about agentic proof-generation. And many others gave other amazing, interesting talks, and in short, if you weren’t there, then yes you missed out and should be feeling intense and painful retrospective FOMO right now.
Figure 1: We, uh, did not anticipate a team would be splicing and soldering.
Around 4pm on Sunday the participants submitted their entries and we (the ≈20 formal methods experts) began grading. We did so semi-agentically. First, we defined a grading rubric which we did not expose to the participants pre-submission, and we asked Claude to evaluate each submission by this rubric. However, we found Claude was not very good at this and we had to do quite a bit of manual review in order to deflate scores to be even semi-realistic. We did this to the best of our collective ability given the short time-frame of the event and the very real need for someone to win something before 10pm. Every entry’s “Proof Score” was judged by two FM judges[7] independently; then if the two judges differed substantially in scores they would discuss the discrepancy and arrive at a mutual conclusion, else we’d average the two. We followed a similar process for the “Demo Score”, where two judges evaluated how cool the demo was and then arrived at a composite demo score. Finally, we scaled the two scores to be equally weighted to arrive at the total score. I don’t quite remember what equation we used for that last step but it doesn’t really matter. Results below.
Results
This table utilizes the SJ scoring criteria from the previously-linked grading rubric. We use this A/B fraction-looking notation to show Judge 1’s score / Judge 2’s score for the Proof Score components.
Note, it’s totally possible (even likely) we made a mistake somewhere and as a result gave a prize incorrectly. If so, no, you’re not getting the prize you were cheated of. Life is unjust. If you really care about this you should have built a formally verified judging platform to make our lives easier.
Figure 2: Demo time.
Some demo scores are missing, presumably because those teams didn’t demo anything. Notes in this table are left pretty raw, we just removed the names of the reviewers who wrote them so as to avoid pointless Internet drama. We think these results will be interesting for the contestants, and also potentially a useful dataset for researchers interested in investigating proofslop (although plenty such code exists on the Internet already …).
Project
S0
S1
S2
S3
S4
S5
S6
S7
Proof score
Proof score notes
Demo score
Total score.
DefyGravity
3.8/3
3.5/3
4/4.5
4.5/3.5
4.5/2
.8/1
1/0.85
1/1
460.69
Wish it had signIn with gpt/ant, can’t run it rn
Well constrained but a bit simple to verging on boring
Liveness issues (strong guarantee is not reachable for upright/edge blanks, the checker is “gameable” in a way that the intent seems to imply was to rule out.)
3
680.4
Vibeagotchi
3
4
3
3
1
0.6
1
0.9
58.32
yea "doesn't crash on different architectures" is really weak
3.25
58.32
FMFM
3/4
3/3.5
3/3.5
3/2.5
3/2.5
0.95/1
0.6/1
1/1
222.38
Spec doesn’t capture crucial aspects of behavior but does capture some basic structural properties (but also the properties couldn’t conceivably be violated by the program); a formal link to the scheduler etc would have been vital.
222.38
Multi-Agent-Chess
3.5/2
4/1.5
2/2.5
3/0.5
1/1
1/1
1/0.8
1/1
43.5
No overall spec, but the work on the rest is good. Tests instead of proofs for many things
3.75
43.5
Vibecheck-TSA
4.5 / 4.5
3 / 4
4 / 3
3 / 3
4 / 2.5
1 / 1
1 / 1
0.6 / 1
396.9
faithful impl/spec, decently strong property but easily could have been stronger / more constrained
4
396.9
MCU-at-Vibecheck
2/2
2/2
2/2.5
2/3
2/2
1/1
1/0.7
1/1
32 / 42
It’s okay, no sorries, sensible specs, but instead of 1 large project it has 3 small projects, too scattered and not interesting IMO.
(Some parser issues also)
1
32
Traffic-Lights
3/4
4.5/5
4/5
3.5/5
2.5/4
1.0/1
1.0/1
1.0/1
472
Spec doesn’t exclude some “maliciously complying” behaviors; doesn’t capture pedestrian speed (which might be relevant?); model is relative to consistent exactly-once guaranteed broadcast.
Eight safety and liveness properties proven for two Lean controllers, but the spec omits pedestrian timing, minimum green and demand response, so it does not fully pin down a correct controller.
2.5
472
Infinite-RPG
4/2
3/3
4/4
3.5/3
3/2
1/0.9
0.7/0.9
1/1
352.8 / 117
takes forever to build since it's doing precise probability math on build. It's been 30 minutes.
had to manually revert in order to get it to build. be18cbc8b340629745cdaa83f98995dcbdc2ee23
deducted S6 by .3 for this.
also as a game. it's very obviously claudeslop and pretty jank.
Lots of unproved code, properties that have no content, and nothing constrains the engine’s rules, “DM cannot cheat” does not end up bearing load. Some specs are about code that isn’t what runs.
2.25
352.8
Choreo-Helper
3.5/3
3/3
4/4
3/3
2/2.5
0.9/0.95
0.6/0.9
1/1
136.08 / 230.85
Choreography generator/verifier. Spec does not fully align with proofs
“in bounds” and “teleportation” promises can be false -> penalty. Untrusted config too so maybe too kind on S4. Cool idea, no collision proof seems sound and good but was able to disprove some spec claims
I did not find any issue with teleportation but indeed there are other issues.
2.5
145.8
FoldProof
2/3
3/3
4/4
3/2
2/2
1/1
1/1
1/1
144
Verified poker engine, it’s cool but unfortunately it looks like they couldn’t find general purpose properties so they just invented lots of small and specific ones. So it’s correct, but I didn’t find it very interesting.
2.5
144
VGI-Health
2/2
4/3
4/4
2/3.5
2/2.5
1/0.85
1/0.75
1/0.9
128 / 120
Relies on vibe translation of public data into specs, properties seem to mostly be UI properties but I was timestrapped so may be wrong
Jmct: 1.5 only some hints at FM (alp: +1)
128
Verified-Cut
3.5 / 4
4 / 5
5 / 4.5
3 / 4
3 / 3
1 / 1
1 / 1
1 / 1
630 / 1080
The project is a verified FLAC/WAV encoder/decoder, the theorems work in isolation but they’re not well-connected to existing implementations. I don’t think their mother would be very excited about it though.
Alp: 2?
Jmct: 3
855
ZRDT
3.5/3.5
3/3
4/4.5
4/4
3/2
0.8/1
2/1
1/1
806.8 / 378
R1 proof only constrains openings.
note: edited penalty up from 0.6 to 0.8 after discussing that the sorries were not about the important proof; retained some docking for the confusion
3.5
491.4
Sound-and-Complete
4.5
4
4.5
3
3
1
1
1
729
Has honest limitations but the idea is cool and they verify the realistic portion
5
729
CryoLean
2
3
2
3
2.5
1
1
1
90
Lots of untrusted components: formalize some experiment as json, translate that to lean with a python script, report whether the lean model of the scientific machine can support the experiment. Lean theorems are pretty decent, but narrowly scoped: "adding new information cannot decrease the judgment", etc.
Lots of slop
1.25
90
SGLang-On e-Token
3.5/2
0.5/1.5
1.5/1.5
2/2
1.5/1
1/0.9
1/0.7
0.8/0.9
(6.3+5.1)/2
Vibe-translation, has a proof bug.
2
6.3
SevenBridges
4/2
4/3
5/5
4/3
3/2
1/1
0.9/0.9
1/0.9
(864 + 145.8) / 2
Neat UI, Lean to wasm in browser.
Formal rules diverge from the player rules, weights claim is false as stated.
1
504.9
Semantic-MIPS
4 / 2
3 / 3
4 / 4
5 / 3
1 / 1
0.8 / 1
1 / 1
1 / 1
132
Project is good at a technical level, but not very interesting/fun
2
132
USTAX
3/3.5
3/3
2/3
4/3.5
2/2.5
1/1
1/1
1/1
(144+275.6)/2
Pretty cool thing! A bit indirect (vibe-coding a Lean model based on Catala) and a couple of bugs.
209.8
Breakout-Port
2.5
4
4
3
2
1
1
1
240
Really impressive verification engineering, especially the Lean implementation and Aeneas work. The main weakness is that the specification doesn’t fully capture the project’s ambitions.
240
Jed-TV
4/4.5
4/4
3/4
4/4
2/2.5
1/1
1/1
1/0.8
(384+576)/2
AWESOME project. Highly ambitious and it’s amazing that they got this far. A couple of minor deficiencies and relatively loose spec are keeping the score low, but this project is a winner afaict.
3.75
480
SipBySip
2.5/4
3/5
3/(4.5)
2/3
1.5/2
1/2
0.9/0.5
0.9/1
54.675
Too many trusted shims, no formal statements of internet-facing behavior; properties proved are of library/client. Fable: ”This is the most carefully engineered verification project I have read at this event, and also one whose theorems do least for the product it ships”
crashed my computer :) closer to "a rigorous framework for verifying a SIP server" than "a verified SIP server."
4.5
54.675
Charte
4/3
4/3
5/5
4/4
3/3
1/1
1/0.85
1/1
960 / 459
its catan++ in lean. would personally play the game. i would not be able to tell this wasn't claudeslopped.
the voting system isn't as expressive as i'd like, would be a genuine good party game if it was.
Spec diverges from the documented-to-the-user game, there is a bug in unproven code, liveness issues/server.
3
960
wessorh this one is a git username?
0
0
0
0
0
0
0
0
0
claude couldn't find anything submitted by this username. last public commit was 2026-10-21
0
incomplete
Lean Quiet
4.5/4
4/4
4.5/3
4/4
3/3
0.9/0.9
0.9/0.8
1/0.95
787.32 / 394
About 400 new laws formulated and proved ; user-facing promises proven over running code went from 40 to 54 of 97; 43 remain partly (30) or not yet (13) proven.
Some issues with authority monotonicity and some proofs are about “twins.” Storage model diverges from impl in a way that would have been easy to avoid..
787.32
Pink (multiply by 0.8 at the end)
3/2.5
2.5/2.5
3.5/3
2.5/2.5
1.5/1
1/1
1/1
1/0.8
78.75 / 30
Mistakingly claims that Lean int = C int
No theorem states any subterm that would lead to conclude “precisely identical.”
3
78.75
blox
4.5 / 4.5
4.5 / 4
4.5 / 5
4 / 3.5
3 / 2.5
1 / 1
1 / 1
1 / 1
(1093.5 + 787.5)/2
2.25
940.5
What mistakes did people make?
Oh boy. All kinds of mistakes. We knew this would happen, in fact, when we announced the event, our friend Eric Smith said something along the lines of, “Oh, you’re gonna have regular engineers write in Lean? This is gonna be a shitshow!” Which was correct, and we knew it then, and we know it now, and yeah, that was the entire point of the event. So! Let’s discuss what people got wrong.
Before we begin, we need to be super, super clear. We fully anticipated that every single team would make disastrous mistakes. Formal methods are very much an expert domain. We, the organizers, want to democratize FM, not by bullying experts into accepting junk “proofs”, but rather, by pushing for better tools and better models, which will allow everyday engineers to create perfect proofs! The only way we can get there is by measuring the issues that stop average engineers from successfully vibe-proving today, and then enumerating those problems, and consequent research directions, in order to build the models and tools of tomorrow. This is exactly what Vibecheck was about. So, if and when we call you out below, do not feel shame. You are a guinea pig in an exciting and important project. You are cool. You are on the cutting edge. You are the future. Your coworkers envy you and your cool opinions. Ok? All good?
Vibe-translations
If you write code in one language, and then vibe-translate that code to Lean, and then prove things about it in Lean, this does not mean you have proven anything about your original code in whatever languages you began in. The translation can be unfaithful in many ways. As one simple example (a mistake made in Pink, which has since been made private, unfortunately), a Lean integer is not the same thing as a C integer[8]. More generally, vibe translation is a really challenging problem for models, because they are preconditioned to want to prove the theorem(s) of interest successfully, which priors them to translate in a way that maximizes the odds of being able to dispatch that proof, even if it’s at the expense of validity!
Research direction 1: We either need better formal semantics (e.g., update Aeneas until you saturate support for all the code in the crates.io ecosystem), and/or we need to be able to run code written in an ITP very quickly (well, we can with ACL2, but not with Lean …). In other words, either make it easy to prove stuff about existing production code, or make it tractable to write new production code in a manner that’s amenable to proof. See below figure, by me (Max), on the many possible approaches currently being explored for secure program synthesis, i.e., getting from prompts to provably correct code.
Figure 3: Space of possible approaches to secure program synthesis.
Research direction 2: Until research direction 1 is sufficiently resolved, we need better ways to audit vibe-translations and make sure they accurately capture the system under test (SUT). For example, we could differentially fuzz a vibe translation against the code it tries to capture. The same principle applies to slop semantics (see e.g. this excellent work by Sam Xifaras).
As a motivating example for direction 2, consider Semantic-MIPS, which the team differentially fuzzed against the MARS simulator, leading to a bug fix!
Horrible specs
In many cases, participants proved totally uninteresting properties, or did not actually prove the properties they thought they’d proven. The funniest example was the SevenBridges team, who proved a theorem of the shape “for all bridges in the game …” but, in an effort to avoid a bug that had rivers and roads intersecting weirdly, accidentally made bridges so statistically unlikely in the level-generation logic that none of the dozens of levels they shipped the game with had any in them. Another funny example can be found in VGI-Health, which has several results involving “an independent second nurse” but actually allows nearly any string whatsoever for the nurse, and in one result, even an empty string is allowed (rather than, e.g., restricting it to some predefined authorized-nurse list). A similar, and hilarious mistake occurs in CryoLean, where a certificate whose status is “INVALID” counts as certified, because “invalid” contains “valid”. Choreo-Helper makes a funny geometry spec error, where a theorem saying the dancers are always “in bounds” computes its “bounds” from the dancers positions. As far as we can tell, most projects had at least one significant bug, but these were the ones that made me chuckle the most.
Research direction 3: We need more easily interpretable spec languages. For example, schematic.tech has a spec language which makes properties look just like property-based tests, except they get proven using a formal semantics. This is obviously the future, and we need more innovations like this which make it straightforward for both non-expert humans and nonspecialized models to review specifications and make sure they’re meaningful. (Arguably, this also plays a role for AI Control proposals, by lessening the intellectual load of oversight.) Oath and ForAll R&D are two organizations we’re aware of currently working on this and related problems.
Research direction 4: We need much better spec elicitation tools. For example, mutation testing can be seen as a spec elicitation technique. What other techniques could be used to “force” a human into making the requisite decisions to produce a spec? E.g., imagine a language with preconditions and postconditions, and functions are fully LLM-emulated until they’ve been sufficiently specified to be unambiguously synthesized. Every prompted feedback trickles to further specification, and synthesis happens upon reaching some unambiguity constraint, a lá Djinn.
In some cases, a piece of “formally verified” code was really bad. For example, one of the projects actually crashed a judge’s laptop and it had to restart. Other projects had obvious visual glitches, or other tell-tale signs of slop. Interestingly, this implies the specs were insufficiently developed. Contestants may have myopically focused on proving big headline results, at the expense of just proving that their code was, at a basic level, correct. We suggest specification languages where the user only writes spec-code, such as Djinn, as a possible solution for this kind of problem -- i.e., we suggest that all desired functionality should be formally specified, with the proof bit being outsourced as much as possible to the clankers.
Unrealistic or bizarre trust models
We found that non-expert practitioners assumed verified code was more certainly correct than it actually is[9], and broadly assumed the world was more orderly, well-understood, and coherent than it in fact is. They made incorrect assumptions like: “C has a formal semantics”, or “we understand and can fully predict the physics on the silicon”. They were often pretty confused about what was actually running on their machines -- they’d say that an app was “running in Lean” when actually the story was a bit more complex, e.g., the Lean code was emitting code in some other language, and proving things about that code using some ad-hoc formal semantics, for example. In many cases, these trust gaps could have been partially closed with some careful fuzzing. Impressively, some projects did exactly this and indeed fixed bugs!
Token-maxxing didn’t help as much as you’d think
Inspired by recent token-maxxing successes in formal verification by Anthropic, OpenAI, Theorem, Math Inc, Axiom, and Oath (through the Apart x Atlas Secure Program Synthesis Fellowship, which we created), we asked Anthropic for O(1k USD) in tokens per contestant, so that contestants could experiment with token-maxxing. While token-maxxing is often derided as wasteful and stupid, we believe that 1) the dollar cost of computational intelligence is going down, so what’s expensive today is a preview for what will be cheap tomorrow; and 2) formal methods, being a verifiable domain, is exactly the kind of space where token-maxxing actually can yield outsized results. We still believe this, however, in the case of Vibecheck, where the contestants were not experts in formal methods, more tokens did not mean better results. In fact, we did not find any correlation at all between token spend and placement in the results.
Of course, this might just mean we suck at judging. Certainly due to time constraints, there’s a decent chance that the actual best project wasn’t the one we gave the top prize to, etc.
Figure 4: Holmes doing some insane levels of token-maxxing. Holmes’ project is exceedingly cool, but it’s also a bit of an outlier, because it’s something he has been working on for years, and he decided to try and port it to Lean. So, he has all the latent domain knowledge needed to prompt the models to produce meaningful proofs of important properties. In contrast, most contestants didn’t really know what properties to prove to begin with!
Regardless, we think that with the format of our hackathon, and the very real constraints of the models available at the time of the event and the level of knowledge of the participants, more tokens were not ultimately a meaningful unlock for significantly better proofs.
The biggest reason for this seems to be because the LLMs are not very good at evaluating whether or not a spec is good, or a proof is good. They seem to consistently conflate “I formally proved this theorem in a way that would make Adam Chlipala smile” (the actual goal) with “I played with Lean enough to convince myself, a model, that this statement is true” (presumably, a common goal in training?). More tokens seemed to correlate with more statements of the latter variety, when it would have been better to have fewer statements, but of the previously described, higher level of rigor.
Research direction 5: Models need to get better at writing meaningful specs, and evaluating proofs to make sure they’re significant.
We have worked on the converse problem, that is, benchmark design for proofgen (see also this less mature effort), but we are not sure how to attack this problem, that is, benchmark design for specgen. It feels more open-ended and challenging, sort of like making a benchmark for poetry.
This problem is under-appreciated, perhaps, because people at the big-labs just care about math, where writing the problem/spec down is easy and there’s not much room for cheating. In software, it’s totally different, there is an enormous amount of room to cheat and it’s extremely challenging even for an expert to write down a good spec. Anyone who claims otherwise is probably trying to raise venture capital …
Conclusion
This was an incredibly fun event and, in our view, an enormous success. We want to run more of these. However, each Vibecheck should yield new “learnings”, to use corpslop. Here are our current ideas:
We plan to run more of these. If you’re excited by this and want to help, please reach out! We are a ragtag group of friends -- academics, industry researchers, engineers, startup founders, and enthusiasts. We care very deeply about software safety and cybersecurity, and we want to proliferate formal methods to the masses, without the slop or security theater. And we think the only way to do so is by iterating in public. Thank you for your attention to this matter!
Something which was not true just a few months ago.
To be clear, I personally have a lot of ideas about b), both semi-formulated (publicly) and very-well-formulated (privately), but this event was designed to focus on a).
Quinn and I will be launching a podcast very soon!
Sergey’s opening remarks were not recorded, but if you’d like to see a much lengthier talk about formal methods given by myself (Max) and Sergey, look here.
You are more than welcome to re-use our Claude.md and Rules.md files, and our rules generally, for your own hackathon, project, event, etc. We only ask that you credit us, and that you do not use the name “Vibecheck” without our permission. We don’t have any legal rights to the name “Vibecheck” so this is just an ask, not like, a legal mandate.
Alok is a wunderkid who is perpetually 8 months ahead of the rest of the industry. He walks a tightrope between full-on AI psychosis and cutting-edge formal methods research. I honestly think if you’re a striver and want to get into YC you should just hang out with Alok for like an hour and then rip off any single one of the 30 or so bizarre productivity hacks you see him employ during that time, turn it into a company, and profit.
The judges were just volunteers from our meandering group of experts. Some experts volunteered to judge the FM; others volunteered to judge demos (concurrently); others went out for a beer, or chose to just spectate for the last leg of the event.
In Lean, the int representing -7 / 2 is -4, while in C, it is -3. More generally, Lean's Int is a mathematical integer with arbitrary precision, whereas C's int is a fixed-width machine type, usually 32-bit two's complement.
See also my soundness bug wager and my piece with Quinn on proofslop.