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.HodgeConjecture.CMExtraction.ProjectiveTwoFlux |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.TwoExterior |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.TwoDensity |
| 4 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.TwoFormSupportedPair |
| 5 | |
| 6 | /-! # Two Supported Pair -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.TwoSupportedPair.Closedness |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The genuine projective pairing against a supported derivative is the (2,0) flux integral. -/ |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.TwoFormSupportedPair.CM.Construction _root_.MeasureTheory |
| 15 | open scoped ComplexOrder |
| 16 | |
| 17 | theorem tsupport_conjugate {X : Type*} [TopologicalSpace X] (f : X → ℂ) : |
| 18 | tsupport (fun x => star (f x)) = tsupport f := by |
| 19 | apply congrArg closure |
| 20 | ext x |
| 21 | simp only [Function.mem_support, ne_eq, star_eq_zero] |
| 22 | |
| 23 | theorem projectiveL2Pair_type20_supported_derivative (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 24 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 25 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 26 | (a : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 2) |
| 27 | (ha : Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree V.analyticModel V.analyticSpace 2 0 a.val) |
| 28 | (b : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V.analyticModel V.analyticSpace 1) |
| 29 | (hb : Analysis.DifferentialForms.Manifold.ManifoldBidegree.HasManifoldBidegree V.analyticModel V.analyticSpace 1 0 b.val) |
| 30 | {K : Set V.analyticSpace} (hK : IsCompact K) (hKe : K ⊆ e.source) |
| 31 | (hs : ∀ x, x ∉ K → b x = 0) : |
| 32 | Analysis.HodgeTheory.Decomposition.Form.Constructions.projectiveL2Pair V 2 (Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d b) a = |
| 33 | 4 * ∫ z, ∑ j, ∑ d, ProjectiveTwoFlux.Closedness.varietyHolomorphicTwoFlux V e a j d z * |
| 34 | ComplexMultiplication.HodgeComparison.AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (fun y => star (ComplexMultiplication.HodgeComparison.HolomorphicExteriorTrace.CM.Construction.supportedOneFormComplexCoefficient V e b j y)) z |
| 35 | (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ d) := by |
| 36 | let c := Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm.d b |
| 37 | have hc : ∀ x, x ∉ e.source → c x = 0 := by |
| 38 | intro x hx |
| 39 | exact Analysis.HodgeTheory.Decomposition.SupportedCoordinates.Constructions.manifold_d_zero_off_closed V 1 b hK.isClosed hs (fun h => hx (hKe h)) |
| 40 | have hpzero (x : V.analyticSpace) (hx : x ∉ e.source) : |
| 41 | Analysis.HodgeTheory.Decomposition.ProjectiveFormMetric.Constructions.projectiveFormPointPair V 2 c.val a.val x = 0 := by |
| 42 | rw [← Analysis.HodgeTheory.Decomposition.ProjectiveFormMetric.Constructions.projectiveFormPointPair_symm, |
| 43 | Analysis.HodgeTheory.Decomposition.LocalMetric.Constructions.projectiveFormPointPair_zero_of_right V 2 a.val c.val x (hc x hx), star_zero] |
| 44 | rw [Analysis.HodgeTheory.Decomposition.Form.Constructions.projectiveL2Pair, |
| 45 | Analysis.HodgeTheory.Decomposition.ChartIntegral.Constructions.projectiveMetricVolume_integral_chart V e he |
| 46 | (Analysis.HodgeTheory.Decomposition.ProjectiveFormMetric.Constructions.projectiveFormPointPair V 2 c.val a.val) |
| 47 | (Analysis.HodgeTheory.Decomposition.MetricCoefficients.Constructions.projectiveFormPointPair_continuous V 2 c a).aestronglyMeasurable hpzero] |
| 48 | have hchart (z : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) (hz : z ∈ ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 49 | (ComplexMultiplication.HodgeComparison.Metric.CM.Construction.varietyMetricDensity V e z : ℂ) * |
| 50 | Analysis.HodgeTheory.Decomposition.ProjectiveFormMetric.Constructions.projectiveFormPointPair V 2 c.val a.val |
| 51 | (Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse V e z) = |
| 52 | 4 * ∑ j, ∑ d, ProjectiveTwoFlux.Closedness.varietyHolomorphicTwoFlux V e a j d z * |
| 53 | ComplexMultiplication.HodgeComparison.AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (fun y => star (ComplexMultiplication.HodgeComparison.HolomorphicExteriorTrace.CM.Construction.supportedOneFormComplexCoefficient V e b j y)) z |
| 54 | (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ d) := by |
| 55 | have hzy : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z ∈ e.target := hz |
| 56 | have hp : Analysis.HodgeTheory.Decomposition.ProjectiveFormMetric.Constructions.projectiveFormPointPair V 2 a.val c.val |
| 57 | (Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse V e z) = |
| 58 | Analysis.HodgeTheory.Decomposition.ProjectiveFormMetric.Constructions.projectiveChartFormPair V e he (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) hzy 2 |
| 59 | (a.val.inChart e (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z)) |
| 60 | (c.val.inChart e (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z)) := by |
| 61 | simpa only [e.right_inv hzy, Analysis.HodgeTheory.Decomposition.MeasureVolume.Constructions.chartCoordinateInverse] using |
| 62 | Analysis.HodgeTheory.Decomposition.ProjectiveFormMetric.Constructions.projectiveFormPointPair_eq_chart V e he _ (e.map_target hzy) 2 a.val c.val |
| 63 | rw [← Analysis.HodgeTheory.Decomposition.ProjectiveFormMetric.Constructions.projectiveFormPointPair_symm, hp, |
| 64 | TwoMetric.Closedness.projectiveChartPair_type20_inverse_metric V e he _ hzy (ComplexMultiplication.HodgeComparison.HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) |
| 65 | _ _ (ha e he _ hzy)] |
| 66 | have hP (i j : Fin V.complexDimension) := |
| 67 | (ComplexMultiplication.HodgeComparison.HermitianMatrixPositive.CM.Construction.varietyHermitianMatrix_posDef V e he (ComplexMultiplication.HodgeComparison.HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V) hzy).isHermitian.inv.apply i j |
| 68 | simp only [star_mul, star_ofNat, star_sum, star_star, hP] |
| 69 | rw [mul_comm _ (2 : ℂ)] |
| 70 | let D : Matrix (Fin V.complexDimension) (Fin V.complexDimension) ℂ := |
| 71 | Matrix.of fun d j => ComplexMultiplication.HodgeComparison.AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative |
| 72 | (fun y => star (ComplexMultiplication.HodgeComparison.HolomorphicExteriorTrace.CM.Construction.supportedOneFormComplexCoefficient V e b j y)) z |
| 73 | (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ d) |
| 74 | have hcoef (d j : Fin V.complexDimension) : |
| 75 | star (HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient (c.val.inChart e (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z)) |
| 76 | (ComplexMultiplication.HodgeComparison.HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V d) (ComplexMultiplication.HodgeComparison.HermitianVolumeDensity.CM.Construction.varietyEuclideanComplexBasis V j)) = D d j - D j d := by |
| 77 | have hd := TwoExterior.Closedness.variety_type10_exterior_holomorphic_coefficient V e he b hb hz d j |
| 78 | have hj (r t : Fin V.complexDimension) : |
| 79 | star (ComplexMultiplication.HodgeComparison.MetricDerivative.CM.Construction.holomorphicDirectionalDerivative (ComplexMultiplication.HodgeComparison.HolomorphicAdjointFlux.CM.Construction.varietyOneFormComplexCoefficient V e b t) z |
| 80 | (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ r)) = D r t := by |
| 81 | change _ = ComplexMultiplication.HodgeComparison.AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (fun y => star |
| 82 | (ComplexMultiplication.HodgeComparison.HolomorphicExteriorTrace.CM.Construction.supportedOneFormComplexCoefficient V e b t y)) z _ |
| 83 | rw [ComplexMultiplication.HodgeComparison.AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative_star, |
| 84 | ComplexMultiplication.HodgeComparison.MetricCoefficientDivergence.CM.Construction.holomorphicDirectionalDerivative_congr |
| 85 | (ComplexMultiplication.HodgeComparison.HolomorphicExteriorTrace.CM.Construction.supportedOneFormComplexCoefficient_eventuallyEq V e b t hz)] |
| 86 | exact (congrArg star hd).trans (by rw [star_sub, hj, hj]) |
| 87 | calc |
| 88 | _ = (ComplexMultiplication.HodgeComparison.Metric.CM.Construction.varietyMetricDensity V e z : ℂ) * (2 * ∑ j, ∑ k, ∑ d, ∑ r, |
| 89 | ProjectiveTwoFlux.Closedness.varietyHolomorphicTwoMatrix V e a z r k * ComplexMultiplication.HodgeComparison.AntiholomorphicIntegration.CM.Construction.varietyInverseHermitianMatrix V e z r d * |
| 90 | ComplexMultiplication.HodgeComparison.AntiholomorphicIntegration.CM.Construction.varietyInverseHermitianMatrix V e z k j * (D d j - D j d)) := by |
| 91 | congr 2 |
| 92 | apply Finset.sum_congr rfl |
| 93 | intro j _ |
| 94 | apply Finset.sum_congr rfl |
| 95 | intro k _ |
| 96 | apply Finset.sum_congr rfl |
| 97 | intro d _ |
| 98 | apply Finset.sum_congr rfl |
| 99 | intro r _ |
| 100 | exact (congrArg (· * _) (hcoef d j)).trans (by |
| 101 | dsimp only [ProjectiveTwoFlux.Closedness.varietyHolomorphicTwoMatrix, ComplexMultiplication.HodgeComparison.AntiholomorphicIntegration.CM.Construction.varietyInverseHermitianMatrix, |
| 102 | TwoChart.Closedness.varietyHolomorphicTwoCoefficient, Matrix.of_apply] |
| 103 | ring) |
| 104 | _ = _ := TwoDensity.Closedness.holomorphic_two_density_flux _ _ _ D (fun r k => HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient_skew _ _ _) |
| 105 | calc |
| 106 | _ = ∫ z in (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set _), |
| 107 | 4 * ∑ j, ∑ d, ProjectiveTwoFlux.Closedness.varietyHolomorphicTwoFlux V e a j d z * |
| 108 | ComplexMultiplication.HodgeComparison.AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (fun y => star (ComplexMultiplication.HodgeComparison.HolomorphicExteriorTrace.CM.Construction.supportedOneFormComplexCoefficient V e b j y)) z |
| 109 | (EuclideanSpace.basisFun (Fin V.complexDimension) ℂ d) := |
| 110 | setIntegral_congr_fun (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.measurableSet hchart |
| 111 | _ = _ := by |
| 112 | rw [integral_const_mul] |
| 113 | congr 1 |
| 114 | apply setIntegral_eq_integral_of_forall_compl_eq_zero |
| 115 | intro z hz |
| 116 | apply Finset.sum_eq_zero |
| 117 | intro j _ |
| 118 | apply Finset.sum_eq_zero |
| 119 | intro d _ |
| 120 | have hn : z ∉ tsupport (fun y => star (ComplexMultiplication.HodgeComparison.HolomorphicExteriorTrace.CM.Construction.supportedOneFormComplexCoefficient V e b j y)) := by |
| 121 | rw [tsupport_conjugate] |
| 122 | exact fun h => hz (ComplexMultiplication.HodgeComparison.HolomorphicExteriorTrace.CM.Construction.supportedOneFormComplexCoefficient_tsupport_domain V e b j hK hKe hs h) |
| 123 | rw [ComplexMultiplication.HodgeComparison.TwoFormSupportedPair.CM.Construction.antiholomorphicDirectionalDerivative_zero_off_support _ hn, mul_zero] |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.TwoSupportedPair.Closedness |