Block designs as matrices

Block designs are ways of grouping elements of a set into blocks that have some sort of specified pattern. More on the patterns below.

I recently ran across quantum block designs and couldn’t imagine what that could mean. I saw Gerhard Zauner’s thesis “Quantum Designs: Foundations of a non-commutative Design Theory” and wondered what, in this setting, does or does not commute.

Analogy

The key to understanding the quantum connection is to think about the matrices that represent block designs rather than the block designs per se. These matrices have a connection to the matrices (or more generally, linear operators) of interest in quantum mechanics, and it is these matrices that may not commute under multiplication.

A combinatorial design consists of a set of points V and a set of blocks B, where a block is a subset of V. So if V has v elements and B has b elements, you can represent the design (V, B) as an v by b matrix, with a 1 in row i column j if the ith point is in the jth block and a 0 otherwise.

Example

Fano plane

The Fano plane is a well-known example of a block design. It is a model for a finite projective plane if you interpret the blocks as lines. The incidence matrix corresponding to the Fano plane above would have rows corresponding to the numbered points and columns corresponding to the colored lines. The column corresponding to the green line would have 1s in rows 1, 2, and 5 and 0s elsewhere. Every column would have three 1s because every line has three points. And every row would have three 1s because every point lies on three lines.

Requirements

A couple weeks ago I wrote a series of posts starting with finite projective planes, like the Fano plane above, gradually increasing in generality up to combinatorial designs, then specializing slightly to balanced incomplete block designs (BIBD) with parameters v, k, and λ.

This means the set of points V has v elements, every block contains k elements of V, and every pair of points in V is contained in λ blocks. For example, the Fano plane above is a BIBD with parameters (7, 3, 1).

The number of blocks b can be computed as a function of the parameters, as can the number r of blocks each point appears in. See how here.

Requirements in matrix form

Since the set of points V has v elements and the set of blocks B has b elements, the incidence matrix M has v rows and b columns.

Since every block contains k elements, the columns of M each sum to q.

Since every point is contained in r blocks, the rows of M each sum to r.

The (i, j) element of MMT equals the number of blocks containing the ith and jth points. When i = j, this is r. When i ≠ j, this is λ.

Quantum

I won’t go into quantum designs here, but having read this post you’re prepared to read Zauner’s thesis.

In case you’re interested, there is a categorical framework that unifies classical and quantum block designs.

An elementary refutation of ETH

One month ago both Anthropic and OpenAI posted proofs that the exponential time hypothesis (ETH) is false. I wrote about these proofs here.

Noam Mazor and Rafael Pass have posted a new proof. Their 18-page paper begins:

We here provide an alternative elementary and self-contained proof for the refutation of ETH.

The paper concludes with the following:

AI Statement. OpenAI ChatGPT (Astra) was used extensively to study, learn about the problem, and explore candidate constructions. While the main ideas underlying the constructions and abstractions are due to the authors, ChatGPT was invaluable in exploring definitions and proof approaches, and in formalizing proof ideas and sketches. ChatGPT was also used to assist with writing and to provide feedback on the manuscript and its presentation.

 

Cryptography in the Age of AI

There is speculation that AI labs are sitting on cryptography results that are too dangerous to publish. One bit of evidence for this suspicion is that cryptography is conspicuously missing from the list of areas of math that have published AI-assisted proofs recently. But supporting evidence is not proof.

It is well known that public key cryptography based on the difficulty of factoring integers or on the difficulty of the discrete logarithm problem will break if and when a cryptographically relevant quantum computer is constructed. But what if someone discovers radically more efficient classical algorithms that break public key cryptography?

Ian Cassels once said:

Cryptography is a mixture of mathematics and muddle, and without the muddle the mathematics can be used against you.

Variations on RSA and ECC have lots of mathematical structure that could be exploited by someone with access to a quantum computer, or possibly by a mathematical discovery. Symmetric encryption algorithms (such as AES) and secure hashing algorithms (such as SHA256) have a high ratio of muddle to mathematics, and few people believe the security of these algorithms is threatened by quantum computers or mathematical breakthroughs.

