Zulip Chat Archive
Stream: maths
Topic: Grassmannians
Kenny Lau (Jun 24 2025 at 09:08):
#PR reviews > #26060 Grassmannians #26060 is Grassmannians. One issue is that the convention is to take F-submodules of V of dimension k, but this cannot be generalised, and is only valid for fields with finite dimensional subspaces. So, in EGA, Grothendieck used instead the quotients of M that are locally free with rank k.
Kenny Lau (Jun 24 2025 at 09:17):
if you follow the submodule definition, you get two problems:
- over a field F, if V is a countably infinite direct sum of F, then the submodules with dimension 1 would also look like V (after taking a chart), but (R => infinite direct sum of R) is actually not a representable functor.
- over a ring R with trivial class group, if you take R itself, then the set becomes { non-zero-divisors of R } / Rˣ, which also doesn't look really representable to me.
Calle Sönne (Jun 24 2025 at 13:38):
I think that when talking about the Grassmannian as a scheme you always interpret it to mean quotients of a certain rank. I looked quickly in both Vakil and Görtz-Wedhorn now and they both do it this way, however the numbering is different, where the quotients are of rank "k" and "n-k" respectively.
Calle Sönne (Jun 24 2025 at 13:39):
So within AG you are definitely following the convention (I mean Grothendieck did it), and when it comes to numbering I'm not sure if there exists an established convention that everyone uses. But maybe someone else knows more about this than me.
Matthew Ballard (Jun 24 2025 at 13:42):
Correctly - quotients. Informally - subspaces. Seems like there are two types here.
Kenny Lau (Jun 24 2025 at 13:42):
The previous iteration of the #mathlib4 > Grassmannians thread (2 years ago) was focused on manifolds, so naturally they followed the subspace indexing :melt:
Kenny Lau (Jun 24 2025 at 13:44):
Let me also add that if you agree with the quotient definition, then you have to use quotient indexing, because n-k makes no sense if n is infinite.
Calle Sönne (Jun 24 2025 at 13:44):
Are you just concerned about the indexing? Because then I think it just varies in the literature. But when it comes to which one you demand to be locally free (the quotient or the subspace), then only one of them gives you the right answer for schemes.
Kenny Lau (Jun 24 2025 at 13:45):
I'm not concerned about anything, I know that only the quotient definition and indexing are correct.
Kenny Lau (Jun 24 2025 at 13:46):
I just apparently have to convince everyone else as well that this is the case, despite a different convention existing when specialising in fields and finite dimensional vector spaces.
Calle Sönne (Jun 24 2025 at 13:46):
Okay but what I'm saying is that you are not even challenging the conventions, because only one of the options is correct (the one you have chosen).
Kenny Lau (Jun 24 2025 at 13:47):
The subspace convention does unfortunately exist in a lot of places
Kenny Lau (Jun 24 2025 at 13:47):
(and it is correct if you restrict to finite dimensional vector spaces over fields, which is why it is so persistent)
Calle Sönne (Jun 24 2025 at 13:48):
Yes but surely not in AG (which is where you plan to apply this anyways right)?
Kenny Lau (Jun 24 2025 at 13:48):
yes, but I still need to convince other people (e.g. @Eric Wieser )
Calle Sönne (Jun 24 2025 at 13:49):
I think your original phrasing in that docstring was confusing, because it seemed to imply that there was an existing convention that you chose to go against.
Kenny Lau (Jun 24 2025 at 13:50):
yes, there was an existing convention when people were talking about grassmannians over f.d.vec.s./field
Kenny Lau (Jun 24 2025 at 13:51):
Notice how Stacks hilariously starts with
loosely speaking parametrize k-dimensional subspaces of n-space
and then immediately follows it with
for technical reasons it is more convenient to parametrize (n−k)-dimensional quotients
(oh and yeah they only did it for the free module of rank n)
Kenny Lau (Jun 24 2025 at 13:52):
it's not "technical" or "convenient", it's just wrong to do it the other way :melt:
Calle Sönne (Jun 24 2025 at 13:52):
Okay sure but you are defining it in a more general setting, and in this setting there is only one correct option (and that is the convention).
Calle Sönne (Jun 24 2025 at 13:53):
I think no one defines the grassmannian over anything other than fields to parametrize locally free submodules.
Kenny Lau (Jun 24 2025 at 13:54):
yes, but it's also rarer to generalise grassmannians unless you're really deep into AG
Kenny Lau (Jun 24 2025 at 13:54):
people usually just stop at f.d.vec.s./field
Kenny Lau (Jun 24 2025 at 13:58):
@Calle Sönne maybe i should put something in the docstring like:?
this is different from a convention used for finite dimensional vector spaces over fields, where the k-th Grassmannian parameterises k-dimensional subspaces instead of quotients
Mario Carneiro (Jun 24 2025 at 14:01):
I don't see why this is about a battle of definitions, I just see two different definitions here
Mario Carneiro (Jun 24 2025 at 14:01):
it sounds like you want grassmannians and cograssmannians
Mario Carneiro (Jun 24 2025 at 14:01):
over an infinite dimensional vector space, wouldn't you still have 2 dimensional subspaces in it?
Kenny Lau (Jun 24 2025 at 14:02):
yes, but it's no longer representable, so it isn't a scheme
Mario Carneiro (Jun 24 2025 at 14:02):
okay?
Mario Carneiro (Jun 24 2025 at 14:02):
I have to admit I don't know what that entails
Mario Carneiro (Jun 24 2025 at 14:03):
I'm just thinking about it from a linear algebra perspective
Kenny Lau (Jun 24 2025 at 14:03):
hmm...
Kenny Lau (Jun 24 2025 at 14:11):
Mario Carneiro said:
it sounds like you want grassmannians and cograssmannians
which one are you naming the cograssmannian?
Calle Sönne (Jun 24 2025 at 14:13):
I think if someone really wants the other convention they can think about the implementation of that later. But most likely all the statements they want to prove will need to assume the ring is a field. And furthermore they can probably transfer a lot of theorems that Kenny will prove by identifying it with the AG grassmannian of the dual of the vector space they were working with.
Kenny Lau (Jun 24 2025 at 14:16):
yes, either G(k;V*), or G(n-k;V) (both are canonical)
Mario Carneiro (Jun 24 2025 at 14:18):
Kenny Lau said:
Mario Carneiro said:
it sounds like you want grassmannians and cograssmannians
which one are you naming the cograssmannian?
heh
Mario Carneiro (Jun 24 2025 at 14:19):
I think the one you are advocating for looks more co- to me
Mario Carneiro (Jun 24 2025 at 14:20):
but I am not at all an authoritative source on this, ask someone who actually works with this thing
Mario Carneiro (Jun 24 2025 at 14:21):
I do think it is telling that baby's first grassmannian is usually presented with subspaces of a vector space, not quotients
Kenny Lau (Jun 24 2025 at 14:28):
Mario Carneiro said:
but I am not at all an authoritative source on this, ask someone who actually works with this thing
An algebraic geometer would tell you the quotient, and a differential geometer would tell you the subspace
Kenny Lau (Jun 24 2025 at 14:29):
Mario Carneiro said:
I do think it is telling that baby's first grassmannian is usually presented with subspaces of a vector space, not quotients
A baby usually doesn't learn algebraic geometry
Kevin Buzzard (Jun 24 2025 at 14:30):
babies learn differential geometry first :-)
Eric Wieser (Jun 24 2025 at 15:05):
Kenny Lau said:
yes, but I still need to convince other people (e.g. Eric Wieser )
I don't want to be convinced, I wanted you to write stuff down and convince other people. Consider my opinion irrelevant now.
Andrew Yang (Jun 24 2025 at 18:34):
Some data points:
- EGA I 9.7 (2nd edition) defined to be the rank subspaces of , and to be the locally free rank quotients of (and remarked that the fiber of the scheme representing is isomorphic to
- Stacks defined (in stacks#089R) to be the locally free rank quotients of .
- The rising sea defines to be the locally free rank quotients of , and be the functor sending a scheme to the set of finitely presented, flat, closed subschemes of whose fibers look like . The claim (in 25.3.3) is represents
Kevin Buzzard (Jun 24 2025 at 19:27):
Thanks Andrew. I'm tempted to conclude that the literature is a mess and that we should do whatever is best for mathlib and then document it clearly.
Note that to make matters worse, in the classical case (finite-dimensional vector space over a field) the space of rank n subspaces is isomorphic (noncanonically in general) to the space of rank n quotients.
Kenny Lau (Jun 24 2025 at 19:53):
Ok, so let's say I write something like:
In the literature, two conventions exist:
- The k-th Grassmannian parametrises k-dimensional subspaces of a given finite dimensional vector space over a field.
- The k-th Grassmannian parametrises quotients that are locally free of rank k, of a given module over a ring.
We note that the first definition cannot be generalised beyond the stated setting, but the second definition can be generalised to arbitrary rings, and then to schemes as well, so this is the definition that we have chosen.
Note that one can recover the first definition by noting that for a finite dimensional vector space V over a field, k-dimensional subspaces of V are canonically equivalent to (n-k)-dimensional quotients of V, and also to k-dimensional quotients of V*, the dual of V.
Kenny Lau (Jun 24 2025 at 19:53):
@Kevin Buzzard would you edit anything from this description?
Kevin Buzzard (Jun 24 2025 at 19:56):
That looks great to me
Mario Carneiro (Jun 24 2025 at 20:05):
k-dimensional subspaces of V are canonically equivalent to (n-k)-dimensional quotients of V
is this true? I thought the equivalence was not canonical
Mario Carneiro (Jun 24 2025 at 20:06):
part of the reason I think there should be two definitions is because it's not really the case that one is a special case of the other
Mario Carneiro (Jun 24 2025 at 20:07):
they are equivalent only in a very high level mathematician's = sense, mathlib generally wants better defeqs than you get from this kind of embedding
Kenny Lau (Jun 24 2025 at 20:21):
Mario Carneiro said:
k-dimensional subspaces of V are canonically equivalent to (n-k)-dimensional quotients of V
is this true? I thought the equivalence was not canonical
The map in -> direction is "take the quotient", and in <- direction is "take the kernel"
Kenny Lau (Jun 24 2025 at 20:23):
Mario Carneiro said:
part of the reason I think there should be two definitions is because it's not really the case that one is a special case of the other
We're put in a bit of a difficult situation then... we can't name both Grassmannian, so one of them will have to give way for the other
Eric Wieser (Jun 24 2025 at 21:19):
AlgebraicGeometry.Grassmannian vs Module.Grassmannian?
Oliver Nash (Jun 24 2025 at 21:38):
I might also observe that differential geometers consider Grassmannians over non-commutative scalars, such as the quaternions. For example quaternionic projective space is an important model geometry exhibiting one of Berger's irreducible holonomy groups.
Kenny Lau (Jun 24 2025 at 22:06):
Eric Wieser said:
AlgebraicGeometry.GrassmannianvsModule.Grassmannian?
I would reserve both for quotient indexing, and then maybe DifferentialGeometry.Grassmannian for the subspace indexing
Kenny Lau (Jun 24 2025 at 22:08):
Mario Carneiro said:
they are equivalent only in a very high level mathematician's
=sense, mathlib generally wants better defeqs than you get from this kind of embedding
actually... they might be defeq
Kenny Lau (Jun 24 2025 at 22:09):
when people see the words "k-dimensional quotients", they think the definition is some equivalence class of surjections to R^k, but Kevin has discovered that it's way better to just record the submodule, so actually in the file, the k-th grassmannian is defined as:
@[stacks 089R] structure Grassmannian extends Submodule R M where
finite_quotient : Module.Finite R (M ⧸ toSubmodule)
projective_quotient : Projective R (M ⧸ toSubmodule)
rankAtStalk_eq : ∀ p, rankAtStalk (R := R) (M ⧸ toSubmodule) p = k
Kenny Lau (Jun 24 2025 at 22:10):
so when M is now a vector space over field F with dimension n, then abbrev DG.Grassmannian := Grassmannian F M (n-k) is now recording k-dimensional subspaces!
Kenny Lau (Jun 24 2025 at 22:12):
once you have the correct API, then nobody can even tell the difference!
def DG.Grassmannian.mk (N : Submodule F V) (hn : dim N = k) :=
theorem DG.Grassmannian.dim_eq (N : DG.Grassmannian F V k) : dim N.toSubmodul = k :=
Kenny Lau (Jun 24 2025 at 22:18):
@Mario Carneiro if you think this path is worth pursuing, I can (try to) produce a MWE to let you see what the code would actually look like
Kenny Lau (Jun 25 2025 at 09:26):
Andrew Yang said:
- EGA I 9.7 (2nd edition) defined to be the rank subspaces of , and to be the locally free rank quotients of (and remarked that the fiber of the scheme representing is isomorphic to
uh... should i introduce the notations as G^ and G_ then? :melt:
Kenny Lau (Jun 25 2025 at 09:26):
i.e. G_(k, M; R)
Kenny Lau (Jun 25 2025 at 09:34):
I have updated the docstring in #26060 and renamed it to Module.Grassmannian
Mario Carneiro (Jun 25 2025 at 10:05):
Kenny Lau said:
Andrew Yang said:
- EGA I 9.7 (2nd edition) defined to be the rank subspaces of , and to be the locally free rank quotients of (and remarked that the fiber of the scheme representing is isomorphic to
uh... should i introduce the notations as
G^andG_then? :melt:
G(n, E) and ⅁(n, E)
Kenny Lau (Jun 25 2025 at 10:13):
I'm not sure if that was a serious suggestion.
Oliver Nash (Jun 25 2025 at 10:39):
Kenny Lau said:
I have updated the docstring in #26060 and renamed it to
Module.Grassmannian
This still won't cover the quaternionic coefficients though, right?
Kenny Lau (Jun 25 2025 at 10:44):
@Oliver Nash the proposal is to define Geometry.Grassmannian in some other generality
Oliver Nash (Jun 25 2025 at 10:44):
Ah OK, so two definitions. Indeed that seemed necessary to me.
Kenny Lau (Jun 25 2025 at 10:44):
presumably in this case, I'll define it for modules over division rings (no finite dimension hypothesis)
Kenny Lau (Jun 25 2025 at 10:44):
that's why I asked about two notations too
Oliver Nash (Jun 25 2025 at 10:46):
I see. Somewhat independently, it seems a shame to need two notations. Presumably it will be very, very rare to have an argument dealing with both notions at once so I'd prefer to be able to tie the notation to whichever definition I was working on locally.
Junyan Xu (Jun 25 2025 at 12:43):
Kenny Lau said:
yes, either G(k;V*), or G(n-k;V) (both are canonical)
Let me remark there's Subspace.orderIsoFiniteCodimDim in mathlib (I added it) but we should restrict it to an Equiv between subspaces of fixed (co)dimension.
Junyan Xu (Jun 25 2025 at 13:13):
In #14686 there's also a comment
We consider the Grassmannian parametrizing
r-dimensional quotients ofVinstead of
r-dimensional subspaces ofV, because this is more natural when working over a general
ring (or scheme).
The Zulip thread is #AIM24: alg geom formalization > Grassmannians (probably not publicly accessible)
Kenny Lau said:
The previous iteration of the #mathlib4 > Grassmannians thread (2 years ago) was focused on manifolds, so naturally they followed the subspace indexing :melt:
There were also discussions at #Lean Together 2024 > Formalization of Grassmannians (recording of talk)
Michał Mrugała (Jun 25 2025 at 17:01):
@Kevin Buzzard I seem to recall there being a student at Imperial who did Grassmannians as a project this year, did anything come of it?
Kevin Buzzard (Jun 25 2025 at 17:36):
They wrote a nice project and some code which Kenny is aware of
Kevin Buzzard (Jun 25 2025 at 17:36):
They used the quotient convention btw
Antoine Chambert-Loir (Jun 25 2025 at 22:14):
Kenny Lau said:
Mario Carneiro said:
it sounds like you want grassmannians and cograssmannians
which one are you naming the cograssmannian?
The other one.
Andrew Yang (Jun 25 2025 at 22:38):
Andrew Yang said:
- The rising sea defines to be the locally free rank quotients of , and be the functor sending a scheme to the set of finitely presented, flat, closed subschemes of whose fibers look like . The claim (in 25.3.3) is represents
I Am Not a Algebraic Geometer (nor differential) but this seems to suggest rank locally free quotient sheaves correspond to dimensional subspaces geometrically? So maybe it is the same thing all along?
Kenny Lau (Jun 25 2025 at 22:39):
"geometrically" means evaluating at fields
Last updated: Dec 20 2025 at 21:32 UTC