A new equation

Rise of computer program Lean has changed the field of mathematics — and how we assess the truth

Advertisement

Advertise with us

There are two age-old laments about mathematics which persist to this day. The first is that either ourselves or someone we know will express that they are not a math person — an admission that we are not good at math, or that somehow we are not hardwired for it. But we don’t tend to admit the same for reading, writing, child rearing, cooking or other skills that we deem inherent to the human experience.

Read this article for free:


or

Already have an account? Log in here »

To continue reading, please subscribe:

Subscribe and receive a limited-edition Free Press branded hat or tote.

Digital Subscription

One year of digital access for only $205*

  • Enjoy unlimited reading on winnipegfreepress.com
  • Read the E-Edition, our digital replica newspaper
  • Access News Break, our award-winning app
  • Play interactive puzzles

*First annual payment billed as $205.00 + GST for one year. This annual subscription will automatically renew at $233.00 + GST every 52 weeks (10% off the regular annual price of $259.35). Offer available to new and qualified returning subscribers only. Cancel any time.

To continue reading, please subscribe:

Add Free Press access to your Brandon Sun subscription for only an additional

$1 for the first 4 weeks*

  • Enjoy unlimited reading on winnipegfreepress.com
  • Read the E-Edition, our digital replica newspaper
  • Access News Break, our award-winning app
  • Play interactive puzzles
Start now

*Your next Brandon Sun subscription payment will increase by $1.00 and you will be charged $17.95 plus GST for four weeks. After four weeks, your payment will increase to $24.95 plus GST every four weeks.

There are two age-old laments about mathematics which persist to this day. The first is that either ourselves or someone we know will express that they are not a math person — an admission that we are not good at math, or that somehow we are not hardwired for it. But we don’t tend to admit the same for reading, writing, child rearing, cooking or other skills that we deem inherent to the human experience.

The second lament is one that asks why we even learn math. “We’ll never use this in the real world,” goes the saying, particularly within the context of pre-calculus mathematics or calculus itself.

Both of these laments are regrettable, and most certainly need to be corrected by the public education system. Because, as author Kevin Hartnett argues in his latest work, The Proof in the Code: How a Truth Machine is Transforming Math and AI, mathematics is not only the language of the universe, but also a pathway to learning how to reason and seek truth.

Katie English photo
                                Kevin Hartnett

Katie English photo

Kevin Hartnett

Mathematics, ergo, is the language, both the physical and the metaphysical.

Harnett, who contributes to the Atlantic, Scientific American and the Boston Globe, sets out to tell the story of why mathematics is so critical to the human experience through the unlikely but inspiring coming together of the computer science and mathematics communities.

The story begins with Leo de Moura, a Brazilian-born computer scientist working for Microsoft over a decade ago, who wanted to build a program that would help him debug and verify developmental software.

The program was called Lean, and to de Moura’s dismay, it was mathematicians such as Tom Hales — who famously discovered a proof for Kepler’s Conjecture from 1611 (how many balls can you cram into a given space) — who saw the power of computer- assisted mathematics initially.

Hales released his massive proof in 1998, but the math community was unable to verify his results, given the complexity. Computers were needed to help confirm the results, to verify truth. Truth provers, if you will, had cracked open the door.

Over the course of the next decade, an open-source motley crew of mathematicians began to help de Moura develop Lean in order to formalize mathematical proofs and change the field. The development of Lean, an interactive theorem prover (or ITP), was not a top-down affair. Rather, it was developed democratically through contributors all over the world.

Mathematics was shifting from an isolated experience to one where thousands could contribute to MathLib, Lean’s repository for all mathematical knowledge. As Harnett highlights, the contributors were “bumping into each other almost by chance in the Gitter chat and helping each other gain a foothold in this new world.” As he posits, “Coming into the Lean community was more like entering a frontier town.”

And this serendipity created two truths. One was that de Moura began to resent the demands and often self-interested goals of PhD students or those seeking ambition. He would soon back away from the day-to-day support of Lean — not only fearing that Microsoft would clip his wings, but also because he was still clinging onto the goal of Lean as a software verifier.

The second truth, as Harnett argues, is that “people look for new tools when they have problems the old ones can’t solve.” Human mathematical reasoning has become so complex that chalkboards and scraps of paper no longer will suffice. Nor will working in solitude. As the mathematicians in The Proof in the Code contend, mathematics is not created, it is discovered.

Harnett’s inquiry highlights that as this discovery of the language of the universe becomes both broad and narrow, humans need new intellectual vessels to reach new territory.

The Proof in the Code

The Proof in the Code

Enter artificial intelligence (AI).

As the third and fourth generations of Lean were created in the early 2020s, AI companies and oligarchs began to take interest in Lean and other ITPs. DeepMind, the AI company that created the first robot to play and win at Go, picked up the torch first, entering the first AI to compete in the International Mathematics Olympiad in 2024 — and garnering a silver medal.

