Category Archives: Philosophy

Maths and Programming Working Together

When the Four Colour Theorem (FCT) was finally ‘proved’ in 1976, it upset a lot of mathematicians.  It was the first significant mathematical concept to be proved with a good deal of help from a computer and, for many, that didn’t make it a real proof.  Although we’re largely (maybe not entirely) OK with it now, the objections at the time weren’t just theorists’ snobbery.  At the heart of it all were some fundamental questions about the role a computer could or should play in formal logic.

Essentially, the FCT says that the maximum number of different colours needed to colour a map, so that no bordering countries are the same colour, is four.  (Colours can touch at a point but not at an edge.)  It’s easy to show that five will always do the trick and, in fact, most normal maps only need three.  However, certain types of map certainly seemed to need four so was four always enough? Continue reading


Are There Any Hard Problems?

That looks like a hopelessly vague question, and it is unless we’re prepared to clarify it a bit.  On the other hand, we already know there are some impossible problems so surely there are some that are just hard?  Again, we’ll need to work out what on earth we’re talking about here.  Let’s start with what we actually mean by a problem in a computational sense …

(Be warned: There are one or two simplifications and liberties with precision in what follows; it’s well-intentioned but may upset the purist.)

Well, actually, even that isn’t simple and there’s no absolute agreement on what a good definition would be.  (We’ve seen previously that mathematicians and computer scientists don’t always see eye-to-eye.)  It’s cheating a bit but it’s probably easier to give examples and this should work well enough for us.  At least in the context of computing, these are all valid problems:

  1. Calculate    2 x 4 + 9 – 3
  2. If   5 – x  =  2   what’s x?
  3. Find the largest from    5, 7, 1, 4, 8, 5, 2, 4, 8, 5, 2, 6, 7, 7, 3, 3, 2, 4, 3, 6, 7, 7, 6, 5, 4
  4. Sort    25, 44, 66, 72, 12, 45, 56, 90, 45, 69, 11, 10, 12, 42, 88     into ascending order
  5. Arrange   1, 2, 3, 4, 5, 6, 7, 8, 9   into a magic square
  6. What’s the best way to get to Paris?

Continue reading


The ‘Real’ Internet of Things

(This post is derived from a talk given at the 2012 Wrexham Science Festival.)

There are so many different ways of describing the Internet of Things.  On the one hand, maybe it’s what the original Internet was always destined to be; on the other, it’s about as boring as it gets.  Tag just about anything and everything we can stick a label on, let them talk to each other, then turn the existing  Internet into a massive database of things that can be referenced, interconnected and used any which way we like.  Great if you really need your fridge to reorder the milk for you or the plants to water themselves but hardly inspirational.  Two features, however, give the proposed (and not yet fully considered) IoT a serious ‘Oooh!’ factor …

Firstly, the ever-increasing intelligence of the Internet will allow us to manipulate this data in new and exciting ways.  More and more, the evolving Semantic Web will be able to understand the information it’s working with and make the best use of it for our benefit.  Our personal and working lives are about to become completely automated and made easier by web intelligence.  Secondly, and potentially on the darker side, other hardware and software developments will extend the IoT’s reach.  Face-recognition, image-scanners and numerous other advanced detectors and sensors will soon mean that everything can be read, whether it’s deliberately labelled or not.  We, and everything we use or own, may soon become part of the Real Internet of Things (RIoT) and we might have to expect to be identified and traced in everything we do.  So what will the future will look like?  Are we heading for paradise or Big Brother? Continue reading


Dawn of the Intelligent Machines?

(The second of two posts distilled from a talk given at the 2011 Wrexham Science Festival. The first part, ‘The Singularity is Coming … Or Is It?‘, appears separately.  However, both have a common thread and share some material.)

It seems that the next few decades may give us something really remarkable: truly intelligent computers; that, before the 21st century is a half, maybe a third, old, we could be living with machines capable of genuine, independent thought.  Apparently, this is not science fiction or the ‘artificial intelligence’ of the 20th century but real intelligence.  So many questions … Can that really happen?  Will it?  How?  What does it mean?  What will that world be like?  What do we have to look forward to?  Or to fear?  How do we get from here to there … and do we want to?  How does today’s AI technology develop into tomorrow’s thinking machine?  What will we do with it when we’ve got it?  What happens if we get it wrong?  Can we ultimately build something ‘better’ than us?  Will we be served by teams of intelligent robots or is there a risk that we could end up serving them?  Or, as we and the machines both evolve, will the ‘natural’ distinction between human and computer eventually become blurred and ultimately unimportant?  Pause for breath … Continue reading