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.HolomorphicLine.MetricWeight |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.OpenExtension |
| 3 | import OAI.Analysis.DifferentialForms.Manifold.Holomorphic |
| 4 | |
| 5 | /-! # Hermitian Pair -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicLine.HermitianPair |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The positive local metric coefficients are genuinely smooth, including across frame boundaries. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.TopologicalSpace Set Filter |
| 16 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 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 | theorem complexNormSq_contDiff : ContDiff ℝ ∞ Complex.normSq := by |
| 23 | change ContDiff ℝ ∞ (fun z : ℂ => z.re * z.re + z.im * z.im) |
| 24 | exact (Complex.reCLM.contDiff.mul Complex.reCLM.contDiff).add |
| 25 | (Complex.imCLM.contDiff.mul Complex.imCLM.contDiff) |
| 26 | |
| 27 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 28 | [NormedSpace ℝ E] [FiniteDimensional ℝ E] [IsScalarTower ℝ ℂ E] |
| 29 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] [CompactSpace M] |
| 30 | [IsManifold 𝓘(ℝ, E) ∞ M] [T2Space M] (u : Holomorphic.Connecting.holomorphicUnitCohomology E M) |
| 31 | |
| 32 | theorem holomorphicLineMetricSummand_contMDiff (i : M) (j : MetricWeight.holomorphicLineFiniteCover u) : |
| 33 | ContMDiff 𝓘(ℝ, E) 𝓘(ℝ) ∞ (MetricWeight.holomorphicLineMetricSummand u i j) := by |
| 34 | intro x |
| 35 | by_cases hxj : x.val ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u j.val |
| 36 | · let g := (Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i j.val).val |
| 37 | have hg : ContMDiffAt 𝓘(ℝ, E) 𝓘(ℝ, ℂ) ∞ (Holomorphic.OpenExtension.holomorphicOpenExtend g) x.val := |
| 38 | Analysis.DifferentialForms.Manifold.Holomorphic.contMDiffAt_real_of_complex ((Holomorphic.OpenExtension.holomorphicOpenExtend_contMDiffOn g).contMDiffAt |
| 39 | ((Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i ⊓ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u j.val).isOpen.mem_nhds |
| 40 | ⟨x.property, hxj⟩)) |
| 41 | have hf : ContMDiffAt 𝓘(ℝ, E) 𝓘(ℝ) ∞ |
| 42 | (fun y => MetricWeight.holomorphicLineSmoothPartition u j y * Complex.normSq (Holomorphic.OpenExtension.holomorphicOpenExtend g y)) x.val := |
| 43 | (MetricWeight.holomorphicLineSmoothPartition u j).contMDiff.contMDiffAt.mul |
| 44 | (complexNormSq_contDiff.contMDiff.contMDiffAt.comp x.val hg) |
| 45 | apply (hf.comp x (contMDiff_subtype_val (I := 𝓘(ℝ, E)) (n := ∞)).contMDiffAt).congr_of_eventuallyEq |
| 46 | filter_upwards [continuous_subtype_val.continuousAt.preimage_mem_nhds |
| 47 | ((Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u j.val).isOpen.mem_nhds hxj)] with y hy |
| 48 | change y.val ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u j.val at hy |
| 49 | change MetricWeight.holomorphicLineMetricSummand u i j y = |
| 50 | MetricWeight.holomorphicLineSmoothPartition u j y.val * Complex.normSq (Holomorphic.OpenExtension.holomorphicOpenExtend g y.val) |
| 51 | erw [MetricWeight.holomorphicLineMetricSummand, dite_eq_left hy, |
| 52 | Holomorphic.OpenExtension.holomorphicOpenExtend_apply g y.val ⟨y.property, hy⟩] |
| 53 | · have hsupport : x.val ∉ tsupport (MetricWeight.holomorphicLineSmoothPartition u j) := |
| 54 | fun h => hxj (MetricWeight.holomorphicLineSmoothPartition_support u j h) |
| 55 | have he := (notMem_tsupport_iff_eventuallyEq.mp hsupport).comp_tendsto |
| 56 | (continuous_subtype_val.continuousAt : Tendsto (Subtype.val : Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i → M) |
| 57 | (𝓝 x) (𝓝 x.val)) |
| 58 | apply (contMDiffAt_const (c := (0 : ℝ))).congr_of_eventuallyEq |
| 59 | filter_upwards [he] with y hy |
| 60 | change MetricWeight.holomorphicLineSmoothPartition u j y.val = 0 at hy |
| 61 | unfold MetricWeight.holomorphicLineMetricSummand |
| 62 | split_ifs |
| 63 | · rw [hy, zero_mul] |
| 64 | · rfl |
| 65 | |
| 66 | theorem holomorphicLineMetricWeight_contMDiff (i : M) : |
| 67 | ContMDiff 𝓘(ℝ, E) 𝓘(ℝ) ∞ (MetricWeight.holomorphicLineMetricWeight u i) := by |
| 68 | apply ContMDiff.sum |
| 69 | intro j _ |
| 70 | exact holomorphicLineMetricSummand_contMDiff u i j |
| 71 | |
| 72 | end |
| 73 | |
| 74 | /-! The local positive Hermitian pairings agree under the original bundle coordinate changes. -/ |
| 75 | |
| 76 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 77 | open scoped _root_.Manifold ContDiff ComplexConjugate |
| 78 | |
| 79 | set_option backward.isDefEq.respectTransparency false |
| 80 | set_option backward.isDefEq.respectTransparency.types false |
| 81 | set_option backward.defeqAttrib.useBackward true |
| 82 | |
| 83 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 84 | [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 85 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] [CompactSpace M] |
| 86 | [IsManifold 𝓘(ℝ, E) ∞ M] [T2Space M] (u : Holomorphic.Connecting.holomorphicUnitCohomology E M) |
| 87 | |
| 88 | def holomorphicLineHermitianPair (i : M) (x : Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) (v w : ℂ) : ℂ := |
| 89 | (MetricWeight.holomorphicLineMetricWeight u i x : ℂ) * conj v * w |
| 90 | |
| 91 | theorem holomorphicLineHermitianPair_self (i : M) (x : Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) (v : ℂ) : |
| 92 | holomorphicLineHermitianPair u i x v v = |
| 93 | (MetricWeight.holomorphicLineMetricWeight u i x * Complex.normSq v : ℝ) := by |
| 94 | simp only [holomorphicLineHermitianPair, Complex.ofReal_mul, Complex.normSq_eq_conj_mul_self, mul_assoc] |
| 95 | |
| 96 | theorem holomorphicLineHermitianPair_pos (i : M) (x : Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) |
| 97 | (v : ℂ) (hv : v ≠ 0) : 0 < (holomorphicLineHermitianPair u i x v v).re := by |
| 98 | rw [holomorphicLineHermitianPair_self] |
| 99 | exact mul_pos (MetricWeight.holomorphicLineMetricWeight_pos u i x) (Complex.normSq_pos.mpr hv) |
| 100 | |
| 101 | theorem holomorphicLineHermitianPair_transition (i j x : M) |
| 102 | (hi : x ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) (hj : x ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u j) |
| 103 | (v w : ℂ) : |
| 104 | holomorphicLineHermitianPair u j ⟨x, hj⟩ |
| 105 | (Bundle.holomorphicCohomologyCoordChange E M u i j x v) (Bundle.holomorphicCohomologyCoordChange E M u i j x w) = |
| 106 | holomorphicLineHermitianPair u i ⟨x, hi⟩ v w := by |
| 107 | rw [Bundle.holomorphicCohomologyCoordChange_apply E M u i j x hi hj, |
| 108 | Bundle.holomorphicCohomologyCoordChange_apply E M u i j x hi hj] |
| 109 | unfold holomorphicLineHermitianPair |
| 110 | rw [MetricWeight.holomorphicLineMetricWeight_transition u i j x hi hj, Complex.ofReal_mul, |
| 111 | Complex.normSq_eq_conj_mul_self, map_mul] |
| 112 | ring |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicLine.HermitianPair |