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.Bundle |
| 2 | import Mathlib.Geometry.Manifold.PartitionOfUnity |
| 3 | |
| 4 | /-! # Metric Weight -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicLine.MetricWeight |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! A finite smooth partition subordinate to the actual holomorphic line-bundle frames. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.TopologicalSpace Set |
| 15 | open scoped _root_.Manifold ContDiff |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | |
| 21 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 22 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] [CompactSpace M] |
| 23 | (u : Holomorphic.Connecting.holomorphicUnitCohomology E M) |
| 24 | |
| 25 | theorem exists_holomorphicLineFiniteCover : ∃ s : Finset M, |
| 26 | ∀ x : M, ∃ i : s, x ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i.val := by |
| 27 | obtain ⟨s, hs⟩ := isCompact_univ.elim_finite_subcover |
| 28 | (fun i => (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i : Set M)) |
| 29 | (fun i => (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i).isOpen) (by |
| 30 | intro x _ |
| 31 | exact mem_iUnion.mpr ⟨x, (Holomorphic.CohomologyTransitions.holomorphicCohomologyLocalLifts E M u).mem_domain x⟩) |
| 32 | refine ⟨s, ?_⟩ |
| 33 | intro x |
| 34 | obtain ⟨i, hi, hxi⟩ := mem_iUnion₂.mp (hs (mem_univ x)) |
| 35 | exact ⟨⟨i, hi⟩, hxi⟩ |
| 36 | |
| 37 | def holomorphicLineFiniteCover : Finset M := (exists_holomorphicLineFiniteCover u).choose |
| 38 | |
| 39 | theorem holomorphicLineFiniteCover_covers (x : M) : |
| 40 | ∃ i : holomorphicLineFiniteCover u, x ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i.val := |
| 41 | (exists_holomorphicLineFiniteCover u).choose_spec x |
| 42 | |
| 43 | variable [NormedSpace ℝ E] [FiniteDimensional ℝ E] [IsManifold 𝓘(ℝ, E) ∞ M] [T2Space M] |
| 44 | |
| 45 | theorem exists_holomorphicLineSmoothPartition : |
| 46 | ∃ p : SmoothPartitionOfUnity (holomorphicLineFiniteCover u) 𝓘(ℝ, E) M, |
| 47 | p.IsSubordinate (fun i => (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i.val : Set M)) := by |
| 48 | apply SmoothPartitionOfUnity.exists_isSubordinate 𝓘(ℝ, E) isClosed_univ |
| 49 | (fun i : holomorphicLineFiniteCover u => (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i.val : Set M)) |
| 50 | (fun i => (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i.val).isOpen) |
| 51 | intro x _ |
| 52 | exact mem_iUnion.mpr (holomorphicLineFiniteCover_covers u x) |
| 53 | |
| 54 | def holomorphicLineSmoothPartition : |
| 55 | SmoothPartitionOfUnity (holomorphicLineFiniteCover u) 𝓘(ℝ, E) M := |
| 56 | (exists_holomorphicLineSmoothPartition u).choose |
| 57 | |
| 58 | theorem holomorphicLineSmoothPartition_support (i : holomorphicLineFiniteCover u) : |
| 59 | tsupport (holomorphicLineSmoothPartition u i) ⊆ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i.val := |
| 60 | (exists_holomorphicLineSmoothPartition u).choose_spec i |
| 61 | |
| 62 | theorem holomorphicLineSmoothPartition_nonneg (i : holomorphicLineFiniteCover u) (x : M) : |
| 63 | 0 ≤ holomorphicLineSmoothPartition u i x := |
| 64 | (holomorphicLineSmoothPartition u).nonneg i x |
| 65 | |
| 66 | theorem holomorphicLineSmoothPartition_sum (x : M) : |
| 67 | ∑ i, holomorphicLineSmoothPartition u i x = 1 := by |
| 68 | simpa only [finsum_eq_sum_of_fintype] using (holomorphicLineSmoothPartition u).sum_eq_one (mem_univ x) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | /-! Positive Hermitian metric coefficients from the actual frame cocycle and smooth partition. -/ |
| 73 | |
| 74 | open _root_.CategoryTheory _root_.TopologicalSpace Set |
| 75 | open scoped _root_.Manifold ContDiff |
| 76 | |
| 77 | set_option backward.isDefEq.respectTransparency false |
| 78 | set_option backward.isDefEq.respectTransparency.types false |
| 79 | set_option backward.defeqAttrib.useBackward true |
| 80 | |
| 81 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 82 | [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 83 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] [CompactSpace M] |
| 84 | [IsManifold 𝓘(ℝ, E) ∞ M] [T2Space M] (u : Holomorphic.Connecting.holomorphicUnitCohomology E M) |
| 85 | |
| 86 | def holomorphicLineMetricSummand (i : M) (j : holomorphicLineFiniteCover u) |
| 87 | (x : Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) : ℝ := by |
| 88 | classical |
| 89 | exact if hj : x.val ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u j.val then |
| 90 | holomorphicLineSmoothPartition u j x.val * |
| 91 | Complex.normSq ((Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i j.val).val ⟨x.val, x.property, hj⟩) |
| 92 | else 0 |
| 93 | |
| 94 | def holomorphicLineMetricWeight (i : M) (x : Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) : ℝ := |
| 95 | ∑ j, holomorphicLineMetricSummand u i j x |
| 96 | |
| 97 | theorem holomorphicLineMetricSummand_nonneg (i : M) (j : holomorphicLineFiniteCover u) |
| 98 | (x : Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) : 0 ≤ holomorphicLineMetricSummand u i j x := by |
| 99 | unfold holomorphicLineMetricSummand |
| 100 | split_ifs |
| 101 | · exact mul_nonneg (holomorphicLineSmoothPartition_nonneg u j x.val) (Complex.normSq_nonneg _) |
| 102 | · exact le_rfl |
| 103 | |
| 104 | theorem holomorphicLineMetricWeight_pos (i : M) (x : Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) : |
| 105 | 0 < holomorphicLineMetricWeight u i x := by |
| 106 | obtain ⟨j, hj⟩ := (holomorphicLineSmoothPartition u).exists_pos_of_mem (mem_univ x.val) |
| 107 | have hxj : x.val ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u j.val := |
| 108 | holomorphicLineSmoothPartition_support u j (subset_tsupport _ (ne_of_gt hj)) |
| 109 | have hterm : 0 < holomorphicLineMetricSummand u i j x := by |
| 110 | erw [holomorphicLineMetricSummand, dite_eq_left hxj] |
| 111 | exact mul_pos hj (Complex.normSq_pos.mpr |
| 112 | (Holomorphic.SlitLog.holomorphicUnit_value_ne_zero (Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i j.val) ⟨x.val, x.property, hxj⟩)) |
| 113 | exact hterm.trans_le (Finset.single_le_sum (fun k _ => holomorphicLineMetricSummand_nonneg u i k x) |
| 114 | (Finset.mem_univ j)) |
| 115 | |
| 116 | theorem holomorphicLineMetricWeight_transition (i j x : M) |
| 117 | (hi : x ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) (hj : x ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u j) : |
| 118 | holomorphicLineMetricWeight u i ⟨x, hi⟩ = |
| 119 | Complex.normSq ((Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i j).val ⟨x, hi, hj⟩) * |
| 120 | holomorphicLineMetricWeight u j ⟨x, hj⟩ := by |
| 121 | classical |
| 122 | unfold holomorphicLineMetricWeight |
| 123 | rw [Finset.mul_sum] |
| 124 | apply Finset.sum_congr rfl |
| 125 | intro k _ |
| 126 | by_cases hk : x ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u k.val |
| 127 | · simp only [holomorphicLineMetricSummand, dite_eq_left hk] |
| 128 | rw [← Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition_cocycle E M u i j k.val x hi hj hk, Complex.normSq_mul] |
| 129 | ring |
| 130 | · simp only [holomorphicLineMetricSummand, dite_eq_right hk, mul_zero] |
| 131 | |
| 132 | end |
| 133 | |
| 134 | end OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicLine.MetricWeight |