Skip to content
julin

julin

An independent research notebook on AI engineering, agents, models and the systems around them.

julin.ai
julinjulin
SOFTWARE AND DATA ENGINEERING

Formal Verification Is No Silver Bullet

We all know that there is no silver bullet. Formal verification is not one either. It catches bugs, a lot of them, but it won’t magically make your system bulletproof. It is one more layer in your testing suite to ensure your system behaves correctly. While the code you write defines HOW the system is implemented, the formal specs define HOW the system should behave. By exploring all the possible states, or by checking them symbolically over logical formulas, you get a solid understanding of how the system should behave.
julinjulin
ARTIFICIAL INTELLIGENCE

Why Small Python

CPython is the official one; PyPy is a JIT. Jython is old. GraalPy needs the JVM. MicroPython is for chips. Pydantic Monty is… okay, the closest to what I need, but its subtle differences from CPython here and there are such a pain in the ass. I want something super lean with the least surprises. Only the core Python language features and builtin functions are needed. Whatever CPython produces, Small Python produces too. For other capabilities, you register functions in your host language. It should also be metered, so that when the runtime runs LLM-generated code, it can abort, pause, or resume.
PY PYPYTHON
julinjulin
SOFTWARE AND DATA ENGINEERING

TLAPlusPlus: A Faster TLA+ Model Checker in C11

In the past few days, I have been working on a fun project: TLAPlusPlus. While running TLA+ specs for Small Python, one thing that really blocked me was the time it took to run them. I use a lot of TLA+ specs to model the C implementation, and the expensive run time kills me. I was never into Java. So I asked Claude Code to build one in C11. Just one C file and one header file. I asked it to produce a language specification first, then test262-style test specs, and then use TLC as the oracle. The outcome is amazing: it’s slightly faster than the official Java version. v0.1.0
FABRĂŤCIO BRACHTTLA PLUS PLUS
julinjulin
SOFTWARE AND DATA ENGINEERING

Manyan: A Faster TLA+ Model Checker in C11

In the past few days, I have been working on a fun project: Manyan, formerly TLAPlusPlus. While running TLA+ specs for Small Python, one thing that really blocked me was the time it took to run them. I use a lot of TLA+ specs to model the C implementation, and the expensive run time kills me. I was never into Java. So I asked Claude Code to build one in C11. Just one C file and one header file. I asked it to produce a language specification first, then test262-style test specs, and then use TLC as the oracle. The outcome is amazing: it’s slightly faster than the official Java version. v0.1.0
FABRĂŤCIO BRACHTMARKUS ALEXANDER KUPPE
julinjulin
SOFTWARE AND DATA ENGINEERING

Adding Metering to Small Python

Today is another day of me staying completely outside my home office. I enjoyed a short road trip, dined on Chicken Alexander, and watched my wife play chess with my son (he won in the end with a promotion). Meanwhile, Claude Code kept running, and as of writing, it is still running. Wow. What an entire day! What it’s working on is a metering feature for Small Python, which is essential for the upcoming sandbox features.
CLAUDE CODEQUICK JS