The trick for AI developers, however, is to create an AI that doesn’t mimic, but rather can reason, mathematically. While the integration of AI into ITPs is still in its infancy, the jury is out as to the cost-benefit analysis on the development, and the impact on our species.

But the message behind The Proof in the Code is one of hope for our species and the importance of seeking truth — hope in the sense that when humans come together with a common goal, they can achieve astounding feats.

The other message is that we all need various languages to discover the universe. We all, and particularly children, desperately need the chance to discover the language of mathematics so that we may better understand just how precious the universe, and the life within it, is.

The Proof in the Code demonstrates the power in collaboration, collective interest, intellectual rigour and the pursuit of truth — perhaps the simple ingredients for a better world.

Matt Henderson is superintendent of the Winnipeg School Division.

Report Error Submit a Tip

More Stories

Mayoral race grows to 11 candidates

Joyanne Pursaga 2 minute read Yesterday at 3:21 PM CDT

Realtor Brad Gross is the 11th candidate to register for the race to become Winnipeg’s next mayor.

Gross, 60, said improving public safety and renewing roads will be key goals in his campaign.

“I just don’t like the direction the city’s going and it doesn’t seem to be getting better…. A lot of seniors, a lot of people are worried about crime. (And) the streets are just horrible again,” he said.

He said the city should not invest in bike lanes until Winnipeg’s roads are in better condition. He also hopes to provide free bus fares for seniors and gradually add security cameras at all bus shacks with known safety concerns, if elected.

Leon’s Getting Larger and their tours are getting longer

Tiago Resko 4 minute read Preview

Leon’s Getting Larger and their tours are getting longer

Tiago Resko 4 minute read Yesterday at 3:00 AM CDT

Emo music was never just a phase for Nikola Boticki.

“It was people just saying the things I was feeling,” says the 26-year-old vocalist and guitarist. “Growing up, it’s kind of like, ‘I feel that way but I’m not going to say that out loud,’ so it was nice to hear someone say it.”

Boticki got into the punk subgenre near the end of his angsty high school years and his appreciation only grew while in isolation during the COVID-19 pandemic.

The music inspired him to form his own emo band, Leon’s Getting Larger, with friends Luke Penner (vocals/drums) and Noah St Hilaire (bass).

Read
Yesterday at 3:00 AM CDT

Puzzles Palace

1 minute read Monday, Jul. 27, 2026

To solve our puzzles, please subscribe with this special offer: |

The true costs of your pet — for everyone

Jerry Storie 5 minute read Preview

The true costs of your pet — for everyone

Jerry Storie 5 minute read Yesterday at 2:00 AM CDT

Pets are a problem, but few will discuss the downsides of pet ownership.

Read
Yesterday at 2:00 AM CDT

Jefferson, face of the Bombers defensive line, shares game day routine

Taylor Allen 8 minute read Preview

Jefferson, face of the Bombers defensive line, shares game day routine

Taylor Allen 8 minute read Yesterday at 5:48 PM CDT

Clearly, Willie Jefferson’s game-day routine works wonders.

The future Hall of Famer is still as dominant as ever at age 35 and is currently tied for the CFL lead with six sacks.

But what does the lead-up to kickoff at Princess Auto Stadium typically look like for the face of the Winnipeg Blue Bombers’ defence?

The Free Press had a lengthy chat with the defensive end before the bye week to find out.

Read
Yesterday at 5:48 PM CDT

Venezuela: unfinished business for the U.S.

Gwynne Dyer 5 minute read 2:01 AM CDT

Experienced imperialists understand that you can’t just take over a country and expect it to run itself. It takes time and work to turn it into an obedient and profitable colony and two months is not enough. Donald Trump moved on to his next target too soon and given how Iran’s been working out for him, he probably hasn’t thought of Venezuela in months.

U.S. Secretary of State Marco Rubio, who acts as Trump’s viceroy for Venezuela, hasn’t been there since the U.S. kidnapped President Nicolás Maduro and his wife in January. (In fact, he may never have been there at all — I can find no evidence of it.) But he does think about Venezuela. In fact, he controls the country very tightly from his Washington office.

He and Trump’s choice for interim president, Delcy Rodríguez, talk online every day, we are told. (She was the vice-president under Maduro, so she was the obvious choice if Trump wanted a local collaborator with supporters in the army and the secret police.) Rubio collects the government’s income and he tells her what she can spend her share on.

It’s an awkward arrangement, because the cabinet is still the core Chavista leaders, minus only Maduro himself. Trump thinks Rodríguez is a “terrific person” and doesn’t worry about elections: Venezuelans “wouldn’t even know how to have an election right now.” But Rubio understands that they really do expect an election to be part of the “transition.”