Skip to main content

An E3 fgoagog and an E4 fgoagog

Over Christmas I typed up my Bass-Serre / Grzegorczyk stuff in quite a lot of detail and fairly rigorously. It’s far too much to put up here as blog posts, so here’s a link to the PDF.

The big theorem I prove says that the fundamental group of a graph of En-computable groups is En+1-computable. But are there cases when the fgoagog stays at En, and can we pin down what conditions cause it to move up to En+1? I’ve found a couple of examples which begin to answer those questions.

Corollary 1 says that if the edge groups are finitely generated then you don’t go up a level, while Corollary 2 gives an example of a graph with infinitely generated edge groups that does go up a level.

Little Facts

  1. The nth prime pnnlogn.
  2. exp(x,y):=xyE3.
  3. The Gödel encoding of a word of length n on an alphabet X is pnJ(n,n), an E3 function.

Theorem 6.7 (from the paper)

Suppose we have G=π1(G,Γ,T,v0), where Γ is finite. Suppose all the GiG are finitely generated En-computable groups, n3. Assume all the identified subgroups are En-decidable, and all the isomorphisms ϕe are En-computable. Then G is En+1-computable.

Corollary 1

Same assumptions as the Theorem 6.7, but also assume that the edge groups are finitely generated. So each edge homomorphism ϕeij sends a finitely generated subgroup EijGi to another finitely generated subgroup EjiGj. Suppose everything is En-computable.

Then G=π1(G,Γ,T,v0) is En-computable.

Proof

In the algorithm from Theorem 6.7, the potential for unbounded recursion comes from applying the edge homomorphisms repeatedly. We will show that the result of applying the edge homomorphisms repeatedly is bounded by an E3 function.

Let w be a word on G of length n. An upper bound on the number of syllables in w is n, so let’s say there are n applications of edge homomorphisms.

A homomorphism ϕeij rewrites generators xXi as words ϕeij(x)Xj. As Gi is finitely generated, there is a word ϕeij(x) of maximum, finite length kij. So a word wiEij of length m is rewritten to a word wjEj of length at most kijm.

Because the graph is finite, we can find a greatest k{kij}. So after reducing all the syllables (assuming that can be done for the input word), the resulting word in G0 has length at most knn=L.

Hence the index of the resulting word is bounded by

pknnJ(knn,knn),

an E3 function, by Fact 2. So recursion on the edge homomorphisms is bounded by an En function, and so G is En-computable.

Corollary 2

We will construct a graph of E3-computable groups whose fundamental group is E4-computable.

Let G={G0,G1} be two copies of the free group on two generators, so G0=x,y and G1=a,b. The graph has a single edge e from v0 to v1, so Γ=T=({v0,v1},{e,e¯}).

Let E01={xnyxn,nN}, E10={anban,nN}. So the edge groups are infinitely generated.

Define

ϕe(x2nyx2n)=a(2n)!ba(2n)!,ϕe¯(a2n1ba2n+1)=x(2n)!1yx(2n)!+1.

Then G=π1(G,Γ,T,v0) is E4-computable.

Proof

First of all, the homomorphisms are E3-computable because words of the form anban can be recognised by an E3 function. Hence all the ingredients of the graph of groups are E3-computable.

A word of the form

ea1e1x1ea1e1xnyxneae1xeae1

will be reduced to a word on G0 whose length is proportional to fact(m)(n), where m is the number of syllables. As m depends on the input, this length can only be computed by unbounded recursion on an E3 function, so is only E4-computable.

Therefore, G is E4-computable.

How to make a Slinky look like a Klein bottle

Edmund Harris mentioned on Twitter that a Slinky can make a very good model of a Klein bottle. Elin Roberts asked for an explanation, and I was curious too, so I did a bit of rummaging and found my old Slinky. ((it isn’t a real slinky, but what’s the generic name for them? Something like ‘coiled metal extend-o-toy’?))

Once I’d worked out what to do, I recorded a video explaining it:

Hardy’s Course of Pure Mathematics

A while ago I bought a copy of Hardy’s “A Course of Pure Mathematics” for a fiver. I think I must’ve got it from Westwood Books ((Westwood Books has a really good collection of maths books – one of the owners is an ex-mathematician, and he finds his way to be in just the right place when departments clear out their libraries. I found a book by the only other mathematising Perfect I know of at Westwood. Great place!)) in Sedbergh.

Anyway, my imagination has completely run dry for the moment, so I’ve decided to do some exercises from the book to pass some time. Maybe this could become a series of posts?

Hardy says in the preface,

