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.IntersectionTheory.ProjectionFormula.Projective.LinearCut |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.HomogeneousCoordinateMap |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.Finite |
| 4 | |
| 5 | /-! # Finite Projective -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.FiniteProjective |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Every smooth projective m-dimensional presentation admits an |
| 14 | actual finite linear projection to projective m-space, constructed from |
| 15 | m+1 homogeneous linear forms with no common zero on the presentation. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 20 | |
| 21 | theorem exists_coordinates (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 22 | [SmoothOfRelativeDimension m X.structureMap] : |
| 23 | ∃ f : Foundations.Scheme.ProjectiveSpace.projectiveGrading m →+*ᵍ Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension, |
| 24 | (∀ z : ℂ, f (MvPolynomial.C z) = MvPolynomial.C z) ∧ |
| 25 | ∀ x : X.carrier, X.embedding x ∈ Projective.BasicOpen.RationalProjection.domain f := by |
| 26 | obtain ⟨L, hL, hav⟩ := Projective.LinearCut.exists_no_common_zero X m |
| 27 | refine ⟨HomogeneousCoordinateMap.ofForms L hL, HomogeneousCoordinateMap.ofForms_C L hL, ?_⟩ |
| 28 | intro x |
| 29 | obtain ⟨j, hj⟩ := hav x |
| 30 | apply Opens.mem_iSup.mpr |
| 31 | refine ⟨j, ?_⟩ |
| 32 | change HomogeneousCoordinateMap.ofForms L hL (MvPolynomial.X j) ∉ |
| 33 | (X.embedding x).asHomogeneousIdeal |
| 34 | rwa [HomogeneousCoordinateMap.ofForms_X] |
| 35 | |
| 36 | theorem exists_finite_projection (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 37 | [SmoothOfRelativeDimension m X.structureMap] : |
| 38 | ∃ π : X.carrier ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace m, |
| 39 | π ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m = X.structureMap ∧ IsFinite π := by |
| 40 | obtain ⟨f, hC, hav⟩ := exists_coordinates X m |
| 41 | refine ⟨Projective.ProjectionRestriction.projection f X.embedding hav, ?_, |
| 42 | Projective.Finite.Projection.isFinite f X.embedding hav hC⟩ |
| 43 | rw [Projective.ProjectionRestriction.over_base f X.embedding hav hC, X.embedding_over] |
| 44 | |
| 45 | end |
| 46 | |
| 47 | /-! The finite projection associated to a specified tuple of |
| 48 | homogeneous linear forms with no common zero. -/ |
| 49 | |
| 50 | set_option backward.isDefEq.respectTransparency false |
| 51 | |
| 52 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 53 | |
| 54 | namespace FromForms |
| 55 | |
| 56 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 57 | (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1) |
| 58 | (h : ∀ x : X.carrier, ∃ a, (L a).val ∉ (X.embedding x).asHomogeneousIdeal) |
| 59 | |
| 60 | def coordinates : Foundations.Scheme.ProjectiveSpace.projectiveGrading m →+*ᵍ Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension := |
| 61 | HomogeneousCoordinateMap.ofForms (fun a => (L a).val) (fun a => (L a).property) |
| 62 | |
| 63 | theorem constants (c : ℂ) : coordinates X m L (MvPolynomial.C c) = MvPolynomial.C c := |
| 64 | HomogeneousCoordinateMap.ofForms_C _ _ c |
| 65 | |
| 66 | theorem coordinate (a : Fin (m + 1)) : coordinates X m L (MvPolynomial.X a) = (L a).val := |
| 67 | HomogeneousCoordinateMap.ofForms_X _ _ a |
| 68 | |
| 69 | include h in |
| 70 | theorem in_domain (x : X.carrier) : X.embedding x ∈ Projective.BasicOpen.RationalProjection.domain (coordinates X m L) := by |
| 71 | obtain ⟨a, ha⟩ := h x |
| 72 | apply Opens.mem_iSup.mpr |
| 73 | refine ⟨a, ?_⟩ |
| 74 | change coordinates X m L (MvPolynomial.X a) ∉ (X.embedding x).asHomogeneousIdeal |
| 75 | rwa [coordinate] |
| 76 | |
| 77 | def map : X.carrier ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace m := |
| 78 | Projective.ProjectionRestriction.projection (coordinates X m L) X.embedding (in_domain X m L h) |
| 79 | |
| 80 | theorem over_base : map X m L h ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m = X.structureMap := by |
| 81 | rw [map, Projective.ProjectionRestriction.over_base _ _ _ (constants X m L), X.embedding_over] |
| 82 | |
| 83 | instance finite : IsFinite (map X m L h) := |
| 84 | Projective.Finite.Projection.isFinite _ _ _ (constants X m L) |
| 85 | |
| 86 | end FromForms |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.FiniteProjective |