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.CycleClass.Thom.Diagonal.Support |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalSupportKernel |
| 3 | |
| 4 | /-! # Open Neighborhood -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenNeighborhood.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An affine open in the original variety gives a genuine open in |
| 11 | its projective self-product. The original diagonal support and its |
| 12 | actual stalk ideal restrict to the affine diagonal. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Support.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalSupportKernel.Constructions |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ImageStalkKernel.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Open.StalkSupport.Constructions |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (j : X ⟶ V.toOver) |
| 23 | |
| 24 | def productOpenMap : pullback X.hom X.hom ⟶ (Ambient.Constructions.productVariety V V).carrier := |
| 25 | pullback.map X.hom X.hom V.structureMap V.structureMap j.left j.left (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) |
| 26 | (by rw [Category.comp_id]; exact j.w.symm) |
| 27 | (by rw [Category.comp_id]; exact j.w.symm) |
| 28 | |
| 29 | instance productOpenMap_open [IsOpenImmersion j.left] : IsOpenImmersion (productOpenMap V X j) := by |
| 30 | unfold productOpenMap |
| 31 | infer_instance |
| 32 | |
| 33 | @[reassoc] |
| 34 | theorem diagonal_productOpenMap : |
| 35 | pullback.diagonal X.hom ≫ productOpenMap V X j = j.left ≫ (Ambient.Constructions.diagonal V).left := by |
| 36 | apply pullback.hom_ext <;> simp [productOpenMap, Ambient.Constructions.diagonal, Category.assoc] |
| 37 | |
| 38 | theorem diagonal_point (x : X.left) : |
| 39 | productOpenMap V X j (pullback.diagonal X.hom x) = (Ambient.Constructions.diagonal V).left (j.left x) := |
| 40 | congrArg (fun f : X.left ⟶ (Ambient.Constructions.productVariety V V).carrier => f x) (diagonal_productOpenMap V X j) |
| 41 | |
| 42 | variable [IsAffine X.left] [IsIntegral X.left] [IsOpenImmersion j.left] |
| 43 | |
| 44 | local instance : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier) |
| 45 | |
| 46 | theorem diagonal_genericPoint : |
| 47 | productOpenMap V X j (IntersectionGeometry.supportPoint (Affine.DiagonalSupportKernel.Constructions.geometricDiagonalSupport X)) = |
| 48 | IntersectionGeometry.supportPoint (Support.Constructions.diagonalClosedSupport V) := by |
| 49 | unfold Affine.DiagonalSupportKernel.Constructions.geometricDiagonalSupport Support.Constructions.diagonalClosedSupport |
| 50 | rw [Closed.ImageStalkKernel.Constructions.imageClosure_genericPoint, Closed.ImageStalkKernel.Constructions.imageClosure_genericPoint, diagonal_point] |
| 51 | exact congrArg (Ambient.Constructions.diagonal V).left (genericPoint_eq_of_isOpenImmersion j.left) |
| 52 | |
| 53 | omit [IsAffine X.left] [IsIntegral X.left] [IsOpenImmersion j.left] in |
| 54 | theorem diagonal_mem (x : X.left) : productOpenMap V X j (pullback.diagonal X.hom x) ∈ |
| 55 | (Support.Constructions.diagonalClosedSupport V : Set (Ambient.Constructions.productVariety V V).carrier) := by |
| 56 | rw [Support.Constructions.diagonalClosedSupport_coe, diagonal_point] |
| 57 | exact ⟨j.left x, rfl⟩ |
| 58 | |
| 59 | theorem diagonal_kernel_map (x : X.left) : |
| 60 | (StalkPrimeQuotient.Constructions.kernelPrime (Ambient.Constructions.productVariety V V).carrier (Support.Constructions.diagonalClosedSupport V) |
| 61 | (productOpenMap V X j (pullback.diagonal X.hom x)) (diagonal_mem V X j x)).asIdeal.map |
| 62 | ((productOpenMap V X j).stalkMap (pullback.diagonal X.hom x)).hom = |
| 63 | (StalkPrimeQuotient.Constructions.kernelPrime (pullback X.hom X.hom) (Affine.DiagonalSupportKernel.Constructions.geometricDiagonalSupport X) |
| 64 | (pullback.diagonal X.hom x) (Affine.DiagonalSupportKernel.Constructions.geometric_point_mem X x)).asIdeal := |
| 65 | Open.StalkSupport.Constructions.kernelPrime_map (productOpenMap V X j) (Affine.DiagonalSupportKernel.Constructions.geometricDiagonalSupport X) (Support.Constructions.diagonalClosedSupport V) |
| 66 | (diagonal_genericPoint V X j) (pullback.diagonal X.hom x) (Affine.DiagonalSupportKernel.Constructions.geometric_point_mem X x) |
| 67 | (diagonal_mem V X j x) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenNeighborhood.Constructions |