frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

"Why not just use Lean?"

https://lawrencecpaulson.github.io//2026/04/23/Why_not_Lean.html
64•ibobev•1h ago

Comments

MarkusQ•36m ago
We need more of this.

For every "well of course, just...X, that's what everybody does" group-think argument there's a cogent case to be made for at least considering the alternatives. Even if you ultimately reject the alternatives and go with the crowd, you will be better off knowing the landscape.

zermelo44•33m ago
Good post! +1
kccqzy•22m ago
For the HN crowd who are generally programmers but not necessarily mathematicians, it’s more relevant to consider the programming side of things. There is a very good book (one I haven’t finished unfortunately) that covers Lean from a functional programming perspective rather than proving mathematics perspective: https://leanprover.github.io/functional_programming_in_lean/

I am learning Lean myself so forgive me as I have an overly rosy picture of it as a beginner. My current goal is to write and prove the kind of code normal programmers would write, such as in the recent lean-zip example: https://github.com/kiranandcode/lean-zip/blob/master/Zip/Nat...

smj-edison•18m ago
I think what's interesting about Lean is that Lean is a language, and what most people are talking about is a library called Mathlib. From what I've read about Mathlib, the creators are very pragmatic, which is why they encode classical logic in Lean types, with only a bit of intuitionistic logic[1].

[1] for those unfamiliar with math lingo, classical logic has a lot of powerful features. One of those is the law of the excluded middle, which says something can't be true and false at the same time. That means not not true is true, which you can't say in intuitionistic logic. Another feature is proof by contradiction, where you can prove something by showing that the alternative is unsound. There's quite a few results that depend on these techniques, so trying to do everything in intuitionistic logic has run into a lot of roadblocks.

bowsamic•14m ago
This makes it good for formal maths, but bad for philosophy, since it means it can’t encode the speculative movement
vscode-rest•13m ago
When/why would one prefer to use intuitive logic, given the limitations/roadblocks?
thaumasiotes•8m ago
For ideological reasons.
Chinjut•11m ago
You mean intuitionistic logic, not "intuitive logic".
smj-edison•3m ago
Oops, just edited. I'm still fairly new to this area, so I keep mixing up my terms :)
thaumasiotes•8m ago
> Another feature is proof by contradiction, where you can prove something by showing that the alternative is unsound.

As far as lean is concerned, this isn't an example of classical logic. It's just the definition of "not" - to say that some proposition implies a contradiction, and to say that that proposition is untrue, are the same statement.

Most "something"s that you'd want to prove this way will require a step from classical logic, but not all of them. (¬p ⟶ F) ⟶ p is classical; (p ⟶ F) ⟶ ¬p is constructive.

groundzeros2015•8m ago
Type theory and lean is more interesting to people who like computers than to people who like math.
baq•4m ago
citation needed, Tao certainly is on record using Lean and that carries some weight.

also, https://en.wikipedia.org/wiki/Curry%E2%80%93Howard_correspon... i.e. there's no reason it should be as you say.

soulofmischief•4m ago
[delayed]

Pure Business Capital Inc. Mark Shelton

https://purebusinesscapital.com/
1•purbiz•1m ago•0 comments

Fresh 2.3: Zero JavaScript by Default, View Transitions, and Temporal Support

https://deno.com/blog/fresh-2.3
1•ms7892•4m ago•0 comments

Clickup.com page source contains hardcoded Split.io API key – data leak

https://twitter.com/weezerOSINT/status/2048662702957134199
1•nazgulsenpai•5m ago•0 comments

iPhone Started with a Cold War Secret [video]

https://www.youtube.com/watch?v=tQRFnQWbrD4
1•gmays•5m ago•0 comments

Filtering YouTube Shorts from RSS Feeds

https://jarv.org/posts/newsgoat-filters/
1•Brajeshwar•5m ago•0 comments

Cost of PostgreSQL Performance Issues

https://stormatics.tech/blogs/cost-of-postgresql-performance-issues
4•ioololaa•6m ago•0 comments

ShadowStrike Phantom

1•Soocile•6m ago•0 comments

