Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Projective space PkN\mathbb P^N_kPkN​ and projective kkk-schemes

Definition
WeilConjectures_projectiveSpace

by Lucas · Oct 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebraic-geometryprojective-space

For a field kkk and N≥0N\ge0N≥0, projective NNN-space is PkN=Proj⁡k[x0,…,xN]\mathbb P^N_k=\operatorname{Proj}k[x_0,\dots,x_N]PkN​=Projk[x0​,…,xN​], the polynomial ring being graded by total degree. Its structure morphism PkN→Spec⁡k\mathbb P^N_k\to\operatorname{Spec}kPkN​→Speck is the canonical map Proj⁡A→Spec⁡A0\operatorname{Proj}A\to\operatorname{Spec}A_0ProjA→SpecA0​ followed by the map induced by k→A0k\to A_0k→A0​.

A scheme XXX with a morphism f:X→Spec⁡kf:X\to\operatorname{Spec}kf:X→Speck is projective over kkk if for some NNN there is a closed immersion i:X→PkNi:X\to\mathbb P^N_ki:X→PkN​ with f=π∘if=\pi\circ if=π∘i, where π\piπ is the structure morphism.

This supplies the word "projective" in "non-singular projective variety" in the statement of the Weil conjectures, and the projective line and projective spaces of the source's examples.

Formalization Note Mathlib currently has Proj of a graded ring but no projective space or projective morphisms; this file defines projectiveSpace k N, projectiveSpace.toSpec k N and IsProjectiveOver k f, using MvPolynomial.gradedAlgebra as a local instance. Schemes live in universe 0.

Definition code
import Mathlib

/-!
Projective space `ℙ^N_k` over a field `k`, its structure morphism to `Spec k`,
and the notion of a `k`-scheme being projective (admitting a closed immersion into some
`ℙ^N_k` over `k`).
-/

namespace WeilConjectures

open AlgebraicGeometry CategoryTheory

attribute [local instance] MvPolynomial.gradedAlgebra

variable (k : Type) [Field k]

/-- Projective `N`-space over `k`: `ℙ^N_k = Proj k[x₀, …, x_N]`, where the polynomial ring
is graded by total degree. -/
noncomputable abbrev projectiveSpace (N : ℕ) : Scheme :=
  Proj (MvPolynomial.homogeneousSubmodule (Fin (N + 1)) k)

/-- The structure morphism `ℙ^N_k ⟶ Spec k`: the canonical map
`Proj A ⟶ Spec A₀` followed by `Spec A₀ ⟶ Spec k` induced by `k → A₀`. -/
noncomputable def projectiveSpace.toSpec (N : ℕ) : projectiveSpace k N ⟶ Spec (.of k) :=
  Proj.toSpecZero (MvPolynomial.homogeneousSubmodule (Fin (N + 1)) k) ≫
    Spec.map (CommRingCat.ofHom
      (algebraMap k (MvPolynomial.homogeneousSubmodule (Fin (N + 1)) k 0)))

/-- A `k`-scheme `f : X ⟶ Spec k` is projective if there is a closed immersion
`X ⟶ ℙ^N_k` over `Spec k` for some `N`. -/
def IsProjectiveOver {X : Scheme} (f : X ⟶ Spec (.of k)) : Prop :=
  ∃ (N : ℕ) (i : X ⟶ projectiveSpace k N),
    IsClosedImmersion i ∧ i ≫ projectiveSpace.toSpec k N = f

end WeilConjectures
Source
Wikipedia, "Weil conjectures", https://en.wikipedia.org/wiki/Weil_conjectures (PDF snapshot supplied by the proposer, 14 pp.), section "Statement of the Weil conjectures" ("projective algebraic variety") and section "Examples" (projective line, projective space)
Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 13, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me