Posts

Showing posts with the label mathematics

On Creativity

Image
I recently read several pieces on AI and mathematics, including Stephen Wolfram's essay on the future of pure math research , Scientific American on the role of mathematicians , and the World Science Festival podcast AI Creativity: Genius or Gimmick? . This got me thinking about the nature of creativity itself. The real question isn't whether AI can produce novel work. It's whether we keep moving the goalposts of creativity just to keep humans at the centre of the story. The truth is, we don't have a single, settled definition of creativity. But whenever a machine masters something we thought was uniquely ours, our instincts kick in. We begin insisting that true creativity demands consciousness, intention, emotion, or lived experience. In other words, we stop judging the work on its merits and start judging the mind behind it. The AI Effect and the Moving Goalposts We've seen this pattern before. In computer science, it is known as the AI Effect —or as Tesler...

Using Lean 4 for Mathematics Proofs

Image
Using Lean 4 for Mathematics Proofs In the previous post, I explored Lean 4 as a functional programming language. If you already know functional languages like Haskell, you will recognise a lot of familiar ideas. Where Lean starts to feel different is in its annotations and, especially, in its use of tactics with dependent types. To make that concrete, I will walk through a small mathematical proof in Lean 4. The goal is to show an irrationality result. The classic classroom example is that  2 – √  is irrational, but that proof needs extra machinery. Here, I will use a simpler example that only needs basic arithmetic. I will start with the maths proof, then translate the same idea into Lean 4. I like this proof because it is compact. It is the classic “one side must be even, the other must be odd” contradiction. Mathematics: Prove that  log 2 ( 3 )  is irrational I start by assuming  log 2 ( 3 )  is rational. That means there exist positive integers...