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.Affine.SupportCoordinates |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SupportKernel |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalEquations |
| 4 | |
| 5 | /-! # Diagonal Support Kernel -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalSupportKernel.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual geometric diagonal support has precisely the ideal |
| 12 | generated by the genuine polynomial coordinate-difference germs. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.ProductIs.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.ProductIs.Constructions.CoordinateMaps OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalStalk.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ImageStalkKernel.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SupportCoordinates.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SupportKernel.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalEquations.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.AlgebraDiagonalQuotient |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine X.left] [IsIntegral X.left] |
| 25 | |
| 26 | local instance : IsIso (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X) := by |
| 27 | change IsIso (Foundations.Scheme.AffineSchemeComplexPoints.affineOverIso X).hom.left |
| 28 | infer_instance |
| 29 | |
| 30 | def multiplicationMap : CommRingCat.of (Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤)) ⟶ CommRingCat.of Γ(X.left, ⊤) := |
| 31 | CommRingCat.ofHom (Algebra.TensorProduct.lmul' ℂ).toRingHom |
| 32 | |
| 33 | omit [IsIntegral X.left] in |
| 34 | theorem multiplicationMap_surjective : Function.Surjective (multiplicationMap X) := |
| 35 | TorAlgebra.AlgebraDiagonalQuotient.multiplication_surjective ℂ Γ(X.left, ⊤) |
| 36 | |
| 37 | local instance : IsClosedImmersion (Spec.map (multiplicationMap X)) := |
| 38 | IsClosedImmersion.spec_of_surjective (multiplicationMap X) (multiplicationMap_surjective X) |
| 39 | |
| 40 | def geometricDiagonalSupport : IrreducibleCloseds (pullback X.hom X.hom : Scheme) := |
| 41 | Geometric.StratumClosure.integralImageClosure (pullback.diagonal X.hom) |
| 42 | |
| 43 | def coordinateDiagonalSupport : IrreducibleCloseds (Spec (CommRingCat.of (Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤)))) := |
| 44 | Geometric.StratumClosure.integralImageClosure (Spec.map (multiplicationMap X)) |
| 45 | |
| 46 | theorem genericPoint_coordinates : |
| 47 | (ProductIs.Constructions.affineProductCoordinateIso X X).hom (IntersectionGeometry.supportPoint (geometricDiagonalSupport X)) = |
| 48 | IntersectionGeometry.supportPoint (coordinateDiagonalSupport X) := by |
| 49 | change (ProductIs.Constructions.affineProductCoordinateIso X X).hom (IntersectionGeometry.supportPoint (Geometric.StratumClosure.integralImageClosure (pullback.diagonal X.hom))) = |
| 50 | IntersectionGeometry.supportPoint (Geometric.StratumClosure.integralImageClosure (Spec.map (multiplicationMap X))) |
| 51 | rw [Closed.ImageStalkKernel.Constructions.imageClosure_genericPoint, Closed.ImageStalkKernel.Constructions.imageClosure_genericPoint] |
| 52 | have h := congrArg (fun f : X.left ⟶ Spec (CommRingCat.of (Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤))) => |
| 53 | f (genericPoint X.left)) (ProductIs.Constructions.CoordinateMaps.coordinateIso_diagonal X) |
| 54 | have hg : ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X (genericPoint X.left) = genericPoint (Spec (CommRingCat.of Γ(X.left, ⊤))) := |
| 55 | genericPoint_eq_of_isOpenImmersion (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X) |
| 56 | exact h.trans (congrArg (Spec.map (multiplicationMap X)) hg) |
| 57 | |
| 58 | omit [IsAffine X.left] in |
| 59 | theorem geometric_point_mem (x : X.left) : pullback.diagonal X.hom x ∈ |
| 60 | (geometricDiagonalSupport X : Set (pullback X.hom X.hom : Scheme)) := Closed.ImageStalkKernel.Constructions.image_mem (pullback.diagonal X.hom) x |
| 61 | |
| 62 | theorem coordinate_point_mem (x : X.left) : DiagonalStalk.Constructions.diagonalCoordinatePrime X x ∈ |
| 63 | (coordinateDiagonalSupport X : Set (Spec (CommRingCat.of (Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤))))) := |
| 64 | Closed.ImageStalkKernel.Constructions.image_mem (Spec.map (multiplicationMap X)) (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X x) |
| 65 | |
| 66 | theorem geometric_kernel_coordinates (x : X.left) : |
| 67 | ((StalkPrimeQuotient.Constructions.kernelPrime (pullback X.hom X.hom) (geometricDiagonalSupport X) (pullback.diagonal X.hom x) |
| 68 | (geometric_point_mem X x)).asIdeal).map (DiagonalStalk.Constructions.diagonalStalkIso X x).hom.hom = |
| 69 | (KaehlerDifferential.ideal ℂ Γ(X.left, ⊤)).map |
| 70 | (algebraMap (Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤)) (Localization.AtPrime (DiagonalStalk.Constructions.diagonalCoordinatePrime X x).asIdeal)) := by |
| 71 | have h := SupportCoordinates.Constructions.kernelPrime_coordinates (CommRingCat.of (Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤))) |
| 72 | (pullback X.hom X.hom) (ProductIs.Constructions.affineProductCoordinateIso X X) (geometricDiagonalSupport X) (coordinateDiagonalSupport X) |
| 73 | (genericPoint_coordinates X) (pullback.diagonal X.hom x) (geometric_point_mem X x) |
| 74 | (DiagonalStalk.Constructions.diagonalCoordinatePrime X x) (DiagonalStalk.Constructions.coordinate_diagonal_point X x) (coordinate_point_mem X x) |
| 75 | have hn := SupportKernel.Constructions.support_kernel_localization (CommRingCat.of (Γ(X.left, ⊤) ⊗[ℂ] Γ(X.left, ⊤))) |
| 76 | (CommRingCat.of Γ(X.left, ⊤)) (multiplicationMap X) (multiplicationMap_surjective X) (ProductIs.Constructions.CoordinateMaps.affineCoordinateMap X x) |
| 77 | exact h.trans hn |
| 78 | |
| 79 | variable (n : ℕ) [Algebra (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 80 | [IsScalarTower ℂ (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 81 | [Algebra.FormallyUnramified (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 82 | [IsNoetherianRing (Γ(X.left, ⊤) ⊗[MvPolynomial (Fin n) ℂ] Γ(X.left, ⊤))] |
| 83 | |
| 84 | theorem coordinateDifferenceGerms_support_ideal (x : X.left) : |
| 85 | Ideal.ofList (DiagonalEquations.Constructions.coordinateDifferenceGerms X n x) = |
| 86 | (StalkPrimeQuotient.Constructions.kernelPrime (pullback X.hom X.hom) (geometricDiagonalSupport X) (pullback.diagonal X.hom x) |
| 87 | (geometric_point_mem X x)).asIdeal := by |
| 88 | let f := (DiagonalStalk.Constructions.diagonalStalkIso X x).hom.hom |
| 89 | have he := (DiagonalEquations.Constructions.coordinateDifferenceGerms_ideal X n x).trans (geometric_kernel_coordinates X x).symm |
| 90 | exact (Ideal.relIsoOfBijective f (ConcreteCategory.bijective_of_isIso (DiagonalStalk.Constructions.diagonalStalkIso X x).hom)).symm.injective he |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalSupportKernel.Constructions |