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.AdditiveConstantExt |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.HomDerived |
| 3 | |
| 4 | /-! # Additive Constant Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.AdditiveConstantSections.Cech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Hom from the actual constant integers is naturally the complex of global sections. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | variable (X : TopCat.{0}) |
| 15 | |
| 16 | abbrev additiveSheaves := Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{0} |
| 17 | |
| 18 | def constantIntegerHomSectionsEquiv (F : additiveSheaves X) : |
| 19 | (AdditiveConstantExt.Cech.constantIntegers X ⟶ F) ≃+ F.obj.obj (op ⊤) := |
| 20 | (Linear.homCongr ℤ (SheafCohomology.ConstantCoefficients.Projective.constantIntegerUliftIso X) (Iso.refl F)).toAddEquiv.trans |
| 21 | (((constantSheafAdj (Opens.grothendieckTopology X) AddCommGrpCat.{0} |
| 22 | isTerminalTop).homAddEquiv _ F).trans |
| 23 | (AddCommGrpCat.uliftZMultiplesAddEquiv (F.obj.obj (op ⊤)))) |
| 24 | |
| 25 | theorem constantIntegerHomSectionsEquiv_naturality {F G : additiveSheaves X} |
| 26 | (f : AdditiveConstantExt.Cech.constantIntegers X ⟶ F) (g : F ⟶ G) : |
| 27 | constantIntegerHomSectionsEquiv X G (f ≫ g) = |
| 28 | g.hom.app (op ⊤) (constantIntegerHomSectionsEquiv X F f) := by |
| 29 | let adj := constantSheafAdj (Opens.grothendieckTopology X) AddCommGrpCat.{0} isTerminalTop |
| 30 | let e := SheafCohomology.ConstantCoefficients.Projective.constantIntegerUliftIso X |
| 31 | change (adj.homEquiv _ G (e.inv ≫ (f ≫ g))) (ULift.up 1) = |
| 32 | g.hom.app (op ⊤) ((adj.homEquiv _ F (e.inv ≫ f)) (ULift.up 1)) |
| 33 | rw [← Category.assoc, adj.homEquiv_naturality_right] |
| 34 | rfl |
| 35 | |
| 36 | def additiveGlobalSectionsComplex (K : CochainComplex (additiveSheaves X) ℤ) : |
| 37 | CochainComplex AddCommGrpCat.{0} ℤ := |
| 38 | (((sheafSections (Opens.grothendieckTopology X) AddCommGrpCat.{0}).obj (op ⊤)).mapHomologicalComplex |
| 39 | (.up ℤ)).obj K |
| 40 | |
| 41 | def constantIntegerHomSectionsComplexIso (K : CochainComplex (additiveSheaves X) ℤ) : |
| 42 | IntegerAcyclicHomComplex.Ext.integerHomComplex (AdditiveConstantExt.Cech.constantIntegers X) K ≅ additiveGlobalSectionsComplex X K := |
| 43 | HomologicalComplex.Hom.isoOfComponents |
| 44 | (fun n => (constantIntegerHomSectionsEquiv X (K.X n)).toAddCommGrpIso) |
| 45 | (fun i j _ => by |
| 46 | ext f |
| 47 | exact constantIntegerHomSectionsEquiv_naturality X f (K.d i j)) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Comparison.Betti.AdditiveConstantSections.Cech |