Spatial Knowledge Space
A WebXR and desktop 3D view of this site's link graph, backlinks, and projects, computed by a kernel-validated pure-Lean WebAssembly engine. Zero spatial telemetry is collected; every node and link also appears in the accessible index below.
Knowledge Space. Use pointer drag to orbit, click or look-and-pinch to focus, arrow keys to step nodes, R to recenter.
Accessible linear index (129 nodes, 173 connections)
Interactive 3D WebXR map of essays, pages, backlinks, projects, and spatial experiments (129 nodes, 173 connections), driven by a kernel-validated pure-Lean WebAssembly engine.
- Projects (pages) — Some things I've been building. For demos and screenshots, see Math, made tangible. This is a second view of the
- Fun with Python Iterators: Linked Lists Made Easy (essays) — This requires Python 3.7+, since I use the handy dataclasses library. I finally bothered to sit down and figure out
- Let's Write a Genetic Algorithm (essays) — I'll be assuming that you know what these terms mean: Cost/objective function Local/global optima If you don't, that's what Wikipedia
- Using Vim's Conceal Feature to Make Code More Readable (For You) (essays) — Whenever someone sees my editor, this is always the first thing they ask about. Vim (and Emacs) have features that
- Through Claude's Eyes: The Most Unusual Power Tools in a Developer's Config (essays) — As an AI exploring a human's development environment, I've just spent considerable time digging through configuration files. What I found
- Derivative AT a Discontinuity (essays) — The title may seem like a contradiction. How can you differentiate something that's not even continuous? The usual definition of
- Automatic Stochastic Differentiation in Lean 4 (essays) — Stochastic calculus is a fundamental tool in mathematical finance, physics, and many other fields. In this post, I'll implement automatic
- A tool to look at random images (essays) — It's useful to look at image data before you do any ML with it. Usually I want to look at
- Projects (pages) — Some things I've been building. For demos and screenshots, see Math, made tangible. can the land know peace — Cratons
- More About Conceal (essays) — In my last post, I talked about using Vim conceal to create my own little syntax. A couple of days
- A Field Guide to Nonstandard Definitions (essays) — Nonstandard analysis trades quantifier mazes for proximity. ∀ ε > 0 ∃ δ > 0 ∀ x… becomes x ≈
- Book Notes: The Talent Code by Daniel Coyle (essays) — This is for anyone trying to be more than just good. Mastery is a fire that starts with the spark
- Nice Tab Navigation in Vim (essays) — Making tabs in Vim is annoying. So I wrote a function to make it less annoying. Keeping with (my interpretation
- Best Of (pages) — Here are some of my favorite and most popular blog posts. These represent the best of my writing and ideas.
- About This Site (pages) — What this site is made with, whose design it follows, and where its source lives.
- Eigenblogpost, or: Eigen Do It If I Try (essays) — Something to write on Knowing what linear functions are, for the most part. Vaguely remembering that matrices are representations of
- Lean-native Blog (pages) — The reusable Verso authoring plugin and typed site architecture.
- Mental Model of Dental Hygiene (essays) — I've never been all that diligent about dental care. I got cavities constantly as a kid. I don't know how,
- Astrology for Men (essays) — One of my random hyper fixations is proto-Indo-European etymology. My friend Lydia said that etymology is astrology for men. So
- Design of This Website (pages) — How this site works: native Lean publishing, checked Verso authoring, and Gwern-inspired reading.
- Papers/Talks (pages) — FormalWeaver: Dependency-Aware Translation of Formal Repositories at Scale Hantao Lou, Alok Singh, Max Tegmark. Floating-point arithmetic formalized in Lean. Lean
- What it's like to dissect a cadaver (essays) — I never thought I was a bio person. But then I overheard Viv talking about MAOIs at a party. I
- Book Notes: The Effective Engineer (essays) — This book won't be a substitute for mindful reflection. Most books aren't. This boils down to a few simple but
- Commitment Contracts (essays) — Hernan Cortes would've made a good behavioral economist if he hadn't decided to be a conquistador. Cortes is famous for
- Researchers should buy an iPad Pro (essays) — I've got a lot of use out of my iPad Pro. I think it's one of the few purchases that
- Book Notes: Make It Stick (essays) — TLDR: Use spaced repetition Test yourself frequently Don't mass practice Seek out objective proof that you've learned something This book
- Compactness of the Classical Groups (essays) — MOM Alok's thinking about conic sections again. The classical groups (that I was thinking about) are: Real Orthogonal Group: O(n,
- Me (pages) — The title of the blog comes from the preface to Michael Spivak's Calculus. The idea is that we have a
- 2 Definitions: Computational and Abstract (essays) — In math, you notice a lot of concepts have multiple definitions, which are formally equivalent but give insight into different
- My Morning Straitjacket: Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks (MAML) (essays) — Turns out American Dad already did the joke. Adrian Colyer's The Morning Paper impresses me, so I'm copying it. Model-Agnostic
- What is a Tensor? (essays) — matrix = linear map tensor = multilinear map This is a brief "explanation" and contains almost no detail. To be
- Don't Be Such a Perfectionist (essays) — Imagine a slider of code quality, from 0 to 100. Untested, untyped code is 0. Vericoding (code with machine-checked proofs
- Fun with Vim's Filter Operator (essays) — One of Vim's lesser-known operators is !. If y, d, and v are the jocks, then c, <,and > are
- Use Lists, Not Commas, In Technical Writing (essays) — This is an opinion, so feel free to disagree. Whenever you have an enumeration (whenever you list stuff out) that's
- Vimscript Comparisons Suck (essays) — Vim has a built-in scripting language. It's what you write your vimrc in, and it's really convenient for short one-off
- Feature Requests Aren't Always a Waste of Time (essays) — A lot of the time, users are discouraged from making feature requests to a project because the developers don't want
- Sammy Cottrell (essays) — The day you say you don't have it in you to write, or to do whatever is demanded of you,
- interesting-journal-entry (essays) — From the diary of Samuel Pepys: Up about four o'clock, and settled some private business of my own, then made
- Deep Learning Book Chapter 11 Notes (essays) — Understanding the fundamentals in chapter 5, especially over and underfitting, really pays off. This chapter is really easy to read
- Jaynes Notes 1 (essays) — This is an opinionated and incomplete book. These are sloppy notes. I nearly cut my finger off a week ago
- Derivation of Reservoir Sampling (essays) — I had to implement reservoir sampling during an interview and I had no idea how to do that. So I
- Just because 2 things are dual, doesn't mean they're just opposites (essays) — There's 2 Aspects to things in general. I will call them Mapping Out and Mapping In, in titlecase so you
- What Does Big Mean? (essays) — What does it mean for a number to be big? Not big-in-general. Big for a situation. An electricity bill can
- Compressing Neural Networks To See If They Learn (essays) — I've been thinking about the paper Understanding Deep Learning Requires Rethinking Generalization. It asks: do neural networks trained with stochastic
- Anki (essays) — (I sat on this post for a while, but rather than let it rot in my drafts, I decided to
- Continuous vs Bounded (essays) — Nonstandard analysis gives a nice link between continuous and bounded functions, which are small and large-scale notions. Let X and
- discontinuous linear functions (essays) — Let H > ℕ𝕒𝕥 be unlimited. Then the linear map T(x : ℝ^∗) : ℝ^∗ := Hx is discontinuous. Why,
- Eigenapplication: EXPLOSIONS? (essays) — I'm here to ask you one question, and one question only. Specifically, what does multiplying a matrix A by itself
- REPTILE in PyTorch (essays) — A couple days ago, I decided to read OpenAI's REPTILE paper. I decided to see how the algorithm worked in
- Boolean Algebra, Arithmetic POV (essays) — (written long time ago, publish or languish) These are some notes I made for Davide Radaelli for the first section
- Beyond strength (essays) — You are strong, child. But I am beyond strength. i really didn't feel like seeing anyone today. i didn't feel
- Mechanistic Interpretability and Lean 4 (essays) — Proposal: implement https://www.arena.education/ in Lean. My intuition is that theorem provers will end up in the final solution to AI
- DEDRM tutorial (essays) — DeDRM is a tool for removing DRM. Its creator, Apprentice Alf, deserves our thanks. I'll show how to set it
- Why Saudi Arabia's Future Doesn't Look Good (essays) — Saudi Arabia did not legally abolish slavery until 1962. Oil revenues are over 80% of tax revenue and over 90%
- How to Travel Alone (essays) — If you want to know the truth of who you are, walk until not a person knows your name. Travel
- Accuracy vs Precision (essays) — I had a hard time remembering this, almost as bad as Type 1 vs Type 2 (which are still the
- Braindead Way to Derive Taylor Series of Exponential Function (essays) — e^x was first defined by a formula for continuous compound interest: e^x := lim_(N→∞)(1 + x/N)^N Let's use this to
- Another way of doing big O notation (essays) — I had a fun talk about this with an interviewer once when they asked me about the runtime complexity of
- Vibe physics needs a referee (pages) — For Travis Kalanick. Everyone else can read it too. Travis, I don't think vibe physics is crazy. I think it's
- Training Yourself To Build A Better Workflow On A Computer (essays) — This compliment feels awkward to type. 5 people have told me that they wish they were as efficient at using
- A perfectable programming language (pages) — Interactive Lean / Verso page.
- replacing spotify's newsfeed (essays) — Spotify used to have a handy feature to see when artists had new songs out. They got rid of it.
- My First Vim Plugin (essays) — I wrote a Vim plugin to replace Notational Velocity. I'm actually really surprised at how much attention it's gotten. Within
- Numpy Tranpose Explained (essays) — Numpy arrays are set up so 0D arrays are scalars, 1D arrays are vectors, 2D arrays are matrices (and the
- Eigen Apply Myself When I Want To: Finding Local Minima (essays) — Whenever the issue is the local behavior of a function near a point, the first technique you should try is
- Underrated Vim Option: undofile and undodir (essays) — A feature I enjoy using myself is not known to many users, as I found out last weekend. Besides undo
- Sensing and Intuition (pages) — Sensing and intuition are two of the fundamental ways in which people perceive the world around them. They represent a
- Vegetarian Cooking (essays) — I'm not a vegetarian, and with the sad state of vegetarian cooking in a lot of restaurants, I'll probably not
- Use Magit (essays) — If you're using Emacs, then I'm sure you've heard of Magit. Go read something else, like Helen DeWitt's The Last
- My LASIK Experience (essays) — 1 month ago, I got LASIK. Not a lot of people seem to write about it, so here's one to
- Levels of Showing Off (essays) — Showing that you're better than your perceived peers is hard work. Expensive-looking stuff that's actually cheap. Shinier versions of what
- Matrix Calculus (essays) — This is a topic near to my heart, in the same way that an old bullet stuck in your chest
- One-Handed Pottery (essays) — TLDR abstraction isn't free or always desirable. Atiyah sums up a lot of the feelings in this post here When
- these are people who died (essays) — they were all my friends and they died. i knew zach from my freshman dorms. he was a simple and
- Generating a lot of language data with a theorem prover (essays) — I spent the last hour looking and failing to find the paper that made this specific claim: Language models can
- Zombies (essays) — I find zombies interesting on an intellectual level. The slow, mindless one that have to bite you. (Read The Zombie
- Paradigms of Information Retrieval (essays) — What a fancy title for a simple concept. I think of information as organizable in 3 ways, ordered by increasing
- Using Exponents to Teach 3 Basic Algebraic Structures (essays) — You can think of semigroups, monoids, and groups as the minimal structures needed to define and extend exponents. All 3
- Introduction to Smooth Manifolds 1: Smooth Functions on Euclidean Space (essays) — Working on Introduction to Smooth Manifolds by Loring Tu (AKA L^2) with Charles. I don't yet see why this distinction
- Feynman Lectures, Chapter 2 (essays) — Tries to give the ultimate top down view of physics, as of 1960. Thankfully it's not The Road to Reality.
- Downscaling Numerical Weather Models With GANs (My CI 2019 Paper) (essays) — I saw some people on Twitter recently talking about work that's similar to stuff I'd done last year (~April 2019).
- Slick hyperfinite Ramsey theory proof (essays) — My dissection post is 80% of this blog's traffic. Before writing that, 80% of traffic came from Vim's conceal feature.
- Worse Than a Sranc (essays) — In R Scott Bakker's Second Apocalypse series, there're these monks called the Dûnyain and these goblins called the Sranc. Sranc.
- Mathematicians and Luddites (essays) — Stretching an analogy real far Mathematicians are like Luddites. Yes, the actual weavers, not just the slur against people who
- Evolution (essays) — Today, I managed to impress and possibly freak out one of my coworkers. He's a big fan of the author
- Reading Efficiently (essays) — This post summarizes what I think are some effective ways to read with the specific goal of gaining the information
- Easy Way To Remember Some Grammar (If You Have Some Math Background) (essays) — It's annoying to remember the grammar rule for quantities that dictates when to use many vs. much, fewer vs. less,
- GoodNotes Templates (essays) — These are Blank and Cornell templates, in both Landscape and Portrait. They're meant for any Retina iPad, including both iPad
- Deep Learning Book Chapter 1 Notes (essays) — Started shallow, going deep. --- Matt and Kim Deep learning is not about neural nets. Deep learning is about hierarchical
- Memories True to Roads Anew: Skewers (essays) — Beijing does 1 thing better than anywhere else I've been to: skewers. I had just entered the city and it
- Book Notes: Decisive by Chip and Dan Heath 1 (essays) — This book is about making better decisions. Unlike most books with that theme, it emphasizes thinking rationally. Essentially false dichotomy.
- Notes for February 6, 2018 (essays) — Spent another fun afternoon on the BART. Myelin is apparently important. Chicken salad is pretty good if you make your
- can the land know peace (projects) — Cratons and recorded human conflict.
- Grassmann playground (projects) — Browser visualization of Clifford-algebra fields backed by exact rational Lean fixtures; an independent derivative of Michael Reed’s Grassmann work.
- Hévéa Vision Pro (projects) — Unofficial Apple Vision Pro observatory for the Hévéa project’s reduced sphere (paper by Bartzos, Borrelli, Denis, Lazarus, Rohmer and Thibert).
- One small idea (projects) — Adaptive learning pilot: six logic questions (efficacy untested).
- Plain: English, made exact (projects) — Controlled English that compiles to Lean 4 propositions; browser preview.
- TetraGray (projects) — Lean 4 port of Michael Clark’s Tetra Gray: a general-relativistic raytracer using geometric algebra for black-hole visualization.
- TetraGrayer (projects) — General-relativistic ray tracer in Lean 4 with Metal GPU acceleration, ported from Michael Clark’s tetra-gray.
- CORDIS Lean (projects) — Finite proof-carrying Lean 4 reference kernel inspired by CORDIS and DeepSeek Harness.
- Grassmann.jl fork / Lean port (projects) — Fork of Michael Reed’s Grassmann.jl (geometric algebra), carrying the Lean port work.
- Hardy zeta: proof blueprint (projects) — Critical-line proof blueprint for Hardy's theorem (infinitely many zeros); checked foundations, obligations remain.
- Hyperreals (Julia) (projects) — Hyperreal number system implementation and formalization in Julia.
- Jordan curve: deep points (projects) — Interactive explainer: inside/outside of a Jordan curve, with proof and validation linked.
- JordanCurveTheorem (projects) — Lean 4 formalization of Kanovei–Reeken's nonstandard proof of the Jordan curve theorem, including foundations (in progress).
- Lean Abstractification (projects) — Typed sketches, proof-gated fills and counterexample-guided abstractification (research draft).
- Lean Research Notebook (projects) — Lean scientific notebook extending Verso: checked designs, reproducible synthetic experiments.
- SpectralShadow (projects) — Sharp Loeb spectral visibility barrier for cut-small Lp kernels, with an exact p=2 obstruction.
- Verified Design (projects) — Prose-first research sketch of verified CNC design with manufacturing witnesses.
- AsciiPlot (projects) — ASCII/Unicode plotting library for Lean 4 with legends and braille rendering.
- beads-lean4 (projects) — Git-backed issue tracker in Lean 4 with an agent-friendly CLI.
- Dot4 (projects) — Graphviz DOT DSL for Lean 4.
- FloatSpec (projects) — Hantao Lou’s Lean 4 port of the Flocq floating-point library (Boldo & Melquiond); my fork continues the port. Logical arithmetic model, port in progress.
- Flocq Atlas (projects) — Clickable map of Flocq and Hantao Lou’s Lean 4 port FloatSpec (definitions as roots; unproved theorems surfaced).
- Flocq Trace (projects) — Source-correspondence trace between Flocq and FloatSpec.
- Graph4 (projects) — Pure graph data structures and algorithms for Lean 4.
- Hegel for Lean 4 (projects) — Lean 4 frontend for Hegel: typed generators, integrated shrinking, counterexample replay.
- HegelLean (Mar 2026) (projects) — Earlier, separate repo: reactive state management (signals, computed values, effects) for Lean 4.
- infnum (projects) — Python library for infinite and infinitesimal numbers using Levi-Civita fields, with PyTorch integration.
- iris-lean (fork) (projects) — Fork of leanprover-community’s iris-lean, the Lean 4 port of Iris (higher-order concurrent separation logic).
- Lean MCP Reliability (projects) — Build-progress and shared-waiter-cancellation reliability work for Oliver Dressler’s Lean LSP MCP server (on my fork).
- lean-autograd (projects) — Automatic differentiation in Lean, with Govind Pimpale, following JAX’s Autodidax tutorial.
- lean-inf (projects) — Levi-Civita field in Lean 4 for computing with infinities and infinitesimals.
- lean-lsp-mcp (fork) (projects) — Fork of Oliver Dressler’s Lean theorem prover MCP server.
- LeanDidax2 (projects) — Pedagogical autodiff library in Lean 4 with forward/reverse modes and vectorization, inspired by JAX’s Autodidax tutorial.
- LeanHypothesis (projects) — Type-safe property-based testing for Lean 4 powered by Python’s Hypothesis.
- LeanPlot (projects) — Interactive React-powered charting library for Lean 4 in the VS Code infoview.
- LeviCivita (projects) — Levi-Civita numbers for Lean 4: infinitesimals and automatic differentiation.
- Thought Bubbles (ARLean WebXR) (xr) — Spoken 3D crystal thought bubbles compiled from pure Lean 4 to WebAssembly + WebXR.
Standalone WebXR Experiences
- Thought Bubbles (ARLean WebXR) — Spoken 3D crystal thought bubbles compiled from pure Lean 4 to WebAssembly + WebXR. ·
WASM c6519d36f821…
How it works
The scene graph, reading-comfort bounds, spring-repulsion physics, and Vision Pro transient-pointer ray picking are written in pure Lean 4 (Blog.WebXR) and assembled directly to WebAssembly 1.0 without an external compiler (SHA-256 4c24267356f3bf80…). On Apple Vision Pro or a WebXR headset, select Enter WebXR after capability detection; on desktop or mobile, drag to orbit, scroll to zoom, click any bubble, or navigate with the arrow keys. You can also open a local spatial neighborhood on any essay via Settings → Spatial.
Machine-readable catalog: spatial-catalog.json · Lean WASM kernel: blog-spatial.wasm.