Apple is dropping AFP/TimeCapsule support in macOS 27

https://eclecticlight.co/2026/04/23/networking-changes-coming-in-macos-27/
3•pvtmert•6m ago•1 comments

Europe regulated itself into American vassalage

https://www.economist.com/europe/2026/04/22/how-europe-regulated-itself-into-american-vassalage
2•smnthermes•7m ago•1 comments

The Pentagon replicated a Ukrainian-style drone attack in Florida

https://www.defenseone.com/threats/2026/04/pentagon-ukraine-counter-drone/413087/
1•mikhael•7m ago•0 comments

Copilot silently inserts itself as a co-author in VS Code

https://github.com/orgs/community/discussions/194075
2•frabcus•7m ago•0 comments

How we use Claude Code to modernize a .NET Framework 4.8 monolith

https://tech.shipstation.com/posts/2026-03-26-ai-modernization/
1•semarj-auctane•8m ago•0 comments

Building Our Custom Wedding Website

https://adamfendley.com/2026/04/06/building-our-wedding-website.html
1•shortcrct•9m ago•0 comments

What Leopold's $5.5B portfolio reveals about powering the AI boom

https://theloadgrowth.substack.com/p/what-leopolds-55b-portfolio-reveals
3•agordhandas•10m ago•1 comments

The Woes of Sanitizing SVGs

https://muffin.ink/blog/scratch-svg-sanitization/
6•varun_ch•11m ago•0 comments

Show HN: Git-agecrypt – transparent file-level encryption for Git

https://github.com/bartei/git-agecrypt
2•bartei81•11m ago•0 comments

GPT 5.5 vs. Opus 4.7: Benchmarks Say One Thing, Reality Says Another

https://internetdecode.com/gpt-5-5-vs-opus-4-7-performance-comparison/
1•Utubepublisher•12m ago•0 comments

US Supreme Court Reviews Police Use of Cell Location Data to Find Criminals

https://www.nytimes.com/2026/04/27/us/politics/supreme-court-cell-data-geofence.html
3•unethical_ban•13m ago•0 comments

Hurl 8.0.0: run and test HTTP API with plain text

https://hurl.dev/blog/2026/04/27/announcing-hurl-8.0.0.html
2•jicea•13m ago•0 comments

Little-coder: A coding agent optimized to smaller LLMs

https://github.com/itayinbarr/little-coder
1•ThouYS•14m ago•0 comments

The First Background Agents Virtual Summit

https://background-agents.com/summit
1•sidk24•14m ago•0 comments

Show HN: I built a crypto signals platform with full 2-year transparent backtest

https://retired.today/
2•attendos•15m ago•1 comments

Usha Vance with WHCD Suspect in 2017

https://www.instagram.com/reel/DXmf0qajvWJ/
1•mandeepj•15m ago•0 comments

Every version of Scratch is vulnerable to arbitrary code execution

https://muffin.ink/blog/scratch-vulnerability-disclosure/
4•hnupe•16m ago•0 comments

Caller-as-a-Service Fraud: The Scam Economy Has a Hiring Process

https://www.bleepingcomputer.com/news/security/inside-caller-as-a-service-fraud-the-scam-economy-...
2•speckx•17m ago•0 comments

New Bitkey with a screen

https://bitkey.world/blog/meet-the-new-bitkey
1•amima•18m ago•0 comments

Toronto mobile jammers disconnect phones and block 911 calls

https://2digital.news/mobile-jammers-disconnect-thousands-of-phones-from-the-network/
4•WalterSobchak•19m ago•0 comments

Monthly Roundup #41: April 2025

https://thezvi.substack.com/p/monthly-roundup-41-april-2025
1•paulpauper•19m ago•0 comments

Google Uses Cox Ruling to Kill Last Copyright Claim in Textbook Piracy Lawsuit

https://torrentfreak.com/google-uses-cox-ruling-to-kill-last-copyright-claim-in-textbook-piracy-l...
3•Brajeshwar•19m ago•0 comments

Show HN: I built a systems programming language (Tin)

https://github.com/Azer0s/tin
1•arisim•20m ago•0 comments