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.Divisors.LineBundles.AffineSource.ChartsPullback |
| 2 | |
| 3 | /-! # Base Change Map -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.BaseChangeMap.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A morphism over a base induces an actual cartesian morphism |
| 10 | between its two base changes. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | variable {E D X Y : Scheme.{0}} (p : E ⟶ X) (q : D ⟶ X) |
| 15 | (s : D ⟶ E) (hs : s ≫ p = q) (b : Y ⟶ X) |
| 16 | |
| 17 | def relativeBaseChangeMap : pullback q b ⟶ pullback p b := |
| 18 | pullback.lift (pullback.fst q b ≫ s) (pullback.snd q b) |
| 19 | (by rw [Category.assoc, hs, pullback.condition]) |
| 20 | |
| 21 | theorem relativeBaseChangeMap_fst : |
| 22 | relativeBaseChangeMap p q s hs b ≫ pullback.fst p b = pullback.fst q b ≫ s := |
| 23 | pullback.lift_fst _ _ _ |
| 24 | |
| 25 | theorem relativeBaseChangeMap_snd : |
| 26 | relativeBaseChangeMap p q s hs b ≫ pullback.snd p b = pullback.snd q b := |
| 27 | pullback.lift_snd _ _ _ |
| 28 | |
| 29 | theorem relativeBaseChangeMap_isPullback : |
| 30 | IsPullback (relativeBaseChangeMap p q s hs b) (pullback.fst q b) (pullback.fst p b) s := by |
| 31 | have H : IsPullback (relativeBaseChangeMap p q s hs b ≫ pullback.snd p b) |
| 32 | (pullback.fst q b) b (s ≫ p) := by |
| 33 | rw [relativeBaseChangeMap_snd, hs] |
| 34 | exact (IsPullback.of_hasPullback q b).flip |
| 35 | exact H.of_right (relativeBaseChangeMap_fst p q s hs b) (IsPullback.of_hasPullback p b).flip |
| 36 | |
| 37 | instance relativeBaseChangeMap_isClosedImmersion [IsClosedImmersion s] : |
| 38 | IsClosedImmersion (relativeBaseChangeMap p q s hs b) := |
| 39 | MorphismProperty.of_isPullback (relativeBaseChangeMap_isPullback p q s hs b).flip inferInstance |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.BaseChangeMap.BundleCycles |