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.ArithmeticGeometry.Descent.CMVariety.GenericSmoothNeighborhood |
| 2 | |
| 3 | /-! # Relative Generic Smooth -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.RelativeGenericSmooth.Abelian |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | A finite-presentation morphism between integral schemes is smooth at the |
| 11 | generic point when it maps generic point to generic point and the target |
| 12 | function field has characteristic zero. This handles coefficient |
| 13 | extensions over an existing arithmetic parameter. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | theorem genericPoint_mem_smoothLocus_of_generic_image |
| 19 | {X Y : Scheme} [IsIntegral X] [IsIntegral Y] [CharZero Y.functionField] |
| 20 | (f : X ⟶ Y) [LocallyOfFinitePresentation f] |
| 21 | (hf : f (genericPoint X) = genericPoint Y) : |
| 22 | genericPoint X ∈ f.smoothLocus := by |
| 23 | have := LocallyOfFiniteType.stalkMap f (genericPoint X) |
| 24 | rw [Scheme.Hom.mem_smoothLocus] |
| 25 | have hfield : IsField (Y.presheaf.stalk (f (genericPoint X))) := by |
| 26 | rw [hf] |
| 27 | exact Field.toIsField Y.functionField |
| 28 | have : CharZero (Y.presheaf.stalk (f (genericPoint X))) := by |
| 29 | rw [hf] |
| 30 | exact inferInstanceAs (CharZero Y.functionField) |
| 31 | let : Field (Y.presheaf.stalk (f (genericPoint X))) := hfield.toField |
| 32 | algebraize [(f.stalkMap (genericPoint X)).hom] |
| 33 | exact Algebra.FormallySmooth.of_perfectField |
| 34 | |
| 35 | theorem generic_complex_point_factors_through_relative_smooth_open |
| 36 | {X Y : Scheme} [IsIntegral X] [IsIntegral Y] [CharZero Y.functionField] |
| 37 | (f : X ⟶ Y) [LocallyOfFinitePresentation f] |
| 38 | (hf : f (genericPoint X) = genericPoint Y) |
| 39 | (p : Spec (CommRingCat.of ℂ) ⟶ X) |
| 40 | (hp : p (IsLocalRing.closedPoint ℂ) = genericPoint X) : |
| 41 | ∃ U : X.Opens, IsIntegral U ∧ Smooth (U.ι ≫ f) ∧ |
| 42 | ∃ q : Spec (CommRingCat.of ℂ) ⟶ U, q ≫ U.ι = p := by |
| 43 | let U := f.smoothLocus |
| 44 | have hU : genericPoint X ∈ U := genericPoint_mem_smoothLocus_of_generic_image f hf |
| 45 | let : Nonempty U := ⟨⟨genericPoint X, hU⟩⟩ |
| 46 | have hInt : IsIntegral U := isIntegral_of_isOpenImmersion U.ι |
| 47 | have hSmooth : Smooth (U.ι ≫ f) := by |
| 48 | apply Scheme.Hom.smoothLocus_eq_top_iff.mp |
| 49 | rw [← Scheme.Hom.preimage_smoothLocus_eq] |
| 50 | apply le_antisymm le_top |
| 51 | intro x _ |
| 52 | exact x.property |
| 53 | have hrange : Set.range p ⊆ Set.range U.ι := by |
| 54 | rintro z ⟨w, rfl⟩ |
| 55 | have hw : w = IsLocalRing.closedPoint ℂ := Subsingleton.elim _ _ |
| 56 | rw [hw, hp] |
| 57 | exact ⟨⟨genericPoint X, hU⟩, rfl⟩ |
| 58 | exact ⟨U, hInt, hSmooth, IsOpenImmersion.lift U.ι p hrange, IsOpenImmersion.lift_fac _ _ _⟩ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.ArithmeticGeometry.Descent.CMVariety.RelativeGenericSmooth.Abelian |