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.Generic.SmoothMorphism |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Etale.StalkNeighborhood |
| 3 | import OAI.AlgebraicGeometry.Cycles.Functoriality.FunctionFields |
| 4 | import Mathlib.RingTheory.Etale.Field |
| 5 | |
| 6 | /-! # Etale Morphism -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Generic.EtaleMorphism |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A dominant generically finite morphism of integral schemes in |
| 13 | characteristic zero is etale on an actual nonempty source open. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Cycles.Functoriality.FunctionFields.Construction |
| 21 | |
| 22 | variable {K : Type} [Field K] [CharZero K] {X Y : Scheme} |
| 23 | [IsIntegral X] [IsIntegral Y] (f : X ⟶ Y) [LocallyOfFinitePresentation f] |
| 24 | (g : Y ⟶ Spec (.of K)) [LocallyOfFiniteType g] |
| 25 | (hη : f (genericPoint X) = genericPoint Y) |
| 26 | (hd : Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension g = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (f ≫ g)) |
| 27 | |
| 28 | include g hη hd in |
| 29 | theorem generic_formallyEtale : (f.stalkMap (genericPoint X)).hom.FormallyEtale := by |
| 30 | let : Algebra K Y.functionField := Stalk.PointAlgebra.scalarAlgebra g (genericPoint Y) |
| 31 | let : CharZero Y.functionField := charZero_of_injective_algebraMap (algebraMap K Y.functionField).injective |
| 32 | let : Algebra Y.functionField X.functionField := (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη).hom.toAlgebra |
| 33 | let : Module.Finite Y.functionField X.functionField := Cycles.Functoriality.FunctionFields.Construction.genericField_extension_finite f hη g hd |
| 34 | have he : (Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f hη).hom.FormallyEtale := |
| 35 | Algebra.FormallyEtale.of_isSeparable Y.functionField X.functionField |
| 36 | rw [ProjectionFormula.Etale.StalkNeighborhood.ringHom_iff] at he ⊢ |
| 37 | exact ⟨(RingHom.FormallyUnramified.respectsIso.cancel_left_isIso |
| 38 | (Y.presheaf.stalkCongr (Inseparable.of_eq hη.symm)).hom (f.stalkMap (genericPoint X))).mp he.1, |
| 39 | SmoothMorphism.generic_formallySmooth f g hη⟩ |
| 40 | |
| 41 | include g hη hd in |
| 42 | theorem exists_open : ∃ U : X.Opens, genericPoint X ∈ U ∧ Etale (U.ι ≫ f) := |
| 43 | ProjectionFormula.Etale.StalkNeighborhood.exists_open f (genericPoint X) (generic_formallyEtale f g hη hd) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Generic.EtaleMorphism |