Zulip Chat Archive
Stream: mathlib4
Topic: (Real and Complex) projective spaces
metakuntyyy (Dec 07 2025 at 04:05):
I want to learn something about projective spaces so I thought about defining the projective real line and proving that it's diffeomorphic/homeomorphic to the sphere.
I tried to find any instance of the real or complex projective space in mathlib but I couldn't find anything.
This is what I would like to start with
import Mathlib
def projectiveSpace (K : Type*) [DivisionRing K] (dim: ℕ) :=
Projectivization K (Fin (dim + 1) → K)
instance (K : Type*) [DivisionRing K] (dim: ℕ) :
TopologicalSpace (projectiveSpace K dim) := sorry
def homeomorphicRealProjectiveSpaceCircle : Homeomorph (projectiveSpace ℝ 1) Circle :=
sorry
Does anyone have some suggestions? I'd like to formalise some results from Wikipedia articles
https://en.wikipedia.org/wiki/Complex_projective_space
https://en.wikipedia.org/wiki/Real_projective_space
https://en.wikipedia.org/wiki/Projective_space
Eventually I'd like to prove some properties about homogeneous polynomials by lifting them to projective spaces.
Aaron Liu (Dec 07 2025 at 04:07):
we probably have the stereographic projection
metakuntyyy (Dec 07 2025 at 04:08):
I think we do, and I also think there is a manifold structure on the spheres.
Weiyi Wang (Dec 07 2025 at 05:21):
Is the plan to define projective space using docs#Module.Grassmannian
?
Weiyi Wang (Dec 07 2025 at 05:24):
I am also doing some elementary geometry in projective space and for now I just defined an adhoc quotient for myself
Michael Rothgang (Dec 07 2025 at 08:13):
metakuntyyy said:
I think we do, and I also think there is a manifold structure on the spheres.
Indeed we do, see e.g. docs#stereographic' and docs#EuclideanSpace.instIsManifoldSphere.
metakuntyyy (Dec 07 2025 at 08:16):
Weiyi Wang said:
Is the plan to define projective space using docs#Module.Grassmannian
?
What would the definition then be?
import Mathlib
def ProjectiveSpaceGrassmanian (R : Type*) [CommRing R] (dim: ℕ) :=
Module.Grassmannian R (Fin (dim+1) → R) 1
Michael Rothgang (Dec 07 2025 at 08:48):
See also previous zulip discussion: #maths > Projective Space
metakuntyyy (Dec 07 2025 at 09:38):
Ah I see, so @Kenny Lau is doing it in way more generality than I ever could.
Kevin Buzzard (Dec 07 2025 at 11:11):
There are two distinct questions --construction of the algebro-geometric projective space and the differential-geometric one. Neither implies the other (until we have the analyticification functor, and even then it will be some work proving that the analyticification of the algebro-geometric object is diffeomorphic to the differential geometic one). I think Kenny is concerned with the algebraic geometry construction.
Last updated: Dec 20 2025 at 21:32 UTC