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.HilbertConstruction.Affine.CoordinateFunctor |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraSchemeDiagrams |
| 3 | |
| 4 | /-! # Coordinate Diagram Iso -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoordinateDiagramIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The affine coordinate presentations give a natural isomorphism of entire affine diagrams. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | theorem affineOverIso_natural (C : Type u) [CommRing C] |
| 17 | {X Y : Over (Spec (.of C))} [IsAffine X.left] [IsAffine Y.left] (f : X ⟶ Y) : |
| 18 | f ≫ (OverChartPoints.affineOverIso C Y).hom = (OverChartPoints.affineOverIso C X).hom ≫ |
| 19 | (algSpec (.of C)).map (CommAlgCat.ofHom |
| 20 | (X := ↥(OverChartPoints.affineOverAlgebra C Y)) (Y := ↥(OverChartPoints.affineOverAlgebra C X)) (OverMorphisms.affineOverMap C f)).op := by |
| 21 | let ex : X.left ⟶ Spec (.of (OverChartPoints.affineOverAlgebra C X)) := (OverChartPoints.affineOverIso C X).hom.left |
| 22 | let dx : Spec (.of (OverChartPoints.affineOverAlgebra C X)) ⟶ X.left := (OverChartPoints.affineOverIso C X).inv.left |
| 23 | let ey : Y.left ⟶ Spec (.of (OverChartPoints.affineOverAlgebra C Y)) := (OverChartPoints.affineOverIso C Y).hom.left |
| 24 | have he : ex ≫ dx = 𝟙 X.left := congrArg (fun k => k.left) (OverChartPoints.affineOverIso C X).hom_inv_id |
| 25 | have hf : Spec.map (CommRingCat.ofHom (OverMorphisms.affineOverMap C f).toRingHom) = dx ≫ f.left ≫ ey := |
| 26 | OverMorphisms.affineOverMap_spec C f |
| 27 | apply Over.OverMorphism.ext |
| 28 | change f.left ≫ ey = ex ≫ Spec.map (CommRingCat.ofHom (OverMorphisms.affineOverMap C f).toRingHom) |
| 29 | rw [hf, ← Category.assoc, he, Category.id_comp] |
| 30 | |
| 31 | def affineCoordinateDiagramIso (C : Type u) [CommRing C] |
| 32 | {J : Type v} [Category.{w} J] (F : J ⥤ Over (Spec (.of C))) |
| 33 | [∀ i, IsAffine (F.obj i).left] : F ≅ AlgebraSchemeDiagrams.algebraSchemeDiagram C (CoordinateFunctor.affineCoordinateFunctor C F) := |
| 34 | NatIso.ofComponents (fun i => OverChartPoints.affineOverIso C (F.obj i)) (fun h => affineOverIso_natural C (F.map h)) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoordinateDiagramIso |