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.SheafCohomology.Projective.DominantFunctionField |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.FiniteFlatChartModule |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.NormalSectionsIn |
| 4 | import Mathlib.RingTheory.IntegralClosure.IntegralRestrict |
| 5 | |
| 6 | /-! # Finite Function Field -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.FiniteFunctionField.Dimension |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual function-field extension of a finite dominant map is finite, with compatible affine scalar towers. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X Y : Scheme.{u}} [IsIntegral X] [IsIntegral Y] |
| 19 | |
| 20 | @[instance_reducible] |
| 21 | def dominantSectionFunctionFieldAlgebra (f : X ⟶ Y) [IsDominant f] |
| 22 | (U : Y.Opens) [Nonempty U] : Algebra Γ(Y, U) X.functionField := |
| 23 | ((DominantFunctionField.Dimension.dominantFunctionFieldMap f).hom.comp (Y.germToFunctionField U).hom).toAlgebra |
| 24 | |
| 25 | theorem dominantSectionFunctionField_tower (f : X ⟶ Y) [IsDominant f] |
| 26 | (U : Y.Opens) [Nonempty U] : |
| 27 | letI := DominantFunctionField.Dimension.dominantFunctionFieldAlgebra f |
| 28 | letI := dominantSectionFunctionFieldAlgebra f U |
| 29 | IsScalarTower Γ(Y, U) Y.functionField X.functionField := by |
| 30 | let := DominantFunctionField.Dimension.dominantFunctionFieldAlgebra f |
| 31 | let := dominantSectionFunctionFieldAlgebra f U |
| 32 | apply IsScalarTower.of_algebraMap_eq' |
| 33 | rfl |
| 34 | |
| 35 | theorem dominantPreimageSectionFunctionField_tower (f : X ⟶ Y) [IsDominant f] |
| 36 | (U : Y.Opens) [Nonempty U] [Nonempty (f ⁻¹ᵁ U)] : |
| 37 | letI := FiniteFlatChartModule.Dimension.affinePreimageSectionAlgebra f U |
| 38 | letI := dominantSectionFunctionFieldAlgebra f U |
| 39 | IsScalarTower Γ(Y, U) Γ(X, f ⁻¹ᵁ U) X.functionField := by |
| 40 | let := FiniteFlatChartModule.Dimension.affinePreimageSectionAlgebra f U |
| 41 | let := dominantSectionFunctionFieldAlgebra f U |
| 42 | apply IsScalarTower.of_algebraMap_eq' |
| 43 | exact congrArg CommRingCat.Hom.hom (DominantFunctionField.Dimension.dominantFunctionFieldMap_germ f U) |
| 44 | |
| 45 | theorem finite_dominant_functionField_finite |
| 46 | (f : X ⟶ Y) [IsFinite f] [IsDominant f] |
| 47 | (hX : ∀ x : X, IsIntegrallyClosed (X.presheaf.stalk x)) |
| 48 | (U : Y.Opens) (hU : IsAffineOpen U) [Nonempty U] [Nonempty (f ⁻¹ᵁ U)] : |
| 49 | letI := DominantFunctionField.Dimension.dominantFunctionFieldAlgebra f |
| 50 | Module.Finite Y.functionField X.functionField := by |
| 51 | let := DominantFunctionField.Dimension.dominantFunctionFieldAlgebra f |
| 52 | let := FiniteFlatChartModule.Dimension.affinePreimageSectionAlgebra f U |
| 53 | let := dominantSectionFunctionFieldAlgebra f U |
| 54 | have := dominantSectionFunctionField_tower f U |
| 55 | have := dominantPreimageSectionFunctionField_tower f U |
| 56 | have := functionField_isFractionRing_of_isAffineOpen Y U hU |
| 57 | have := functionField_isFractionRing_of_isAffineOpen X (f ⁻¹ᵁ U) (hU.preimage f) |
| 58 | have := FiniteFlatChartModule.Dimension.affinePreimageSectionModule_finite f U hU |
| 59 | have := Quotients.FiniteDescent.NormalSectionsIn.Construction.NormalSections.affine hX (f ⁻¹ᵁ U) (hU.preimage f) |
| 60 | have : IsIntegralClosure Γ(X, f ⁻¹ᵁ U) Γ(Y, U) X.functionField := |
| 61 | IsIntegralClosure.of_isIntegrallyClosed _ _ _ |
| 62 | have : Algebra.IsAlgebraic Y.functionField X.functionField := |
| 63 | isAlgebraic_of_isFractionRing Γ(Y, U) Γ(X, f ⁻¹ᵁ U) Y.functionField X.functionField |
| 64 | have : IsLocalization (Algebra.algebraMapSubmonoid Γ(X, f ⁻¹ᵁ U) (nonZeroDivisors Γ(Y, U))) |
| 65 | X.functionField := |
| 66 | IsIntegralClosure.isLocalization Γ(Y, U) Y.functionField X.functionField Γ(X, f ⁻¹ᵁ U) |
| 67 | exact Module.Finite.of_isLocalization Γ(Y, U) Γ(X, f ⁻¹ᵁ U) (nonZeroDivisors Γ(Y, U)) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.FiniteFunctionField.Dimension |