Nik Swamy's Avatar

Nik Swamy

@lambdanik.bsky.social

I work on Programming Languages at Microsoft Research

77 Followers  |  95 Following  |  23 Posts  |  Joined: 26.02.2025  |  1.8301

Latest posts by lambdanik.bsky.social on Bluesky

And especially to Chris Brzuska, Aymeric Fromherz, Markulf Kohlweiss, Guido Martinez, Bryan Parno, and @protz.bsky.social: it was fun reflecting on the work and writing this paper together!

09.06.2025 18:17 — 👍 1    🔁 0    💬 0    📌 0

With huge thanks to the many contributors to this work, from @msftresearch.bsky.social, Inria, @cmu.edu, and several other institutions.

09.06.2025 17:56 — 👍 2    🔁 0    💬 1    📌 0
Project Everest's architecture

Project Everest's architecture

Project Everest produced provably correct and secure software in F*, now running in systems like the Windows kernel, Hyper-V, Linux, Firefox, Python, and several others

A new paper describes our experiences, some lessons learned, and possible paths ahead: project-everest.github.io/assets/evere...

09.06.2025 17:56 — 👍 6    🔁 1    💬 1    📌 0

This was fantastic! Thanks for sharing

02.06.2025 15:02 — 👍 1    🔁 0    💬 0    📌 0

If you're building security-critical components in embedded systems, secure boot loaders, device attestation components, software bill of materials, etc.: Use our formally verified, high-performance code!

29.05.2025 17:09 — 👍 2    🔁 0    💬 0    📌 0

* and a verified implementation of DICE Protection Environment, using the CBOR profile

29.05.2025 17:09 — 👍 1    🔁 0    💬 1    📌 0

* a verified compiler for CDDL specifications, yielding either verified C or verified safe Rust code, for parsing and serializing CBOR objects according to a CDDL schema

* a verified implementation of COSE_Sign1, again in C or Rust, using verified cryptography from HACL*

29.05.2025 17:09 — 👍 0    🔁 0    💬 1    📌 0

Including:

* a formalization of multiple RFCs, with mechanically checked proofs of correctness and security.

* a library in verified C and in verified safe Rust for validating, parsing, and serializing CBOR objects

29.05.2025 17:09 — 👍 0    🔁 0    💬 1    📌 0
Preview
Secure Parsing and Serializing with Separation Logic Applied to CBOR, CDDL, and COSE Incorrect handling of security-critical data formats, particularly in low-level languages, are the root cause of many security vulnerabilities. Provably correct parsing and serialization tools that ta...

PulseParse & EverCBOR

Uses F* and Pulse to formalize several new standards for secure data formats and attestations, including CBOR, CDDL, and COSE, producing verified libraries and compilers.

arxiv.org/abs/2505.17335

#fstarlang #pulse #everparse #rust #cbor #cddl #cose #dice #dpe

29.05.2025 17:07 — 👍 7    🔁 2    💬 1    📌 0

The paper includes a verified implementation of a task pool in the style of OCaml 5

#fstarlang #ocaml

28.05.2025 22:08 — 👍 3    🔁 0    💬 0    📌 0
Pulse: Proof-oriented Programming in Concurrent Separation Logic — Proof-Oriented Programming in F* documentation

PulseCore is the foundation for Pulse, an embedded language in F* for proof-oriented programming with dependent types & concurrent separation logic.

fstar-lang.org/tutorial/boo...

28.05.2025 22:02 — 👍 2    🔁 0    💬 1    📌 0

PulseCore @ PLDI 2025: A concurrent separation logic in F*, with impredicative invariants, higher-order ghost state, and later credits like Iris, but with a semantics in dependent types based on Indirection Theory, rather than through a categorical semantics.
fstar-lang.org/papers/pulse...

28.05.2025 22:02 — 👍 4    🔁 0    💬 1    📌 0
Fun with Typeclasses: Datatypes a la Carte — Proof-Oriented Programming in F* documentation

On a flight to ICSE a few weeks ago, I coded up Wouter Swierstra's extremely cool and classic Data Types a la Carte in F*, adding proofs of termination and correctness.

I wrote up a chapter in the Proof-oriented Programming in F* book describing it today:

fstar-lang.org/tutorial/boo...

24.05.2025 02:08 — 👍 4    🔁 2    💬 0    📌 0

way too much shit around here

18.04.2025 01:43 — 👍 1    🔁 0    💬 0    📌 0

hahahahahaha

18.04.2025 01:40 — 👍 1    🔁 0    💬 1    📌 0

ok, ok, fine ... i should let my own grumpiness pass : )

18.04.2025 00:35 — 👍 1    🔁 0    💬 1    📌 0

Come on! Beautiful gentle yaanai v colonial demagogue??

17.04.2025 14:38 — 👍 3    🔁 0    💬 1    📌 0
Verification Seminar Series

On Tuesday, I'm giving a talk and demo of Pulse, a separation logic DSL in F*.

Talk abstract with zoom link etc:
fmindia.cmi.ac.in/vss/

06.04.2025 19:11 — 👍 7    🔁 2    💬 1    📌 0

Towards Neural Synthesis for SMT-assisted Proof-oriented Programming

wins an ACM SIGSOFT Distinguished Paper Award at ICSE '25

arxiv.org/abs/2405.01787

Excited for all the progress up ahead in AI-assisted program proof!

20.03.2025 16:47 — 👍 3    🔁 0    💬 0    📌 0

A most gratifying recent moment was a sequence of puns related to knitting towards the end of Asterix in Corsica, which I had never picked up on, but kid (who knits) picked up on instantly and explained to me!

08.03.2025 15:49 — 👍 2    🔁 0    💬 1    📌 0

We read them all too, and obsessively re-read them, appreciating more of the puns & allusions each time. That too my old, battered versions of the albums from the 80s which my mom found : )

08.03.2025 15:49 — 👍 1    🔁 0    💬 1    📌 0

Massive parenting win today, working with my 10-year old to derive Newton's equations of motion (uniform acceleration, straight line). Then using it to time some dropped stones and estimating that the height of the Ravenna foot bridge from the handrail to the creek below is about 29m.

02.03.2025 22:05 — 👍 1    🔁 0    💬 0    📌 0

I often hear from my musician friends: "Don't trust an algorithm".

Makes me sad to realize how much the word "algorithm" has come to just mean an "automated recommendation system".

We need to take it back!

02.03.2025 02:00 — 👍 11    🔁 1    💬 1    📌 0

@lambdanik is following 20 prominent accounts