Skip to content →

Tag: puzzle

Chinese remainders and adele classes

Oystein Ore mentions the following puzzle from Brahma-Sphuta-Siddhanta (Brahma’s Correct System) by Brahmagupta :

An old woman goes to market and a horse steps on her basket and crashes the eggs. The rider offers to pay for the damages and asks her how many eggs she had brought. She does not remember the exact number, but when she had taken them out two at a time, there was one egg left. The same happened when she picked them out three, four, five, and six at a time, but when she took them seven at a time they came out even. What is the smallest number of eggs she could have had?

Here’s a similar problem from “Advanced Number Theory” by Harvey Cohn (( always, i wonder how one might ‘discreetly request’ these remainders… )) :

Exercise 5 : In a game for guessing a person’s age x, one discreetly requests three remainders : r1 when x is divided by 3, r2 when x is divided by 4, and r3 when x is divided by 5. Then x=40 r1 + 45 r2 + 36 r3 modulo 60.

Clearly, these problems are all examples of the Chinese Remainder Theorem.

Chinese because one of the first such problems was posed by Sunzi [Sun Tsu] (4th century AD)
in the book Sunzi Suanjing. (( according to ChinaPage the answer is contained in the song on the left hand side. ))

There are certain things whose number is unknown.
Repeatedly divided by 3, the remainder is 2;
by 5 the remainder is 3;
and by 7 the remainder is 2.
What will be the number?

The Chinese Remainder Theorem asserts that when N=n1n2nk with the ni pairwise coprime, then there is an isomorphism of abelian groups Z/NZZ/n1Z×Z/n2Z××Z/nkZ. Equivalently, given coprime numbers ni one cal always solve the system of congruence identities

