Zulip Chat Archive

Stream: Is there code for X?

Topic: vector space


Alex Kontorovich (Jul 07 2022 at 14:34):

Is there a reason the linear algebra file doesn't define vector space? I see things like

def basis.of_vector_space (K : Type u_4) (V : Type u) [division_ring K] [add_comm_group V] [module K V]

but should the division_ring, module etc be called vector_space that extends these?

Adam Topaz (Jul 07 2022 at 14:43):

This is a historical artifact. We did have a vector_space class a while ago, which was dropped. The idea is that one should always use module.

Violeta Hernández (Jul 07 2022 at 16:36):

This is also the reason while we have a lot of theorems with dim on the name that actually talk about rank

Violeta Hernández (Jul 07 2022 at 16:36):

Someone should get to doing these renames someday...

Eric Wieser (Jul 07 2022 at 17:40):

I tried to do that rename once but got stuck lost interest because of some name conflicts

Kevin Buzzard (Jul 07 2022 at 21:10):

@Anne Baanen suggested localized "notation `vector_space` := module" in vector_space here.


Last updated: Dec 20 2023 at 11:08 UTC