Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SpaceReindex |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.ParameterScheme |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ParameterLoci |
| 4 | import Mathlib.Data.Fintype.EquivFin |
| 5 | |
| 6 | /-! # Projective Presentation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.ProjectivePresentation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | The constructed Grassmannian has an actual HilbertConstruction projective presentation. |
| 14 | The coordinate dimension is obtained from the finite Plücker index set. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem overIso_closedImmersion {S : Scheme.{u}} {X Y : Over S} (e : X ≅ Y) : |
| 22 | IsClosedImmersion e.hom.left := by |
| 23 | have : IsIso e.hom.left := (Over.forget S).map_isIso e.hom |
| 24 | infer_instance |
| 25 | |
| 26 | def finiteProjectiveCoordinateEquiv (σ : Type u) [Fintype σ] [Nonempty σ] : |
| 27 | σ ≃ Fin ((Fintype.card σ - 1) + 1) := |
| 28 | Fintype.equivFinOfCardEq (by |
| 29 | have h := Fintype.card_pos (α := σ) |
| 30 | omega) |
| 31 | |
| 32 | variable {ι ν : Type u} [Fintype ι] [DecidableEq ι] [Fintype ν] |
| 33 | variable [Nonempty (ι → ν)] |
| 34 | |
| 35 | /-- The finite Plücker embedding gives the standard projective presentation over any base. -/ |
| 36 | def grassmannProjectivePresentation (S : Scheme.{u}) : |
| 37 | Projective.ProjectivePresentations.ProjectivePresentation (ParameterScheme.grassmannParameterScheme (ι := ι) (ν := ν) S) where |
| 38 | dimension := Fintype.card (ι → ν) - 1 |
| 39 | embedding := ParameterScheme.grassmannParameterEmbedding S ≫ |
| 40 | (Projective.SpaceReindex.relativeProjectiveSpaceReindexIso S (finiteProjectiveCoordinateEquiv (ι → ν))).hom |
| 41 | closedImmersion := by |
| 42 | change IsClosedImmersion ((ParameterScheme.grassmannParameterEmbedding (ι := ι) (ν := ν) S).left ≫ |
| 43 | (Projective.SpaceReindex.relativeProjectiveSpaceReindexIso S (finiteProjectiveCoordinateEquiv (ι → ν))).hom.left) |
| 44 | exact @IsClosedImmersion.comp _ _ _ _ _ |
| 45 | (ParameterScheme.grassmannParameterEmbedding_isClosedImmersion S) |
| 46 | (overIso_closedImmersion _) |
| 47 | |
| 48 | def grassmannQuasiProjectivePresentation (S : Scheme.{u}) : |
| 49 | Projective.ProjectivePresentations.QuasiProjectivePresentation (ParameterScheme.grassmannParameterScheme (ι := ι) (ν := ν) S) := |
| 50 | (grassmannProjectivePresentation S).quasiProjective |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.ProjectivePresentation |