Lattice-based cryptography also has a lot of mathematical structure, but is believed to be immune to attacks from quantum computers. I don’t see why it should be immune to new mathematical discoveries.

Maybe one of the big AI labs has discovered a way to break public key cryptography and is keeping it under wraps, but here’s a reason to think this might not be the case: proving a widely-believed theorem, such as the Riemann Hypothesis, will not break encryption. A cryptographic attack requires a new idea, not confirmation that an old idea is correct. AI may very well assist someone in coming up with a new encryption-breaking idea, but that requires more creativity than settling conjectures.

Related posts

Measures of graph robustness

There are multiple ways to quantify how badly a network fragments after a targeted attack on its nodes. They’re all defined using a small set of concepts.

Basic definitions

Given a graph G, let S denote a subset of the nodes of G.

G − S denotes the new graph formed by removing the nodes in S and all edges running to a node in S.

c(G − S) is the number of components in G − S.

m(G − S) is the number of nodes in the largest component of G − S.

The set S is called a cutset if c(G − S) > 1.

Measures of robustness

For each of these measures, larger values imply more robustness.

Integrity

The integrity of a graph G is the minimum of

|S| + m(G − S)

over all subsets S of the nodes of G. You could interpret |S| as the cost of an attack and m(G − S) as the damage done by the attack.

Tenacity

The tenacity of a graph is the minimum of

( |S| + m(G − S) ) / c(G − S)

over all cutsets S [1]. Tenacity measures damage two ways: the size of the largest rremaining component and the number of components created.

Toughness

The toughness of a graph is the minimum of

|S| / c(G − S)

over all cutsets S. This is the cost of an attack relative to the number of components it creates.

Measures of fragility

These are also measures of robustness, except they run backward: smaller values are more robust. So you could say they measure fragility rather than robustness.

Scattering number

Scattering is the maximum of

c(G − S) − |S|

over all cutsets S. It is similar to toughness in that it compares the cost of an attack to the number of components it creates. It takes a difference rather than a ratio, and it runs in the opposite direction.

Rupture degree

Rupture degree measures damage the same way scattering does, except it also accounts for the size of the largest remaining component. Rupture degree is the maximum of

c(G − S) − |S| − m(G − S)

over all cutsets S.

Computation

All the measures above are hard to compute exactly for large graphs. However, any guess at an optimal set S gives a one-sided bound. It’s harder to estimate how close to optimal a choice of S is.

Related posts

[1] A complete graph has no cutsets, and so measures below that range over cutsets are assigned conventional values for complete graphs. For example, the toughness of a complete graph is defined to be ∞.

Sets of equiangular lines

How large can a set of lines through the origin in ℝn be if the angle between any pair of distinct lines is the same?

Clearly the answer is at least n. The coordinate axes are mutually perpendicular, so they’re equiangular with angle 90°.

In the plane, you can have three lines through the origin that intersect at 60° by connecting opposite vertices of a regular hexagon. Another way to think of these same lines is to imagine an equilateral triangle whose center is at the origin and draw lines through the center and each of the vertices of the triangle. This construction generalizes to ℝ³ and to higher dimensions: center a regular tetrahedron, or in general a regular n-simplex, at the origin and draw lines through the origin and each of the vertices.

If we’re interested in the maximum number of equiangular vectors rather than lines, this is as good as we can do. The maximum number of equiangular vectors in ℝn is n + 1, and such a set can be constructed as above by taking the vectors from the center to the vertices of the simplex.

But since we’re interested in lines and not just vectors, there are more possibilities in general.

Example in 3D

In three dimensions, we can have six equiangular lines by connecting the opposite vertices of a regular icosahedron. To see this, consider the icosahedron whose 12 vertices are

(0, ±1, ±φ)
(±1, ±φ, 0)
(±φ, 0, ±1)

where φ is the golden ratio. Here the choice of whether ± stands for + or − is made independently for each component.

The six lines connecting opposite vertices run through v and −v where v ranges over

(0, +1, +φ)
(0, +1, −φ)
(+1, +φ, 0)
(+1, −φ, 0)
(+φ, 0, +1)
(+φ, 0, −1)

