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.IntersectionTheory.ProjectionFormula.Relative.NormalizationStalks |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.FractionField |
| 3 | |
| 4 | /-! # Normalization Stalk Fields -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.NormalizationStalkFields |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual localized relative-normalization map preserves the chosen |
| 11 | extension-field coordinates on rational functions. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.Normalization OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.NormalizationFields |
| 18 | NormalizationCharts NormalizationStalks |
| 19 | |
| 20 | attribute [local instance] NormalizationStalks.sectionAlgebra NormalizationStalks.stalkAlgebra |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable (Y : Scheme.{u}) [IsIntegral Y] (L : Type u) [Field L] [Algebra Y.functionField L] |
| 25 | (U : Y.Opens) (hU : IsAffineOpen U) [Nonempty U] (y : U) |
| 26 | |
| 27 | theorem chartGenericMap_comp : |
| 28 | Spec.map (CommRingCat.ofHom (algebraMap (integralClosure Γ(Y, U) L) L)) ≫ |
| 29 | NormalizationCharts.chartMap Y L U hU = NormalizationFields.toRelativeNormalization Y L := by |
| 30 | have h := IsAffineOpen.SpecMap_appLE_fromSpec (NormalizationFields.toRelativeNormalization Y L) |
| 31 | (hU.preimage (Normalization.relativeNormalizationMap Y L)) (isAffineOpen_top _) |
| 32 | (NormalizationFields.toRelativeNormalization_preimage Y L U).ge |
| 33 | rw [IsAffineOpen.fromSpec_top, Iso.eq_inv_comp, Scheme.isoSpec_Spec_hom] at h |
| 34 | rw [NormalizationCharts.chartMap, ← Spec.map_comp_assoc, ← NormalizationFields.toRelativeNormalization_app Y L U hU] |
| 35 | simpa only [Spec.map_comp_assoc] using h |
| 36 | |
| 37 | theorem stalkGenericMap_comp : |
| 38 | Spec.map (CommRingCat.ofHom (algebraMap (integralClosure (Y.presheaf.stalk y) L) L)) ≫ |
| 39 | NormalizationStalks.stalkMap Y L U hU y = NormalizationFields.toRelativeNormalization Y L := by |
| 40 | rw [NormalizationStalks.stalkMap, ← Spec.map_comp_assoc] |
| 41 | exact chartGenericMap_comp Y L U hU |
| 42 | |
| 43 | def stalkFieldMap : (Normalization.relativeNormalization Y L).functionField ⟶ |
| 44 | (Spec (.of (integralClosure (Y.presheaf.stalk y) L))).functionField := |
| 45 | Cycles.Functoriality.FunctionFields.Construction.genericFieldMap (NormalizationStalks.stalkMap Y L U hU y) (NormalizationStalks.stalkMap_genericPoint Y L U hU y) |
| 46 | |
| 47 | instance : IsIso (stalkFieldMap Y L U hU y) := by |
| 48 | let := NormalizationStalks.stalkMap_stalkMap_isIso Y L U hU y |
| 49 | (genericPoint (Spec (.of (integralClosure (Y.presheaf.stalk y) L)))) |
| 50 | unfold stalkFieldMap Cycles.Functoriality.FunctionFields.Construction.genericFieldMap |
| 51 | infer_instance |
| 52 | |
| 53 | variable [Module.Finite Y.functionField L] |
| 54 | |
| 55 | /-- Local and global rational functions have exactly the same image in |
| 56 | the specified extension field. -/ |
| 57 | theorem stalkFieldMap_square : |
| 58 | letI : IsFractionRing (integralClosure (Y.presheaf.stalk y) L) L := |
| 59 | integralClosure.isFractionRing_of_finite_extension Y.functionField L |
| 60 | stalkFieldMap Y L U hU y ≫ |
| 61 | (Affine.FractionField.fieldIso (integralClosure (Y.presheaf.stalk y) L) L).hom = |
| 62 | (NormalizationFields.relativeFunctionFieldIso Y L).hom := by |
| 63 | let D := integralClosure (Y.presheaf.stalk y) L |
| 64 | let : IsFractionRing D L := integralClosure.isFractionRing_of_finite_extension Y.functionField L |
| 65 | have h := Generic.Fields.genericFieldMap_comp |
| 66 | (Spec.map (CommRingCat.ofHom (algebraMap D L))) (NormalizationStalks.stalkMap Y L U hU y) |
| 67 | (Affine.FractionField.genericMap_genericPoint D L) (NormalizationStalks.stalkMap_genericPoint Y L U hU y) |
| 68 | have hc := Generic.Fields.genericFieldMap_congr (stalkGenericMap_comp Y L U hU y) |
| 69 | ((congrArg (NormalizationStalks.stalkMap Y L U hU y) (Affine.FractionField.genericMap_genericPoint D L)).trans |
| 70 | (NormalizationStalks.stalkMap_genericPoint Y L U hU y)) (NormalizationFields.toRelativeNormalization_genericPoint Y L) |
| 71 | rw [hc, Affine.FractionField.genericMap_fieldMap] at h |
| 72 | have he := congrArg (fun t : (Normalization.relativeNormalization Y L).functionField ⟶ |
| 73 | (Spec (.of L)).functionField => t ≫ (SpecField.fieldIso L).inv) h |
| 74 | simp only [Category.assoc, Iso.hom_inv_id, Category.comp_id] at he |
| 75 | ext a |
| 76 | exact congrArg (fun t : (Normalization.relativeNormalization Y L).functionField ⟶ CommRingCat.of L => t a) he.symm |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.NormalizationStalkFields |