r/3Blue1Brown • • 5h ago

The Maths Behind Face Morphing in 1991

Thumbnail
youtu.be
15 Upvotes

Hey everyone, this video is about the different techniques used for face morphing, some mistakes I made in a previous version and how to properly use the GPU to make it run very fast. Enjoy:)


r/3Blue1Brown • • 13h ago

A Lean 4 proof of the irreducible Pisot substitution conjecture

5 Upvotes

I started this as a learning exercise in applied AI. I wanted to see whether I could use AI, on about $40 a month, to tackle a difficult open problem and produce a proof that others could build and check. In all, this project cost under 500 dollars of total resources using budget models, counting "freebies" like free $100 credit offers, and a $20 spend on credits. A more expensive plan would have seen it completed much more cheaply or quickly. The lean theorem and foundations library are presented under the Unlicense, where applicable.

The Lean theorem proves the irreducible Pisot substitution conjecture in its tiling-flow formulation. Every irreducible Pisot substitution has pure discrete dynamical spectrum at its natural tile lengths. The proof covers all finite alphabet sizes and both unit and nonunit cases.

The proof rules out a finite trap of overlaps that survives every refinement without ever reaching coincidence. Repeated overlap configurations give closed signed tile chains, and a signed-area argument shows that the unmatched part grows too slowly to sustain a trap.

Rather than attacking the Pisot conjecture exclusively through its traditional geometric formulations, the project establishes a general asymptotic cancellation principle. The Pisot result then emerges as a consequence of that principle. I would hope as a result that this is reusable generally.

The project also proves the Linear Carrier Principle: conservation of information in a realized overlap trap requires a linear carrier. In this setting, the persistent distinction between the two overlapping tilings requires a nonzero integer tile-count difference with zero total geometric length. Lean proves that this principle, the nonhalting of the automaton that searches for trap certificates, and the trap formulation of the conjecture are equivalent.

The work builds on Boris Solomyak’s tiling dynamics, Shigeki Akiyama and Jeong-Yup Lee’s overlap coincidence algorithms, Marcy Barge and Jarosław Kwapisz’s unimodular substitution geometry, and Milton Minervino and Jörg M. Thuswaldner’s nonunit geometry.

I will answer whatever questions about how I prompted this, however it was a process of several months and gigabytes of interactions. Ultimately, success came from making one model brush away the junky statements of another model and keep it on track, as this seemed to be why it failed previously several times.

Claude's Opus was the model that tended to do the strongest work, but also exhibited the strongest tendency to throw away valid pathways for unfounded reasons. OpenAI's Sol on the other hand was much more ready to take the "user" side and be critical of that behavior. It was also easier to manage direction by letting the worker model fill up with context and just be kept on task by the supervisor, as the supervisor carried the needed direction and awareness of the issues, even if the worker got distracted easily.

I cannot answer math questions much more succinctly than you likely can yourself by uploading the monolith and interrogating an AI, as I took this project on to show that I could handle a subject outside of my expertise with AI and that status has not changed for me. To that end, I still barely understand the topic outside of understanding how to get an AI to deliver a result, plus whatever wild insights I carried into this project. Much of the mathematical content in this post is me paraphrasing an AI.

An easier derivation is likely to be found by similarly throwing out weak or junky claims that led to abandonment of numerous approaches, however the one featured in the monolith is the one that finally closed. The project contains a number of different statements equivalent to the conjecture, as well, which may be useful to other pursuits in spectral graph theory. The Linear Carrier Principle is perhaps one such statement.

My next project goal is to leverage this to study the dynamics of cellular automata systems built on top of such tile systems, and to look at the implications this has for detecting whether a polynomial is reducible and so on.

I’d welcome an independent review of the Lean statements and the proof. I have attempted to make it easy enough to find and verify in my rambling mess of files by presenting the monolith as a standalone file. Help cleaning up, clarifying, independently verifying, more rigorously referencing, or publishing these results is greatly appreciated, as I believe it has great value to both the mathematical and physics communities in resolving important questions about spectral graph theory.

