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.ComplexMultiplication.HodgeComparison.HermitianDivergence |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.HermitianVolumeDensity |
| 3 | |
| 4 | /-! # Metric Coefficient Divergence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MetricCoefficientDivergence.CM.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Vanishing coefficient divergence with the actual Riemannian volume |
| 11 | density, in both native and Euclidean projective coordinates. -/ |
| 12 | |
| 13 | open Filter |
| 14 | open scoped _root_.Topology |
| 15 | |
| 16 | theorem holomorphicDirectionalDerivative_congr {E : Type*} |
| 17 | [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 18 | {f g : E → ℂ} {x : E} (h : f =ᶠ[𝓝 x] g) (u : E) : |
| 19 | MetricDerivative.CM.Construction.holomorphicDirectionalDerivative f x u = MetricDerivative.CM.Construction.holomorphicDirectionalDerivative g x u := by |
| 20 | rw [MetricDerivative.CM.Construction.holomorphicDirectionalDerivative, MetricDerivative.CM.Construction.holomorphicDirectionalDerivative, h.fderiv_eq] |
| 21 | |
| 22 | theorem holomorphicDirectionalDerivative_comp_complexLinear {E F : Type*} |
| 23 | [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 24 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] [IsScalarTower ℝ ℂ F] |
| 25 | (L : E →L[ℂ] F) (f : F → ℂ) {x : E} (hf : DifferentiableAt ℝ f (L x)) (u : E) : |
| 26 | MetricDerivative.CM.Construction.holomorphicDirectionalDerivative (fun y => f (L y)) x u = |
| 27 | MetricDerivative.CM.Construction.holomorphicDirectionalDerivative f (L x) (L u) := by |
| 28 | have hd := hf.hasFDerivAt.comp x (L.restrictScalars ℝ).hasFDerivAt |
| 29 | change HasFDerivAt (fun y => f (L y)) ((fderiv ℝ f (L x)).comp (L.restrictScalars ℝ)) x at hd |
| 30 | simp only [MetricDerivative.CM.Construction.holomorphicDirectionalDerivative, hd.fderiv, ContinuousLinearMap.comp_apply] |
| 31 | change (1 / 2 : ℂ) * (fderiv ℝ f (L x) (L u) - Complex.I * |
| 32 | fderiv ℝ f (L x) (L (Complex.I • u))) = _ |
| 33 | rw [map_smul] |
| 34 | |
| 35 | theorem varietyNativeMetric_weighted_inverse_divergence (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 36 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 37 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 38 | {y : V.analyticModel} (hy : y ∈ e.target) (k : Fin V.complexDimension) : |
| 39 | ∑ i, MetricDerivative.CM.Construction.holomorphicDirectionalDerivative |
| 40 | (fun z => (Metric.CM.Construction.varietyMetricDensity V e ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm z) : ℂ) * |
| 41 | (InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) z)⁻¹ i k) |
| 42 | y (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V i) = 0 := by |
| 43 | have hi (i : Fin V.complexDimension) : |
| 44 | (fun z => (Metric.CM.Construction.varietyMetricDensity V e ((EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).symm z) : ℂ) * |
| 45 | (InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) z)⁻¹ i k) =ᶠ[𝓝 y] |
| 46 | (fun z => (InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) z).det * |
| 47 | (InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) z)⁻¹ i k) := by |
| 48 | filter_upwards [e.open_target.mem_nhds hy] with z hz |
| 49 | rw [HermitianVolumeDensity.CM.Construction.varietyNativeDensity_eq_hermitian_det V e he hz] |
| 50 | simp_rw [holomorphicDirectionalDerivative_congr (hi _)] |
| 51 | exact HermitianDivergence.CM.Construction.varietyHermitian_weighted_inverse_divergence V e he (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) hy k |
| 52 | |
| 53 | theorem varietyEuclideanMetric_weighted_inverse_divergence (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 54 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 55 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 56 | {z : EuclideanMetric.CM.Construction.varietyEuclideanModel V} (hz : z ∈ EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) |
| 57 | (k : Fin V.complexDimension) : |
| 58 | ∑ i, MetricDerivative.CM.Construction.holomorphicDirectionalDerivative |
| 59 | (fun w => (Metric.CM.Construction.varietyMetricDensity V e w : ℂ) * |
| 60 | (InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) |
| 61 | (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V w))⁻¹ i k) |
| 62 | z (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ i) = 0 := by |
| 63 | let M := InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) |
| 64 | have hM := HermitianMatrixPositive.CM.Construction.varietyHermitianMatrix_differentiableAt V e he (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) hz |
| 65 | have hd := HermitianMatrixPositive.CM.Construction.varietyHermitianMatrix_det_isUnit V e he (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) hz |
| 66 | have hi (i : Fin V.complexDimension) : |
| 67 | MetricDerivative.CM.Construction.holomorphicDirectionalDerivative |
| 68 | (fun w => (Metric.CM.Construction.varietyMetricDensity V e w : ℂ) * (M (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V w))⁻¹ i k) |
| 69 | z (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ i) = |
| 70 | MetricDerivative.CM.Construction.holomorphicDirectionalDerivative (fun y => (M y).det * (M y)⁻¹ i k) |
| 71 | (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V i) := by |
| 72 | have hc : (fun w => (Metric.CM.Construction.varietyMetricDensity V e w : ℂ) * (M (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V w))⁻¹ i k) =ᶠ[𝓝 z] |
| 73 | (fun w => (M (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V w)).det * (M (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V w))⁻¹ i k) := by |
| 74 | filter_upwards [(EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz] with w hw |
| 75 | rw [HermitianVolumeDensity.CM.Construction.varietyMetricDensity_eq_hermitian_det V e he hw] |
| 76 | rw [holomorphicDirectionalDerivative_congr hc] |
| 77 | exact holomorphicDirectionalDerivative_comp_complexLinear |
| 78 | (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).toContinuousLinearMap |
| 79 | (fun y => (M y).det * (M y)⁻¹ i k) |
| 80 | ((HolomorphicMatrixCalculus.CM.Construction.matrix_determinant_differentiableAt M hM).mul (HolomorphicMatrixCalculus.CM.Construction.matrix_inverse_differentiableAt M hM hd i k)) _ |
| 81 | calc |
| 82 | _ = ∑ i, MetricDerivative.CM.Construction.holomorphicDirectionalDerivative (fun y => (M y).det * (M y)⁻¹ i k) |
| 83 | (EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V i) := |
| 84 | Finset.sum_congr rfl (fun i _ => hi i) |
| 85 | _ = 0 := HermitianDivergence.CM.Construction.varietyHermitian_weighted_inverse_divergence V e he (HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) hz k |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MetricCoefficientDivergence.CM.Construction |