The cosine of the angle between any pair of these lines is either φ² − 1 or φ, but those are the same because of the equation defining the golden ratio.

It turns out the example above is optimal: you cannot have more than six equiangular lines in three dimensions.

Higher dimensions

Let N(d) be the maximum number of equiangular lines in ℝd. The value of N(d) is not known in general, though it is known to be bounded by d(d + 1)/2.

The first 17 values are given in OEIS A002853:

1, 3, 6, 6, 10, 16, 28, 28, 28, 28, 28, 28, 28, 28, 36, 40, 48

A paper posted this week gives the values for d = 18, 19, and 20.

How many triangles can a graph with no pentagons have?

Suppose you have a graph with n nodes and no pentagons, how many triangles can it contain?

Here a pentagon means a cycle of length 5 and a triangle means a cycle of length 3. This is an abstract property of the graph, not related to the representation of the graph on a plane, unless the graph can be embedded in a plane with no edge crossings.

A paper posted two days ago proves that the maximum number of triangles is bounded by

\left( \frac{1}{3\sqrt{3}} + o(1) \right) n^{3/2}

The notation o(1) is a term that goes to zero as n grows. See notes here.

Roughly speaking, the no-pentagon requirement takes the square root of the maximum number of triangles. The maximum number of triangles in a graph with n nodes is n(n − 1)(n − 2)/6 = O(n³) and the no-pentagon rule cuts this down to O(n3/2).

Counterexamples to proof by example

There are a few standard examples of statements that appear to be true for a large number of examples but eventually fail. Three that come to mind are prime generating polynomials, the Borwein integrals, and Mercer’s circle problem. I’ll go into each of these briefly before discussing an example I just recently ran across.

Prime generating polynomials

Euler discovered that p(n) = n² − n + 41 is prime for n = 1, 2, 3, …, 40 but not for n = 41.

Another example is that q(n) = n² − 79 n + 1601 is prime for n = 1, 2, 3, …, 79 but not for n = 80.

Borwein integrals

Define

B(n) = \int_0^\infty \prod_{k=0}^{n} \text{sinc}\left(\frac{x}{2k+1}\right) \, dx.

Then B(n) = π/2 for n = 1, 2, 3, …, 6 but not for n = 7, though it almost holds for n = 7. More here.

Moser’s circle problem

This may be the example you’re most likely to see online. Let f(n) be the maximum number of regions you can divide a circle into by drawing lines between n points on the circle. The first five values are

1, 2, 4, 8, 16

and so you might reasonably expect f(6) = 32, but in fact f(6) = 31.

New example

This morning I saw a post from @sphere_homotopy on X giving the following example. For small n

gcd(n17 + 9, (n + 1)17 + 9) = 1.

And by “small,” I mean all n less than the 52-digit number

8424432925592889329288197322308900672459420460792433

Needless to say nobody discovered this by trying n = 1, 2, 3, … until they got to the value of n above. You can find an explanation of the theory behind the example here. The same theory can be used to create more examples, such as the following.

It appears that

gcd(n19 + 3, (n + 1)19 + 3) = 1

for all n, and this is true for n < 25211925041.

Las Vegas, Monte Carlo, and Integer Factorization

Monte Carlo algorithms typically have a fixed runtime but a variable error rate.

Las Vegas algorithms have a variable runtime but a fixed (i.e. zero) error rate.

Stanisław Ulam came up with the idea of Monte Carlo methods in 1946 and Nicholas Metropolis coined the term “Monte Carlo” the next year.

László Babai coined the term “Las Vegas algorithm” in 1979 as a pun on Monte Carlo.

Las Vegas factoring algorithm in the news

There’s a new paper on GitHub titled Unconditional Integer Factorization in Time LN[1/3, O(1)]. It is a Las Vegas algorithm because it always [1] returns a correct factorization, though the time it takes to execute is random.

What is unconditional about the new algorithm? The analysis of the new algorithm does not depend on any unproven assumptions. Before there was a proof of the (Generalized) Riemann Hypothesis, many theorems were conditional because they assumed the GRH. The fastest integer factorization algorithms are not dependent on GRH but are dependent on other widely believed but unproven conjectures.

