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 | /- |
| 2 | Derived from AINTLIB: |
| 3 | projects/ModularCurves/ModularCurves/ForMathlib/SchemeModuleQuasicoherent.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles |
| 8 | import Mathlib.Algebra.Category.ModuleCat.Products |
| 9 | import Mathlib.Algebra.Category.ModuleCat.Sheaf.Limits |
| 10 | import Mathlib.CategoryTheory.Preadditive.AdditiveFunctor |
| 11 | |
| 12 | /-! # Free Sheaf Sections -/ |
| 13 | |
| 14 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.FreeSheafSections |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules Opposite |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {X : Scheme.{u}} |
| 23 | |
| 24 | theorem finite_freeSheaf_globalSections |
| 25 | (X : Scheme.{u}) (I : Type u) [Finite I] : |
| 26 | Module.Finite (X.ringCatSheaf.obj.obj (op ⊤)) |
| 27 | ((SheafOfModules.evaluation X.ringCatSheaf (op ⊤)).obj |
| 28 | (SheafOfModules.free I (R := X.ringCatSheaf))) := by |
| 29 | let F := SheafOfModules.evaluation X.ringCatSheaf (op ⊤) |
| 30 | let U := fun _ : I ↦ SheafOfModules.unit X.ringCatSheaf |
| 31 | let : HasBiproduct U := HasBiproduct.of_hasCoproduct U |
| 32 | let : F.Additive := by |
| 33 | change (SheafOfModules.evaluation X.ringCatSheaf (op ⊤)).Additive |
| 34 | unfold SheafOfModules.evaluation |
| 35 | infer_instance |
| 36 | let : PreservesLimit (Discrete.functor U) F := by |
| 37 | dsimp [F] |
| 38 | infer_instance |
| 39 | let : PreservesBiproduct U F := |
| 40 | preservesBiproduct_of_preservesProduct F |
| 41 | let e : F.obj (SheafOfModules.free I) ≅ |
| 42 | ModuleCat.of (X.ringCatSheaf.obj.obj (op ⊤)) |
| 43 | (∀ i, F.obj (U i)) := |
| 44 | F.mapIso (biproduct.isoCoproduct U).symm ≪≫ |
| 45 | F.mapBiproduct U ≪≫ |
| 46 | biproduct.isoProduct (F.obj ∘ U) ≪≫ |
| 47 | ModuleCat.piIsoPi (F.obj ∘ U) |
| 48 | have hfinite (i : I) : |
| 49 | Module.Finite (X.ringCatSheaf.obj.obj (op ⊤)) (F.obj (U i)) := by |
| 50 | change Module.Finite (X.ringCatSheaf.obj.obj (op ⊤)) |
| 51 | (X.ringCatSheaf.obj.obj (op ⊤)) |
| 52 | infer_instance |
| 53 | have : Module.Finite (X.ringCatSheaf.obj.obj (op ⊤)) (∀ i, F.obj (U i)) := |
| 54 | @Module.Finite.pi _ _ I (fun i ↦ F.obj (U i)) inferInstance |
| 55 | (fun _ ↦ inferInstance) (fun _ ↦ inferInstance) hfinite |
| 56 | exact Module.Finite.equiv e.symm.toLinearEquiv |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.FreeSheafSections |