Nikhil Swamy (@lambdaNik) header
Nikhil Swamy (@lambdaNik) profile picture
Joined February 2018
Photo by Nikhil Swamy (@lambdaNik)Photo by Nikhil Swamy (@lambdaNik)Photo by Nikhil Swamy (@lambdaNik)Photo by Nikhil Swamy (@lambdaNik)Photo by Nikhil Swamy (@lambdaNik)Photo by Nikhil Swamy (@lambdaNik)Photo by Nikhil Swamy (@lambdaNik)Photo by Nikhil Swamy (@lambdaNik)Photo by Nikhil Swamy (@lambdaNik)Photo by Nikhil Swamy (@lambdaNik)
New post on the RiSE blog on GPU kernel optimizations. Combining agents with symbolic tools for determinism and proofs of algebraic equivalence allows us to reason about kernel optimizations, including finding and fixing bugs in several mega-kernels. @RiSE_MSR
New on the MSR RiSE blog: We're validating some of the most complex kernels out there: Mega kernels! Many GPU features lack formal models, so we use rigorous testing to reduce each kernel to a simpler program and prove that correct. 6 fix PRs, 4 merged. risemsr.github.io/blog/2026-…
2
17
698
I have a Lean model of the OCaml runtime system where the approach is strikingly similar. Found 100+ bugs. Veil stopped scaling (256 actions x 180 clauses now; veil takes too long to elaborate); switched to native lean to do proofs rather than model check, with agents finding +
New blog post: A Correctness Approach for Modern Systems Software I look at building a Rust version of a client-side lease/lock manager with an emphasis on correctness: proof, model checking, simulation, mutation testing, and more techniques. brooker.co.za/blog/2026/11/3…
10
25
3
282
17,590
Thanks! I will check these out, although they seem mostly focused on extracting full F* rather than just something corresponding to low-level C code.
1
24
Cherry is for full F*. Custard is our replacement for Karamel, and supports a whole program monomorphizing compiler from Pulse to low-level C. Custard ships with F* and is integrated in the compiler sources, so it should be a bit more streamlined to use
1
20
Replying to @kc_srk @lambdaNik
Yeah, the extraction to something I can link into the real runtime is the key feature.
2
2
84
I'm checking back into X after a couple of years after someone encouraged me to ... I see all you cool kids are still here! @samth @kc_srk : Have you seen Custard & Cherry? We have new, better extraction backends for F* to C now
1
2
24
Don't wanna hear that racist claptrap You chat that chat, get clapped back Don't wanna take my country back, mate I wanna take my country forward @SonsOfKemet #myqueeniskamalaharris
1
566
🚨 Thrilled to announce our recently accepted paper at @ICSEconf, publishing benchmarks to push the boundaries of AI-driven Proof Oriented Programming. 🔗 huggingface.co/datasets/micr… 🔗 huggingface.co/datasets/micr… For more details: fstar-lang.org/popai #PoPAI #ICSE2025
2
4
16
1,627
I'm writing my POPL submission in VSCode for the first time. I have copilot on ... Just because it usually is. Amused by it completing \cite{ with dreyer12.. pierce18... and interestingly petricek16. Not sure what papers those are, but I guess I'm definitely writing a PL paper :)
2
1
38
3,323
I don’t know, maybe it thought you were writing a treatise on the glory years of silent film, citing the 2012 Sight and Sound poll in which Carl Theodor Dreyer’s “The Passion of Joan of Arc” was voted 9th best film of all time!
1
5
227
Hahaha! Now I've got to put that on my post deadline watching list : ) (or not)
1
161
Excited to have Anish Athalye anish.io/ present at the next F* PoP Up seminar on June 27, presenting about a verified hardware security module using a variety of tools, including F*, Low*, Hacl*. Come check it out! fstar-lang.org/popup/seminar… #fstarlang
1
2
1
15
2,372
youtu.be/0za3QkMqLkg?si=pZWm… Great talk by @anishathalye, impressive end-to-end verification distilling the behavior of an HSM from application code to hardware in just a few lines of ideal functionality.
2
336
This is happening today in a bit less than an hour! ...
Excited to have Anish Athalye anish.io/ present at the next F* PoP Up seminar on June 27, presenting about a verified hardware security module using a variety of tools, including F*, Low*, Hacl*. Come check it out! fstar-lang.org/popup/seminar… #fstarlang
2
354
WSL2 + OCaml + F* + VSCode + Copilot + fstar-vscode-assistant + ... Proof flow! #fstarlang
7
438
Folks, give this new tool from RiSE a spin: github.com/microsoft/aici. Prompts are WASM programs and gives you a flexible/programmable way to control the output of an LLM. Semantics matter :)
10
42
3,575
From the White House ONCD report: whitehouse.gov/wp-content/up… > ... use formally verified core components in their software supply chain. [Citing: Microsoft Research, Project Everest] See: project-everest.github.io/ #fstarlang
2
9
1
52
3,938
We're hiring! Please apply to join RiSE @ MSR Both fresh PhDs: jobs.careers.microsoft.com/g… And Principal Researchers: jobs.careers.microsoft.com/g…
2
16
56
9,099
Would it be ok if I emailed you with some questions about this?
1
477
Register to attend the OCaml Retreat at Auroville. Dates: Sun 10th March to Fri 15th March forms.gle/TJg7Uz7ZxKyGqXnAA
Excited about hacking on OCaml? We’re planning to run a 5 day long OCaml hack retreat in Pondicherry along the lines of retreat.mirage.io/. We’ll have limited seats (< 15). Would you be interested in joining such an event?
3
8
6
48
21,184
Oh wow, OCaml \cap Auroville sounds awesome ... Future societies, founded on self-reflection and typed functional programming!
1
3
280
Excited to post ~15 new chapters in the F* book on Pulse and proof-oriented programming in concurrent separation logic, coupled with initial releases of the Pulse extension to F*. Just in time for our tutorial at POPL tomorrow! fstar-lang.org/tutorial/book… #fstarlang
1
10
1
48
4,499
Excited to teach about Pulse at POPL! Been writing new chapters in the F* book. Come to our tutorial popl24.sigplan.org/room/POPL…
2
8
60
4,063
Looking forward to seeing you again Nik! 😊
1
1
52