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 Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 2 | import Mathlib.AlgebraicGeometry.FunctionField |
| 3 | import Mathlib.Basic.Complex.Basic |
| 4 | |
| 5 | /-! # Generic Smooth Neighborhood -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.GenericSmoothNeighborhood.Abelian |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | A complex point whose arithmetic image is generic in an integral rational |
| 13 | scheme factors through a smooth open neighborhood. This uses perfection of |
| 14 | the rational field and the actual generic smooth locus. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | theorem generic_complex_point_factors_through_smooth_open |
| 20 | {X : Scheme} [IsIntegral X] |
| 21 | (f : X ⟶ Spec (CommRingCat.of ℚ)) [LocallyOfFinitePresentation f] |
| 22 | (p : Spec (CommRingCat.of ℂ) ⟶ X) |
| 23 | (hp : p (IsLocalRing.closedPoint ℂ) = genericPoint X) : |
| 24 | ∃ U : X.Opens, IsIntegral U ∧ Smooth (U.ι ≫ f) ∧ |
| 25 | ∃ q : Spec (CommRingCat.of ℂ) ⟶ U, q ≫ U.ι = p := by |
| 26 | let U := f.smoothLocus |
| 27 | have hU : genericPoint X ∈ U := f.genericPoint_mem_smoothLocus_of_perfectField |
| 28 | let : Nonempty U := ⟨⟨genericPoint X, hU⟩⟩ |
| 29 | have hInt : IsIntegral U := isIntegral_of_isOpenImmersion U.ι |
| 30 | have hSmooth : Smooth (U.ι ≫ f) := by |
| 31 | apply Scheme.Hom.smoothLocus_eq_top_iff.mp |
| 32 | rw [← Scheme.Hom.preimage_smoothLocus_eq] |
| 33 | apply le_antisymm le_top |
| 34 | intro x _ |
| 35 | exact x.property |
| 36 | have hrange : Set.range p ⊆ Set.range U.ι := by |
| 37 | rintro z ⟨w, rfl⟩ |
| 38 | have hw : w = IsLocalRing.closedPoint ℂ := Subsingleton.elim _ _ |
| 39 | rw [hw, hp] |
| 40 | exact ⟨⟨genericPoint X, hU⟩, rfl⟩ |
| 41 | exact ⟨U, hInt, hSmooth, IsOpenImmersion.lift U.ι p hrange, IsOpenImmersion.lift_fac _ _ _⟩ |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.ArithmeticGeometry.Descent.CMVariety.GenericSmoothNeighborhood.Abelian |