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.AbelianModuli.HilbertConstruction.CoefficientCech.ComplexForget |
| 2 | |
| 3 | /-! # Scalar Maps -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.ScalarMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open _root_.AlgebraicTopology _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.AlgebraicGeometry |
| 10 | universe u |
| 11 | |
| 12 | @[reassoc] |
| 13 | theorem coefficientCechComplexFunctor_map_f_π |
| 14 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) {M N : X.Modules} (f : M ⟶ N) |
| 15 | {ι : Type u} (U : ι → X.Opens) (n : ℕ) |
| 16 | (i : (unop ((FormalCoproduct.mk _ U).cech.rightOp.obj |
| 17 | (SimplexCategory.mk n))).I) : |
| 18 | ((Intrinsic.CoefficientCechComplex.coefficientCechComplexFunctor ρ U).map f).f n ≫ |
| 19 | Pi.π (fun j => ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor ρ).obj N).obj |
| 20 | (op ((unop ((FormalCoproduct.mk _ U).cech.rightOp.obj |
| 21 | (SimplexCategory.mk n))).obj j))) i = |
| 22 | Pi.π (fun j => ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor ρ).obj M).obj |
| 23 | (op ((unop ((FormalCoproduct.mk _ U).cech.rightOp.obj |
| 24 | (SimplexCategory.mk n))).obj j))) i ≫ |
| 25 | ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor ρ).map f).app |
| 26 | (op ((unop ((FormalCoproduct.mk _ U).cech.rightOp.obj |
| 27 | (SimplexCategory.mk n))).obj i)) := by |
| 28 | change Limits.Pi.map (fun j => ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor ρ).map f).app |
| 29 | (op ((unop ((FormalCoproduct.mk _ U).cech.rightOp.obj |
| 30 | (SimplexCategory.mk n))).obj j))) ≫ _ = _ |
| 31 | exact Limits.Pi.map_π _ i |
| 32 | |
| 33 | /-- A coefficient endomorphism that is scalar multiplication on every |
| 34 | base-linear section module induces scalar multiplication on the entire Cech |
| 35 | complex. -/ |
| 36 | theorem coefficientCechComplexFunctor_map_eq_smul_id |
| 37 | {X : Scheme.{u}} {R : Type u} [CommRing R] (ρ : R →+* Γ(X, ⊤)) (M : X.Modules) (f : M ⟶ M) |
| 38 | {ι : Type u} (U : ι → X.Opens) (r : R) |
| 39 | (h : ∀ V, ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor ρ).map f).app V = |
| 40 | r • 𝟙 (((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor ρ).obj M).obj V)) : |
| 41 | ((Intrinsic.CoefficientCechComplex.coefficientCechComplexFunctor ρ U).map f : |
| 42 | Intrinsic.CoefficientCechComplex.coefficientCechComplex ρ M U ⟶ Intrinsic.CoefficientCechComplex.coefficientCechComplex ρ M U) = |
| 43 | r • 𝟙 (Intrinsic.CoefficientCechComplex.coefficientCechComplex ρ M U) := by |
| 44 | let K := (cechComplexFunctor U).obj |
| 45 | ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor ρ).obj M) |
| 46 | change (cechComplexFunctor U).map |
| 47 | ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor ρ).map f) = r • 𝟙 K |
| 48 | apply HomologicalComplex.Hom.ext |
| 49 | funext n |
| 50 | let P := fun j : Fin (n + 1) → ι => Ordered.CoefficientCechTerms.coefficientCechFactor ρ M U n j |
| 51 | let e : K.X n ≅ ModuleCat.of R (∀ j, P j) := |
| 52 | Intrinsic.CoefficientCechComplex.coefficientCechXIsoPi ρ M U n |
| 53 | apply (cancel_mono e.hom).1 |
| 54 | ext x |
| 55 | rename_i i |
| 56 | let p := Pi.π P i |
| 57 | let proj := ModuleCat.ofHom |
| 58 | (LinearMap.proj i : (∀ j, P j) →ₗ[R] P i) |
| 59 | have he : e.hom ≫ proj = p := by |
| 60 | exact ModuleCat.piIsoPi_hom_ker_subtype P i |
| 61 | have hi := coefficientCechComplexFunctor_map_f_π ρ f U n i |
| 62 | change ((cechComplexFunctor U).map |
| 63 | ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor ρ).map f)).f n ≫ p = |
| 64 | p ≫ ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor ρ).map f).app _ at hi |
| 65 | rw [h] at hi |
| 66 | change _ = p ≫ (r • 𝟙 (P i)) at hi |
| 67 | erw [← he] at hi |
| 68 | have hs : (r • 𝟙 (K.X n)) ≫ e.hom = r • e.hom := by |
| 69 | simpa only [Category.id_comp] using |
| 70 | Linear.smul_comp (K.X n) (K.X n) _ r (𝟙 (K.X n)) e.hom |
| 71 | have hcat : |
| 72 | ((((cechComplexFunctor U).map |
| 73 | ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor ρ).map f)).f n ≫ e.hom) ≫ proj) = |
| 74 | (((r • 𝟙 K).f n ≫ e.hom) ≫ proj) := by |
| 75 | calc |
| 76 | _ = ((cechComplexFunctor U).map |
| 77 | ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor ρ).map f)).f n ≫ |
| 78 | (e.hom ≫ proj) := Category.assoc _ _ _ |
| 79 | _ = ((cechComplexFunctor U).map |
| 80 | ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor ρ).map f)).f n ≫ |
| 81 | (e.hom ≫ proj) := rfl |
| 82 | _ = (e.hom ≫ proj) ≫ (r • 𝟙 (P i)) := hi |
| 83 | _ = e.hom ≫ (proj ≫ (r • 𝟙 (P i))) := |
| 84 | Category.assoc _ _ _ |
| 85 | _ = e.hom ≫ (r • proj) := by |
| 86 | rw [Linear.comp_smul, Category.comp_id] |
| 87 | _ = r • (e.hom ≫ proj) := by rw [Linear.comp_smul] |
| 88 | _ = (r • e.hom) ≫ proj := by rw [Linear.smul_comp] |
| 89 | _ = ((r • 𝟙 (K.X n)) ≫ e.hom) ≫ proj := by |
| 90 | exact congrArg (fun q => q ≫ proj) hs.symm |
| 91 | _ = (((r • 𝟙 K).f n ≫ e.hom) ≫ proj) := rfl |
| 92 | exact ConcreteCategory.congr_hom hcat x |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.ScalarMaps |