The notation LN[α, c], commonly used in computational number theory, stands for

exp(c (log N)α (log log N)1−α)

The fastest commonly used factorization method at this time is the GNFS (general number field sieve). Its runtime is

LN[1/3, (64/9)1/3 + o(1)] ≈ LN[1/3, 1.923]

This means that the c term is (64/9)1/3 = 1.923 plus a term that goes to zero as N increases.

For the new algorithm, the α term is the same as GNFS but the c term is something less than 105. This is a bound on the worst-case expected time. The runtime is not as good as GNFS but the runtime proof does not depend on any unproven assumptions. The best unconditional algorithm before this recent result was LN[1/2, 1].

 

[1] Las Vegas algorithms halt with probability 1. In practice they terminate, but strictly speaking they are partial functions, functions that give a correct result when they terminate.

Covering a body with eight smaller copies of itself

It’s obvious that you could cover a cube with smaller cubes. You could, for example, take a cube with side 1 and cover it with cubes of side ½ centered on each corner.

It’s not as obvious how you would cover a ball with smaller balls, but you could cover the unit ball with balls of radius ½√3 centered at the points (±½, ±½, ±½).

Covering a sphere with eight smaller spheres

In fact, you could cover a ball with four smaller balls [1].

Now consider an arbitrary convex shape K in three dimensions with non-empty interior. Is it possible to cover K by copies of itself? Since K has non-empty interior, you could cover K by putting a smaller version of K around every point. And if K is compact, then this cover has a finite subcover. But there might be a lot of elements in this finite cover. What’s the minimum number possible in general? It takes eight cubes to cover a cube, so the minimum is at least 8. But could some odd shape take more?

Hadwiger’s covering conjecture says that K can be covered by eight copies of itself. That is, there exists a scaling constant 0 < λ < 1 and shift vectors vi such that

K \subseteq \bigcup_{i=1}^8 (\lambda K + v_i)

Dror Aiger, Sariel Har-Peled, and Goran Žužić posted a proof of Hadwiger’s conjecture on arXiv yesterday. The abstract to their paper says “The proof was discovered using an experimental harness on top of Gemini 4 Carbon and formally verified in Lean 4.”

I’ve heard good things about the Google’s new Carbon model. This is the first announcement of a major theorem proved with the assistance of a Google model that I’ve noticed.

Related posts

[1] Inscribe the vertices of regular tetrahedron on the unit sphere, then multiply the vectors representing the vertices by ⅓. Center spheres of radius ⅔√2 at each vertex.

Polynomials and Planets

A couple days ago I wrote about how the force of gravity varies over the surface of an oblate planet. Earth is slightly oblate, i.e., it has an equatorial bulge, and this oblateness has a significant effect on satellite orbits. More on that here.

The fictional planet Mesklin in Hal Clement’s novel Mission of Gravity is extremely oblate due to its rapid rotation, and apparent gravity varies by two orders of magnitude between the equator and the poles. As science fiction authors often do, Clement took some aspect of familiar experience and exaggerated it to make it easier to appreciate.

The gravitational potential of an oblate spheroid as a function of the polar angle θ is proportional to

1 − J2 P2(cos θ)

where P2 is the second Legendre polynomial. There are more terms of the form

J2n P2n(cos θ)

but the most significant term is the one with coefficient J2, hence the J2 effect.

I learned about Legendre polynomials long before I learned about gravity calculations, and so my first reaction when seeing the result above would be that gravitational calculations are another example of places where Legendre polynomials pop up. While this is true, it’s historically backward. Legendre discovered the polynomials that now bear his name because they came up in his gravitational calculations.

It would be more historically informed to say that the polynomials falling out of Legendre’s exploration of gravity have found applications elsewhere, and often for the same reasons: because they fall out of calculations involving radial symmetry. That’s why they appear in E&M, acoustics, and quantum mechanics.

Legendre polynomials also appear in applications that have nothing to do with radial symmetry. For example, the most common form of Gaussian quadrature is based on Legendre polynomials. More on that here.