Repository and build instructions • Central Lean theorem • Bibliography • PisotMonolith.lean


r/3Blue1Brown • • 1d ago

Adjustable Hydrogen Electron Orbital Viewer using Wave Function

Thumbnail gallery
29 Upvotes

r/3Blue1Brown • • 1d ago

Anyone know which video/short this Pi creature with a guitar is from? Looking for a clean version without text!

Post image
31 Upvotes

Found this screenshot, trying to find the original frame or video without the "Now here's the problem," caption. Any help is appreciated!


r/3Blue1Brown • • 1d ago

I really love the manim tool for creating videos. I just created on on the work I have been doing on a proof of the twin primes conjecture. I haven't gotten any feedback, it would be great to get some feedback on the video and the math in the video.

Thumbnail
youtu.be
3 Upvotes

r/3Blue1Brown • • 1d ago

I think I might have broken some records

0 Upvotes

My Lean repo has pushed 10M lines of Lean code over the last 2 months. And Its even visible in Github charts. So the RH proof also contributed - but I think the number from my repos alone made this spike. I can just announce to switch back to rocq.

Its faster and I would think it would be funny for me to apply for Lean as a researcher - getting rejected - building proofs that are a bit much. And then just to switch back to Rocq and make it top lean and making it visible in Github charts.

Take this - recruiter of Lean that probably will never see it - but think: wtf

(Im not mad - I am mad at my university that they are too retarded to support the work of mine.)


r/3Blue1Brown • • 3d ago

What the Riemann Hypothesis Actually Looks Like! 🌀

Thumbnail
youtube.com
11 Upvotes

r/3Blue1Brown • • 3d ago

Homer vs Fourier: The Rematch

Thumbnail
youtube.com
10 Upvotes

Did you see that Mathologer video where he used Fourier decomposition to trace Homer Simpson's outline? I added a couple of space-filling curves and now the Fourier process draws the complete picture in color.


r/3Blue1Brown • • 4d ago

I recently posted a video about Riemann Hypotesis, explaining the conjecture visually with manim and peppering it with some unsolicited personal reflections on these crazy times. Hope you enjoy!

Thumbnail
youtube.com
16 Upvotes

r/3Blue1Brown • • 4d ago

Complex elliptic curves (visualization)

127 Upvotes

r/3Blue1Brown • • 4d ago

Visualizing any holomorphic f(z) as a conformal map, in the browser

20 Upvotes

I built this when I was a teaching assistant in complex analysis to play around with the 3Blue1Brown style of visualization. It's now finally cleaned up, updated, and usable on the web thanks to Claude.

Try it (it needs WebGPU): https://frederiksemmel.github.io/winkeltreu/

Code: https://github.com/frederiksemmel/winkeltreu

I look forward to your ideas on how to improve the visualization! I want to explore plotting functions on the Riemann sphere instead of the Gauss plane.


r/3Blue1Brown • • 4d ago

Arithmetic Coding Playground to test your prediction models for text compression

Thumbnail
theabbie.github.io
2 Upvotes

r/3Blue1Brown • • 5d ago

Check out this chat

Thumbnail
chatgpt.com
1 Upvotes

r/3Blue1Brown • • 6d ago

Neural Canvas, CNN Visualization

142 Upvotes

Neural Canvas, CNN Visualization

Neural Canvas can now recognize basic shapes like apples, moons, cars, and more using Google's Quick, Draw! dataset.

20 classes with 1,000 samples per class

2 convolutional layers with 16 and 32 filters

2 fully connected layers with 60 and 40 neurons

91% test accuracy

Trained using JAX on Google Colab

Neural Canvas can also visualize CNN feature maps in real time while drawing, showing how convolutional layers extract features from input images.

GitHub: https://github.com/MuhammadEssa2002/neural_canvas

Live demo: https://muhammadessa2002.github.io/neural_canvas/


r/3Blue1Brown • • 6d ago

