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.AbelianModuli.ReferenceFamily.Affine.OpenDiagram |
| 2 | |
| 3 | /-! # Open Restrictions -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FamilyMorphism.OpenRestrictions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A family morphism restricts to every pair of original opens whose |
| 10 | image condition holds. These actual restrictions commute on smaller |
| 11 | opens, without a choice of affine coordinates or a product structure. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {S : Scheme} {X Y : Over S} (f : X ⟶ Y) |
| 16 | |
| 17 | def familyMorphismOpenRestriction (V : X.left.Opens) (W : Y.left.Opens) |
| 18 | (h : V ≤ f.left ⁻¹ᵁ W) : HilbertConstruction.Open.ParameterPoints.openParameterScheme X V ⟶ HilbertConstruction.Open.ParameterPoints.openParameterScheme Y W := |
| 19 | Over.homMk (f.left.resLE W V h) (by |
| 20 | change f.left.resLE W V h ≫ (W.ι ≫ Y.hom) = V.ι ≫ X.hom |
| 21 | rw [← Category.assoc, Scheme.Hom.resLE_comp_ι, Category.assoc, f.w]) |
| 22 | |
| 23 | theorem familyMorphismOpenRestriction_inclusion (V : X.left.Opens) (W : Y.left.Opens) |
| 24 | (h : V ≤ f.left ⁻¹ᵁ W) : |
| 25 | familyMorphismOpenRestriction f V W h ≫ HilbertConstruction.Open.ParameterPoints.openParameterInclusion Y W = |
| 26 | HilbertConstruction.Open.ParameterPoints.openParameterInclusion X V ≫ f := by |
| 27 | apply Over.OverMorphism.ext |
| 28 | exact Scheme.Hom.resLE_comp_ι _ _ |
| 29 | |
| 30 | theorem familyMorphismOpenRestriction_square {V V' : X.left.Opens} {W W' : Y.left.Opens} |
| 31 | (t : V' ≤ V) (j : W' ≤ W) (h : V ≤ f.left ⁻¹ᵁ W) (h' : V' ≤ f.left ⁻¹ᵁ W') : |
| 32 | Affine.OpenDiagram.familyOpenMap X t ≫ familyMorphismOpenRestriction f V W h = |
| 33 | familyMorphismOpenRestriction f V' W' h' ≫ Affine.OpenDiagram.familyOpenMap Y j := by |
| 34 | have : Mono (HilbertConstruction.Open.ParameterPoints.openParameterInclusion Y W) := |
| 35 | Over.mono_of_mono_left (HilbertConstruction.Open.ParameterPoints.openParameterInclusion Y W) |
| 36 | apply (cancel_mono (HilbertConstruction.Open.ParameterPoints.openParameterInclusion Y W)).mp |
| 37 | rw [Category.assoc, familyMorphismOpenRestriction_inclusion, ← Category.assoc, |
| 38 | Affine.OpenDiagram.familyOpenMap_inclusion, Category.assoc, Affine.OpenDiagram.familyOpenMap_inclusion, |
| 39 | familyMorphismOpenRestriction_inclusion] |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FamilyMorphism.OpenRestrictions |