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.SheafCohomology.AffineComparison |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.ExtNaturality |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Scalars |
| 4 | |
| 5 | /-! # Linear Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.LinearComparison.Projective |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Additive and scalar compatibility of ProjectiveCohomology's cohomology comparison. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian _root_.TopologicalSpace |
| 14 | |
| 15 | local instance (X : TopCat.{0}) : |
| 16 | HasExt.{1} (Sheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℂ)) := |
| 17 | HasExt.standard _ |
| 18 | local instance (X : TopCat.{0}) : |
| 19 | HasExt.{1} (Sheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℤ)) := |
| 20 | HasExt.standard _ |
| 21 | local instance (X : TopCat.{0}) : |
| 22 | HasExt.{1} (Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{0}) := |
| 23 | HasExt.standard _ |
| 24 | |
| 25 | /-- The coefficient comparison is an equivalence of abelian groups. -/ |
| 26 | def complexSheafCohomologyAddEquiv (X : TopCat.{0}) |
| 27 | (N : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℂ)) (n : ℕ) : |
| 28 | Ext.{1} ((constantSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℂ)).obj |
| 29 | (ModuleCat.of ℂ ℂ)) N n ≃+ |
| 30 | Sheaf.H.{0} ((IntegerCoefficients.Projective.integerSheafForget X).obj ((Coefficients.Projective.restrictComplexSheaf X).obj N)) n := by |
| 31 | let I := (constantSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℤ)).obj |
| 32 | (ModuleCat.of ℤ ℤ) |
| 33 | let NAb := (IntegerCoefficients.Projective.integerSheafForget X).obj ((Coefficients.Projective.restrictComplexSheaf X).obj N) |
| 34 | exact (ExtLeft.Projective.extLeftIso (ConstantCoefficients.Projective.extendConstantComplexIso X).symm N n).trans |
| 35 | (Coefficients.Projective.complexSheafExtAdjunction X I N n) |>.trans |
| 36 | (IntegerCoefficients.Projective.integerSheafExtEquiv X I ((Coefficients.Projective.restrictComplexSheaf X).obj N) n) |>.trans |
| 37 | (ExtLeft.Projective.extLeftIso (ConstantCoefficients.Projective.forgetConstantIntegerIso X ≪≫ ConstantCoefficients.Projective.constantIntegerUliftIso X) NAb n) |
| 38 | |>.trans (ExtNaturality.Projective.extChangeUniverseAddEquiv _ _ n) |
| 39 | |
| 40 | @[simp] theorem complexSheafCohomologyAddEquiv_apply (X : TopCat.{0}) |
| 41 | (N : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℂ)) (n : ℕ) |
| 42 | (x : Ext.{1} ((constantSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℂ)).obj |
| 43 | (ModuleCat.of ℂ ℂ)) N n) : |
| 44 | complexSheafCohomologyAddEquiv X N n x = CoherentVanishing.Projective.complexSheafCohomologyEquiv X N n x := rfl |
| 45 | |
| 46 | theorem complexSheafCohomologyAddEquiv_naturality (X : TopCat.{0}) |
| 47 | {M N : Sheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℂ)} |
| 48 | (f : M ⟶ N) (n : ℕ) |
| 49 | (x : Ext.{1} ((constantSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℂ)).obj |
| 50 | (ModuleCat.of ℂ ℂ)) M n) : |
| 51 | complexSheafCohomologyAddEquiv X N n (x.comp (Ext.mk₀ f) (Nat.add_zero n)) = |
| 52 | (complexSheafCohomologyAddEquiv X M n x).comp |
| 53 | (Ext.mk₀ ((IntegerCoefficients.Projective.integerSheafForget X).map ((Coefficients.Projective.restrictComplexSheaf X).map f))) |
| 54 | (Nat.add_zero n) := by |
| 55 | simp only [complexSheafCohomologyAddEquiv, AddEquiv.trans_apply, |
| 56 | ExtNaturality.Projective.extLeftIso_naturality, Coefficients.Projective.complexSheafExtAdjunction, ExtAdjunction.Projective.extAdjunction, |
| 57 | AddEquiv.ofBijective_apply, ExtNaturality.Projective.extCompare_naturality, IntegerCoefficients.Projective.integerSheafExtEquiv, |
| 58 | Functor.mapExtAddHom_apply, Ext.mapExactFunctor_comp, Ext.mapExactFunctor_mk₀, |
| 59 | ExtNaturality.Projective.extChangeUniverse_comp_mk₀] |
| 60 | |
| 61 | /-- The actual complex Ext groups and Zariski cohomology are linearly equivalent |
| 62 | for the canonical action induced by the complex structure morphism. -/ |
| 63 | def coherentCohomologyLinearEquivZariski (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 64 | (M : A.carrier.Modules) (n : ℕ) : |
| 65 | letI := Scalars.Projective.zariskiComplexCohomologyModule A M n |
| 66 | Sheaves.Projective.coherentCohomology A M n ≃ₗ[ℂ] AffineH.Projective.H M n := by |
| 67 | letI := Scalars.Projective.zariskiComplexCohomologyModule A M n |
| 68 | refine { complexSheafCohomologyAddEquiv (TopCat.of A.carrier) (Sheaves.Projective.complexSheaf A M) n |
| 69 | with map_smul' := ?_ } |
| 70 | intro r x |
| 71 | have h := complexSheafCohomologyAddEquiv_naturality (TopCat.of A.carrier) |
| 72 | (r • 𝟙 (Sheaves.Projective.complexSheaf A M)) n x |
| 73 | rw [Scalars.Projective.forgetComplexScalarHom] at h |
| 74 | exact (congrArg (fun y => complexSheafCohomologyAddEquiv |
| 75 | (TopCat.of A.carrier) (Sheaves.Projective.complexSheaf A M) n y) |
| 76 | (Ext.smul_eq_comp_mk₀ x r)).trans h |
| 77 | |
| 78 | /-- The two actual cohomology constructions have identical complex dimensions. -/ |
| 79 | theorem coherentCohomology_finrank_eq_zariski (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 80 | (M : A.carrier.Modules) (n : ℕ) : |
| 81 | letI := Scalars.Projective.zariskiComplexCohomologyModule A M n |
| 82 | Module.finrank ℂ (Sheaves.Projective.coherentCohomology A M n) = Module.finrank ℂ (AffineH.Projective.H M n) := by |
| 83 | let := Scalars.Projective.zariskiComplexCohomologyModule A M n |
| 84 | exact (coherentCohomologyLinearEquivZariski A M n).finrank_eq |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.SheafCohomology.LinearComparison.Projective |