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.HolomorphicTwoCoefficient |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MixedTwoChartMetric |
| 3 | |
| 4 | /-! # Two Metric -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.TwoMetric.Closedness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The exact projective metric contraction for (2,0) two-forms. -/ |
| 11 | |
| 12 | open OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.MixedTwoChartMetric.CM.Construction |
| 13 | |
| 14 | section Coefficients |
| 15 | |
| 16 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 17 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 18 | |
| 19 | theorem holomorphicTwoCoefficient_pair (f g : Analysis.DifferentialForms.Manifold.Basic.FormValue E 2) |
| 20 | (hf : Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E 2 0 f) (u v : E) : |
| 21 | ComplexMultiplication.HodgeComparison.MixedTwoMetric.CM.Construction.twoFormPairedContribution f g u v = |
| 22 | 4 * (star (HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient f u v) * HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient g u v) := by |
| 23 | rw [ComplexMultiplication.HodgeComparison.MixedTwoMetric.CM.Construction.twoFormPairedContribution, HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient_type20 f hf, |
| 24 | HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient_apply] |
| 25 | simp only [HolomorphicTwoCoefficient.Closedness.twoFormBilinear_type20_J f hf, HolomorphicTwoCoefficient.Closedness.twoFormBilinear_type20_J_left f hf, |
| 26 | HolomorphicTwoCoefficient.Closedness.twoFormBilinear_type20_J_right f hf, star_mul, star_neg, |
| 27 | Complex.star_def, Complex.conj_I] |
| 28 | ring |
| 29 | |
| 30 | variable {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 31 | [NormedSpace ℂ F] [IsScalarTower ℝ ℂ F] |
| 32 | |
| 33 | theorem holomorphicTwoCoefficient_pullback (f : Analysis.DifferentialForms.Manifold.Basic.FormValue F 2) (T : E →L[ℂ] F) (u v : E) : |
| 34 | HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient (f.compContinuousLinearMap (T.restrictScalars ℝ)) u v = |
| 35 | HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient f (T u) (T v) := by |
| 36 | simp only [HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient_apply, ComplexMultiplication.HodgeComparison.MixedTwoChartMetric.CM.Construction.twoFormBilinear_pullback, map_smul] |
| 37 | |
| 38 | theorem type20_pullback (f : Analysis.DifferentialForms.Manifold.Basic.FormValue F 2) (hf : Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree F 2 0 f) (T : E →L[ℂ] F) : |
| 39 | Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E 2 0 (f.compContinuousLinearMap (T.restrictScalars ℝ)) := by |
| 40 | intro z v |
| 41 | change f (fun i => T ((z : ℂ) • v i)) = Analysis.DifferentialForms.Manifold.Bidegree.bidegreeCharacter 2 0 z * f (fun i => T (v i)) |
| 42 | simp only [map_smul] |
| 43 | exact hf z (fun i => T (v i)) |
| 44 | |
| 45 | end Coefficients |
| 46 | |
| 47 | section Metric |
| 48 | |
| 49 | variable {E ι κ : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 50 | [InnerProductSpace ℂ E] [IsScalarTower ℝ ℂ E] [FiniteDimensional ℝ E] |
| 51 | [Fintype ι] [DecidableEq ι] [Fintype κ] |
| 52 | |
| 53 | omit [DecidableEq ι] in |
| 54 | theorem formMetricPair_type20_basis (b : OrthonormalBasis ι ℂ E) (f g : Analysis.DifferentialForms.Manifold.Basic.FormValue E 2) |
| 55 | (hf : Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E 2 0 f) : |
| 56 | Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.formMetricPair 2 f g = |
| 57 | 2 * ∑ i, ∑ j, star (HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient f (b i) (b j)) * |
| 58 | HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient g (b i) (b j) := by |
| 59 | have h := ComplexMultiplication.HodgeComparison.MixedTwoMetric.CM.Construction.formMetricPair_two_paired_basis b f g |
| 60 | simp only [holomorphicTwoCoefficient_pair f g hf, ← Finset.mul_sum] at h |
| 61 | linear_combination (norm := ring_nf) -h / 2 |
| 62 | |
| 63 | theorem bilinear_pair_inverse_gram (b : Module.Basis ι ℂ E) |
| 64 | (c : OrthonormalBasis κ ℂ E) (f g : E →ₗ[ℂ] E →ₗ[ℂ] ℂ) : |
| 65 | (∑ u, ∑ v, star (f (c u) (c v)) * g (c u) (c v)) = |
| 66 | ∑ j, ∑ k, ∑ d, ∑ a, star (f (b a) (b k)) * (Matrix.gram ℂ b)⁻¹ d a * |
| 67 | (Matrix.gram ℂ b)⁻¹ j k * g (b d) (b j) := by |
| 68 | simp_rw [ComplexMultiplication.HodgeComparison.SesquilinearMetric.CM.Construction.complex_covector_pair_inverse_gram b c] |
| 69 | rw [Finset.sum_comm] |
| 70 | apply Finset.sum_congr rfl |
| 71 | intro j _ |
| 72 | rw [Finset.sum_comm] |
| 73 | apply Finset.sum_congr rfl |
| 74 | intro k _ |
| 75 | calc |
| 76 | _ = (Matrix.gram ℂ b)⁻¹ j k * ∑ u, star (f (c u) (b k)) * g (c u) (b j) := by |
| 77 | rw [Finset.mul_sum] |
| 78 | apply Finset.sum_congr rfl |
| 79 | intro u _ |
| 80 | ring |
| 81 | _ = (Matrix.gram ℂ b)⁻¹ j k * ∑ d, ∑ a, |
| 82 | star (f (b a) (b k)) * (Matrix.gram ℂ b)⁻¹ d a * g (b d) (b j) := by |
| 83 | congr 1 |
| 84 | exact ComplexMultiplication.HodgeComparison.SesquilinearMetric.CM.Construction.complex_covector_pair_inverse_gram b c (f.flip (b k)) (g.flip (b j)) |
| 85 | _ = _ := by |
| 86 | rw [Finset.mul_sum] |
| 87 | apply Finset.sum_congr rfl |
| 88 | intro d _ |
| 89 | rw [Finset.mul_sum] |
| 90 | apply Finset.sum_congr rfl |
| 91 | intro a _ |
| 92 | ring |
| 93 | |
| 94 | theorem formMetricPair_type20_inverse_gram (b : Module.Basis ι ℂ E) (f g : Analysis.DifferentialForms.Manifold.Basic.FormValue E 2) |
| 95 | (hf : Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree E 2 0 f) : |
| 96 | Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.formMetricPair 2 f g = |
| 97 | 2 * ∑ j, ∑ k, ∑ d, ∑ a, star (HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient f (b a) (b k)) * |
| 98 | (Matrix.gram ℂ b)⁻¹ d a * (Matrix.gram ℂ b)⁻¹ j k * |
| 99 | HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient g (b d) (b j) := by |
| 100 | let : FiniteDimensional ℂ E := b.finiteDimensional_of_finite |
| 101 | let c := stdOrthonormalBasis ℂ E |
| 102 | rw [formMetricPair_type20_basis c f g hf] |
| 103 | congr 1 |
| 104 | exact bilinear_pair_inverse_gram b c (HolomorphicTwoCoefficient.Closedness.holomorphicTwoBilinear f) (HolomorphicTwoCoefficient.Closedness.holomorphicTwoBilinear g) |
| 105 | |
| 106 | end Metric |
| 107 | |
| 108 | theorem projectiveChartPair_type20_inverse_metric (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 109 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 110 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 111 | (y : V.analyticModel) (hy : y ∈ e.target) {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 112 | (b : Module.Basis ι ℂ V.analyticModel) (f g : Analysis.DifferentialForms.Manifold.Basic.FormValue V.analyticModel 2) |
| 113 | (hf : Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree V.analyticModel 2 0 f) : |
| 114 | Analysis.HodgeTheory.Decomposition.ProjectiveFormMetric.Constructions.projectiveChartFormPair V e he y hy 2 f g = |
| 115 | 2 * ∑ j, ∑ k, ∑ d, ∑ a, star (HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient f (b a) (b k)) * |
| 116 | (ComplexMultiplication.HodgeComparison.InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e b y)⁻¹ d a * (ComplexMultiplication.HodgeComparison.InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e b y)⁻¹ j k * |
| 117 | HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient g (b d) (b j) := by |
| 118 | let T := Analysis.HodgeTheory.Decomposition.MetricFiber.Constructions.projectiveMetricFiberEquiv V e he y hy |
| 119 | have hG : Matrix.gram ℂ (b.map T.symm.toLinearEquiv) = ComplexMultiplication.HodgeComparison.InverseCoefficientCancellation.CM.Construction.varietyHermitianMatrix V e b y := |
| 120 | (ComplexMultiplication.HodgeComparison.HermitianMatrixPositive.CM.Construction.varietyHermitianMatrix_eq_gram V e he b hy).symm |
| 121 | have htype : Analysis.DifferentialForms.Manifold.Bidegree.HasBidegree (Analysis.HodgeTheory.Decomposition.MetricFiber.Constructions.ProjectiveMetricFiber V e he y hy) 2 0 |
| 122 | (Analysis.HodgeTheory.Decomposition.ProjectiveFormMetric.Constructions.metricCoordinateForm V e he y hy 2 f) := |
| 123 | type20_pullback f hf T.toContinuousLinearMap |
| 124 | change Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.formMetricPair 2 |
| 125 | (Analysis.HodgeTheory.Decomposition.ProjectiveFormMetric.Constructions.metricCoordinateForm V e he y hy 2 f) |
| 126 | (Analysis.HodgeTheory.Decomposition.ProjectiveFormMetric.Constructions.metricCoordinateForm V e he y hy 2 g) = _ |
| 127 | rw [formMetricPair_type20_inverse_gram (b.map T.symm.toLinearEquiv) _ _ htype, hG] |
| 128 | have hcoeff (a : Analysis.DifferentialForms.Manifold.Basic.FormValue V.analyticModel 2) (i j : ι) : |
| 129 | HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient (Analysis.HodgeTheory.Decomposition.ProjectiveFormMetric.Constructions.metricCoordinateForm V e he y hy 2 a) |
| 130 | ((b.map T.symm.toLinearEquiv) i) ((b.map T.symm.toLinearEquiv) j) = |
| 131 | HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient a (b i) (b j) := by |
| 132 | change HolomorphicTwoCoefficient.Closedness.holomorphicTwoCoefficient |
| 133 | (a.compContinuousLinearMap (T.toContinuousLinearMap.restrictScalars ℝ)) |
| 134 | (T.symm (b i)) (T.symm (b j)) = _ |
| 135 | rw [holomorphicTwoCoefficient_pullback] |
| 136 | simp only [ContinuousLinearEquiv.coe_coe, T.apply_symm_apply] |
| 137 | simp only [hcoeff] |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.TwoMetric.Closedness |