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.OverMorphisms |
| 2 | |
| 3 | /-! # Over Functoriality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.OverFunctoriality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The coordinate-algebra maps preserve identities and reverse composition of affine scheme maps. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable (R : Type u) [CommRing R] |
| 16 | |
| 17 | theorem affineOverMap_id (X : Over (Spec (.of R))) [IsAffine X.left] : |
| 18 | OverMorphisms.affineOverMap R (𝟙 X) = AlgHom.id R (OverChartPoints.affineOverAlgebra R X) := by |
| 19 | simp [OverMorphisms.affineOverMap] |
| 20 | |
| 21 | theorem affineOverMap_comp |
| 22 | {X Y Z : Over (Spec (.of R))} [IsAffine X.left] [IsAffine Y.left] [IsAffine Z.left] |
| 23 | (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 24 | OverMorphisms.affineOverMap R (f ≫ g) = (OverMorphisms.affineOverMap R f).comp (OverMorphisms.affineOverMap R g) := by |
| 25 | have he : ((OverChartPoints.affineOverIso R X).inv ≫ f ≫ (OverChartPoints.affineOverIso R Y).hom) ≫ |
| 26 | ((OverChartPoints.affineOverIso R Y).inv ≫ g ≫ (OverChartPoints.affineOverIso R Z).hom) = |
| 27 | (OverChartPoints.affineOverIso R X).inv ≫ (f ≫ g) ≫ (OverChartPoints.affineOverIso R Z).hom := by |
| 28 | simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 29 | have h := (algSpec.fullyFaithful (R := CommRingCat.of R)).preimage_comp |
| 30 | ((OverChartPoints.affineOverIso R X).inv ≫ f ≫ (OverChartPoints.affineOverIso R Y).hom) |
| 31 | ((OverChartPoints.affineOverIso R Y).inv ≫ g ≫ (OverChartPoints.affineOverIso R Z).hom) |
| 32 | rw [he] at h |
| 33 | exact congrArg (fun k => k.unop.hom) h |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.OverFunctoriality |