Subsection 5.4.1 - Universal bundles on projective space
We have two different methods in Schubert2 for producing projective spaces. We have already seen one method: build $\mathbb{P}^n$ as a Grassmannian:
|
|
In this setting, the the bundle $O(1)$ is the dual of the universal subbundle $S$.
|
|
Now, Schubert2 also comes with a built-in function abstractProjectiveSpace for making projective spaces. Using {/tt abstractProjectiveSpace} to build $\mathbb{P}^n$ is nice, because the resulting Chow ring is presented as a truncated polynomial ring in one variable, rather than as a ring with $n+1$ generators. But, be careful: this built-in actually produces the projective space of 1-quotients. For example:
|
|
|
|
For the rest of this section, we will use the flagBundle method to produce $\mathbb{P}^n$, in order to be consistent with the choices in the book.
Subsection 5.4.2
The tangent bundle to projective space comes built-in in Schubert2. It can be accessed via the tangentBundle method:
|
|
We can also produce the tangent bundle to $\mathbb{P}^n$ ourselves by using the Euler exact sequence:
|
|
|
Note how Schubert2 treats integers in a bundle computation as copies of a trivial bundle. See AbstractSheaf * AbstractSheaf and AbstractSheaf - AbstractSheaf, for example, for more information.