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.Quotients.FiniteDescent.CechLowDegreeDifferentials |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenCechShortComplex |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.BaseModule |
| 4 | |
| 5 | /-! # Cech Short -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechShort |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The first three terms of the native Cech complex are the ordinary |
| 12 | section-coordinate short complex, with both differentials identified. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace Construction.CechShortCoordinates |
| 22 | |
| 23 | variable {X S : Scheme.{u}} (π : X ⟶ S) (M : X.Modules) |
| 24 | variable {ι : Type u} (U : ι → X.Opens) |
| 25 | |
| 26 | abbrev source := (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).sc' 0 1 2 |
| 27 | abbrev target := OpenCechShortComplex.Construction.CubeCech.openModuleCechShortComplex (BaseModule.Construction.BaseModuleSheaf.sheaf π M) U |
| 28 | |
| 29 | def zero : (source π M U).X₁ ≅ (target π M U).X₁ := |
| 30 | (CechTuplePi.Construction.CechTupleCoordinates.zero π M U).toModuleIso |
| 31 | |
| 32 | def one : (source π M U).X₂ ≅ (target π M U).X₂ := |
| 33 | (CechTuplePi.Construction.CechTupleCoordinates.one π M U).toModuleIso |
| 34 | |
| 35 | def two : (source π M U).X₃ ≅ (target π M U).X₃ := |
| 36 | (CechTuplePi.Construction.CechTupleCoordinates.two π M U).toModuleIso |
| 37 | |
| 38 | theorem first : (source π M U).f ≫ (one π M U).hom = |
| 39 | (zero π M U).hom ≫ (target π M U).f := by |
| 40 | apply ModuleCat.hom_ext |
| 41 | apply LinearMap.ext |
| 42 | intro z |
| 43 | change CechTuplePi.Construction.CechTupleCoordinates.one π M U ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).d 0 1 z) = |
| 44 | OpenCechDegreeZero.Construction.CubeCech.openModuleCechD0 (BaseModule.Construction.BaseModuleSheaf.sheaf π M) U (CechTuplePi.Construction.CechTupleCoordinates.zero π M U z) |
| 45 | funext i j |
| 46 | exact CechLowDegreeDifferentials.Construction.CechTupleCoordinates.differential_zero π M U z i j |
| 47 | |
| 48 | theorem second : (source π M U).g ≫ (two π M U).hom = |
| 49 | (one π M U).hom ≫ (target π M U).g := by |
| 50 | apply ModuleCat.hom_ext |
| 51 | apply LinearMap.ext |
| 52 | intro z |
| 53 | change CechTuplePi.Construction.CechTupleCoordinates.two π M U ((SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).d 1 2 z) = |
| 54 | OpenCechShortComplex.Construction.CubeCech.openModuleCechD1 (BaseModule.Construction.BaseModuleSheaf.sheaf π M) U (CechTuplePi.Construction.CechTupleCoordinates.one π M U z) |
| 55 | funext i j k |
| 56 | exact CechLowDegreeDifferentials.Construction.CechTupleCoordinates.differential_one π M U z i j k |
| 57 | |
| 58 | def iso : source π M U ≅ target π M U := |
| 59 | ShortComplex.isoMk (zero π M U) (one π M U) (two π M U) |
| 60 | (first π M U).symm (second π M U).symm |
| 61 | |
| 62 | end Construction.CechShortCoordinates |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechShort |