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.Divisors.LineBundles.GenericFieldComposition |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.Normalization |
| 3 | |
| 4 | /-! # Function Fields -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.FunctionFields.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: finite dominant morphisms induce finite actual function-field extensions |
| 12 | -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | universe u |
| 17 | variable {X Y : Scheme.{u}} [IsIntegral X] [IsIntegral Y] |
| 18 | |
| 19 | theorem finiteMorphism_functionField_finite (f : X ⟶ Y) [IsFinite f] |
| 20 | (hη : f (genericPoint X) = genericPoint Y) : |
| 21 | letI := (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη).hom.toAlgebra |
| 22 | Module.Finite Y.functionField X.functionField := by |
| 23 | let := (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη).hom.toAlgebra |
| 24 | let y := genericPoint Y |
| 25 | let U : Y.Opens := (Y.affineCover.f (Y.affineCover.idx y)).opensRange |
| 26 | have hU : IsAffineOpen U := isAffineOpen_opensRange (Y.affineCover.f _) |
| 27 | let : Nonempty U := ⟨⟨y, Y.affineCover.covers y⟩⟩ |
| 28 | let : Nonempty (f ⁻¹ᵁ U) := ⟨⟨genericPoint X, by |
| 29 | change f (genericPoint X) ∈ U |
| 30 | rw [hη] |
| 31 | exact Y.affineCover.covers y⟩⟩ |
| 32 | let A := Γ(Y, U) |
| 33 | let B := Γ(X, f ⁻¹ᵁ U) |
| 34 | let : Algebra A B := (f.app U).hom.toAlgebra |
| 35 | let : Module.Finite A B := f.finite_app U hU |
| 36 | let := functionField_isFractionRing_of_isAffineOpen Y U hU |
| 37 | let := functionField_isFractionRing_of_isAffineOpen X (f ⁻¹ᵁ U) (hU.preimage f) |
| 38 | let : Algebra A X.functionField := |
| 39 | ((Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη).hom.comp (Y.germToFunctionField U).hom).toAlgebra |
| 40 | let : IsScalarTower A Y.functionField X.functionField := IsScalarTower.of_algebraMap_eq' rfl |
| 41 | let : IsScalarTower A B X.functionField := IsScalarTower.of_algebraMap_eq' |
| 42 | (congrArg CommRingCat.Hom.hom (Deformation.FunctionField.BundleCycles.genericFieldMap_germOn f hη U)) |
| 43 | have hi : Function.Injective (algebraMap A X.functionField) := |
| 44 | (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη).hom.injective.comp (Y.germToFunctionField_injective U) |
| 45 | exact IntersectionTheory.ProjectionFormula.Finite.Normalization.finite_fraction_extension A B Y.functionField X.functionField hi |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.FunctionFields.BundleCycles |