This notebook is a self-contained mathematical and computational companion to the Ovals problem section in the paper.
The task template, including the prompt given to the agents, is available here.
The outline is as follows:
- 1. Problem Definitions
- 2. S1. Independent recovery of the Benguria–Loss equality family.
- 3. Additional findings
The required packages are:
NumPySciPyMatplotlibIPython
1. Problem Definitions
The Ovals problem asks whether the curvature of every closed convex plane curve forces the lowest energy of an associated periodic Schrödinger operator to be at least .
Let
be a smooth, unit-speed, closed convex curve. Write for its unit tangent and choose a continuous tangent angle such that after identifying with . Its curvature is , and
The associated periodic Schrödinger operator is
Its lowest eigenvalue is
The Ovals problem asks for
Benguria and Loss conjectured that .
The next cell authenticates the bundled data and defines the numerical routines used below.
Show code
Code cell 3 · In [1]
from __future__ import annotations
import hashlib
import json
import math
from pathlib import Path
import matplotlib.pyplot as plt
import numpy as np
import scipy.sparse
import scipy.sparse.linalg
from IPython.display import Markdown, display
TAU = 2.0 * math.pi
DATA_PATH = Path("ovals_equality_family.npy")
METADATA_PATH = Path("construction_metadata.json")
AE_PATH = Path("alphaevolve_provenance.json")
EXPECTED_DATA_SHA256 = "adc308b45538e48b3ce3520a4416dadd11ebd33da4df37e5ca9fcd111e9ffa62"
EXPECTED_METADATA_SHA256 = "12dbee2ac44838d85ff235f379b8b1ec2387bfab55842864c80c1424fe037562"
EXPECTED_AE_SHA256 = "af2cc56949e41e898de4207ae85e291ed9a148e88126a6b0a96b524363899fa6"
def file_sha256(path: Path) -> str:
if not path.is_file():
raise FileNotFoundError(f"required artifact is missing: {path}")
return hashlib.sha256(path.read_bytes()).hexdigest()
assert file_sha256(DATA_PATH) == EXPECTED_DATA_SHA256
assert file_sha256(METADATA_PATH) == EXPECTED_METADATA_SHA256
assert file_sha256(AE_PATH) == EXPECTED_AE_SHA256
metadata = json.loads(METADATA_PATH.read_text(encoding="utf-8"))
family_data = np.load(DATA_PATH, allow_pickle=False)
q_values = np.asarray(metadata["q_values"], dtype=float)
assert metadata["artifact_sha256"] == EXPECTED_DATA_SHA256
assert metadata["channels"] == ["x", "y", "phi", "kappa"]
assert family_data.shape == tuple(metadata["array_shape"]) == (4, 4, 4096)
assert family_data.dtype == np.dtype("<f8")
print("Authenticated the required equality-family data.")
print(f"data SHA-256: {EXPECTED_DATA_SHA256}")
print(f"parameters q: {q_values.tolist()}")
def uniform_grid(n: int) -> np.ndarray:
return np.linspace(0.0, TAU, int(n), endpoint=False)
def modes(n: int) -> np.ndarray:
return np.fft.fftfreq(int(n), d=1.0 / int(n))
def spectral_derivative(values: np.ndarray, order: int = 1) -> np.ndarray:
k = modes(values.size)
return np.fft.ifft((1j * k) ** order * np.fft.fft(values))
def equality_member(q: float, n: int = 4096) -> dict[str, np.ndarray]:
s = uniform_grid(n)
v = np.exp(1j * s) + q * np.exp(-1j * s)
phi = np.abs(v)
tangent = v / phi
kappa = (1.0 - q * q) / phi**2
tangent_hat = np.fft.fft(tangent)
k = modes(n)
curve_hat = np.zeros(n, dtype=complex)
nz = k != 0
curve_hat[nz] = tangent_hat[nz] / (1j * k[nz])
curve = np.fft.ifft(curve_hat)
curve -= np.mean(curve)
return {"s": s, "v": v, "phi": phi, "tangent": tangent,
"kappa": kappa, "curve": curve}
def finite_difference_ground(q: float, n: int = 1024) -> float:
s = uniform_grid(n)
h = TAU / n
kappa = equality_member(q, n)["kappa"]
diagonal = 2.0 / h**2 + kappa**2
off = np.full(n - 1, -1.0 / h**2)
matrix = scipy.sparse.diags([off, diagonal, off], [-1, 0, 1], format="lil")
matrix[0, -1] = matrix[-1, 0] = -1.0 / h**2
value = scipy.sparse.linalg.eigsh(
matrix.tocsr(), k=1, which="SA", tol=1e-10, return_eigenvectors=False
)[0]
return float(value)
Saved output 1
Authenticated the required equality-family data. data SHA-256: adc308b45538e48b3ce3520a4416dadd11ebd33da4df37e5ca9fcd111e9ffa62 parameters q: [0.1, 0.35, 0.5, 0.7]
2. S1. Independent recovery of the Benguria–Loss equality family.
2.1 Positive ground-state certificate
Lemma 2.1 (positive-eigenfunction certificate). Suppose is smooth and periodic and
Then, for every smooth periodic ,
Consequently, is the lowest eigenvalue.
Proof. Write . Expanding and integrating the mixed term by parts gives
Adding cancels the second term by the eigenvalue equation, leaving . Equality occurs for constant , so is attained and no smaller Rayleigh quotient is possible.
2.2 Classical equality family
For , define the complex-valued signal
and define the curve, up to translation, by
Theorem 2.2 (classical equality family). For every , the curve is a smooth, closed, convex, unit-speed curve of length . It is the unit circle when and is noncircular and strictly convex when . Its curvature is
and
Therefore for the entire family.
Proof. First,
Thus . In particular, is smooth and positive for , and . Hence is unit speed and has length .
The identity gives . The two half-period integrals therefore cancel:
This proves that closes. Next,
winds once counterclockwise around the origin. Differentiating its argument gives
Thus the tangent angle increases strictly by , so the standard turning-angle characterization makes the closed curve strictly convex. When , the curvature is nonconstant, so the curve is not a circle.
It remains to prove the spectral statement. Write and . Two differentiations give
But . Comparing real parts yields
Because , Lemma 2.1 proves that is the lowest eigenvalue.
Equivalent radius-of-curvature form
The radius of curvature is
where
Conversely, every positive function with reduces to this form after shifting the arclength origin and taking . Rotating or translating the physical curve does not change the operator. Thus covers the full classical family modulo these harmless symmetries. The eigenfunction differs from only by the constant factor .
The next cell regenerates the stored family and checks closure, the eigenfunction equation, the Rayleigh quotient, and an independent finite-difference eigenvalue; it also plots four representative curves.
Show code
Code cell 5 · In [2]
validation_rows = []
max_regeneration_error = 0.0
for row_index, q in enumerate(q_values):
member = equality_member(float(q), family_data.shape[-1])
regenerated = np.stack([
member["curve"].real,
member["curve"].imag,
member["phi"],
member["kappa"],
])
data_error = float(np.max(np.abs(regenerated - family_data[row_index])))
max_regeneration_error = max(max_regeneration_error, data_error)
closure = float(abs(TAU * np.mean(member["tangent"])))
residual = (
-spectral_derivative(member["phi"], 2).real
+ member["kappa"] ** 2 * member["phi"]
- member["phi"]
)
residual_l2 = float(np.sqrt(TAU * np.mean(residual**2)))
dphi = spectral_derivative(member["phi"], 1).real
rayleigh = float(
np.mean(dphi**2 + (member["kappa"] * member["phi"]) ** 2)
/ np.mean(member["phi"] ** 2)
)
fd_ground = finite_difference_ground(float(q))
validation_rows.append((q, closure, residual_l2, rayleigh, fd_ground, data_error))
assert max_regeneration_error < 1e-13
assert max(row[1] for row in validation_rows) < 1e-12
assert max(row[2] for row in validation_rows) < 1e-7
assert max(abs(row[3] - 1.0) for row in validation_rows) < 1e-12
assert max(abs(row[4] - 1.0) for row in validation_rows) < 2e-5
table = [
"| $q$ | closure | $\|H\phi-\phi\|_2$ | Rayleigh quotient | independent FD $\lambda_0$ | data error |",
"|---:|---:|---:|---:|---:|---:|",
]
for q, closure, residual_l2, rayleigh, fd_ground, data_error in validation_rows:
table.append(
f"| {q:.2f} | {closure:.3e} | {residual_l2:.3e} | "
f"{rayleigh:.12f} | {fd_ground:.12f} | {data_error:.1e} |"
)
display(Markdown("\n".join(table)))
fig, axes = plt.subplots(1, 4, figsize=(12, 3))
for axis, q in zip(axes, (0.0, 0.35, 0.70, 0.90)):
curve = equality_member(q)["curve"]
axis.plot(curve.real, curve.imag, lw=2)
axis.set_aspect("equal")
axis.set_title(f"q={q:.2f}")
axis.axis("off")
fig.suptitle("Representative members of the equality family")
plt.tight_layout()
plt.show()
Saved output 1
Saved output 2

