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.CoordinateBlockForms |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.PointIdeal |
| 3 | |
| 4 | /-! # Coordinate Block -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoordinateBlock |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Projection through a coordinate embedding agrees pointwise with |
| 11 | projection by the restricted linear forms, on exactly the same domain. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | namespace Projection |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.ConeSupport OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projective.BasicOpen.RationalProjection |
| 21 | |
| 22 | variable {m n r : ℕ} (j : Fin (m + 1) → Fin (n + 1)) (hj : Function.Injective j) |
| 23 | (L : Fin (r + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) |
| 24 | |
| 25 | theorem mem_domain (x : Foundations.Scheme.ProjectiveSpace.projectiveSpace m) : |
| 26 | CoordinateBlockMap.map j hj x ∈ Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L) ↔ |
| 27 | x ∈ Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates (fun a => CoordinateBlockForms.restrict j (L a))) := by |
| 28 | simp only [Projective.BasicOpen.RationalProjection.domain, Opens.mem_iSup, Projective.BasicOpen.RationalProjection.coordinateOpen, Proj.mem_basicOpen] |
| 29 | change (∃ a, CoordinateBlockMap.graded j (Projective.ConeSupport.coordinates L (MvPolynomial.X a)) ∉ x.asHomogeneousIdeal) ↔ |
| 30 | ∃ a, Projective.ConeSupport.coordinates (fun a => CoordinateBlockForms.restrict j (L a)) (MvPolynomial.X a) ∉ x.asHomogeneousIdeal |
| 31 | apply exists_congr |
| 32 | intro a |
| 33 | exact (congrArg (fun p : Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing m => p ∉ x.asHomogeneousIdeal) |
| 34 | (DFunLike.congr_fun (CoordinateBlockForms.compose j L) (MvPolynomial.X a))).to_iff |
| 35 | |
| 36 | theorem point {S : Scheme} (i : S ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace m) |
| 37 | (hbig : ∀ x, (i ≫ CoordinateBlockMap.map j hj) x ∈ Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates L)) |
| 38 | (hsmall : ∀ x, i x ∈ Projective.BasicOpen.RationalProjection.domain (Projective.ConeSupport.coordinates (fun a => CoordinateBlockForms.restrict j (L a)))) |
| 39 | (x : S) : |
| 40 | Projective.ProjectionRestriction.projection (Projective.ConeSupport.coordinates L) (i ≫ CoordinateBlockMap.map j hj) hbig x = |
| 41 | Projective.ProjectionRestriction.projection (Projective.ConeSupport.coordinates (fun a => CoordinateBlockForms.restrict j (L a))) i hsmall x := by |
| 42 | apply ProjectiveSpectrum.ext |
| 43 | have hbig' := Projection.PointIdeal.ideal (Projective.ConeSupport.coordinates L) (i ≫ CoordinateBlockMap.map j hj) hbig |
| 44 | (HomogeneousCoordinateMap.ofForms_C _ _) x |
| 45 | have hsmall' := Projection.PointIdeal.ideal (Projective.ConeSupport.coordinates (fun a => CoordinateBlockForms.restrict j (L a))) i hsmall |
| 46 | (HomogeneousCoordinateMap.ofForms_C _ _) x |
| 47 | refine hbig'.trans (Eq.trans ?_ hsmall'.symm) |
| 48 | change ((i x).asHomogeneousIdeal.comap (CoordinateBlockMap.graded j)).comap (Projective.ConeSupport.coordinates L) = |
| 49 | (i x).asHomogeneousIdeal.comap (Projective.ConeSupport.coordinates (fun a => CoordinateBlockForms.restrict j (L a))) |
| 50 | have he := congrArg (fun f : Foundations.Scheme.ProjectiveSpace.projectiveGrading r →+*ᵍ Foundations.Scheme.ProjectiveSpace.projectiveGrading m => (i x).asHomogeneousIdeal.comap f) |
| 51 | (CoordinateBlockForms.compose j L) |
| 52 | exact he |
| 53 | |
| 54 | end Projection |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoordinateBlock |