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.Smooth.Order |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.UniversallyOpen |
| 3 | |
| 4 | /-! # Generic Field -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.GenericField |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The generic field map of a smooth morphism is the actual generic |
| 11 | stalk map. Divisor points over the generic point contribute zero order. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.Order |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem genericPoint_image {X Y : Scheme.{u}} [IsIntegral X] [IsIntegral Y] |
| 20 | (f : X ⟶ Y) [Smooth f] : f (genericPoint X) = genericPoint Y := by |
| 21 | apply ((genericPoint_spec Y).eq _).symm |
| 22 | convert! (genericPoint_spec X).image f.continuous |
| 23 | symm |
| 24 | rw [← Set.univ_subset_iff] |
| 25 | have ho : IsOpen (Set.range f) := by simpa only [Set.image_univ] using f.isOpenMap Set.univ isOpen_univ |
| 26 | convert! subset_closure_inter_of_isPreirreducible_of_isOpen _ ho _ |
| 27 | · rw [Set.univ_inter, Set.image_univ] |
| 28 | · exact PreirreducibleSpace.isPreirreducible_univ (X := Y) |
| 29 | · exact ⟨f (genericPoint X), trivial, Set.mem_range_self _⟩ |
| 30 | |
| 31 | def fieldMap {X Y : Scheme.{u}} [IsIntegral X] [IsIntegral Y] |
| 32 | (f : X ⟶ Y) [Smooth f] : Y.functionField ⟶ X.functionField := |
| 33 | Cycles.Functoriality.FunctionFields.Construction.genericFieldMap f (genericPoint_image f) |
| 34 | |
| 35 | theorem ord_generic_image {X Y : Scheme.{u}} [IsIntegral X] [IsIntegral Y] |
| 36 | [IsLocallyNoetherian X] (f : X ⟶ Y) [Smooth f] |
| 37 | (x : X) (hx : coheight x = 1) (hy : f x = genericPoint Y) (g : Y.functionField) : |
| 38 | X.ord (fieldMap f g) x = 0 := by |
| 39 | by_cases hg : g = 0 |
| 40 | · subst g |
| 41 | simp only [map_zero, Scheme.ord_zero, Pi.zero_apply] |
| 42 | let R := Y.presheaf.stalk (f x) |
| 43 | let S := X.presheaf.stalk x |
| 44 | have hf : IsField R := by |
| 45 | change IsField (Y.presheaf.stalk (f x)) |
| 46 | rw [hy] |
| 47 | exact Field.toIsField Y.functionField |
| 48 | obtain ⟨a, ha⟩ := (IsFractionRing.surjective_iff_isField (R := R) (K := Y.functionField)).mpr hf g |
| 49 | have ha0 : a ≠ 0 := by intro h; apply hg; rw [← ha, h, map_zero] |
| 50 | have hau : IsUnit a := by |
| 51 | let := hf.toField |
| 52 | exact isUnit_iff_ne_zero.mpr ha0 |
| 53 | have he : fieldMap f g = algebraMap S X.functionField (f.stalkMap x a) := by |
| 54 | rw [← ha] |
| 55 | exact Divisor.DivisorRestriction.genericFieldMap_stalk f (genericPoint_image f) x a |
| 56 | let : Ring.KrullDimLE 1 S := krullDimLE_of_coheight_le hx.le |
| 57 | rw [he, Scheme.ord_eq_ordHom_of_coheight_eq_one hx] |
| 58 | change WithZero.log (Ring.ordFrac S (algebraMap S X.functionField (f.stalkMap x a))) = 0 |
| 59 | rw [Ring.ordFrac_of_isUnit (hau.map (f.stalkMap x).hom)] |
| 60 | rfl |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.GenericField |