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.Models.SpreadingOut.Image |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 3 | |
| 4 | /-! # Graph -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.Graph.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Closed graph embeddings into products with separated schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | /-- A morphism whose composite is a preimmersion is itself a preimmersion. -/ |
| 17 | theorem preimmersion_of_comp |
| 18 | {X Y Z : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ Z) [IsPreimmersion (f ≫ g)] : |
| 19 | IsPreimmersion f where |
| 20 | isEmbedding := Topology.IsEmbedding.of_comp f.continuous g.continuous (f ≫ g).isEmbedding |
| 21 | stalkMap_surjective x := by |
| 22 | have h := (f ≫ g).stalkMap_surjective x |
| 23 | rw [Scheme.Hom.stalkMap_comp] at h |
| 24 | exact Function.Surjective.of_comp h |
| 25 | |
| 26 | /-- Closed immersions cancel a separated postcomposition. -/ |
| 27 | theorem closed_immersion_of_comp_of_separated |
| 28 | {X Y Z : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ Z) |
| 29 | [IsSeparated g] [IsClosedImmersion (f ≫ g)] : IsClosedImmersion f := by |
| 30 | have : IsPreimmersion f := preimmersion_of_comp f g |
| 31 | have : IsProper f := IsProper.of_comp f g |
| 32 | exact IsClosedImmersion.of_isPreimmersion f f.isClosedMap.isClosed_range |
| 33 | |
| 34 | /-- A closed embedding in one factor remains closed when its graph in a |
| 35 | separated second factor is added. -/ |
| 36 | theorem pullback_lift_closedImmersion_of_right |
| 37 | {W X Y S : Scheme.{u}} (f : X ⟶ S) (g : Y ⟶ S) [IsSeparated f] |
| 38 | (a : W ⟶ X) (b : W ⟶ Y) (h : a ≫ f = b ≫ g) [IsClosedImmersion b] : |
| 39 | IsClosedImmersion (pullback.lift a b h) := by |
| 40 | have : IsClosedImmersion (pullback.lift a b h ≫ pullback.snd f g) := by |
| 41 | rw [pullback.lift_snd] |
| 42 | infer_instance |
| 43 | exact closed_immersion_of_comp_of_separated _ (pullback.snd f g) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.ArithmeticGeometry.Models.SpreadingOut.Graph.Construction |