Zulip Chat Archive
Stream: general
Topic: Discussion for v4.14.0 and v4.15.0-rc1
Filippo A. E. Nuccio (Dec 12 2024 at 14:34):
Thanks @Kyle Miller for 5528, I have long been hoping to see this.
Jireh Loreaux (Dec 12 2024 at 15:00):
@Kyle Miller Regarding lean4#5528, Junyan just posted there the same confusion I had upon reading your comment:
Dot notation doesn't work when
x
is a function, so(@x).f
isn't useful as an interpretation.
Yes, it does?
import Mathlib.Logic.Function.Defs
variable {α β} (f : α → β)
#check f.Injective
Jireh Loreaux (Dec 12 2024 at 15:02):
(discussion thread for #announce > v4.14.0 and v4.15.0-rc1)
Floris van Doorn (Dec 12 2024 at 16:57):
I agree with the sentiment of Kyle's point though. Implicit arguments are (almost) exclusively used for dependent arguments, and declarations in the Function
namespace are almost exclusively used for nondependent functions, so the (@x).foo
is rarely useful.
Notification Bot (Dec 12 2024 at 16:58):
2 messages were moved here from #announce > v4.14.0 and v4.15.0-rc1 by Floris van Doorn.
Kyle Miller (Dec 12 2024 at 20:12):
Yeah, that's what I was thinking about @Floris van Doorn. I meant "doesn't work" as in "dot notation for functions is generally broken". docs#Function.swap is an example that fails (lean4#1629).
Kim Morrison (Dec 15 2024 at 22:22):
Just a heads up that v4.15.0 and v4.16.0-rc1 will be slightly delayed by our holiday schedules, don't expect these until about Jan 5.
Last updated: May 02 2025 at 03:31 UTC