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

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

Reviewed by Matt Henderson 5 minute read Preview

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

Reviewed by Matt Henderson 5 minute read Saturday, Aug. 8, 2026

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.

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

Read
Saturday, Aug. 8, 2026

Today’s horoscope

Georgia Nicols 4 minute read Preview

Today’s horoscope

Georgia Nicols 4 minute read 2:00 AM CDT

MOON ALERT: There are no restrictions to shopping or important decisions. The moon is in Scorpio.

ARIES (March 21-April 19)

Tread carefully as it’s easy to get into an argument, especially with your kids or even a romantic partner. Very likely the dispute will be about mutual expenses, shared property or perhaps differing values. Do what you can to keep the peace.

TAURUS (April 20-May 20)

Read
2:00 AM CDT

France’s envoy says Carney admired for response to ‘extremely radical’ U.S.

Dylan Robertson, The Canadian Press 4 minute read Preview

France’s envoy says Carney admired for response to ‘extremely radical’ U.S.

Dylan Robertson, The Canadian Press 4 minute read Updated: Yesterday at 9:16 AM CDT

OTTAWA - France's new ambassador to Canada says her country admires the Carney government's response to "extremely radical" American demands and is calling for swift action to boost Canada's strategic ties with Europe.

"My mission is very clear. It's to work toward making France one of Canada’s closest allies in Europe, in each field, in every sector," French Ambassador Hélène Farnaud-Defromont told The Canadian Press on Friday.

In her first interview since her posting started last month, Farnaud-Defromont said in French her country sees Prime Minister Mark Carney's approach to managing trade negotiations with U.S. President Donald Trump's administration as "exemplary."

The prime minister called a halt to trade talks with Washington in August and accused the Trump administration of bringing fresh demands to the table at the last minute. Carney also has vowed to protect Canada's language sovereignty and ability to regulate big tech firms.

Read
Updated: Yesterday at 9:16 AM CDT

Bombers beat Stamps, claim season series

1 minute read Saturday, Oct. 10, 2026

The Winnipeg Blue Bombers defeated the Calgary Stampeders 33-28 on Saturday night in front of a sell-out crowd at Princess Auto Stadium.

With the win, the Blue and Gold improve to 8-8 and bump up to fourth in the West Division standings. If the Saskatchewan Roughriders (8-7) lose to the Montreal Alouettes (12-3) on Monday, the Bombers will move up to third.

With the loss, the Stampeders drop to 8-9 and fall to fifth place which has them currently on the outside of the playoff picture.

The Bombers now just need to finish the season with at least the same record as Calgary or Saskatchewan to qualify for the post-season since they own the tiebreaker over both West Division foes.

Puerto Vallarta boards up as Hurricane Simon hits Category 4 strength

The Associated Press 3 minute read Preview

Puerto Vallarta boards up as Hurricane Simon hits Category 4 strength

The Associated Press 3 minute read Saturday, Oct. 10, 2026

PUERTO VALLARTA, Mexico (AP) — Simon has strengthened into a powerful Category 4 hurricane as it barrels toward Mexico’s coast.

The National Hurricane Center in Miami said Saturday that Simon’s maximum sustained winds increased to 150 mph (240 kph). A storm of that strength or greater is considered a major hurricane.

The center said it expected Simon “to be near or just inland” of Mexico's west-central coast on Sunday. The hurricane could bring as much as 10 to 20 inches (25-50 cm) of rain over parts of southwestern Mexico, with some areas in the states of Michoacan, Colima and Jalisco receiving up to 30 inches (76 centimeters).

“This rainfall will produce life-threatening flooding and mudslides, especially in areas of steep terrain,” the center warned in a bulletin that also urged residents to take immediate action to prepare as tropical-storm conditions were expected to arrive Saturday afternoon.

Read
Saturday, Oct. 10, 2026

Today’s horoscope

Georgia Nicols 4 minute read Preview

Today’s horoscope

Georgia Nicols 4 minute read Yesterday at 2:00 AM CDT

MOON ALERT: Avoid shopping (except food and gas) and important decisions until after 10:45 a.m. After that, the moon moves from Libra into Scorpio.

ARIES (March 21-April 19)

You have a choice. You can either get embroiled in disputes about shared property, debt, insurance issues or inheritances; or instead, relax and have a playful day featuring sporting events, social outings and fun activities with kids.

TAURUS (April 20-May 20)

Read
Yesterday at 2:00 AM CDT