Grilled Cheese

ExploreLog inSign up

Sebastian Ullrich

@kha.functional.cafe.ap.brid.gy

1 Following35 Followers

makes Lean at Lean FRO

Munich, Germany

[bridged from https://functional.cafe/@kha on the fediverse by https://fed.brid.gy/ ]

PostsRepliesMedia
@kha.functional.cafe.ap.brid.gyOct 9, 2026, 10:49 AM

I only just realized they did not offer any cinnamon powder so that's one obvious improvement right there

@kha.functional.cafe.ap.brid.gyOct 9, 2026, 10:44 AM

@pervognsen That sounds amazing. We even have a dedicated Pastel café in Munich but i don't think they have that

@kha.functional.cafe.ap.brid.gyOct 9, 2026, 10:05 AM

My mind cannot conceive of a better break. Please tell me about yours!

Pastel de nata and Matcha Flat White (less milk, more matcha) at Matcha Lab, Munich
@damienwise.aus.social.ap.brid.gyOct 8, 2026, 12:57 AMReposted by @kha.functional.cafe.ap.brid.gy

Vale Margaret Hamilton.
She was a Software Engineer.
She was the _first_ Software Engineer because she defined the term, Software Engineering:
"When I first came up with the term, no one had heard of it before, at least in our world. It was an ongoing joke for a […]

[Original post on aus.social]

A B&W photo of a person standing next to a stack of printed paper as high as the top of their head. This is Margaret Hamilton, at work as a Software Engineer and the leader of a team of extremely specialised programmers who worked for NASA. The photo was taken in 1969, and it shows a physical form if her work since she joined the Apollo project in 1965 (she joined at the age of 29 by my calculation). My interpretation of the expression on her face is a mix of pride and mild amusement.  She has glasses, long, straight hair, and neat office attire. Margaret Hamilton has her hands placed gently on the stack of printouts to keep it all balanced upright. The pages appear to be arranged in bundles, ranging from 8-10 centimetres thick, to 20cm thick or more. The resulting stack of printouts is physically impressive for being an unusual feat, and it represents something even more impressive: it's the printed form of the source-code she and the team she led wrote for the NASA Apollo project. Their software ran on the Apollo Guidance Computer that was that on board each Apollo command module and Apollo Lunar Module. The Apollo Guidance Computer onboard the Eagle was an essential flight instrument for Neil Armstrong when he piloted the craft to land on the surface of the moon.
@kha.functional.cafe.ap.brid.gySep 13, 2026, 3:39 PM

wavy

@kha.functional.cafe.ap.brid.gySep 11, 2026, 2:22 PM

Some 6 months after I adapted Mathlib to the module system, Mathlib will soon start warning any dependent libraries that have not yet adopted it. This will allow them to make more ambitious refactorings (e.g. https://github.com/leanprover-community/mathlib4/pull/38198) enabled by the module […]

@kha.functional.cafe.ap.brid.gySep 10, 2026, 9:03 AM

Summer is over, time for even more tea

@kha.functional.cafe.ap.brid.gySep 6, 2026, 3:48 PM

Sunday updates:

* extending the approach to 1000 modules worked well/even better; see screenshot 1
* Fable is now struggling through extending it to 10k modules (1/6th of the entire project), not unexpectedly both build times and edge cases are blowing […]

[Original post on functional.cafe]

https://leanprover.zulipchat.com/#narrow/channel/416277-FLT/topic/Anthropic.20formalization.3A.20code.20analyses/near/621955721modules 59,300
CPU time 788,017 s (218.9 CPU-hours)
instructions 3.14 x 101
wall, main run 10,463 s (2 h 54 min)
peak memory 451 GiB, largest single process 39.3 GB
@kha.functional.cafe.ap.brid.gySep 6, 2026, 10:38 AM

Today I learned that you can just rent an AMD EPYC Genoa 9554P with 64 cores and 768GB RAM at $1.78/hr. That's crazy. ...well, you no longer can, at this particular provider, because I took the last one

@kha.functional.cafe.ap.brid.gySep 6, 2026, 6:45 AM

@soaproot Thanks, that definitely works better on other platforms...

@kha.functional.cafe.ap.brid.gySep 5, 2026, 2:22 PM

I'm going to pause here for now because thinking about 60k modules apparently gave me quite a headache. Meanwhile Fable decided to take a peek at the slowest file in the cone and figured out a two-line shortcut instance that saves about as much in relative […]

[Original post on functional.cafe]

@kha.functional.cafe.ap.brid.gySep 5, 2026, 1:15 PM

Grand total table of our work so far, posted at https://leanprover.zulipchat.com/#narrow/channel/416277-FLT/topic/Anthropic.20formalization.3A.20code.20analyses/with/621906329

@kha.functional.cafe.ap.brid.gySep 5, 2026, 1:01 PM

`import Mathlib` is a great way to start development on a module because it gives you everything, including invisible parts like registered simp theorems, out of the box without having to hunt for specific imports. But once development has become more stable, it only makes sense to minimize […]

@kha.functional.cafe.ap.brid.gySep 5, 2026, 11:21 AM

I don't have a clear answer to the sys time collapse specifically, so Fable's guess is as good as mine: "the wrapper modules formed wide waves of short-lived processes all faulting in the same Mathlib mappings at once, and that contention, not the wrappers' own work, was most of the sys time". I […]

@kha.functional.cafe.ap.brid.gySep 5, 2026, 11:18 AM

So far we have still kept the file splits as is; but when the proof file is imported only privately into only one other module, there really is not much need to keep it around as a separate file. So let's merge them (https://github.com/Kha/fermats-last-theorem/commit/22cb0fd6)!

Again a few […]

@kha.functional.cafe.ap.brid.gySep 5, 2026, 10:51 AM

The Modulize.lean port so far really is naive: it keeps all existing `import` directives at `public` i.e. transitively available in all downstream modules, matching non-module system semantics. But building on it, we can quite easily express something the Prove2Me paper alluded to but could not […]

@kha.functional.cafe.ap.brid.gySep 5, 2026, 10:24 AM

I should highlight that one limitation of our 100-modules cone is that Mathlib size dominates it by almost two orders of magnitude while the full build is one OOM larger than Mathlib. So any effects on Mathlib importing will have outsized impact compared to importing between local modules in […]

@kha.functional.cafe.ap.brid.gySep 5, 2026, 10:20 AM

Ok, let's talk about those statement/proof splits: as the paper describes, this is because "Lean recompiles the entire downstream cone whenever a module changes, even for a proof-only edit". Now, if you are following recent Lean, you might know this is no longer actually true: the module system […]

@kha.functional.cafe.ap.brid.gySep 5, 2026, 9:41 AM

The low degree of parallelism is perhaps not too surprising for this small cone of the project when looking at the concrete `lake build` output: `Def_ModularCurve_CharLFrobeniusGeomLevel` alone takes about 55s, half as long as the entire build. Haven't looked at what intra-file parallelism looks […]

@kha.functional.cafe.ap.brid.gySep 5, 2026, 9:38 AM

Now I haven't tried to build the entire repo yet. The readme says it took them 5hrs+ and 153GB RAM using 96 jobs, so let's maybe start with something smaller. Assuming Mathlib is already built, the following will build exactly 100 FLT modules: lake build P2M.Sol […]

Older posts
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-12 04:31:30 EDT