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.Comparison.Betti.ImageExtensionSquare |
| 2 | |
| 3 | /-! # Adjoint Integer Extension -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.AdjointIntegerExtension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual inverse-image adjoint commutes with the canonical extension from nonnegative to integer degrees. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) |
| 14 | {K : CochainComplex (ConstantSheafSections.ComplexSheaves X) ℕ} {L : CochainComplex (ConstantSheafSections.ComplexSheaves Y) ℕ} |
| 15 | (α : K ⟶ ((TopologicalSheafPullback.sheafDirectImage f).mapHomologicalComplex (.up ℕ)).obj L) |
| 16 | |
| 17 | def nonnegativeDirectImageAdjointComplexMap : |
| 18 | ((TopologicalSheafPullback.sheafInverseImage f).mapHomologicalComplex (.up ℕ)).obj K ⟶ L := |
| 19 | ((Complex.Adjunction.onComplexes (TopologicalSheafPullback.sheafImageAdjunction f) (.up ℕ)).homEquiv K L).symm α |
| 20 | |
| 21 | theorem directImageAdjointComplexMap_extend : |
| 22 | ImageAdjointNaturality.directImageAdjointComplexMap f (ImageExtensionSquare.extendDirectImageComplexMap f α) = |
| 23 | (Complex.Extension.mapExtendIso (TopologicalSheafPullback.sheafInverseImage f) |
| 24 | (ComplexShape.embeddingUpIntGE 0) K).hom ≫ |
| 25 | HomologicalComplex.extendMap (nonnegativeDirectImageAdjointComplexMap f α) |
| 26 | (ComplexShape.embeddingUpIntGE 0) := by |
| 27 | apply HomologicalComplex.Hom.ext |
| 28 | funext i |
| 29 | change ((TopologicalSheafPullback.sheafImageAdjunction f).homEquiv |
| 30 | (HomologicalComplex.extend.X K ((ComplexShape.embeddingUpIntGE 0).r i)) |
| 31 | (HomologicalComplex.extend.X L ((ComplexShape.embeddingUpIntGE 0).r i))).symm |
| 32 | (HomologicalComplex.extend.mapX α ((ComplexShape.embeddingUpIntGE 0).r i) ≫ |
| 33 | (Complex.Extension.mapXIso (TopologicalSheafPullback.sheafDirectImage f) L ((ComplexShape.embeddingUpIntGE 0).r i)).inv) = |
| 34 | (Complex.Extension.mapXIso (TopologicalSheafPullback.sheafInverseImage f) K ((ComplexShape.embeddingUpIntGE 0).r i)).hom ≫ |
| 35 | HomologicalComplex.extend.mapX (nonnegativeDirectImageAdjointComplexMap f α) |
| 36 | ((ComplexShape.embeddingUpIntGE 0).r i) |
| 37 | generalize (ComplexShape.embeddingUpIntGE 0).r i = o |
| 38 | cases o with |
| 39 | | none => exact ((TopologicalSheafPullback.sheafInverseImage f).map_isZero (isZero_zero (ConstantSheafSections.ComplexSheaves X))).eq_of_src _ _ |
| 40 | | some n => |
| 41 | change ((TopologicalSheafPullback.sheafImageAdjunction f).homEquiv (K.X n) (L.X n)).symm (α.f n ≫ 𝟙 _) = |
| 42 | 𝟙 _ ≫ ((TopologicalSheafPullback.sheafImageAdjunction f).homEquiv (K.X n) (L.X n)).symm (α.f n) |
| 43 | erw [Category.comp_id, Category.id_comp] |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.Comparison.Betti.AdjointIntegerExtension |