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.DivisorClass.Chern.Cech.Obj |
| 2 | import Mathlib.Topology.Sheaves.LocalPredicate |
| 3 | import Mathlib.Topology.Sheaves.Forget |
| 4 | |
| 5 | /-! # Constant Sheaf -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Rational.ConstantSheaf.RationalCech |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual rational locally constant presheaf used by ChernClass is a sheaf. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | def locallyConstantRationalPredicate (X : TopCat.{0}) : |
| 16 | TopCat.LocalPredicate (fun _ : X => ℚ) where |
| 17 | pred f := IsLocallyConstant f |
| 18 | res i f hf := hf.comp_continuous (Opens.isOpenEmbedding_of_le i.le).continuous |
| 19 | locality f h := by |
| 20 | intro t |
| 21 | apply isOpen_iff_forall_mem_open.2 |
| 22 | intro x hx |
| 23 | obtain ⟨V, hxV, i, hV⟩ := h x |
| 24 | refine ⟨i '' ((fun y : V => f (i y)) ⁻¹' t), ?_, ?_, ?_⟩ |
| 25 | · rintro y ⟨z, hz, rfl⟩ |
| 26 | exact hz |
| 27 | · exact (Opens.isOpenEmbedding_of_le i.le).isOpenMap _ (hV t) |
| 28 | · exact ⟨⟨x, hxV⟩, hx, by ext; rfl⟩ |
| 29 | |
| 30 | def locallyConstantRationalSectionEquiv {X : TopCat.{0}} (U : Opens X) : |
| 31 | LocallyConstant U ℚ ≃ {f : U → ℚ // IsLocallyConstant f} where |
| 32 | toFun f := ⟨f, f.isLocallyConstant⟩ |
| 33 | invFun f := ⟨f.1, f.2⟩ |
| 34 | left_inv f := by cases f; rfl |
| 35 | right_inv f := by cases f; rfl |
| 36 | |
| 37 | def locallyConstantRationalUnderlyingIso (X : TopCat.{0}) : |
| 38 | Cech.Obj.RationalCech.locallyConstantPresheaf X ⋙ forget (ModuleCat.{0} ℚ) ≅ |
| 39 | TopCat.subpresheafToTypes (locallyConstantRationalPredicate X).toPrelocalPredicate := |
| 40 | NatIso.ofComponents |
| 41 | (fun U => (locallyConstantRationalSectionEquiv U.unop).toIso) |
| 42 | (by intro U V i; ext f; rfl) |
| 43 | |
| 44 | theorem locallyConstantRationalPresheaf_isSheaf (X : TopCat.{0}) : |
| 45 | (Cech.Obj.RationalCech.locallyConstantPresheaf X).IsSheaf := by |
| 46 | apply (TopCat.Presheaf.isSheaf_iff_isSheaf_comp |
| 47 | (forget (ModuleCat.{0} ℚ)) (Cech.Obj.RationalCech.locallyConstantPresheaf X)).2 |
| 48 | exact TopCat.Presheaf.isSheaf_of_iso (locallyConstantRationalUnderlyingIso X).symm |
| 49 | (TopCat.subpresheafToTypes.isSheaf (locallyConstantRationalPredicate X)) |
| 50 | |
| 51 | def locallyConstantRationalSheaf (X : TopCat.{0}) : TopCat.Sheaf (ModuleCat.{0} ℚ) X where |
| 52 | obj := Cech.Obj.RationalCech.locallyConstantPresheaf X |
| 53 | property := locallyConstantRationalPresheaf_isSheaf X |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Rational.ConstantSheaf.RationalCech |