projects

I build systems for scientific inference, mathematical discovery and physical engineering. Each project pairs a technical idea with an implementation and experiments. The writeups explain the contribution; the papers document the methods, results and remaining questions.

research

After the earthquakes in Venezuela, I realized our forecasting tools needed help. FlowQuake asks whether the tiny earthquakes nobody can feel are quietly snitching on the big ones.

Python PyTorch Seismology

Your DNA is basically a history book written by your ancestors. I wanted to see if I could read it, and how often I'd get it wrong.

Python msprime Conformal Prediction

Computers can now take a guess at what you're looking at just from a brain scan. The scary part is that they guess with total confidence even when they're wrong. I taught one when to stay quiet.

Python PyTorch Neuroimaging

When two black holes crash into each other, they shake space itself. I wanted to know how fast they were spinning, which is a bit like figuring out how fast two blenders were going from the sound of them falling down the stairs.

Python PyTorch Gravitational Waves

ml playground

A few of my friends at Stanford told me I couldn't build a poker bot that beats them. I took that personally. Borel plays no-limit hold'em at tables of up to nine, and it does not care about anyone's feelings.

Rust Python CUDA

Humans took centuries to discover complex numbers, quaternions and octonions. I wanted to see how long it would take a computer starting from scratch.

Python NumPy Z3

Halfway through writing code, you usually can't tell if you're heading somewhere that works or into a dead end. I built a network that tries to tell you before you get there.

Python PyTorch Lean

A computer saying 'trust me, I found it' isn't good enough for math. I wanted every discovery to come with a proof another computer could check.

Python Lean 4 SymPy

engineering

I've built rockets for years, and everyone in rocketry knows OpenRocket, the most popular simulator, falls apart once you go faster than sound. On one rocket that flew to 293,000 ft, it came up 40% short. So I designed new math and algorithms for supersonic flight. Now it's within 2%, and across 24 real flights it averages about 5%.

Java Aerodynamics Gradle

I wanted to understand markets and trading. What better way than in SkyBlock? In the meantime, I could make billions of coins. The stock market can wait.

Python FastAPI SQLite