2.3 AlphaEvolve comparison
AlphaEvolve reported the circle, which is the member above, but not the noncircular equality family. The next cell authenticates that comparison against the bundled public provenance record.
Show code
Code cell 7 · In [3]
ae = json.loads(AE_PATH.read_text(encoding="utf-8"))
assert ae["paper"]["problem"] == "Problem 6.19 (Ovals problem)"
assert ae["repository"]["commit"] == "8f447457957deac61e28bf1676746f0753b3b2f8"
assert ae["repository"]["evolved_example"]["curve"] == "x=cos(theta), y=sin(theta)"
assert ae["repository"]["evolved_example"]["test_function"] == "phi=1"
assert ae["repository"]["evolved_example"]["noncircular_family_parameter_present"] is False
display(Markdown(
"| Source | Authenticated fact |\n|---|---|\n"
f"| AlphaEvolve paper | {ae['paper']['result_summary']} |\n"
f"| Public notebook at `{ae['repository']['commit'][:12]}` | "
f"`{ae['repository']['evolved_example']['curve']}`, "
f"`{ae['repository']['evolved_example']['test_function']}` |"
))
Saved output 1
Station Reference. The equality family and its closure proof come from Archive #1 and Eval #19. Symbolic, spectral, and limiting checks are recorded in Evals #290, #869, #954, #1076, and #1312. The AlphaEvolve comparison uses its public paper and commit-pinned notebook.
Related Work. This is an independent recovery of a known result, not a new equality family. Benguria and Loss (2004) formulated the conjecture and exhibited the equality family. Burchard and Thomas (2005) proved its local minimality, while Bernstein and Mettler (2015) developed its projective geometry and established the name ovals of Benguria and Loss. Georgiev et al. (2025) reported the circle but not the noncircular family.
3. Additional findings
These are additional results that may be interesting but are not included in the spotlight.
3.1 Equality under rotational periodicity
The known Fourier representation gives whenever the curvature has period . We determine every equality case: for equality gives the full noncircular Benguria–Loss family, while for it forces the circle. This provides a complete rigidity statement within each rotational symmetry class.
For a real periodic test function , define
Because ,
Parseval’s identity therefore gives the exact formula
The constant mode is the only negative term; are neutral, and all remaining modes are positive.
Theorem 3.1 (equality under rotational periodicity). Let be a smooth, closed, unit-speed, winding-one curve. Suppose its curvature satisfies
for an integer . Then . If equality holds, the curve belongs to the family of Theorem 2.2 when ; for , the curve is a circle.
Proof. The lowest periodic eigenvalue is simple and has a positive eigenfunction . Translation by commutes with , so the translated function is another positive ground state. Simplicity and normalization imply
Curvature periodicity and total turning give
Hence obeys
Comparing Fourier series shows that unless . In particular, the only negative mode is absent. Formula (1) now gives .
If equality holds, every positive-weight coefficient also vanishes, leaving only . For , both neutral modes are allowed, so
The winding-one condition and nonvanishing of force ; after a phase shift, rotation, and harmless scaling this is from Theorem 2.2. If , the congruence excludes , so . Its modulus is constant and its phase is up to rotation, giving and the unit circle.
Station Reference. The equality analysis is recorded in Archive #96. Evals #940, #941, #954, #966, and #968 check the twisted Fourier support and equality modes.
Related Work. Benguria and Loss (2004) proved the Fourier identity used above, and Linde (2005) proved the same lower bound for a broader class that includes rotationally repeating curvature. The classification of equality under rotational periodicity appears novel.
3.2 Polar-moment lower bound
We relate the lowest eigenvalue to the spatial spread of the curve through its normalized polar moment . After centering the curve, we prove , together with a sharper inequality that retains the ground state’s curvature energy. These geometry-sensitive estimates connect the spectral problem directly to the spatial spread of the embedding.
Translate the curve so that , and define its normalized polar moment
Theorem 3.2 (polar-moment bound). Every smooth, closed, unit-speed, winding-one curve satisfies
Moreover, if is the positive ground state, then
Finally, , with equality for the unit circle.
Proof. Let be the constant Fourier coefficient of . Since every nonzero Fourier mode has , Parseval gives
Using and periodicity, integration by parts gives
Cauchy–Schwarz therefore yields
Let , , and . Combining (3) and (4) gives
so every Rayleigh quotient is at least . Keeping instead of replacing it by zero gives
which, at the ground state, is exactly (2).
It remains to bound . Periodic Wirtinger applied to the two centered coordinates gives
hence . Equality in Wirtinger forces both coordinates to contain only first harmonics; the unit-speed condition then makes them orthogonal sine and cosine coordinates of a unit circle.
The next cell evaluates , the resulting lower bound, and an independent finite-difference eigenvalue for the stored equality-family parameters.
Show code
Code cell 13 · In [4]
polar_rows = []
for q in q_values:
member = equality_member(float(q))
curve = member["curve"] - np.mean(member["curve"])
W = float(np.mean(np.abs(curve) ** 2))
lower = 1.0 / (1.0 + W)
fd_ground = finite_difference_ground(float(q), n=768)
polar_rows.append((q, W, lower, fd_ground))
circle = equality_member(0.0)["curve"]
circle_W = float(np.mean(np.abs(circle - np.mean(circle)) ** 2))
assert abs(circle_W - 1.0) < 1e-12
assert max(row[1] for row in polar_rows) <= 1.0 + 1e-12
assert min(row[3] - row[2] for row in polar_rows) > 0.0
table = [
"| $q$ | polar moment $W$ | proved bound $1/(1+W)$ | independent FD $\lambda_0$ |",
"|---:|---:|---:|---:|",
]
for q, W, lower, fd_ground in polar_rows:
table.append(f"| {q:.2f} | {W:.9f} | {lower:.9f} | {fd_ground:.9f} |")
display(Markdown("\n".join(table)))
Saved output 1
Station Reference. The polar-moment inequality and its curvature-expectation refinement are from Archive #111 and Evals #1139 and #1143. The classical half-bound recovery is also discussed in Archives #96 and #98.
Related Work. Benguria and Loss (2004) proved the universal half-bound, Linde (2005) proved the stronger bound , and Linde (2025) gives a stronger unrestricted global bound. The -dependent inequality and the ground-state refinement provide a geometric relation not contained in those uniform estimates.