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.Sheaves |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.IntegralConstantSheaf |
| 3 | import Mathlib.Topology.Sheaves.Abelian |
| 4 | import Mathlib.Algebra.Homology.ShortComplex.Ab |
| 5 | import Mathlib.Algebra.Category.Grp.AB |
| 6 | |
| 7 | /-! # Period Sequence -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.PeriodSequence |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual integral-period map and holomorphic exponential sequence, exact on every section at the middle term. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 16 | open scoped _root_.Manifold ContDiff |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | |
| 22 | def abelianSheafSections (X : TopCat.{0}) (U : Opens X) : |
| 23 | TopCat.Sheaf AddCommGrpCat.{0} X ⥤ AddCommGrpCat.{0} where |
| 24 | obj F := F.obj.obj (op U) |
| 25 | map f := f.hom.app (op U) |
| 26 | |
| 27 | instance abelianSheafSections_additive (X : TopCat.{0}) (U : Opens X) : |
| 28 | (abelianSheafSections X U).Additive where |
| 29 | map_add := rfl |
| 30 | |
| 31 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 32 | variable {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 33 | |
| 34 | def holomorphicIntegralPeriod : LocallyConstant M ℤ →+ Exponential.HolomorphicFunction (E := E) (M := M) where |
| 35 | toFun := Exponential.holomorphicPeriodFunction |
| 36 | map_zero' := by |
| 37 | apply ContMDiffMap.ext |
| 38 | intro x |
| 39 | simp [Exponential.holomorphicPeriodFunction] |
| 40 | map_add' n m := by |
| 41 | apply ContMDiffMap.ext |
| 42 | intro x |
| 43 | change ((n x + m x : ℤ) : ℂ) * (2 * (Real.pi : ℂ) * Complex.I) = _ |
| 44 | rw [Int.cast_add, add_mul] |
| 45 | rfl |
| 46 | |
| 47 | variable (E M) |
| 48 | |
| 49 | def holomorphicPeriodSheafMap : IntegralConstantSheaf.integralConstantSheaf (TopCat.of M) ⟶ Holomorphic.Sheaves.holomorphicFunctionSheaf E M := |
| 50 | ObjectProperty.homMk { |
| 51 | app U := AddCommGrpCat.ofHom (holomorphicIntegralPeriod (E := E) (M := U.unop)) |
| 52 | naturality := by |
| 53 | intro U V i |
| 54 | apply AddCommGrpCat.hom_ext |
| 55 | ext n |
| 56 | apply ContMDiffMap.ext |
| 57 | intro x |
| 58 | rfl } |
| 59 | |
| 60 | theorem holomorphicPeriodSheafMap_exponential : |
| 61 | holomorphicPeriodSheafMap E M ≫ Holomorphic.Sheaves.holomorphicExponentialSheafMap E M = 0 := by |
| 62 | apply ObjectProperty.hom_ext |
| 63 | apply NatTrans.ext |
| 64 | funext U |
| 65 | apply AddCommGrpCat.hom_ext |
| 66 | apply AddMonoidHom.ext |
| 67 | intro n |
| 68 | exact Exponential.exp_holomorphicPeriodFunction (E := E) n |
| 69 | |
| 70 | def holomorphicExponentialSequence : ShortComplex (TopCat.Sheaf AddCommGrpCat (TopCat.of M)) := |
| 71 | ShortComplex.mk (holomorphicPeriodSheafMap E M) (Holomorphic.Sheaves.holomorphicExponentialSheafMap E M) |
| 72 | (holomorphicPeriodSheafMap_exponential E M) |
| 73 | |
| 74 | theorem holomorphicExponentialSequence_section_exact (U : Opens M) : |
| 75 | ((holomorphicExponentialSequence E M).map |
| 76 | (abelianSheafSections (TopCat.of M) U)).Exact := by |
| 77 | rw [ShortComplex.ab_exact_iff] |
| 78 | intro g hg |
| 79 | change Exponential.holomorphicExpUnit g = 1 at hg |
| 80 | obtain ⟨n, hn⟩ := (Exponential.holomorphicExponential_kernel g).mp hg |
| 81 | exact ⟨n, hn⟩ |
| 82 | |
| 83 | theorem holomorphicPeriodSheafMap_section_injective (U : Opens M) : |
| 84 | Function.Injective ((holomorphicPeriodSheafMap E M).hom.app (op U)) := |
| 85 | Exponential.holomorphicPeriodFunction_injective |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.PeriodSequence |