numb3rs
- return of the cat ceilidh
- another numb3rs screenshot
I couldn’t believe my eyes. I was watching an episode of numb3rs, ‘undercurrents’ to be precise, and there it was, circled in the middle of the blackboard, CEILIDH, together with some of the key-exchange maps around it…

Only, the plot doesn’t involve any tori-crypto… okay, there is an I-Ching-coded-tattoo which turns out to be a telephone number, but that’s all. Still, this couldn’t just be a coincidence. Googling for ‘ ceilidh+numbers‘ gives as top hit the pdf-file of an article Alice in NUMB3Rland written by … Alice Silverberg (of the Rubin-Silverberg paper starting tori-cryptography). Alice turns out to be one of the unpaid consultants to the series. The 2-page article gives some insight into how ’some math’ gets into the script
Typically, Andy emails a draft of the script to the consultants. The FBI plot is already in place, and the writers want mathematics to go with it. The placeholder “math” in the draft is often nonsense or jargon; the sort of things people with no mathematical background might find by Googling, and think was real math. Since there’s often no mathematics that makes sense in those parts of the script, the best the consultants can do is replace jargon that makes us cringe a lot with jargon that makes us cringe a little.
From then on, it’s the Telephone Game. The consultants email Andy our suggestions (”replace ‘our discrete universes’ with ‘our disjoint universes’”; “replace the nonsensical ‘we’ve tried everything -a full frequency analysis, a Vignere deconstruction- we even checked for a Lucas sequence’ with the slightly less nonsensical ‘It’s much too short to try any cryptanalysis on. If it were longer we could try frequency analyses, or try to guess what kind of cryptosystem it is and use a specialized technique. For example, if it were a long enough Vigenere cipher we could try a Kasiski test or an index-of-coincidence analysis’). Andy chooses about a quarter of my sugges- tions and forwards his interpretation of them to the writers and producers. The script gets changed, and then the actors ad lib something completely dif- ferent (’disjointed universes’: cute, but loses the mathematical allusion; ‘Kasiski exam’ : I didn’t mean that kind of ‘test’).
She ends her article with :
I have mixed feelings about NUMB3RS. I still have concerns about the violence, the depiction of women, and the pretense that the math is accurate. However, if NUMB3RS could interest people in the power of mathematics enough for society to greater value and support mathematics teaching, learning, and research, and motivate more students to learnthat would be a positive step.
Further, there is a whole blog dedicated to some of the maths featuring in NUMB3RS, the numb3rs blog. And it was the first time I had to take a screenshot of a DVD, something usually off limits to the grab.app, but there is a simple hack to do it…
You may not have noticed, but the really hard work was done behind the scenes, resurrecting about 300 old posts (some of them hidden by giving them ‘private’-status). Ive only deleted about 10 posts with little or no content and am sorry I’ve self-destructed about 20-30 hectic posts over the years by pressing the ‘delete post’ button. I would have liked to reread them after all the angry mails Ive received. But, as Ive defended myself at the time, and as I continue to do today, a blog only records feelings at a specific moment. Often, the issue is closed for me once Ive put my frustrations in a post, and then Ill forget all about it. Sadly, the gossip-circuit in noncommutative circles is a lot, a lot, slower than my mood swings, so by the time people complain it’s no longer an issue for me and I tend to delete the post altogether. A blog really is a sort of diary. For example, it only struck me now, rereading the posts of the end of 2006, beginning of 2007, how depressed I must have been at the time. Fortunately, life has improved, somewhat… Still, after all these reminiscences, the real issue is : what comes next?
corresponds to the permutation lattices
. The action of the generator
(the Frobenius) of the Galois group
acts on the lattice by multiplication with
.
of a torus
is a permutation-lattice, the torus is rational, that is, the function-field
of the torus
is purely trancendental
-invariants of the group-algebra of the free Abelian group
where the rank is equal to the dimension
of the torus).
(LUC-system) and
(CEILIDH-system) are rational! So, what about the next cryptographic challenges? Are the tori
,
etc. also rational varieties?
-points of the torus
, is the subgroup of
corresponding to the most crypto-challenging cyclic subgroup of order
where
is the n-th
![T_n^* = \mathbb{Z}[x]/(\Phi_n(x)) T_n^* = \mathbb{Z}[x]/(\Phi_n(x))](/latexrender/pictures/10011e1ffe7355f095cdf812cda0bd0d.gif)
, explaining that the torus
-pits to
is no longer a permutation lattice, so we cannot use the Masuda-Speiser result to prove rationality of 
is small (see below). A true rationality result on
a product of two prime powers.But then,
the first unknown case…
, but their method was of little practical use in the 


then we get

However,
over a finite field
which is the affine variety
. that is, the
and so are in one-to-one correspondence with the non-zero elements of
and the fact that multiplication induces a group-structure on the points of the variety can be rephrased by saying that this coordinate ring is a Hopf algebra which is just the Hopf structure on the group-algebra
. This is the first indication of a connection between tori defined over
-modules with an action of the Galois group
. In this correspondence, the multiplicative group scheme
, is there an affine variety, defined over
? Sure! Just take the multiplicative group over
and write the elements x and y as
(and a similar expression for y with
and write the defning equation
out, also with respect to this basis and this will then give you the equations of the desired variety, which is usually denoted by
and called the Weil restriction of scalars torus.
and write
and
, then the defining equation 
, the intersection of two quadratic hypersurfaces in 4-dimensional space.
a _torus? Well, as with any variety defined over
and then it is easy to see that
(n copies)
is
, so a torus).
and therefore we call this field a splitting field of the torus.
acts on the left hand side in such a way that we recover
.
is the group-algebra of the rank n lattice
(the free Abelian group of rank n), that is,
. Now the Galois group acts both on the field
coming from the action of the Galois group on the extended torus
. In fact, it is best to denote this specific action on
and call ![\mathbb{F}_q[T] = \overline{\mathbb{F}}_q [T^*]^{Gal(\overline{\mathbb{F}}_q/\mathbb{F}_q)} \mathbb{F}_q[T] = \overline{\mathbb{F}}_q [T^*]^{Gal(\overline{\mathbb{F}}_q/\mathbb{F}_q)}](/latexrender/pictures/7e24d34a7e5ef41f2d0574c4f7bd6d14.gif)
and where the action of the cyclic Galois group
s such that the generator
We will see later that the cyclic subgroup
is a 2-dimensional torus.
and consider for every fieldextension
the set of all k-tuples satisfying all these polynomials and call this set
and over the algebraic closure
we have
and
and
which define a bijection between the points where f and j are defined (that is, possibly excluding zeroes of polynomials appearing in denumerators in the definition of the maps f or j). But then, we can use to map f to represent ‘most’ elements of
is again a prime number. Then, if
is a 13-th root of unity we have that
. Consider the elements
define the map
to 

write
using the basis
, so
and consequently write
using the basis
of
. Okay, then the invers of 
and that f is defined everywhere except at the two points
. Therefore, as long as we avoid these two points in our Diffie-Hellman key exchange, we can perform it using just
pits : I will send you
allowing you to compute our shared key
or
from my data and your secret number b.