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.FlatSections |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.FractionBaseChangeDomain |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.DomainFunctions |
| 4 | import Mathlib.Algebra.Category.Ring.Constructions |
| 5 | |
| 6 | /-! # Affine Field Base Change -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.AffineFieldBaseChange.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! # Completion: proper global sections after a field-valued affine base change -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (R K : Type u) [CommRing R] [Field K] [Algebra R K] [IsFractionRing R K] |
| 24 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of R)) [IsProper f] |
| 25 | |
| 26 | /-- The actual structural maps give the global-section pushout over the original base ring. -/ |
| 27 | theorem proper_fraction_sections_isPushout : |
| 28 | let g := Spec.map (CommRingCat.ofHom (algebraMap R K)) |
| 29 | IsPushout (CommRingCat.ofHom (algebraMap R K)) |
| 30 | ((Scheme.ΓSpecIso (CommRingCat.of R)).inv ≫ f.appTop) |
| 31 | ((Scheme.ΓSpecIso (CommRingCat.of K)).inv ≫ (pullback.snd f g).appTop) |
| 32 | (pullback.fst f g).appTop := by |
| 33 | let g := Spec.map (CommRingCat.ofHom (algebraMap R K)) |
| 34 | have : Flat g := (Flat.SpecMap_iff).mpr (RingHom.flat_algebraMap_iff.mpr |
| 35 | (IsLocalization.flat K (nonZeroDivisors R))) |
| 36 | exact (FlatSections.Construction.proper_flat_affine_sections_isPushout f g).flip.of_iso |
| 37 | (Scheme.ΓSpecIso (CommRingCat.of R)) (Scheme.ΓSpecIso (CommRingCat.of K)) |
| 38 | (Iso.refl _) (Iso.refl _) (by simp [g]) (by simp) (by simp [g]) (by simp [g]) |
| 39 | |
| 40 | theorem proper_fraction_globalFunctionDomain_finite [IsDomain Γ(X, ⊤)] |
| 41 | [Algebra R Γ(X, ⊤)] [FaithfulSMul R Γ(X, ⊤)] |
| 42 | (hF : CommRingCat.ofHom (algebraMap R Γ(X, ⊤)) = |
| 43 | (Scheme.ΓSpecIso (CommRingCat.of R)).inv ≫ f.appTop) : |
| 44 | Module.Finite K (K ⊗[R] Γ(X, ⊤)) := by |
| 45 | let g := Spec.map (CommRingCat.ofHom (algebraMap R K)) |
| 46 | let P := pullback f g |
| 47 | let G : CommRingCat.of K ⟶ Γ(P, ⊤) := |
| 48 | (Scheme.ΓSpecIso (CommRingCat.of K)).inv ≫ (pullback.snd f g).appTop |
| 49 | let : Algebra K Γ(P, ⊤) := G.hom.toAlgebra |
| 50 | have H : IsPushout (CommRingCat.ofHom (algebraMap R K)) |
| 51 | (CommRingCat.ofHom (algebraMap R Γ(X, ⊤))) G (pullback.fst f g).appTop := by |
| 52 | rw [hF] |
| 53 | exact proper_fraction_sections_isPushout R K f |
| 54 | let HT := CommRingCat.isPushout_tensorProduct R K Γ(X, ⊤) |
| 55 | let e : CommRingCat.of (K ⊗[R] Γ(X, ⊤)) ≅ Γ(P, ⊤) := |
| 56 | HT.isoIsPushout (CommRingCat.of K) Γ(X, ⊤) H |
| 57 | have he : CommRingCat.ofHom (algebraMap K (K ⊗[R] Γ(X, ⊤))) ≫ e.hom = G := |
| 58 | HT.inl_isoIsPushout_hom _ _ H |
| 59 | let eA : K ⊗[R] Γ(X, ⊤) ≃ₐ[K] Γ(P, ⊤) := { |
| 60 | __ := e.commRingCatIsoToRingEquiv |
| 61 | commutes' k := congrArg (fun φ : CommRingCat.of K ⟶ Γ(P, ⊤) => φ k) he } |
| 62 | have : IsDomain (K ⊗[R] Γ(X, ⊤)) := FractionBaseChangeDomain.Construction.fraction_tensor_isDomain R K Γ(X, ⊤) |
| 63 | have : IsDomain Γ(P, ⊤) := eA.symm.toRingEquiv.toMulEquiv.isDomain _ |
| 64 | have hG : G.hom.Finite := |
| 65 | (DomainFunctions.Construction.proper_globalFunctionDomain_finite K (pullback.snd f g)).comp |
| 66 | (RingHom.Finite.of_surjective _ (ConcreteCategory.bijective_of_isIso |
| 67 | (Scheme.ΓSpecIso (CommRingCat.of K)).inv).surjective) |
| 68 | have : Module.Finite K Γ(P, ⊤) := hG |
| 69 | exact Module.Finite.of_injective eA.toLinearMap eA.injective |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.AffineFieldBaseChange.Construction |