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.RepresentationTheory.Theta.Geometric.Picard.LocalFlatnessOverRing |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.SpecLocalizationProperties |
| 3 | import OAI.RepresentationTheory.Theta.Geometric.SpecLocalRings |
| 4 | |
| 5 | /-! # Standard Chart Picard Flatness -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.StandardChartPicardFlatness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A standard smooth chart and its actual localization supply every |
| 12 | ambient algebra hypothesis for flatness of the local Picard projection. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory KaehlerDifferential |
| 16 | |
| 17 | universe u |
| 18 | variable {K R P S : Type u} [Field K] [IsAlgClosed K] |
| 19 | [CommRing R] [CommRing P] [CommRing S] [IsLocalRing S] [IsNoetherianRing S] |
| 20 | [Algebra R P] [Algebra R S] [Algebra P S] [IsScalarTower R P S] |
| 21 | (W : Submonoid P) [IsLocalization W S] |
| 22 | (n : ℕ) [Algebra.IsStandardSmoothOfRelativeDimension n R P] |
| 23 | |
| 24 | local instance : IsLocalRing Γ(Spec (.of S), ⊤) := SpecLocalRings.specGlobal_isLocalRing S |
| 25 | local instance : IsNoetherianRing Γ(Spec (.of S), ⊤) := SpecLocalRings.specGlobal_isNoetherianRing S |
| 26 | |
| 27 | variable {A B : Over (Spec (.of K))} [GrpObj A] [IsCommMonObj A] |
| 28 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 29 | [IsLocallyNoetherian B.left] (D : AlgebraicGeometry.FormalGeometry.Completion.Rigidified.ProductLine.Construction.RigidifiedProductLine A B) |
| 30 | (γ : Spec (.of S) ⟶ Spec (.of K)) (a : Over.mk γ ⟶ B) |
| 31 | |
| 32 | local instance : IsAffine (Over.mk γ).left := inferInstanceAs (IsAffine (Spec (.of S))) |
| 33 | local instance : IsLocalRing Γ((Over.mk γ).left, ⊤) := SpecLocalRings.specGlobal_isLocalRing S |
| 34 | local instance : IsNoetherianRing Γ((Over.mk γ).left, ⊤) := SpecLocalRings.specGlobal_isNoetherianRing S |
| 35 | |
| 36 | include W in |
| 37 | theorem picard_standardLocalization_flat |
| 38 | [FormallyUnramified ((SubobjectPullbackPoints.subobjectPullback D.zeroScheme a.left).hom ≫ |
| 39 | Spec.map (CommRingCat.ofHom (algebraMap R S)))] |
| 40 | (eM : (Scheme.Modules.pullback ((AlgebraicGeometry.FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A (Over.mk γ)).hom.fiberι |
| 41 | (Local.AxisCechChart.affineLocalClosedPoint (Spec (.of S))))).obj (D.line a).sheaf ≅ |
| 42 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule ((AlgebraicGeometry.FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A (Over.mk γ)).hom.fiber |
| 43 | (Local.AxisCechChart.affineLocalClosedPoint (Spec (.of S))))) |
| 44 | (hdim : Projective.PicardLocalEquations.projectiveClosedFiberH1 (AlgebraicGeometry.FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A (Over.mk γ)).hom |
| 45 | (AlgebraicGeometry.FormalGeometry.Completion.Projective.ConstantFamily.Construction.geometricGroupFamilyProjectivePresentation A (Over.mk γ)) (D.line a) ≤ n) : |
| 46 | Flat ((SubobjectPullbackPoints.subobjectPullback D.zeroScheme a.left).hom ≫ |
| 47 | Spec.map (CommRingCat.ofHom (algebraMap R S))) := by |
| 48 | let := SpecLocalizationProperties.specGlobalAlgebra R S |
| 49 | obtain ⟨hsm, hflat, hfree, hfinite, hrank⟩ := |
| 50 | SpecLocalizationProperties.standardSmooth_spec_localization_properties (R := R) (P := P) (S := S) W n |
| 51 | have := hsm |
| 52 | have := hflat |
| 53 | have := hfree |
| 54 | have := hfinite |
| 55 | have h : |
| 56 | letI : Algebra R Γ(Spec (.of S), ⊤) := |
| 57 | (AlgebraicGeometry.FormalGeometry.Completion.Affine.BaseAlgebraPoints.Construction.globalRingPointEquiv (Spec (.of S)) (.of R) |
| 58 | (Spec.map (CommRingCat.ofHom (algebraMap R S)))).toAlgebra |
| 59 | ∀ [Algebra.FormallySmooth R Γ(Spec (.of S), ⊤)] |
| 60 | [Module.Flat R Γ(Spec (.of S), ⊤)] |
| 61 | [Module.Free Γ(Spec (.of S), ⊤) Ω[Γ(Spec (.of S), ⊤)⁄R]] |
| 62 | [Module.Finite Γ(Spec (.of S), ⊤) Ω[Γ(Spec (.of S), ⊤)⁄R]], |
| 63 | Projective.PicardLocalEquations.projectiveClosedFiberH1 (AlgebraicGeometry.FormalGeometry.Completion.Projective.ConstantFamily.Construction.tensorFamilyOver A (Over.mk γ)).hom |
| 64 | (AlgebraicGeometry.FormalGeometry.Completion.Projective.ConstantFamily.Construction.geometricGroupFamilyProjectivePresentation A (Over.mk γ)) (D.line a) ≤ |
| 65 | Module.finrank Γ(Spec (.of S), ⊤) Ω[Γ(Spec (.of S), ⊤)⁄R] → |
| 66 | Flat ((SubobjectPullbackPoints.subobjectPullback D.zeroScheme a.left).hom ≫ |
| 67 | Spec.map (CommRingCat.ofHom (algebraMap R S))) := |
| 68 | @Picard.LocalFlatnessOverRing.picard_zeroScheme_local_toSpec_flat K _ _ A B (Over.mk γ) _ _ _ _ _ _ D |
| 69 | _ _ _ a R _ (Spec.map (CommRingCat.ofHom (algebraMap R S))) _ eM |
| 70 | rw [SpecLocalizationProperties.specGlobalAlgebra_pointMap] at h |
| 71 | exact @h hsm hflat hfree hfinite (hdim.trans hrank.symm.le) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.RepresentationTheory.Theta.Geometric.StandardChartPicardFlatness |