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.TensorDiagramIso |
| 2 | |
| 3 | /-! # Tensor Coordinate Iso -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.TensorCoordinateIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An isomorphism of base-changed affine diagrams gives compatible isomorphisms of their tensor coordinate algebras. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable {C R : Type u} [CommRing C] [CommRing R] [Algebra C R] |
| 16 | variable {J : Type v} [Category.{w} J] (F G : J ⥤ Over (Spec (.of C))) |
| 17 | variable [∀ i, IsAffine (F.obj i).left] [∀ i, IsAffine (G.obj i).left] |
| 18 | variable (e : F ⋙ Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C R))) ≅ |
| 19 | G ⋙ Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap C R)))) |
| 20 | |
| 21 | def affineTensorCoordinateOppositeIso : |
| 22 | (CoordinateFunctor.affineCoordinateFunctor C F ⋙ AlgebraTensorFunctor.algebraTensorFunctor C R).rightOp ≅ |
| 23 | (CoordinateFunctor.affineCoordinateFunctor C G ⋙ AlgebraTensorFunctor.algebraTensorFunctor C R).rightOp := by |
| 24 | letI := (algSpec.fullyFaithful (R := CommRingCat.of R)).full |
| 25 | letI := (algSpec.fullyFaithful (R := CommRingCat.of R)).faithful |
| 26 | exact Functor.fullyFaithfulCancelRight (algSpec (.of R)) |
| 27 | (TensorDiagramIso.affineTensorDiagramIso C R F ≪≫ e ≪≫ (TensorDiagramIso.affineTensorDiagramIso C R G).symm) |
| 28 | |
| 29 | def affineTensorCoordinateMap : |
| 30 | CoordinateFunctor.affineCoordinateFunctor C G ⋙ AlgebraTensorFunctor.algebraTensorFunctor C R ⟶ |
| 31 | CoordinateFunctor.affineCoordinateFunctor C F ⋙ AlgebraTensorFunctor.algebraTensorFunctor C R := |
| 32 | (affineTensorCoordinateOppositeIso F G e).hom.removeRightOp |
| 33 | |
| 34 | theorem affineTensorCoordinateMap_bijective (i : Jᵒᵖ) : |
| 35 | Function.Bijective ((affineTensorCoordinateMap F G e).app i).hom := |
| 36 | (CommAlgCat.algEquivOfIso ((affineTensorCoordinateOppositeIso F G e).app i.unop).unop).bijective |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.TensorCoordinateIso |