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.AlgebraTensorFunctor |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.TensorIsoNaturality |
| 4 | |
| 5 | /-! # Tensor Diagram Iso -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.TensorDiagramIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A whole tensor coordinate diagram is naturally isomorphic to the actual base-changed affine scheme diagram. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | variable (C R : Type u) [CommRing C] [CommRing R] [Algebra C R] |
| 18 | variable {J : Type v} [Category.{w} J] (F : J ⥤ Over (Spec (.of C))) |
| 19 | variable [∀ i, IsAffine (F.obj i).left] |
| 20 | |
| 21 | abbrev affineTensorDiagram : J ⥤ Over (Spec (.of R)) := |
| 22 | (CoordinateFunctor.affineCoordinateFunctor C F ⋙ AlgebraTensorFunctor.algebraTensorFunctor C R).rightOp ⋙ algSpec (.of R) |
| 23 | |
| 24 | def affineTensorDiagramIso : affineTensorDiagram C R F ≅ |
| 25 | F ⋙ Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C R))) := |
| 26 | NatIso.ofComponents (fun i => TensorOverIso.affineTensorOverIso C R (F.obj i)) |
| 27 | (fun h => TensorIsoNaturality.affineTensorOverIso_natural (F.map h)) |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.TensorDiagramIso |