projective-line (CC5): the Riemann sphere ℙ¹ := OnePoint ℂ #
API summary (see docs/design/projective-line.md). Everything lives in namespace RS.P1 unless
noted; open scoped RS.P1 for the notation ℙ¹ := OnePoint ℂ (doc-only, no challenge statement
needs it).
- Inversion (
Inversion.lean):inversion : OnePoint ℂ → OnePoint ℂ(z ↦ z⁻¹,∞ ↦ 0,0 ↦ ∞),inversion_involutive,inversion_eq_infty_iff,continuous_inversion,inversionHomeomorph : OnePoint ℂ ≃ₜ OnePoint ℂ. - Charts (
Charts.lean):coeChart/invChart : OpenPartialHomeomorph (OnePoint ℂ) ℂ(junkcoeChart ∞ = 0,invChartunconditionally↑z ↦ z⁻¹);instChartedSpace : ChartedSpace ℂ (OnePoint ℂ)andinstIsManifold : IsManifold 𝓘(ℂ) ω (OnePoint ℂ); simp factschartAt_coe,chartAt_infty,atlas_eq,coeChart_mem_maximalAtlas/invChart_mem_maximalAtlas; basepoints viaNontrivial (OnePoint ℂ);CompactSpace/T2Space/ConnectedSpace/no-isolated-points instances (allinferInstance, guarded byexamples). - Holomorphy transfer kit (
Holomorphy.lean, standing variable{Z} [ChartedSpace ℂ Z] [IsManifold 𝓘(ℂ) ω Z], no compactness/connectedness):contMDiff_coe(ℂ → ℙ¹holomorphic),ContMDiffAt.onePointCoe/ContMDiff.onePointCoe(no-poles lift), the chart-iff lemmascontMDiffAt_iff_analyticAt_of_ne_infty/_of_eq_infty, the pole constructorcontMDiffAt_of_pole(planar; the pre-ℳ Xatom for meromorphic-and-divisors), the conversemeromorphicAt_coeChart_comp, andcontMDiff_inversion/inversionDiffeomorph(inversion is a biholomorphic involution). - Sphere (
Sphere.lean):homeoSphere : OnePoint ℂ ≃ₜ Metric.sphere (0 : EuclideanSpace ℝ (Fin 3)) 1— the exact sphere model used by the challenge'sgenus_eq_zero_iff_homeo. - Genus zero (
GenusZero.lean):form1_eq_zero,Subsingleton (RS.Form1 (OnePoint ℂ)),finrank_form1, and the root-levelRS.genus_onePoint : genus (OnePoint ℂ) = 0.
Downstream consumers: genus-zero-headline (homeoSphere + RS.genus_onePoint + the standing
instances), mapping-degree/meromorphic-trace (the chart API + inversionDiffeomorph +
basepoints), meromorphic-and-divisors (contMDiffAt_of_pole + ContMDiffAt.onePointCoe as the
two atoms for the future ℳ.toP1 bridge, junk-value contract coeChart ∞ = 0).
The Riemann sphere, as the one-point compactification of ℂ.
Equations
- RS.P1.«termℙ¹» = Lean.ParserDescr.node `RS.P1.«termℙ¹» 1024 (Lean.ParserDescr.symbol "ℙ¹")