Zulip Chat Archive

Stream: general

Topic: v4.23.0


Kim Morrison (Aug 15 2025 at 11:42):

This thread can be used for discussion of the new v4.23.0-rc2 release.

Eric Wieser (Aug 15 2025 at 11:55):

From #announce > v4.23.0-rc2 @ 💬

Eric Wieser (Aug 15 2025 at 11:59):

nit: lean4#9106 was backported, so perhaps belongs in the 4.22.0 release notes and not these ones

Geoffrey Irving (Aug 15 2025 at 12:23):

Does @[unbox] work yet, or is that planned for a later release? When I last asked (a good while ago) it was waiting on the new code generator, but now that’s in.

David Renshaw (Aug 15 2025 at 12:44):

grind regression: the following proof works in v4.22.0 and not in v4.23.0-rc2. (increasing the splits threshold does not help`)

theorem foo (k m : Nat) (c : Nat → Nat)
    (hk₀ : k ≤ m)
    (h₅₀ : ∀ (a b : Nat), c a - c b = (a - b) * (a + b + 1))
    (x : Nat) : c k ≤ c (m + x) := by
  grind

edit: fixed apparently

Henrik Böving (Aug 15 2025 at 13:01):

Geoffrey Irving said:

Does @[unbox] work yet, or is that planned for a later release? When I last asked (a good while ago) it was waiting on the new code generator, but now that’s in.

It doesn't work yet

Yaël Dillies (Aug 15 2025 at 14:37):

Is it expected that the release notes contain what seems to be the first line of a code snippet, but not the rest?
image.png

Yaël Dillies (Aug 15 2025 at 14:41):

In fact, there are many many such truncated code snippets. I suspect there's something wrong with the PR description extraction

Jireh Loreaux (Aug 15 2025 at 17:13):

Kim Morrison said:

We'd like to highlight the benchmarking results for the commit that moved Mathlib to v4.23.0-rc2, which is a sea of green (including a 15% instruction count reduction overall).

Do we have any idea which changes to core are primarily responsible for this speed-up?

Yaël Dillies (Aug 15 2025 at 17:16):

It looks we know which changes to core made core faster, and one could extrapolate that the same changes might be the ones that sped mathlib up. But we can't know for sure since each individual change wasn't benchmarked against mathlib

Jireh Loreaux (Aug 15 2025 at 17:17):

Sure, I understand we can't know for sure, I'm just looking for suspected culprits.

Kevin Buzzard (Aug 18 2025 at 17:36):

Someone needs to check that the commit after wasn't a sea of red :-) The speedcenter has been very noisy over the last couple of months.

Jireh Loreaux (Aug 18 2025 at 18:25):

It's normal, I checked. The speedcenter has been noisy, but not 15% noisy across Mathlib.

Michael MacLeod (Aug 19 2025 at 03:01):

Thank you to whoever made it so that jump to definition on typeclass functions also shows the instance's definition. Super helpful.

Kim Morrison (Aug 19 2025 at 04:23):

That's @Marc Huisinga to thank! It's pretty lovely, isn't it?


Last updated: Dec 20 2025 at 21:32 UTC