Abstract Nonsense

Posts tagged with "Mathematics"

Hard problems: the Hadamard matrix problem

There’s a lot of unsolved problems in mathematics. A lot. It’d be a bit imprecise to define a measure on the set of open problems, but I’d wager that it is much larger than the set of solved problems. In fact, for every solved problem, I’d conjecture that the process of solving it simply creates more open problems.

One such open problem that I find deeply unsettling is the Hadamard conjecture. Let’s define a Hadamard matrix and explain the conjecture:

MathJax v4.0 released

MathJax v4.0 has been released!

I just integrated MathJax v3 with Hugo last night for this blog to start writing some maths posts, and v4 is released today…

I’m hoping it improves rendering though, I was seeing some issues with SVG output for inline formulae in Safari. KaTeX is neat and fast, but I find the quality of the typesetting to be quite sub-par compared to MathJax.

Building animations in Manim with LLMs

Manim is a Python animation engine designed to build animated mathematical explainer videos (examples here) created by Grant Sanderson of the superb YouTube channel 3Blue1Brown.

A couple years ago I wanted to write my own mathematics explainer videos with Manim, but found the learning curve to be pretty steep at the outset.

The user experience has since improved dramatically - in large part because of the Manim Community Edition, but also because there’s now enough samples in recent LLM training runs that they can produce workable Manim code!

Inverse UMAP transforms

TIL that the dimensionality reduction algorithm UMAP1 has support for inverse transforms!

Naturally, these are lossy inverses, but being able to generate novel examples of, for example, handwritten digits (yep, classic MNIST once again) is exceedingly cool.

The example images of handwritten digits here are sampled from the compressed planar space, and “inverted” into the original “image space”.

On a related note, the whole explanatory article for UMAP is a beautiful work of exposition, full of rich ideas that make one ponder deeply. I only wish I understood everything in here end-to-end.