Zulip Chat Archive
Stream: lean4
Topic: dot notation on bundled homs
Eric Rodriguez (Mar 15 2022 at 19:02):
Has dot notation support changed in any way in Lean4? One thing that would be nice is to be able to support dot notation for ring homs, such as p.eval_ring_hom x
(p : R[X]
) or something like that, and as far as I know this is unsupported in Lean3. I did see the new dot notation that's like .inl x
, however, which seems really cool!
Kevin Buzzard (Mar 15 2022 at 19:04):
eval_ring_hom
is presumably no longer a thing in Lean 3 because Anne's new trick, right?
Eric Rodriguez (Mar 15 2022 at 19:05):
No, as far as I know it still has to exist :( what trick do you mean?
Kevin Buzzard (Mar 15 2022 at 20:32):
I just mean the ring_hom_class
Eric Rodriguez (Mar 15 2022 at 20:45):
you can't say that a specific ring_hom is an instance of ring_hom_class
, you need a type as a whole
Last updated: Dec 20 2023 at 11:08 UTC