About

Hello.

Pixel-art portrait of Tomoya Nagasawa with a TN earring

I'm Tomoya Nagasawa, a hacker and engineer of thirty-plus years.

My work spans blockchain, databases, natural language generation, zero-knowledge proofs, formal verification and AI. I like problems where a careful representation such as a bit layout, a proof or a protocol makes everything downstream simpler.

This site is my lab notebook. Research works through the algorithms and mathematics from first principles, and Papers collects the formal write-ups.

Areas

Encodings & storage
Bit-level serialization, columnar layouts, permanent and append-only data.
Databases
Decentralized and verifiable databases, query engines, indexing.
Zero-knowledge
Proofs over data and computation, provable queries.
Formal verification
Machine-checked protocols and state machines in Lean.
AI systems
Natural language generation, agents, research tooling.
Blockchain
Protocols, rollups and smart contracts since the early days.

Elsewhere