logoalt Hacker News

rstuart4133 • yesterday at 12:49 AM • 0 replies • view on HN

> That sounds scary and makes me question the foundations of all of this.

I'm not a mathematician, just a computer programmer who occasionally tries to read maths papers. Every time I do, I want to scream in frustration. What meaning did they assign to ω this time? What operation is this weird new 2D arrangement of dots, oversized odd-looking brackets and lines meant to impart? Where is the F12 button that takes me to the definition of their newfangled concepts?

Over and over again, you hear they stuff it up. (The Fields medallist Voevodsky, for example, turned to proof assistants after finding errors in his own published work.) Perhaps the logic didn't follow, or the operations didn't combine as they thought. Of course they didn't! If computer programmers had to get the logic perfect without type checking, we may as well be writing assembler.

You only get automated checks if you formalise your notation and languages. To do that you have to give up brevity. A simple hand-wave like "without loss of generality" can become pages of proof. The freedom to name and structure things however you damned well please disappears. It's undoubtedly harder to write that way - I'm sure every Rust programmer sometimes feels like most of their effort went into escaping a jail so they could get the job done. In return you get automated checking and a near-universal language that can be reused. And it's easier to read. The old adage that code will be read far more times than it's written applies to maths papers too.

To me, decrying the use of formal languages is at the same level as passing laws saying a car must follow a man waving a red flag, so the car doesn't scare the horses. Rewriting maths in a formal language isn't scary - it's a technological breakthrough in the productivity and accessibility of maths.