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.DivisorClass.Chern.Holomorphic.ShortExact |
| 2 | import Mathlib.CategoryTheory.Sites.SheafCohomology.Basic |
| 3 | import Mathlib.CategoryTheory.Abelian.GrothendieckCategory.HasExt |
| 4 | |
| 5 | /-! # Connecting -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.Connecting |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual connecting map of the holomorphic exponential sequence. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian _root_.TopologicalSpace Opposite |
| 14 | open scoped _root_.Manifold ContDiff |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | variable (E : Type) [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 21 | variable (M : Type) [TopologicalSpace M] [ChartedSpace E M] |
| 22 | |
| 23 | /-- Degree-one unit-sheaf cohomology, with its ordinary derived-functor meaning. -/ |
| 24 | abbrev holomorphicUnitCohomology := CategoryTheory.Sheaf.H (Sheaves.holomorphicUnitsSheaf E M) 1 |
| 25 | |
| 26 | /-- Ordinary degree-two cohomology of the locally constant integral sheaf. -/ |
| 27 | abbrev integralSheafCohomologyTwo := CategoryTheory.Sheaf.H (IntegralConstantSheaf.integralConstantSheaf (TopCat.of M)) 2 |
| 28 | |
| 29 | /-- The exponential connecting map, induced by the proved short exact sequence. -/ |
| 30 | def holomorphicExponentialConnecting : |
| 31 | holomorphicUnitCohomology E M →+ integralSheafCohomologyTwo M := |
| 32 | (ShortExact.holomorphicExponentialSequence_shortExact E M).extClass.postcomp |
| 33 | ((constantSheaf (Opens.grothendieckTopology (TopCat.of M)) AddCommGrpCat).obj |
| 34 | (AddCommGrpCat.of (ULift ℤ))) (rfl : 1 + 1 = 2) |
| 35 | |
| 36 | /-- The obstruction measured by the degree-two holomorphic cohomology group. -/ |
| 37 | def holomorphicPeriodCohomologyMap : |
| 38 | integralSheafCohomologyTwo M →+ |
| 39 | CategoryTheory.Sheaf.H (Sheaves.holomorphicFunctionSheaf E M) 2 := |
| 40 | CategoryTheory.Sheaf.H.map (PeriodSequence.holomorphicPeriodSheafMap E M) 2 |
| 41 | |
| 42 | theorem holomorphicExponentialConnecting_period (u : holomorphicUnitCohomology E M) : |
| 43 | holomorphicPeriodCohomologyMap E M (holomorphicExponentialConnecting E M u) = 0 := by |
| 44 | change (u.comp (ShortExact.holomorphicExponentialSequence_shortExact E M).extClass |
| 45 | (rfl : 1 + 1 = 2)).comp (Ext.mk₀ (PeriodSequence.holomorphicPeriodSheafMap E M)) (add_zero 2) = 0 |
| 46 | have hz : (ShortExact.holomorphicExponentialSequence_shortExact E M).extClass.comp |
| 47 | (Ext.mk₀ (PeriodSequence.holomorphicPeriodSheafMap E M)) (add_zero 1) = 0 := |
| 48 | (ShortExact.holomorphicExponentialSequence_shortExact E M).extClass_comp |
| 49 | rw [Ext.comp_assoc_of_third_deg_zero, hz, Ext.comp_zero] |
| 50 | |
| 51 | /-- Exactness supplies a unit-sheaf class for every integral class with zero holomorphic image. -/ |
| 52 | theorem exists_holomorphicUnitCohomology_of_period_zero |
| 53 | (a : integralSheafCohomologyTwo M) (ha : holomorphicPeriodCohomologyMap E M a = 0) : |
| 54 | ∃ u : holomorphicUnitCohomology E M, holomorphicExponentialConnecting E M u = a := by |
| 55 | exact Ext.covariant_sequence_exact₁ _ (ShortExact.holomorphicExponentialSequence_shortExact E M) |
| 56 | a ha (rfl : 1 + 1 = 2) |
| 57 | |
| 58 | theorem holomorphicExponentialConnecting_range : |
| 59 | (holomorphicExponentialConnecting E M).range = |
| 60 | (holomorphicPeriodCohomologyMap E M).ker := by |
| 61 | ext a |
| 62 | constructor |
| 63 | · rintro ⟨u, rfl⟩ |
| 64 | exact holomorphicExponentialConnecting_period E M u |
| 65 | · exact exists_holomorphicUnitCohomology_of_period_zero E M a |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.Connecting |