← Latest papers
🔢 mathematics

Formalizing the Classical Isoperimetric Inequality in the Two-Dimensional Case

This paper presents a formal verification of the classical isoperimetric inequality in the plane using the Lean 4 proof assistant and Mathlib, following Adolf Hurwitz's analytic approach to prove that among all simple closed curves of a given perimeter, the circle uniquely maximizes the enclosed area.

Original authors: Miraj Samarakkody

Published 2026-03-17
📖 5 min read🧠 Deep dive

Original authors: Miraj Samarakkody

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Picture: The "Fence and Field" Problem

Imagine you have a fixed length of rope (let's say 100 meters). You want to lay this rope on the ground to enclose a patch of grass. You can make the rope into a square, a triangle, a wiggly snake-shape, or a perfect circle.

The Question: Which shape gives you the biggest patch of grass inside?

The Answer: A circle. No matter how you twist your rope, you can never get more grass than you would with a perfect circle. This is the Isoperimetric Inequality. It's a rule of the universe: for a given perimeter, the circle is the most efficient shape.

The Mission: Teaching a Robot to Prove It

The author of this paper, Miraj Samarakkody, didn't just want to say the circle is the best; they wanted to prove it to a computer so perfectly that the computer could never find a single logical error.

They used a tool called Lean 4, which is like a super-strict robot lawyer. In normal math, a human proof might skip a tiny step because "it's obvious." But Lean 4 is like a lawyer who says, "I don't care if it's obvious. Show me the exact rule that allows you to skip that step, or I reject your proof."

The goal was to take a famous proof by a mathematician named Adolf Hurwitz (from 1902) and translate it into code that the robot lawyer would accept.

The Strategy: The "Musical" Approach

Hurwitz's proof is clever because it doesn't use geometry (like drawing shapes). Instead, it uses music.

Imagine the curve of your rope as a song.

  1. The Song: Any wiggly line can be broken down into a mix of simple musical notes (sine and cosine waves). This is called a Fourier Series. A complex shape is just a song made of many different notes played together.
  2. The Volume (Parseval's Theorem): There's a rule in music theory that says the total "loudness" (energy) of the song is equal to the sum of the loudness of each individual note.
  3. The Comparison (Wirtinger's Inequality): Hurwitz found a way to compare the "loudness" of the shape's position to the "loudness" of how fast the shape is changing (its speed). He proved that the speed is always "louder" than the position, unless the shape is a perfect circle.

The Two-Phase Journey

The paper describes the work in two main phases:

Phase 1: Building the Musical Library

Before they could prove the fence problem, they had to teach the robot the rules of music theory.

  • Orthogonality: They proved that different musical notes (like a high C and a low G) don't interfere with each other when you add them up.
  • Uniform Convergence: They proved that if you add enough notes, the song stops wiggling and settles into a smooth tune.
  • Differentiation: They taught the robot how to take the "derivative" (the speed) of a song made of infinite notes.

Analogy: This is like building a dictionary and a grammar book for the robot before asking it to write a poem.

Phase 2: The Proof Itself

Once the robot knew the music rules, they applied them to the rope:

  1. Re-wrapping the Rope: They took the rope (length LL) and stretched it out to fit exactly into a 24-hour clock cycle (from 0 to 2π2\pi).
  2. The Area Formula: They used a "shoelace formula" (a way to calculate the area of a polygon by tracing its edges) to turn the shape into a math equation.
  3. The Trade-Off: They used a basic math rule (AM-GM) to say, "The area is limited by the sum of the square of the position and the square of the speed."
  4. The Final Blow: They used the "Music Rules" (Wirtinger's Inequality) to show that the "speed part" of the equation is always bigger than the "position part," unless the shape is a circle.
  5. The Result: They calculated that the maximum area you can get is L2/4πL^2 / 4\pi. If you try to make a square or a triangle, you fall short of this number.

The Hiccups: Why Was This Hard?

You might think, "It's just math, why is it hard for a computer?" The paper explains that computers are terrible at "common sense."

  • The "Infinite" Problem: In human math, we often swap a sum (adding numbers) and an integral (finding area) without thinking twice. The robot says, "No! You must prove it's safe to swap them, or the universe might break." The author had to write specific code to prove it was safe.
  • The "Index" Problem: Mathematicians sometimes count starting at 0, sometimes at 1. The robot gets confused if you switch. The author had to write code to translate between "Counting like a human" and "Counting like a robot."
  • The "Smoothness" Problem: The rope has to be perfectly smooth (no sharp corners) for the math to work. The author had to explicitly tell the robot, "Assume the rope is smooth," because the robot wouldn't guess that.

The Takeaway

This paper is a victory for certainty.

  • For Mathematicians: It proves that a 100-year-old proof is rock-solid. Even if we missed a tiny detail in 1902, the computer checked every single step and found no errors.
  • For the Future: It shows that we can use computers to verify complex, graduate-level math. It's like having a "spell-checker" for the most important laws of the universe.

In short: The author taught a robot to listen to the "music" of a shape, proved that a circle is the only shape that sings the perfect note, and did it in a language the robot couldn't argue with.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →