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.FormalGeometry.Completion.Proper.AffineFieldBaseChange |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.IntegralGenericFiniteness |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.UnramifiedSections |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.SchemeTheoreticallyDominant |
| 5 | |
| 6 | /-! # Normal Base Proper Finiteness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.NormalBaseProperFiniteness.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Completion: finiteness of proper global functions over a normal affine base |
| 14 | |
| 15 | The actual generic global functions are finite. Formal unramifiedness |
| 16 | makes their field extension separable; the trace bound then proves |
| 17 | finiteness of the original integral global function algebra. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | open scoped TensorProduct |
| 22 | |
| 23 | set_option backward.defeqAttrib.useBackward true |
| 24 | set_option backward.isDefEq.respectTransparency false |
| 25 | set_option backward.isDefEq.respectTransparency.types false |
| 26 | |
| 27 | universe u |
| 28 | |
| 29 | /-- The actual proper global section map is finite under the proved unramifiedness condition. -/ |
| 30 | theorem normal_base_proper_appTop_finite (R : Type u) [CommRing R] [IsDomain R] |
| 31 | [IsIntegrallyClosed R] [IsNoetherianRing R] {X : Scheme.{u}} |
| 32 | (f : X ⟶ Spec (CommRingCat.of R)) [IsProper f] [IsDominant f] |
| 33 | [IsDomain Γ(X, ⊤)] [FormallyUnramified f.fromNormalization] : f.appTop.hom.Finite := by |
| 34 | let F : CommRingCat.of R ⟶ Γ(X, ⊤) := (Scheme.ΓSpecIso _).inv ≫ f.appTop |
| 35 | have hI : F.hom.IsIntegral := by |
| 36 | apply RingHom.isIntegral_respectsIso.2 (e := (Scheme.ΓSpecIso _).symm.commRingCatIsoToRingEquiv) |
| 37 | exact isIntegral_appTop_of_universallyClosed f |
| 38 | have hU : F.hom.FormallyUnramified := |
| 39 | (RingHom.FormallyUnramified.of_surjective |
| 40 | (ConcreteCategory.bijective_of_isIso (Scheme.ΓSpecIso (CommRingCat.of R)).inv).surjective).comp |
| 41 | (Proper.UnramifiedSections.Construction.proper_appTop_formallyUnramified f) |
| 42 | have : IsSchemeTheoreticallyDominant f := .of_isDominant f |
| 43 | have hj : Function.Injective F := |
| 44 | (show Function.Injective f.appTop from by simpa [Scheme.Hom.appTop] using f.app_injective ⊤).comp |
| 45 | (ConcreteCategory.bijective_of_isIso (Scheme.ΓSpecIso (CommRingCat.of R)).inv).injective |
| 46 | algebraize [F.hom] |
| 47 | have : Algebra.IsIntegral R Γ(X, ⊤) := ⟨hI⟩ |
| 48 | have : Algebra.FormallyUnramified R Γ(X, ⊤) := hU |
| 49 | have : FaithfulSMul R Γ(X, ⊤) := (faithfulSMul_iff_algebraMap_injective R Γ(X, ⊤)).mpr hj |
| 50 | have : Module.Finite (FractionRing R) (FractionRing R ⊗[R] Γ(X, ⊤)) := |
| 51 | Proper.AffineFieldBaseChange.Construction.proper_fraction_globalFunctionDomain_finite R (FractionRing R) f rfl |
| 52 | have hF : F.hom.Finite := IntegralGenericFiniteness.Construction.integral_unramified_finite_of_generic_finite R (FractionRing R) Γ(X, ⊤) |
| 53 | have he : f.appTop = (Scheme.ΓSpecIso (CommRingCat.of R)).hom ≫ F := by simp [F] |
| 54 | rw [he, CommRingCat.hom_comp] |
| 55 | exact hF.comp (RingHom.Finite.of_surjective _ |
| 56 | (ConcreteCategory.bijective_of_isIso (Scheme.ΓSpecIso (CommRingCat.of R)).hom).surjective) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.NormalBaseProperFiniteness.Construction |