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.Geometrically.Integral |
| 2 | import Mathlib.AlgebraicGeometry.PullbackCarrier |
| 3 | |
| 4 | /-! # Integral Open Source -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Geometric.IntegralOpenSource.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Restricting the source of a geometrically integral morphism to an open |
| 13 | that still surjects onto the base preserves geometrically integral fibers. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | theorem geometricallyIntegral_openSource {E X U : Scheme.{0}} |
| 18 | (p : E ⟶ X) [GeometricallyIntegral p] (j : U ⟶ E) [IsOpenImmersion j] |
| 19 | [Surjective (j ≫ p)] : GeometricallyIntegral (j ≫ p) := by |
| 20 | constructor |
| 21 | intro K _ t V a b h |
| 22 | have : Surjective b := MorphismProperty.of_isPullback h inferInstance |
| 23 | have : Nonempty V := by |
| 24 | obtain ⟨v, _⟩ := b.surjective (Classical.choice (inferInstance : Nonempty (Spec (.of K)))) |
| 25 | exact ⟨v⟩ |
| 26 | have : IsIntegral (pullback p t) := GeometricallyIntegral.geometrically_isIntegral |
| 27 | t (pullback.fst p t) (pullback.snd p t) (IsPullback.of_hasPullback p t) |
| 28 | let i : V ⟶ pullback p t := pullback.lift (a ≫ j) b |
| 29 | (by simpa only [Category.assoc] using h.w) |
| 30 | have ho : IsPullback a (i ≫ pullback.snd p t) (j ≫ p) t := by |
| 31 | simpa only [i, pullback.lift_snd] using h |
| 32 | have hi : IsPullback a i j (pullback.fst p t) := |
| 33 | IsPullback.of_bot ho (by simp only [i, pullback.lift_fst]) (IsPullback.of_hasPullback p t) |
| 34 | let : IsOpenImmersion i := MorphismProperty.of_isPullback hi inferInstance |
| 35 | exact isIntegral_of_isOpenImmersion i |
| 36 | |
| 37 | end |
| 38 | |
| 39 | /-! A surjective open source chart over an open base of a geometrically |
| 40 | integral morphism has geometrically integral fibers. -/ |
| 41 | |
| 42 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 43 | |
| 44 | theorem geometricallyIntegral_openSquare {E X V U : Scheme.{0}} |
| 45 | (p : E ⟶ X) [GeometricallyIntegral p] (q : V ⟶ U) [Surjective q] |
| 46 | (i : U ⟶ X) (j : V ⟶ E) [IsOpenImmersion i] [IsOpenImmersion j] |
| 47 | (h : q ≫ i = j ≫ p) : GeometricallyIntegral q := by |
| 48 | let k : V ⟶ pullback p i := pullback.lift j q h.symm |
| 49 | have hk : k ≫ pullback.fst p i = j := pullback.lift_fst _ _ _ |
| 50 | have hq : k ≫ pullback.snd p i = q := pullback.lift_snd _ _ _ |
| 51 | let : IsOpenImmersion (k ≫ pullback.fst p i) := hk.symm ▸ inferInstance |
| 52 | let : IsOpenImmersion k := IsOpenImmersion.of_comp k (pullback.fst p i) |
| 53 | let : Surjective (k ≫ pullback.snd p i) := hq.symm ▸ inferInstance |
| 54 | have H := geometricallyIntegral_openSource (pullback.snd p i) k |
| 55 | rwa [hq] at H |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Geometric.IntegralOpenSource.BundleCycles |