This book has been designed primarily for the use of first year students at the Universities whose abilities reach or approach something like what is usually described as `scholarship standard’.

I regard the book as being really elementary.

Nothing taxing, then. It occurs that I’m opening myself up to accusations of sloppy thinking and gross inaptitude at mathematics, but I suppose I’m better off knowing if that’s the case.

Read more…

Not-quite-slides from a talk about Turing completeness

Today I gave a talk to the department’s Postgrad Forum about Turing completeness, and universal computers. I couldn’t be bothered fiddling with Beamer to create a PDF slideshow, and I wanted to include some Youtube videos in my talk, so I made up my “slides” in HTML with a bit of CSS so it looks nice. MathJax provided LaTeX support for the maths I needed to write. The end result is a long page that I scrolled down as I talked. It seemed to work as well as a proper slideshow would’ve.

Here’s the page, which doesn’t make much sense without the talking to go along with it, and here’s the CSS file I made, in case anyone else fancies doing the same thing.

A demo of the Numbas maths exam system

As part of one of the many jobs I’m doing at the moment for Newcastle University, I’ve written a web-based maths exam system which runs entirely in the browser, with no plugins, and is SCORM compatible. It uses the excellent MathJax for displaying mathematics; there’s a load of clever programming to allow fully randomised, algebraic answers to questions; and exams are written in a fairly easy-to-understand plaintext format.

Here’s an example of an exam written using Numbas, and here’s the file which generated it. The exam should run in modern Firefoxes, Safaris and Chromes, and IEs 8 and 9. Press the ‘Reveal’ button at the top of the page to see the answers to the questions.

We’re still clearing up exactly who owns the copyright to all this and under what terms it can be distributed, so I can’t provide much more material than this, but someone came to visit us yesterday (to give Bill Foster an award for pioneering e-assessment!) and he said that we should be a lot more public with what we’re doing, so that’s what I’m doing.

Some awful maths jokes

I’ve been annoying Nathan with these all week.

Why is D6 better for the environment than Z6? Because it doesn’t commute.

Which bit of Jessop’s does René Descartes like best? The Konica section.

What goes well with a curry and can compute any recursive function? NAND bread.

A colleague claims to know the secret recipe for authentic Coca-Cola. How does he proves this to you without revealing the recipe? With a zero-knowledge protocola.

In the Music Hall of Fame, which guided visit takes you from James Brown up to George Clinton in the quickest time, but is best enjoyed while under the influence? The add-joint funk-tour.

Disappointing Stationery

So I was just making my dad’s birthday card. I felt it would benefit from some typography, so I got out a sheet of letter transfers I bought a while ago.

Something immediately leapt out at me: where are all the Es? As anyone who was a bit obsessed with cryptography when they were young knows, the most common letter in English is E, by a long way, and there are hardly any Qs, Xs or Zs. This fact has helped us (and our enemies) win wars.

So, here’s a graph of the relative letter frequencies on the sheet compared to the frequencies in the English corpus (from Simon Singh’s site):

There are about half as many Es as there should be and loads more Qs, Xs and Zs than I will ever use. Now, the sheet’s quite small, so a statistician would do a hypothesis test to see if there is a significant difference between the sheet and the corpus, but I’m not one of those so I’m going to stop here, outraged at WH Smith’s lack of rigour.

I suppose if they’d only put one Z in people would worry about a situation in which they needed to use two Zs, while it isn’t as immediately apparent that there aren’t enough Es to make use of the whole sheet.

The upshot is, I think my dad’s card is going to have to have somebody sleeping in a queue for a xylophone quorum, in order to get the most out of this sheet. My hands are tied by Statistics.

PS It isn’t all bad though – there are twice as many 1s as any of the other non-zero digits, so it at least makes a nod to Benford’s Law.

Some notation for FPAs and HNN extensions

In order to define a free product with amalgamation ACB you need to define A,B,C and embeddings of C into A and B. Alternatively, instead of C you can use a homomorphism phi:AB and its inverse. A third option is to pick subgroups DA and EB and give an isomorphism between them.

All three of these options require you to define some groups and some morphisms. You can define a group nicely by giving a presentation but defining maps usually takes a few lines. So, I’d like a quicker way of describing the kinds of maps we need here.

Let’s take the third option. If we have generating sets so that D=X and E=Y, then if we can write each of the elements of X as words in Y then that defines the required isomorphism completely. After you’ve done that, the generating set Y might as well just be those words.

So how about this as a presentation for an FPA?

a1,a2,|RA[x1=y1,x2=y2,]b1,b2,|RB

The bits in angle brackets are presentations of A and B. The xi are words from A and generate D, and the yi are words from B and generate E.

Because this is all on one line and delimited adequately, you can chain things together and use brackets and all that, like this contrived example:

(a,b[b=c]c,d|cd=dc)[a=e]e,f

For HNN extensions, you just need to say what the original group is, what the extending letter is, and what the identified subgroups are. So how about something like:

g1,g2,|RG[t|x1=y1,x2=y2,]

Apart from the different kinds of brackets being hard to distinguish visually, what have I missed?

Infinite trees are E3 (maybe)

Not completely sure about this, but here we go: I will show that an ordered, plane recursive tree is En-computable, n3, if each vertex has its number of children bounded by an En function. So this rules out trees which grow sideways a lot quicker than they grow in height, but it has to be a lot quicker.

Read more…