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.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleEvaluation |
| 2 | |
| 3 | /-! # Tensor Sheafification Charts -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.TensorSheafificationCharts.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Sheafification of tensor products on line-bundle charts. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | local instance tensorSheafificationChartsMonoidal (X : Scheme.{u}) : |
| 16 | MonoidalCategory X.PresheafOfModules := |
| 17 | PresheafOfModulesOfCommRing.monoidalCategory (R := X.presheaf) |
| 18 | |
| 19 | theorem isIso_moduleSheafificationUnit_of_iso {X : Scheme.{u}} {P : X.PresheafOfModules} |
| 20 | {N : X.Modules} (e : P ≅ N.val) : IsIso (SheafRestriction.Construction.moduleSheafificationUnit P) := by |
| 21 | let l := SheafRestriction.Construction.sheafificationIsoOfLocallyBijective e.hom |
| 22 | have hi : IsIso l.hom.val := inferInstanceAs |
| 23 | (IsIso ((Scheme.Modules.toPresheafOfModules X).map l.hom)) |
| 24 | have : IsIso (SheafRestriction.Construction.moduleSheafificationUnit P ≫ l.hom.val) := by |
| 25 | rw [TensorOpenComparison.Construction.moduleSheafificationUnit_isoOfLocallyBijective] |
| 26 | infer_instance |
| 27 | exact IsIso.of_isIso_comp_right _ l.hom.val |
| 28 | |
| 29 | theorem isIso_restrictModuleSheafificationUnit {X : Scheme.{u}} (P : X.PresheafOfModules) |
| 30 | (U : X.Opens) {N : U.toScheme.Modules} |
| 31 | (e : (SheafRestriction.Construction.restrictModulePresheaf U.ι).obj P ≅ N.val) : |
| 32 | IsIso ((SheafRestriction.Construction.restrictModulePresheaf U.ι).map (SheafRestriction.Construction.moduleSheafificationUnit P)) := by |
| 33 | have hu := isIso_moduleSheafificationUnit_of_iso e |
| 34 | have hi : IsIso (SheafRestriction.Construction.restrictSheafificationIso U.ι P).hom.val := inferInstanceAs |
| 35 | (IsIso ((Scheme.Modules.toPresheafOfModules U.toScheme).map (SheafRestriction.Construction.restrictSheafificationIso U.ι P).hom)) |
| 36 | have h := TensorOpenComparison.Construction.moduleSheafificationUnit_restrictIso U.ι P |
| 37 | rw [← h] |
| 38 | exact IsIso.comp_isIso' hu hi |
| 39 | |
| 40 | theorem isIso_moduleSheafificationUnit_app_of_restrictIso {X : Scheme.{u}} |
| 41 | (P : X.PresheafOfModules) (U : X.Opens) {N : U.toScheme.Modules} |
| 42 | (e : (SheafRestriction.Construction.restrictModulePresheaf U.ι).obj P ≅ N.val) (V : X.Opens) (hVU : V ≤ U) : |
| 43 | IsIso ((SheafRestriction.Construction.moduleSheafificationUnit P).app (.op V)) := by |
| 44 | have hR := isIso_restrictModuleSheafificationUnit P U e |
| 45 | let W := U.ι ⁻¹ᵁ V |
| 46 | let q := (SheafRestriction.Construction.restrictModulePresheaf U.ι).map (SheafRestriction.Construction.moduleSheafificationUnit P) |
| 47 | have hq : IsIso (q.app (.op W)) := inferInstanceAs |
| 48 | (IsIso ((PresheafOfModules.evaluation _ (.op W)).map q)) |
| 49 | have hp : IsIso ((SheafRestriction.Construction.moduleSheafificationUnit P).app (.op (U.ι ''ᵁ W))) := by |
| 50 | rw [ConcreteCategory.isIso_iff_bijective] |
| 51 | exact (ConcreteCategory.isIso_iff_bijective (q.app (.op W))).mp hq |
| 52 | have heq : U.ι ''ᵁ W = V := by |
| 53 | rw [Scheme.Hom.image_preimage_eq_opensRange_inf, Scheme.Opens.opensRange_ι, |
| 54 | inf_eq_right.mpr hVU] |
| 55 | exact heq ▸ hp |
| 56 | |
| 57 | def restrictTensorPresheafTrivialization {X : Scheme.{u}} {M N : X.Modules} (U : X.Opens) |
| 58 | (eM : M.restrict U.ι ≅ LineBundle.Construction.structureSheafModule U.toScheme) |
| 59 | (eN : N.restrict U.ι ≅ LineBundle.Construction.structureSheafModule U.toScheme) : |
| 60 | (SheafRestriction.Construction.restrictModulePresheaf U.ι).obj (M.val ⊗ N.val) ≅ |
| 61 | (LineBundle.Construction.structureSheafModule U.toScheme).val := |
| 62 | (TensorRestriction.Construction.restrictPresheafTensorIso U.ι M.val N.val).symm ≪≫ |
| 63 | (((Scheme.Modules.toPresheafOfModules U.toScheme).mapIso eM) ⊗ᵢ |
| 64 | ((Scheme.Modules.toPresheafOfModules U.toScheme).mapIso eN)) ≪≫ |
| 65 | (λ_ (LineBundle.Construction.structureSheafModule U.toScheme).val) |
| 66 | |
| 67 | theorem tensorSheafificationUnit_locally_isIso_app {X : Scheme.{u}} {M N : X.Modules} |
| 68 | (hM : LineBundle.Construction.IsLineBundle M) (hN : LineBundle.Construction.IsLineBundle N) : |
| 69 | ∀ x : X, ∃ U : X.Opens, x ∈ U ∧ ∀ V : X.Opens, V ≤ U → |
| 70 | IsIso ((SheafRestriction.Construction.moduleSheafificationUnit (M.val ⊗ N.val)).app (.op V)) := by |
| 71 | intro x |
| 72 | obtain ⟨U, hxU, ⟨eM⟩⟩ := hM x |
| 73 | obtain ⟨V, hxV, ⟨eN⟩⟩ := hN x |
| 74 | let W := U ⊓ V |
| 75 | let a : M.restrict W.ι ≅ LineBundle.Construction.structureSheafModule W.toScheme := |
| 76 | (Scheme.Modules.restrictFunctorIsoPullback W.ι).app M ≪≫ |
| 77 | TensorRestriction.Construction.restrictLineBundleTrivialization inf_le_left eM |
| 78 | let b : N.restrict W.ι ≅ LineBundle.Construction.structureSheafModule W.toScheme := |
| 79 | (Scheme.Modules.restrictFunctorIsoPullback W.ι).app N ≪≫ |
| 80 | TensorRestriction.Construction.restrictLineBundleTrivialization inf_le_right eN |
| 81 | exact ⟨W, ⟨hxU, hxV⟩, fun V hV ↦ isIso_moduleSheafificationUnit_app_of_restrictIso |
| 82 | (M.val ⊗ N.val) W (restrictTensorPresheafTrivialization W a b) V hV⟩ |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.TensorSheafificationCharts.Construction |