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.Resolution.Blowups.Locally.ClosedImageRestriction |
| 2 | |
| 3 | /-! # Closed Open Intermediate -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.ClosedOpenIntermediate.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An intermediate closed subscheme with the exact open restriction contains that open as an open subscheme. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | def closedOpenIntermediateMap {Z W Y : Scheme.{u}} (i : Z ⟶ W) (j : W ⟶ Y) |
| 16 | (L : Y.IdealSheafData) (hL : L ≤ (i ≫ j).ker) : Z ⟶ L.subscheme := |
| 17 | (i ≫ j).toImage ≫ Scheme.IdealSheafData.inclusion hL |
| 18 | |
| 19 | theorem closedOpenIntermediateMap_over {Z W Y : Scheme.{u}} (i : Z ⟶ W) (j : W ⟶ Y) |
| 20 | (L : Y.IdealSheafData) (hL : L ≤ (i ≫ j).ker) : |
| 21 | closedOpenIntermediateMap i j L hL ≫ L.subschemeι = i ≫ j := by |
| 22 | rw [closedOpenIntermediateMap, Category.assoc, Scheme.IdealSheafData.inclusion_subschemeι] |
| 23 | exact (i ≫ j).toImage_imageι |
| 24 | |
| 25 | theorem closedOpenIntermediateMap_isPullback {Z W Y : Scheme.{u}} (i : Z ⟶ W) (j : W ⟶ Y) |
| 26 | [IsClosedImmersion i] (L : Y.IdealSheafData) (hL : L ≤ (i ≫ j).ker) |
| 27 | (he : L.comap j = i.ker) : |
| 28 | IsPullback (closedOpenIntermediateMap i j L hL) i L.subschemeι j := by |
| 29 | apply IsPullback.flip |
| 30 | apply isPullback_of_isClosedImmersion i L.subschemeι (closedOpenIntermediateMap i j L hL) j |
| 31 | (closedOpenIntermediateMap_over i j L hL).symm |
| 32 | rwa [Scheme.IdealSheafData.ker_subschemeι] |
| 33 | |
| 34 | theorem closedOpenIntermediateMap_isOpenImmersion {Z W Y : Scheme.{u}} (i : Z ⟶ W) (j : W ⟶ Y) |
| 35 | [IsClosedImmersion i] [IsOpenImmersion j] (L : Y.IdealSheafData) (hL : L ≤ (i ≫ j).ker) |
| 36 | (he : L.comap j = i.ker) : IsOpenImmersion (closedOpenIntermediateMap i j L hL) := |
| 37 | MorphismProperty.of_isPullback (P := @IsOpenImmersion) |
| 38 | (closedOpenIntermediateMap_isPullback i j L hL he).flip inferInstance |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.Resolution.Blowups.ClosedOpenIntermediate.Construction |