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.HermitianPair |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.SmoothCoverFunctions |
| 3 | |
| 4 | /-! # Data -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicMetric.Data |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Smooth positive Hermitian metrics on the original holomorphic line bundle. -/ |
| 13 | |
| 14 | open _root_.TopologicalSpace |
| 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 M : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] [NormedSpace ℝ E] |
| 22 | [TopologicalSpace M] [ChartedSpace E M] |
| 23 | |
| 24 | structure HolomorphicLineMetricData (u : Holomorphic.Connecting.holomorphicUnitCohomology E M) where |
| 25 | weight : ∀ i, Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i → ℝ |
| 26 | smooth : ∀ i, ContMDiff 𝓘(ℝ, E) 𝓘(ℝ) ∞ (weight i) |
| 27 | positive : ∀ i x, 0 < weight i x |
| 28 | transition : ∀ i j x (hi : x ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) |
| 29 | (hj : x ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u j), |
| 30 | weight i ⟨x, hi⟩ = |
| 31 | Complex.normSq ((Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i j).val ⟨x, hi, hj⟩) * weight j ⟨x, hj⟩ |
| 32 | |
| 33 | variable {u : Holomorphic.Connecting.holomorphicUnitCohomology E M} |
| 34 | |
| 35 | def HolomorphicLineMetricData.rescale (h : HolomorphicLineMetricData u) (f : M → ℝ) |
| 36 | (hs : ContMDiff 𝓘(ℝ, E) 𝓘(ℝ) ∞ f) (hp : ∀ x, 0 < f x) : HolomorphicLineMetricData u where |
| 37 | weight i x := f x.val * h.weight i x |
| 38 | smooth i := (hs.comp (contMDiff_subtype_val (I := 𝓘(ℝ, E)))).mul (h.smooth i) |
| 39 | positive i x := mul_pos (hp x.val) (h.positive i x) |
| 40 | transition i j x hi hj := by rw [h.transition i j x hi hj]; ring |
| 41 | |
| 42 | def HolomorphicLineMetricData.localRatio (h k : HolomorphicLineMetricData u) (i : M) |
| 43 | (x : Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) : ℝ := h.weight i x / k.weight i x |
| 44 | |
| 45 | theorem HolomorphicLineMetricData.localRatio_positive (h k : HolomorphicLineMetricData u) |
| 46 | (i : M) (x : Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) : 0 < h.localRatio k i x := |
| 47 | div_pos (h.positive i x) (k.positive i x) |
| 48 | |
| 49 | theorem HolomorphicLineMetricData.localRatio_smooth (h k : HolomorphicLineMetricData u) (i : M) : |
| 50 | ContMDiff 𝓘(ℝ, E) 𝓘(ℝ) ∞ (h.localRatio k i) := by |
| 51 | intro x |
| 52 | exact (h.smooth i x).mul ((contDiffAt_inv ℝ (ne_of_gt (k.positive i x))).contMDiffAt.comp x (k.smooth i x)) |
| 53 | |
| 54 | theorem HolomorphicLineMetricData.localRatio_overlap (h k : HolomorphicLineMetricData u) |
| 55 | (i j x : M) (hi : x ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) |
| 56 | (hj : x ∈ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u j) : |
| 57 | h.localRatio k i ⟨x, hi⟩ = h.localRatio k j ⟨x, hj⟩ := by |
| 58 | unfold HolomorphicLineMetricData.localRatio |
| 59 | rw [h.transition i j x hi hj, k.transition i j x hi hj] |
| 60 | exact mul_div_mul_left _ _ (ne_of_gt (Complex.normSq_pos.mpr |
| 61 | (Holomorphic.SlitLog.holomorphicUnit_value_ne_zero (Holomorphic.CohomologyTransitions.holomorphicCohomologyTransition E M u i j) ⟨x, hi, hj⟩))) |
| 62 | |
| 63 | def HolomorphicLineMetricData.ratio (h k : HolomorphicLineMetricData u) : M → ℝ := |
| 64 | SmoothCoverFunctions.smoothCoverFunction (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u) |
| 65 | (Holomorphic.CohomologyTransitions.holomorphicCohomologyLocalLifts E M u).mem_domain (h.localRatio k) |
| 66 | |
| 67 | theorem HolomorphicLineMetricData.ratio_onOpen (h k : HolomorphicLineMetricData u) |
| 68 | (i : M) (x : Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) : h.ratio k x.val = h.localRatio k i x := |
| 69 | SmoothCoverFunctions.smoothCoverFunction_onOpen _ _ _ (h.localRatio_overlap k) i x |
| 70 | |
| 71 | theorem HolomorphicLineMetricData.ratio_smooth (h k : HolomorphicLineMetricData u) : |
| 72 | ContMDiff 𝓘(ℝ, E) 𝓘(ℝ) ∞ (h.ratio k) := |
| 73 | SmoothCoverFunctions.smoothCoverFunction_contMDiff _ _ _ (h.localRatio_overlap k) (h.localRatio_smooth k) |
| 74 | |
| 75 | theorem HolomorphicLineMetricData.ratio_positive (h k : HolomorphicLineMetricData u) (x : M) : |
| 76 | 0 < h.ratio k x := SmoothCoverFunctions.smoothCoverFunction_pos _ _ _ (h.localRatio_positive k) x |
| 77 | |
| 78 | theorem HolomorphicLineMetricData.ratio_weight (h k : HolomorphicLineMetricData u) |
| 79 | (i : M) (x : Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain E M u i) : |
| 80 | h.ratio k x.val * k.weight i x = h.weight i x := by |
| 81 | rw [h.ratio_onOpen k i x] |
| 82 | exact div_mul_cancel₀ _ (ne_of_gt (k.positive i x)) |
| 83 | |
| 84 | variable [FiniteDimensional ℝ E] [IsScalarTower ℝ ℂ E] [CompactSpace M] |
| 85 | [IsManifold 𝓘(ℝ, E) ∞ M] [T2Space M] |
| 86 | |
| 87 | def holomorphicLineCanonicalMetric (u : Holomorphic.Connecting.holomorphicUnitCohomology E M) : HolomorphicLineMetricData u where |
| 88 | weight := HolomorphicLine.MetricWeight.holomorphicLineMetricWeight u |
| 89 | smooth := HolomorphicLine.HermitianPair.holomorphicLineMetricWeight_contMDiff u |
| 90 | positive := HolomorphicLine.MetricWeight.holomorphicLineMetricWeight_pos u |
| 91 | transition := HolomorphicLine.MetricWeight.holomorphicLineMetricWeight_transition u |
| 92 | |
| 93 | end |
| 94 | |
| 95 | /-! Exact change-of-metric ratios on the original holomorphic line bundle. -/ |
| 96 | |
| 97 | open scoped _root_.Manifold ContDiff |
| 98 | |
| 99 | set_option backward.isDefEq.respectTransparency false |
| 100 | set_option backward.isDefEq.respectTransparency.types false |
| 101 | set_option backward.defeqAttrib.useBackward true |
| 102 | |
| 103 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] [NormedSpace ℝ E] |
| 104 | [TopologicalSpace M] [ChartedSpace E M] |
| 105 | {u : Holomorphic.Connecting.holomorphicUnitCohomology E M} |
| 106 | |
| 107 | theorem HolomorphicLineMetricData.ratio_self (h : HolomorphicLineMetricData u) (x : M) : |
| 108 | h.ratio h x = 1 := by |
| 109 | let hx := (Holomorphic.CohomologyTransitions.holomorphicCohomologyLocalLifts E M u).mem_domain x |
| 110 | rw [h.ratio_onOpen h x ⟨x, hx⟩] |
| 111 | exact div_self (ne_of_gt (h.positive x ⟨x, hx⟩)) |
| 112 | |
| 113 | theorem HolomorphicLineMetricData.ratio_mul (h k l : HolomorphicLineMetricData u) (x : M) : |
| 114 | h.ratio k x * k.ratio l x = h.ratio l x := by |
| 115 | let hx := (Holomorphic.CohomologyTransitions.holomorphicCohomologyLocalLifts E M u).mem_domain x |
| 116 | rw [h.ratio_onOpen k x ⟨x, hx⟩, k.ratio_onOpen l x ⟨x, hx⟩, h.ratio_onOpen l x ⟨x, hx⟩] |
| 117 | exact div_mul_div_cancel₀ (ne_of_gt (k.positive x ⟨x, hx⟩)) |
| 118 | |
| 119 | theorem HolomorphicLineMetricData.ratio_inv (h k : HolomorphicLineMetricData u) (x : M) : |
| 120 | (h.ratio k x)⁻¹ = k.ratio h x := by |
| 121 | let hx := (Holomorphic.CohomologyTransitions.holomorphicCohomologyLocalLifts E M u).mem_domain x |
| 122 | rw [h.ratio_onOpen k x ⟨x, hx⟩, k.ratio_onOpen h x ⟨x, hx⟩] |
| 123 | exact inv_div _ _ |
| 124 | |
| 125 | theorem HolomorphicLineMetricData.ratio_rescale (h k : HolomorphicLineMetricData u) |
| 126 | (f : M → ℝ) (hs : ContMDiff 𝓘(ℝ, E) 𝓘(ℝ) ∞ f) (hp : ∀ x, 0 < f x) (x : M) : |
| 127 | (h.rescale f hs hp).ratio k x = f x * h.ratio k x := by |
| 128 | let hx := (Holomorphic.CohomologyTransitions.holomorphicCohomologyLocalLifts E M u).mem_domain x |
| 129 | rw [(h.rescale f hs hp).ratio_onOpen k x ⟨x, hx⟩, h.ratio_onOpen k x ⟨x, hx⟩] |
| 130 | exact mul_div_assoc _ _ _ |
| 131 | |
| 132 | end |
| 133 | |
| 134 | end OAI.AlgebraicGeometry.DivisorClass.Chern.HolomorphicMetric.Data |