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.HolomorphicMetric.Data |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.TensorGaugeTransitions |
| 3 | |
| 4 | /-! # Tensor Metric -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.TensorMetric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual local gauges construct a product metric on the original sum bundle. -/ |
| 11 | |
| 12 | open _root_.TopologicalSpace |
| 13 | open scoped _root_.Manifold ContDiff |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | theorem gaugeMetricProduct_transition (c a b i j x y : ℝ) |
| 20 | (hi : i ≠ 0) (hj : j ≠ 0) (h : c * i = j * a * b) : |
| 21 | (a * x) * (b * y) / i = c * (x * y / j) := by |
| 22 | field_simp |
| 23 | linear_combination -(x * y) * h |
| 24 | |
| 25 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] [NormedSpace ℝ E] |
| 26 | [IsScalarTower ℝ ℂ E] [TopologicalSpace M] [ChartedSpace E M] |
| 27 | (u v : Connecting.holomorphicUnitCohomology E M) |
| 28 | |
| 29 | def holomorphicTensorMetricLocalWeight (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) |
| 30 | (i : M) (x : TensorGaugeTransitions.holomorphicTensorDomain E M u v i) : ℝ := |
| 31 | h.weight i ⟨x.val, x.property.2.1⟩ * k.weight i ⟨x.val, x.property.2.2⟩ / |
| 32 | Complex.normSq ((TensorGaugeTransitions.holomorphicTensorGauge E M u v i).val x) |
| 33 | |
| 34 | omit [IsScalarTower ℝ ℂ E] in |
| 35 | theorem holomorphicTensorMetricLocalWeight_positive |
| 36 | (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) |
| 37 | (i : M) (x : TensorGaugeTransitions.holomorphicTensorDomain E M u v i) : |
| 38 | 0 < holomorphicTensorMetricLocalWeight u v h k i x := |
| 39 | div_pos (mul_pos (h.positive i _) (k.positive i _)) (Complex.normSq_pos.mpr |
| 40 | (SlitLog.holomorphicUnit_value_ne_zero (TensorGaugeTransitions.holomorphicTensorGauge E M u v i) x)) |
| 41 | |
| 42 | theorem holomorphicTensorMetricLocalWeight_smooth |
| 43 | (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) (i : M) : |
| 44 | ContMDiff 𝓘(ℝ, E) 𝓘(ℝ) ∞ (holomorphicTensorMetricLocalWeight u v h k i) := by |
| 45 | have ha := (h.smooth i).comp (contMDiff_inclusion (I := 𝓘(ℝ, E)) |
| 46 | (show TensorGaugeTransitions.holomorphicTensorDomain E M u v i ≤ CohomologyTransitions.holomorphicCohomologyDomain E M u i from |
| 47 | inf_le_right.trans inf_le_left)) |
| 48 | have hb := (k.smooth i).comp (contMDiff_inclusion (I := 𝓘(ℝ, E)) |
| 49 | (show TensorGaugeTransitions.holomorphicTensorDomain E M u v i ≤ CohomologyTransitions.holomorphicCohomologyDomain E M v i from |
| 50 | inf_le_right.trans inf_le_right)) |
| 51 | have hg := HolomorphicLine.HermitianPair.complexNormSq_contDiff.contMDiff.comp |
| 52 | (Analysis.DifferentialForms.Manifold.Holomorphic.contMDiff_real_of_complex (TensorGaugeTransitions.holomorphicTensorGauge E M u v i).val.property) |
| 53 | intro x |
| 54 | exact ((ha x).mul (hb x)).mul |
| 55 | ((contDiffAt_inv ℝ (ne_of_gt (Complex.normSq_pos.mpr |
| 56 | (SlitLog.holomorphicUnit_value_ne_zero (TensorGaugeTransitions.holomorphicTensorGauge E M u v i) x)))).contMDiffAt.comp x (hg x)) |
| 57 | |
| 58 | omit [IsScalarTower ℝ ℂ E] in |
| 59 | theorem holomorphicTensorMetricLocalWeight_transition |
| 60 | (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) |
| 61 | (i j x : M) (hi : x ∈ TensorGaugeTransitions.holomorphicTensorDomain E M u v i) |
| 62 | (hj : x ∈ TensorGaugeTransitions.holomorphicTensorDomain E M u v j) : |
| 63 | holomorphicTensorMetricLocalWeight u v h k i ⟨x, hi⟩ = |
| 64 | Complex.normSq ((CohomologyTransitions.holomorphicCohomologyTransition E M (u + v) i j).val ⟨x, hi.1, hj.1⟩) * |
| 65 | holomorphicTensorMetricLocalWeight u v h k j ⟨x, hj⟩ := by |
| 66 | have hg := congrArg Complex.normSq (TensorGaugeTransitions.holomorphicTensorGauge_transition E M u v i j x hi hj) |
| 67 | simp only [Complex.normSq_mul] at hg |
| 68 | unfold holomorphicTensorMetricLocalWeight |
| 69 | rw [h.transition i j x hi.2.1 hj.2.1, k.transition i j x hi.2.2 hj.2.2] |
| 70 | exact gaugeMetricProduct_transition _ _ _ _ _ _ _ |
| 71 | (ne_of_gt (Complex.normSq_pos.mpr (SlitLog.holomorphicUnit_value_ne_zero |
| 72 | (TensorGaugeTransitions.holomorphicTensorGauge E M u v i) ⟨x, hi⟩))) |
| 73 | (ne_of_gt (Complex.normSq_pos.mpr (SlitLog.holomorphicUnit_value_ne_zero |
| 74 | (TensorGaugeTransitions.holomorphicTensorGauge E M u v j) ⟨x, hj⟩))) hg |
| 75 | |
| 76 | def holomorphicTensorMetricLocalRatio (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) |
| 77 | (r : HolomorphicMetric.Data.HolomorphicLineMetricData (u + v)) (i : M) (x : TensorGaugeTransitions.holomorphicTensorDomain E M u v i) : ℝ := |
| 78 | holomorphicTensorMetricLocalWeight u v h k i x / r.weight i ⟨x.val, x.property.1⟩ |
| 79 | |
| 80 | omit [IsScalarTower ℝ ℂ E] in |
| 81 | theorem holomorphicTensorMetricLocalRatio_positive |
| 82 | (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) |
| 83 | (r : HolomorphicMetric.Data.HolomorphicLineMetricData (u + v)) (i : M) (x : TensorGaugeTransitions.holomorphicTensorDomain E M u v i) : |
| 84 | 0 < holomorphicTensorMetricLocalRatio u v h k r i x := |
| 85 | div_pos (holomorphicTensorMetricLocalWeight_positive u v h k i x) (r.positive i _) |
| 86 | |
| 87 | theorem holomorphicTensorMetricLocalRatio_smooth |
| 88 | (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) |
| 89 | (r : HolomorphicMetric.Data.HolomorphicLineMetricData (u + v)) (i : M) : |
| 90 | ContMDiff 𝓘(ℝ, E) 𝓘(ℝ) ∞ (holomorphicTensorMetricLocalRatio u v h k r i) := by |
| 91 | have hr := (r.smooth i).comp (contMDiff_inclusion (I := 𝓘(ℝ, E)) |
| 92 | (show TensorGaugeTransitions.holomorphicTensorDomain E M u v i ≤ CohomologyTransitions.holomorphicCohomologyDomain E M (u + v) i from inf_le_left)) |
| 93 | intro x |
| 94 | exact (holomorphicTensorMetricLocalWeight_smooth u v h k i x).mul |
| 95 | ((contDiffAt_inv ℝ (ne_of_gt (r.positive i _))).contMDiffAt.comp x (hr x)) |
| 96 | |
| 97 | omit [IsScalarTower ℝ ℂ E] in |
| 98 | theorem holomorphicTensorMetricLocalRatio_overlap |
| 99 | (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) |
| 100 | (r : HolomorphicMetric.Data.HolomorphicLineMetricData (u + v)) (i j x : M) |
| 101 | (hi : x ∈ TensorGaugeTransitions.holomorphicTensorDomain E M u v i) (hj : x ∈ TensorGaugeTransitions.holomorphicTensorDomain E M u v j) : |
| 102 | holomorphicTensorMetricLocalRatio u v h k r i ⟨x, hi⟩ = |
| 103 | holomorphicTensorMetricLocalRatio u v h k r j ⟨x, hj⟩ := by |
| 104 | unfold holomorphicTensorMetricLocalRatio |
| 105 | rw [holomorphicTensorMetricLocalWeight_transition u v h k i j x hi hj, r.transition i j x hi.1 hj.1] |
| 106 | exact mul_div_mul_left _ _ (ne_of_gt (Complex.normSq_pos.mpr |
| 107 | (SlitLog.holomorphicUnit_value_ne_zero (CohomologyTransitions.holomorphicCohomologyTransition E M (u + v) i j) ⟨x, hi.1, hj.1⟩))) |
| 108 | |
| 109 | def holomorphicTensorMetricRatio (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) |
| 110 | (r : HolomorphicMetric.Data.HolomorphicLineMetricData (u + v)) : M → ℝ := |
| 111 | SmoothCoverFunctions.smoothCoverFunction (TensorGaugeTransitions.holomorphicTensorDomain E M u v) (TensorGaugeTransitions.holomorphicTensorDomain_mem E M u v) |
| 112 | (holomorphicTensorMetricLocalRatio u v h k r) |
| 113 | |
| 114 | omit [IsScalarTower ℝ ℂ E] in |
| 115 | theorem holomorphicTensorMetricRatio_onOpen |
| 116 | (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) |
| 117 | (r : HolomorphicMetric.Data.HolomorphicLineMetricData (u + v)) (i : M) (x : TensorGaugeTransitions.holomorphicTensorDomain E M u v i) : |
| 118 | holomorphicTensorMetricRatio u v h k r x.val = holomorphicTensorMetricLocalRatio u v h k r i x := |
| 119 | SmoothCoverFunctions.smoothCoverFunction_onOpen _ _ _ (holomorphicTensorMetricLocalRatio_overlap u v h k r) i x |
| 120 | |
| 121 | theorem holomorphicTensorMetricRatio_smooth |
| 122 | (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) |
| 123 | (r : HolomorphicMetric.Data.HolomorphicLineMetricData (u + v)) : ContMDiff 𝓘(ℝ, E) 𝓘(ℝ) ∞ (holomorphicTensorMetricRatio u v h k r) := |
| 124 | SmoothCoverFunctions.smoothCoverFunction_contMDiff _ _ _ (holomorphicTensorMetricLocalRatio_overlap u v h k r) |
| 125 | (holomorphicTensorMetricLocalRatio_smooth u v h k r) |
| 126 | |
| 127 | omit [IsScalarTower ℝ ℂ E] in |
| 128 | theorem holomorphicTensorMetricRatio_positive |
| 129 | (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) |
| 130 | (r : HolomorphicMetric.Data.HolomorphicLineMetricData (u + v)) (x : M) : 0 < holomorphicTensorMetricRatio u v h k r x := |
| 131 | SmoothCoverFunctions.smoothCoverFunction_pos _ _ _ (holomorphicTensorMetricLocalRatio_positive u v h k r) x |
| 132 | |
| 133 | def holomorphicTensorMetricWithReference (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) |
| 134 | (r : HolomorphicMetric.Data.HolomorphicLineMetricData (u + v)) : HolomorphicMetric.Data.HolomorphicLineMetricData (u + v) := |
| 135 | r.rescale (holomorphicTensorMetricRatio u v h k r) (holomorphicTensorMetricRatio_smooth u v h k r) |
| 136 | (holomorphicTensorMetricRatio_positive u v h k r) |
| 137 | |
| 138 | theorem holomorphicTensorMetricWithReference_weight |
| 139 | (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) |
| 140 | (r : HolomorphicMetric.Data.HolomorphicLineMetricData (u + v)) (i : M) (x : TensorGaugeTransitions.holomorphicTensorDomain E M u v i) : |
| 141 | (holomorphicTensorMetricWithReference u v h k r).weight i ⟨x.val, x.property.1⟩ = |
| 142 | holomorphicTensorMetricLocalWeight u v h k i x := by |
| 143 | change holomorphicTensorMetricRatio u v h k r x.val * r.weight i ⟨x.val, x.property.1⟩ = _ |
| 144 | rw [holomorphicTensorMetricRatio_onOpen u v h k r i x] |
| 145 | exact div_mul_cancel₀ _ (ne_of_gt (r.positive i _)) |
| 146 | |
| 147 | variable [FiniteDimensional ℝ E] [CompactSpace M] [IsManifold 𝓘(ℝ, E) ∞ M] [T2Space M] |
| 148 | |
| 149 | def holomorphicTensorMetric (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) : |
| 150 | HolomorphicMetric.Data.HolomorphicLineMetricData (u + v) := |
| 151 | holomorphicTensorMetricWithReference u v h k (HolomorphicMetric.Data.holomorphicLineCanonicalMetric (u + v)) |
| 152 | |
| 153 | theorem holomorphicTensorMetric_weight (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) (k : HolomorphicMetric.Data.HolomorphicLineMetricData v) |
| 154 | (i : M) (x : TensorGaugeTransitions.holomorphicTensorDomain E M u v i) : |
| 155 | (holomorphicTensorMetric u v h k).weight i ⟨x.val, x.property.1⟩ = |
| 156 | h.weight i ⟨x.val, x.property.2.1⟩ * k.weight i ⟨x.val, x.property.2.2⟩ / |
| 157 | Complex.normSq ((TensorGaugeTransitions.holomorphicTensorGauge E M u v i).val x) := |
| 158 | holomorphicTensorMetricWithReference_weight u v h k (HolomorphicMetric.Data.holomorphicLineCanonicalMetric (u + v)) i x |
| 159 | |
| 160 | end |
| 161 | |
| 162 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Holomorphic.TensorMetric |