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.Isogenies.NeighborCounting.ModuleHomGluing |
| 2 | |
| 3 | /-! # Open Hom Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OpenHomComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Open-slice module maps and actual scheme pullback maps agree. |
| 10 | This transports the proved Zariski gluing to native pullback morphisms. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModuleHomGluing |
| 17 | |
| 18 | variable {X : Scheme.{u}} (M N : X.Modules) |
| 19 | |
| 20 | def openModuleIso (U : X.Opens) : |
| 21 | SheafOfModules.overFunctor X.ringCatSheaf U ⋙ (Scheme.Modules.overEquiv U).functor ≅ |
| 22 | Scheme.Modules.pullback U.ι := |
| 23 | Scheme.Modules.overFunctorEquiv U ≪≫ Scheme.Modules.restrictFunctorIsoPullback U.ι |
| 24 | |
| 25 | def openHomEquiv (U : X.Opens) : |
| 26 | (ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomSheaf.Construction.moduleHomTypeSheaf M N).obj.obj (op U) ≃ |
| 27 | ((Scheme.Modules.pullback U.ι).obj M ⟶ (Scheme.Modules.pullback U.ι).obj N) := |
| 28 | (ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomSheaf.Construction.moduleHomOverEquiv M N U).trans |
| 29 | ((Scheme.Modules.overEquiv U).fullyFaithfulFunctor.homEquiv.trans |
| 30 | (((openModuleIso U).app M).homCongr ((openModuleIso U).app N))) |
| 31 | |
| 32 | theorem openHomEquiv_global (q : M ⟶ N) (U : X.Opens) : |
| 33 | openHomEquiv M N U (ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomSheaf.Construction.moduleHomFromOver M N U (q.over U)) = |
| 34 | (Scheme.Modules.pullback U.ι).map q := by |
| 35 | let β := openModuleIso U |
| 36 | have hq := β.hom.naturality q |
| 37 | change (β.app M).inv ≫ |
| 38 | ((SheafOfModules.overFunctor X.ringCatSheaf U ⋙ (Scheme.Modules.overEquiv U).functor).map q) ≫ |
| 39 | (β.app N).hom = _ |
| 40 | exact (congrArg (fun a ↦ (β.app M).inv ≫ a) hq).trans ((β.app M).inv_hom_id_assoc _) |
| 41 | |
| 42 | theorem hom_eq_of_open_pullbacks {ι : Type*} (U : ι → X.Opens) |
| 43 | (hU : (⊤ : X.Opens) ≤ iSup U) (a b : M ⟶ N) |
| 44 | (hab : ∀ i, (Scheme.Modules.pullback (U i).ι).map a = (Scheme.Modules.pullback (U i).ι).map b) : |
| 45 | a = b := by |
| 46 | apply (ModuleHomGluing.moduleHomGlobalEquiv M N).symm.injective |
| 47 | let F : TopCat.Sheaf (Type u) X := ⟨(ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomSheaf.Construction.moduleHomTypeSheaf M N).obj, (ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomSheaf.Construction.moduleHomTypeSheaf M N).property⟩ |
| 48 | apply F.eq_of_locally_eq' U ⊤ (fun _ ↦ homOfLE le_top) hU |
| 49 | intro i |
| 50 | change (ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomSheaf.Construction.moduleHomTypeSheaf M N).obj.map (homOfLE (show U i ≤ ⊤ from le_top)).op |
| 51 | ((ModuleHomGluing.moduleHomGlobalEquiv M N).symm a) = |
| 52 | (ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomSheaf.Construction.moduleHomTypeSheaf M N).obj.map (homOfLE (show U i ≤ ⊤ from le_top)).op |
| 53 | ((ModuleHomGluing.moduleHomGlobalEquiv M N).symm b) |
| 54 | rw [ModuleHomGluing.moduleHomGlobalEquiv_symm_restrict, ModuleHomGluing.moduleHomGlobalEquiv_symm_restrict] |
| 55 | apply (openHomEquiv M N (U i)).injective |
| 56 | rw [openHomEquiv_global, openHomEquiv_global, hab i] |
| 57 | |
| 58 | /-- Actual native pullback morphisms glue once their corresponding local |
| 59 | module maps agree on intersections. -/ |
| 60 | theorem existsUnique_hom_of_open_pullbacks {ι : Type*} (U : ι → X.Opens) |
| 61 | (hU : (⊤ : X.Opens) ≤ iSup U) |
| 62 | (q : ∀ i, (Scheme.Modules.pullback (U i).ι).obj M ⟶ |
| 63 | (Scheme.Modules.pullback (U i).ι).obj N) |
| 64 | (hq : TopCat.Presheaf.IsCompatible (ArithmeticGeometry.OrdinaryLocus.Openness.ModuleHomSheaf.Construction.moduleHomTypeSheaf M N).obj U |
| 65 | (fun i ↦ (openHomEquiv M N (U i)).symm (q i))) : |
| 66 | ∃! a : M ⟶ N, ∀ i, (Scheme.Modules.pullback (U i).ι).map a = q i := by |
| 67 | obtain ⟨a, ha, hu⟩ := ModuleHomGluing.existsUnique_hom_of_local_maps M N U hU |
| 68 | (fun i ↦ (openHomEquiv M N (U i)).symm (q i)) hq |
| 69 | refine ⟨a, ?_, ?_⟩ |
| 70 | · intro i |
| 71 | exact (openHomEquiv_global M N a (U i)).symm.trans |
| 72 | ((congrArg (openHomEquiv M N (U i)) (ha i)).trans |
| 73 | ((openHomEquiv M N (U i)).apply_symm_apply (q i))) |
| 74 | · intro b hb |
| 75 | apply hu |
| 76 | intro i |
| 77 | apply (openHomEquiv M N (U i)).injective |
| 78 | rw [openHomEquiv_global, Equiv.apply_symm_apply, hb i] |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OpenHomComparison |