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.Connecting |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Rational.ConstantSheaf |
| 3 | import Mathlib.Algebra.Category.ModuleCat.Adjunctions |
| 4 | |
| 5 | /-! # Holomorphic Period -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Rational.HolomorphicPeriod |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Rationalization of the actual integral period map. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _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 | def rationalConstantAbelianSheaf (X : TopCat.{0}) : TopCat.Sheaf AddCommGrpCat.{0} X := |
| 21 | (sheafCompose (Opens.grothendieckTopology X) (forget₂ (ModuleCat.{0} ℚ) AddCommGrpCat)).obj |
| 22 | (ConstantSheaf.RationalCech.locallyConstantRationalSheaf X) |
| 23 | |
| 24 | def integralToRationalConstantSheaf (X : TopCat.{0}) : |
| 25 | IntegralConstantSheaf.integralConstantSheaf X ⟶ rationalConstantAbelianSheaf X := |
| 26 | ObjectProperty.homMk { |
| 27 | app U := AddCommGrpCat.ofHom { |
| 28 | toFun n := ⟨fun x => (n x : ℚ), n.isLocallyConstant.comp (fun z : ℤ => (z : ℚ))⟩ |
| 29 | map_zero' := by apply LocallyConstant.ext; intro x; simp |
| 30 | map_add' := by |
| 31 | intro n m |
| 32 | apply LocallyConstant.ext |
| 33 | intro x |
| 34 | change ((n x + m x : ℤ) : ℚ) = (n x : ℚ) + (m x : ℚ) |
| 35 | exact Int.cast_add _ _ } |
| 36 | naturality := by |
| 37 | intro U V i |
| 38 | apply AddCommGrpCat.hom_ext |
| 39 | apply AddMonoidHom.ext |
| 40 | intro n |
| 41 | apply LocallyConstant.ext |
| 42 | intro x |
| 43 | rfl } |
| 44 | |
| 45 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 46 | variable {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 47 | |
| 48 | def holomorphicRationalPeriodFunction (q : LocallyConstant M ℚ) : |
| 49 | Holomorphic.Exponential.HolomorphicFunction (E := E) (M := M) := |
| 50 | ⟨fun x => (q x : ℂ) * (2 * (Real.pi : ℂ) * Complex.I), by |
| 51 | intro x |
| 52 | apply contMDiffAt_const.congr_of_eventuallyEq |
| 53 | filter_upwards [q.isLocallyConstant.eventually_eq x] with y hy |
| 54 | change q y = q x at hy |
| 55 | rw [hy]⟩ |
| 56 | |
| 57 | def holomorphicRationalPeriod : LocallyConstant M ℚ →+ Holomorphic.Exponential.HolomorphicFunction (E := E) (M := M) where |
| 58 | toFun := holomorphicRationalPeriodFunction |
| 59 | map_zero' := by |
| 60 | apply ContMDiffMap.ext |
| 61 | intro x |
| 62 | simp [holomorphicRationalPeriodFunction] |
| 63 | map_add' q r := by |
| 64 | apply ContMDiffMap.ext |
| 65 | intro x |
| 66 | change ((q x + r x : ℚ) : ℂ) * _ = _ |
| 67 | rw [Rat.cast_add, add_mul] |
| 68 | rfl |
| 69 | |
| 70 | variable (E M) |
| 71 | |
| 72 | def holomorphicRationalPeriodSheafMap : |
| 73 | rationalConstantAbelianSheaf (TopCat.of M) ⟶ Holomorphic.Sheaves.holomorphicFunctionSheaf E M := |
| 74 | ObjectProperty.homMk { |
| 75 | app U := AddCommGrpCat.ofHom (holomorphicRationalPeriod (E := E) (M := U.unop)) |
| 76 | naturality := by |
| 77 | intro U V i |
| 78 | apply AddCommGrpCat.hom_ext |
| 79 | apply AddMonoidHom.ext |
| 80 | intro q |
| 81 | apply ContMDiffMap.ext |
| 82 | intro x |
| 83 | rfl } |
| 84 | |
| 85 | theorem integralToRationalConstantSheaf_period : |
| 86 | integralToRationalConstantSheaf (TopCat.of M) ≫ holomorphicRationalPeriodSheafMap E M = |
| 87 | Holomorphic.PeriodSequence.holomorphicPeriodSheafMap E M := by |
| 88 | apply ObjectProperty.hom_ext |
| 89 | apply NatTrans.ext |
| 90 | funext U |
| 91 | apply AddCommGrpCat.hom_ext |
| 92 | apply AddMonoidHom.ext |
| 93 | intro n |
| 94 | change LocallyConstant U.unop ℤ at n |
| 95 | apply ContMDiffMap.ext |
| 96 | intro x |
| 97 | change (((n x : ℤ) : ℚ) : ℂ) * _ = (n x : ℂ) * _ |
| 98 | rw [Rat.cast_intCast] |
| 99 | |
| 100 | abbrev rationalSheafCohomologyTwo := CategoryTheory.Sheaf.H (rationalConstantAbelianSheaf (TopCat.of M)) 2 |
| 101 | |
| 102 | def integralToRationalSheafCohomology : Holomorphic.Connecting.integralSheafCohomologyTwo M →+ rationalSheafCohomologyTwo M := |
| 103 | CategoryTheory.Sheaf.H.map (integralToRationalConstantSheaf (TopCat.of M)) 2 |
| 104 | |
| 105 | def rationalHolomorphicObstruction : rationalSheafCohomologyTwo M →+ |
| 106 | CategoryTheory.Sheaf.H (Holomorphic.Sheaves.holomorphicFunctionSheaf E M) 2 := |
| 107 | CategoryTheory.Sheaf.H.map (holomorphicRationalPeriodSheafMap E M) 2 |
| 108 | |
| 109 | theorem holomorphicPeriodCohomologyMap_factor (a : Holomorphic.Connecting.integralSheafCohomologyTwo M) : |
| 110 | Holomorphic.Connecting.holomorphicPeriodCohomologyMap E M a = |
| 111 | rationalHolomorphicObstruction E M (integralToRationalSheafCohomology M a) := by |
| 112 | change CategoryTheory.Sheaf.H.map (Holomorphic.PeriodSequence.holomorphicPeriodSheafMap E M) 2 a = _ |
| 113 | rw [← integralToRationalConstantSheaf_period, CategoryTheory.Sheaf.H.map_comp_apply] |
| 114 | rfl |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Rational.HolomorphicPeriod |