Zulip Chat Archive

Stream: Is there code for X?

Topic: LinearEquiv version of LinearMap.pi


Kenny Lau (Jul 15 2025 at 11:43):

LinearMap.pi is (f : (i : ι) → M₂ →ₗ[R] φ i) : M₂ →ₗ[R] (i : ι) → φ i

but I could not for the life of me find the LinearEquiv version of this map (or even Equiv)

Kenny Lau (Jul 15 2025 at 11:44):

in maths, I want Hom(M,N)kHom(M,Nk)\operatorname{Hom}(M,N)^k \cong \operatorname{Hom}(M,N^k)

Kenny Lau (Jul 15 2025 at 12:22):

It doesn't seem like it exists, since the product for ModuleCat is actually constructed with the unbundled version...

Kenny Lau (Jul 15 2025 at 12:22):

https://github.com/leanprover-community/mathlib4/blob/507dd92b9ed9cfd43bd29d1438a458da6705d8a0/Mathlib/Algebra/Category/ModuleCat/Products.lean#L29-L32

Kenny Lau (Jul 15 2025 at 12:31):

(after consulting the standard search engines, i've finally asked GPT as well, and it also couldn't find it)

Eric Wieser (Jul 15 2025 at 12:53):

I think @Junyan Xu has this in a PR

Junyan Xu (Jul 15 2025 at 15:47):

https://github.com/leanprover-community/mathlib4/pull/25284/files#diff-c46ac565cdc0776d5d57bb78877475b7c948445a4e99c179aa9aad88dfc4ea2aR108


Last updated: Dec 20 2025 at 21:32 UTC