{xa1 (mod n1)xa2 (mod n2)xak (mod nk)

and all integer solutions are congruent to each other modulo N=n1n2nk.

We will need this classical result to prove that
Q/ZA/R
where (as last time) A is the additive group of all adeles and where R is the subgroup pZp (i’ll drop all ‘hats’ from now on, so the p-adic numbers are Qp=Q^p and the p-adic integers are denoted Zp=Z^p).

As we will have to do calculations with p-adic numbers, it is best to have them in a canonical form using digits. A system of digits D of Qp consists of zero and a system of representatives of units of Zp modulo pZp. The most obvious choice of digits is D=0,1,2,,p1 which we will use today. (( later we will use another system of digits, the Teichmuller digits using p1-th root of unities in Qp. )) Fixing a set of digits D, any p-adic number apQp can be expressed uniquely in the form

ap=n=deg(ap)ap(n)pn with all ‘coefficients’ ap(n)D and deg(ap) being the lowest p-power occurring in the description of ap.

Recall that an adele is an element a=(a2,a3,a5,)pQp such that for almost all prime numbers p apZp (that is deg(ap)0). Denote the finite set of primes p such that deg(ap)<0 with P=p1,,pk and let di=deg(api). Then, with N=p1d1p2d2pkdk we have that NapiZpi. Observe that for all other prime numbers qP we have  (N,q)=1 and therefore N is invertible in Zq.

Also N=pidiKi with KiZpi. With respect to the system of digits D=0,1,,p1 we have

Napi=Kij=0di1api(di+j)pij=αi+Kijdiapi(di+j)pijZpi

Note that αiZ and the Chinese Remainder Theorem asserts the existence of an integral solution MZ to the system of congruences

{Mα1 modulo p1d1Mα2 modulo p2d2Mαk modulo pkdk

But then, for all 1ik we have NapiM=pidij=0bi(j)pj (with the bi(j)D) and therefore

apiMN=1Kij=0bi(j)pjZpi

But for all other primes qP we have that αqZq and that NZq whence for those primes we also have that αqMNZq.

Finally, observe that the diagonal embedding of Q in pQp lies entirely in the adele ring A as a rational number has only finitely many primes appearing in its denominator. Hence, identifying QA via the diagonal embedding we can rephrase the above as

aMNR=pZp

That is, any adele class A/R has as a representant a rational number. But then, A/RQ/Z which will allow us to give an adelic version of the Bost-Connes algebra!

Btw. there were 301 eggs.

Leave a Comment

sobering-up

Kea’s post reminded me to have a look at my search terms (the things people type into search engines to get redirected here). Quite a sobering experience…

Via Google Analytics I learn that 49,51% of traffic comes from Search Engines (compared to 26,17% from Referring Sites and 24,32% from direct hits) so I should take Search Terms more seriously! Above you can find the top-25.

On 1. there is neverendingbooks. Well, some people seem to remember the blog-name, but require google to remember the URL (neverendingbooks.org)…, okay, fair enough. But from then on… all search terms are iTouch related! The first ‘other’ term is puzzle m at 24. and believe me things do not improve afterwards. Here the only non-Touch related search terms in the top 100 :

  • neverendingbooks.org (40)
  • “puzzle m” (42)
  • moonshine mathematics (79)
  • necklace algebra (80)
  • “calabi-yau algebra (90)
  • “dessin d enfant” (91)
  • “lieven le bruyn” (95)
  • Mathieu group + M(13) (97)
  • 13 points 5 lines puzzle (98)
  • 15 itouch sliding puzzle (99)

the last one is really touching (sic). Is there anybody out there still interested in the mathematics, or should I turn this blog into a yaib (yet another iTouch blog) ???

Leave a Comment

tori & crypto : Diffie-Hellman or GCHQ?

Boris Kunyavskii arXived the paper Algebraic tori – thirty years after dedicated to the 80th anniversary of V. E. Voskresenskii. The goal is to give an overview of results of V. E. Voskresenskii on arithmetic and birational properties of algebraic tori which culminated in his monograph “Algebraic Tori” published in Russian 30 years ago. As Ive worked on this stuff a long time ago I glanced through the paper and it contains a nice summary of the work of V.E. Voskresenskii, and later of Jean-Louis Colliot-Thelene, Jean-Jacques Sansuc and David Saltman. To my surprise I also made a guest-appearance and even seem to have a conjecture (??!!). Fortunately the ‘conjecture’ turned out to be correct as was proved by Nicole Lemire and Martin Lorenz. But a much bigger surprise (at least to me) is contained in the final section of the paper where applications of (stable) rationality of certain tori are given to primality testing and public key cryptography!

In [GPS]
the authors propose to use a similar idea of compression for using tori
in an even more recent cryptographic protocol (so-called pairing-based
cryptography). It is interesting to note that the efficiency (compression factor) of the above mentioned cryptosystems heavily depends on
rationality of tori under consideration (more precisely, on an explicit
rational parameterization of the underlying variety). As the tori used
by Rubin and Silverberg are known to be stably rational, the seemingly abstract question on rationality of a given stably rational torus
is moving to the area of applied mathematics. The first challenging
problem here is to obtain an explicit rational parameterization of the
8-dimensional torus T30 , deïfined over a finite field k and splitting over
its cyclic extension L of degree 30.

This is a particular case of a problem posed by Voskresenskii [Vo77,
Problem 5.12] 30 years ago. Let us hope that we will not have to wait
another 30 years for answering this question on a degree 30 extension.

That’s all it takes to get me seriously side-tracked… so the last couple of hours I’ve been reading up on this connection between tori and cryptography. I will spend a couple of posts on these beautiful results. The latest seems to be that, while rationality of T30 is still unknown, one can use an explicit stable-rationality description of it to get a better bound than the XTR-system (the system corresponding to the torus T6) which in turn is better than the LUC-system (corresponding to T2), which is turn is twice as efficient as the Diffie-Hellman key exchange system… So let us start gently with the latter one…

Whitfield Diffie (r.) and Martin Hellman (m.) published in 1976 their public key-exchange system. Take a large prime power q=pN, make it public and consider the finite field Fq which is known to have a cyclic group of units Fq of order q1. Now, take g to be an element in it of large order (preferable a generator but that isnt necessary) and also make this element public.

Now choose a random integer a (your hidden secret) and compute the element gaFq and publicize this element. Suppose someone else published his/her element gb constructed from his/her secret integer b then both you and this other person can compute from the published data and their secret numbers the element (the shared key)

gab=(gb)a=(ga)b

(because you know a and the published gb and your correspondent knows b and the published ga) but nobody else can compute it from the public-available data only because discrete logarithms cannot be feasibly computed in the group Fq. Hellman suggests to call this system the Diffie-Hellman-Merkl key-exchange (via this link)

The first researchers to discover and publish the concepts of PKC were Whitfield Diffie and Martin Hellman from Stanford University, and Ralph Merkle from the University of California at Berkeley. As so often happens in the scientific world, the two groups were working independently on the same problem — Diffie and Hellman on public key cryptography and Merkle on public key distribution — when they became aware of each other’s work and realized there was synergy in their approaches. In Hellman’s words: “We each had a key part of the puzzle and while it’s true one of us first said X, and another of us first said Y, and so on, it was the combination and the back and forth between us that allowed the discovery.”

And that was the full story until 1997. In December, 1997, it was revealed that researchers at the GCHQ organization did some work in the early 1970’s in the field of “non-secret encryption”. The people involved are James Ellis, Clifford Cocks and Malcolm Williamson (r.).

Here is a note by Ellis on his recollection of the history of ‘Non-secret encryption” :

Cryptography is a most unusual science. Most professional scientists aim to be the first to publish their work,
because it is through dissemination that the work realises its value. In contrast, the fullest value of cryptography
is realised by minimising the information available to potential adversaries. Thus professional cryptographers
normally work in closed communities to provide sufficient professional interaction to ensure quality while
maintaining secrecy from outsiders. Revelation of these secrets is normally only sanctioned in the interests
of historical accuracy after it has been demonstrated clearly that no further benefit can be obtained from
continued secrecy.
In keeping with this tradition it is now appropriate to tell the story of the invention and development within
CESG of non-secret encryption (NSE) which was our original name for what is now called PKC. The task of writing
this paper has devolved on me because NSE was my idea and I can therefore describe these early developments from
personal experience. No techniques not already public knowledge, or specific applications of NSE will be mentioned…

The once secret notes of Williamson are also available. NON-SECRET ENCRYPTION USING A FINITE FIELD
by M J Williamson, 21 January 1974
and THOUGHTS ON CHEAPER NON-SECRET ENCRYPTION
M J Williamson, 10 August 1976
.

Leave a Comment