Counting copies: why the Menger sponge sits between 2D and 3D (about 2.73)

13 Upvotes

r/3Blue1Brown • • 5d ago

I didn't square the circle. I think I found a frame that keeps generating candidate squares.

Post image
0 Upvotes

I Didn't Square the Circle. I Changed the Frame.

I think a lot of people approach squaring the circle backwards.

The standard approach seems to start with π, area formulas, approximation, polygons, limits, and increasingly sophisticated mathematics.

I started with a different question:

What is a circle before any of that?

A circle is one point and one constraint.

A center.

A constant distance.

That's it.

From there I drew a cross.

Then another cross rotated 45°.

The circle immediately generated a family of vertices.

I inscribed a square.

The square generated more vertices.

Those vertices generated more intersections.

Those intersections generated more candidate squares.

At some point I realized I wasn't studying the circle anymore.

I was studying a network generated by the circle.

The circle became a seed.

The geometry became the organism.

The interesting thing wasn't the square.

It was that the points didn't stop appearing.

Every time I followed a generated relationship, new vertices emerged.

New corridors emerged.

New candidate structures emerged.

Eventually the construction began to resemble graph paper.

Not because I measured anything.

Because the geometry recursively generated its own lattice.

This led me to a simple observation:

If the construction continuously generates new candidate vertices, then the search space does not exhaust itself.

I have not squared the circle.

I have not proven anything.

What I believe I found is a different frame.

Instead of asking:

"How do I find the square?"

ask:

"What geometric process generates an increasingly dense set of candidate squares?"

Maybe that distinction matters.

Maybe it doesn't.

But it feels like a seam worth investigating.

At the very least, I learned something I probably should have known already:

A circle is not a boundary.

A circle is a generator.

And sometimes finding a better question is more valuable than finding an answer.


r/3Blue1Brown • • 6d ago

Can you solve the water bar puzzle?

Thumbnail
youtu.be
1 Upvotes

r/3Blue1Brown • • 7d ago

I made a 1 hour + long video on matrix multiplication, including explanations of OpenAI's recent papers about the upper bound being nine fourths

Thumbnail
youtu.be
43 Upvotes

r/3Blue1Brown • • 6d ago

Explaining exactly why planes fly

Thumbnail
youtube.com
1 Upvotes

r/3Blue1Brown • • 7d ago

What happens if you apply energy conservation to the whole ballistic pendulum? (the 28 m/s vs 400 m/s check is the hook)

6 Upvotes

r/3Blue1Brown • • 7d ago

A simple example of using manim for MRI physics

Post image
39 Upvotes

Hello everyone, For those interested, here is the 3D Ultrashort Echo-Time (UTE) MRI kspace trajectories: https://youtu.be/YLaz4P1-KOs And here is an illustration why multi-echo UTE MRI can be used to generate CT-like bone imaging and T2* map of short-T2* tissues such as tendon, ligaments, menisci, etc., those decays too quickly to capture by conventional FSE/TSE sequences: https://youtu.be/-c1TVBGnxXM For more information on MRI-based radiation-free CT-like bone imaging and quantitative T2* mapping of short-T2 tissues, feel free to look at my mecho UTE project page: https://hdocmsu.github.io/projects/canon_2_ute/ Cheers, Hung


r/3Blue1Brown • • 6d ago

Where would you put the armour? | Survivorship Bias

Thumbnail
youtube.com
0 Upvotes

r/3Blue1Brown • • 8d ago

1 + 2 + 3 + 4 + 5 + ... = -1/12, a Link

8 Upvotes

Hi all, I put together this post about the infamous 1 + 2 + 3 + 4 + 5 + ... = -1/12 sum, with a lot of follow-up material about smoothed sums, the Riemann zeta function, and even physics.

https://www.lesswrong.com/posts/F7DNBdoADqktjn2Hk/understanding-why-1-2-3-4-5-1-12-rather-than-infinity

(There's not much in the way of rules here, so sorry if this breaks convention. I looked around and I think this should be good.)