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

Gridlock by design: no excuses for bed backlog

Jason M. Sutherland 5 minute read 2:00 AM CDT

Imagine waking up in a hospital bed and being told by a doctor that you are well enough to leave, only to discover you cannot. Not because you want to stay, but because there is nowhere safe for you to go. No home-care support, no rehabilitation space, no long-term care bed.

This is unfortunately the daily reality for thousands of Canadians.

Being stuck in a hospital bed is a crisis from coast to coast. Our acute care hospitals are functioning as wildly expensive beds for vulnerable citizens awaiting a more suitable place to take them in.

A decade ago, policymakers fretted over this exact issue. Today, despite an aging population with increasingly complex needs and higher demand for hospital beds, the crisis has only deepened.

WHO team in Wuhan departs quarantine for COVID origins study

Emily Wang Fujiyama, The Associated Press 6 minute read Preview

WHO team in Wuhan departs quarantine for COVID origins study

Emily Wang Fujiyama, The Associated Press 6 minute read Thursday, Jan. 28, 2021

WUHAN, China - A World Health Organization team emerged from quarantine in the Chinese city of Wuhan on Thursday to start field work in a fact-finding mission on the origins of the virus that caused the COVID-19 pandemic.

The researchers, who were required to isolate for 14 days after arriving in China, left their quarantine hotel with their luggage — including at least four yoga mats — in the midafternoon and headed to another hotel.

The mission has become politically charged, as China seeks to avoid blame for alleged missteps in its early response to the outbreak. A major question is where the Chinese side will allow the researchers to go and whom they will be able to talk to.

Yellow barriers blocked the entrance to the hotel, keeping the media at a distance. Before the researchers boarded their bus, workers wearing protective outfits and face shields could be seen loading their luggage, including two musical instruments and a dumbbell.

Read
Thursday, Jan. 28, 2021

Today’s horoscope

Georgia Nicols 4 minute read Preview

Today’s horoscope

Georgia Nicols 4 minute read 2:00 AM CDT

MOON ALERT: Caution! Avoid shopping or major decisions after noon today. The solar eclipse (new moon) in Leo peaks at 12:37 p.m.

ARIES (March 21-April 19)

This is the perfect time to hatch some new ideas and plans, perhaps related to vacations, your kids or an artistic project that appeals. Even though it’s a sudden decision, it might lead to more stability in the future.

TAURUS (April 20-May 20)

Read
2:00 AM CDT

Report reveals crude oil shipment amounts

Dylan Robertson 6 minute read Preview

Report reveals crude oil shipment amounts

Dylan Robertson 6 minute read Monday, Mar. 18, 2019

OTTAWA — Lord Roberts resident Bev Pike has tried for years to figure out how much oil is moving along the train tracks in her neighbourhood; it seems the number of oil tank cars has increased.

“It’s full trains that are just oil,” said Pike, who counts tank cars that bear the red 12-67 placard, which indicates crude oil. “It’s increasing dramatically; that’s what we see in this neighbourhood.”

Newly obtained data, which CN Rail fought against being publicly released, provides a rare look at just how much oil has been moving by rail in Manitoba.

CN Rail transported about 20 million barrels of crude oil from Winnipeg to northwestern Ontario over the course of 12 months five years ago, according to risk assessments the railway filed to Transport Canada.

Read
Monday, Mar. 18, 2019

Gas, travel limits in parts of B.C. after storm

Camille Bains, The Canadian Press 6 minute read Preview

Gas, travel limits in parts of B.C. after storm

Camille Bains, The Canadian Press 6 minute read Friday, Nov. 19, 2021

VANCOUVER - The British Columbia government is rationing gasoline and restricting travel in southern parts of the province after an unprecedented storm severed highways and cut supply lines.

Public Safety Minister Mike Farnworth said Friday a limit of 30 litres of fuel per visit to a gas station is an important step to maintaining the supply as the province works to bring in more gas by truck and barge from Alberta, Washington state, Oregon and California.

He said the order would apply for 10 to 11 days, and he trusts that people won't be greedy and will keep critical services in mind as they focus on residents whose communities have been devastated by flooding.

The orders apply to residents of Vancouver Island, the Gulf Islands, southwestern parts of the province and the Sunshine Coast.

Read
Friday, Nov. 19, 2021

Quiet opening fitting for controversial site

Melissa Martin 5 minute read Preview

Quiet opening fitting for controversial site

Melissa Martin 5 minute read 2:00 AM CDT

One of this city’s most loudly debated facilities — after all the angst, all the opposition and all the vocal support — began operations in the most low-key way possible.

There was none of the usual fanfare that accompanies a new social or medical offering, no news conference, no speeches. Only a quiet Tuesday, around which was woven a lot of hope, and a great deal of worry.

Winnipeg’s first supervised drug consumption site has been a long time in the making. It’s been just over two years since the province first announced it would partner with the Aboriginal Health and Wellness Centre to design and open the site; advocates had been calling for a supervised consumption facility for years.

But the launch, originally eyed for 2025, was repeatedly delayed as the province and service providers sorted out approvals and negotiated community concerns. In the meantime, the drug crisis in Winnipeg kept growing, with paramedics burdened by a skyrocketing number of overdose calls.

Read
2:00 AM CDT