Zulip Chat Archive

Stream: Is there code for X?

Topic: alg_hom from intermediate_field le


Adam Topaz (Oct 27 2021 at 14:40):

If I have A B : intermediate_field K L and A ≤ B, what's the idiomatic way to construct an algebra hom (over K) from A to B? I don't see an analogue of docs#subalgebra.inclusion

Eric Wieser (Oct 27 2021 at 14:40):

Does just using subalgebra.inclusion work?

Eric Wieser (Oct 27 2021 at 14:40):

I think they might be defeq

Adam Topaz (Oct 27 2021 at 14:41):

Oh maybe

Eric Wieser (Oct 27 2021 at 14:41):

Which isn't to say it's not worth adding the def you describe

Adam Topaz (Oct 27 2021 at 14:41):

Maybe after adding to_subalgebras

Eric Wieser (Oct 27 2021 at 14:57):

As types coe_sort A.to_subalgebra and coe_sort A are defeq

Eric Wieser (Oct 27 2021 at 14:57):

But you're right, the elaborator may need help


Last updated: Dec 20 2023 at 11:08 UTC