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.Analysis.HodgeTheory.Decomposition.SymbolDifferential |
| 2 | |
| 3 | /-! # Coordinate Metric -/ |
| 4 | |
| 5 | namespace OAI.Analysis.HodgeTheory.Decomposition.CoordinateMetric.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual form metric as a smooth positive operator in the fixed Hilbert |
| 10 | coordinates used for the exterior derivative and its formal adjoint. -/ |
| 11 | |
| 12 | open scoped BigOperators ContDiff _root_.Manifold |
| 13 | |
| 14 | section Matrices |
| 15 | |
| 16 | variable {I : Type*} [Fintype I] |
| 17 | |
| 18 | def realMatrixOperator (A : Matrix I I ℝ) : EuclideanSpace ℂ I →L[ℝ] EuclideanSpace ℂ I := |
| 19 | ∑ s, ∑ t, A s t • (InnerProductSpace.rankOne ℂ (EuclideanSpace.basisFun I ℂ s) |
| 20 | (EuclideanSpace.basisFun I ℂ t)).restrictScalars ℝ |
| 21 | |
| 22 | theorem euclidean_real_inner_eq_re (u v : EuclideanSpace ℂ I) : |
| 23 | inner ℝ u v = (inner ℂ u v).re := by |
| 24 | change (∑ i, (inner ℂ (u i) (v i)).re) = (∑ i, inner ℂ (u i) (v i)).re |
| 25 | exact (map_sum Complex.reCLM (fun i => inner ℂ (u i) (v i)) Finset.univ).symm |
| 26 | |
| 27 | theorem realMatrixOperator_complex_inner (A : Matrix I I ℝ) (u v : EuclideanSpace ℂ I) : |
| 28 | inner ℂ (realMatrixOperator A u) v = |
| 29 | ∑ s, ∑ t, star (u t) * (A s t : ℂ) * v s := by |
| 30 | simp only [realMatrixOperator, sum_apply, smul_apply] |
| 31 | change inner ℂ (∑ s, ∑ t, (A s t : ℂ) • |
| 32 | (InnerProductSpace.rankOne ℂ (EuclideanSpace.basisFun I ℂ s) (EuclideanSpace.basisFun I ℂ t) u)) v = _ |
| 33 | simp only [sum_inner, inner_smul_left, InnerProductSpace.rankOne_apply, |
| 34 | EuclideanSpace.basisFun_inner] |
| 35 | apply Finset.sum_congr rfl |
| 36 | intro s _ |
| 37 | apply Finset.sum_congr rfl |
| 38 | intro t _ |
| 39 | change star (A s t : ℂ) * (star (u t) * v s) = _ |
| 40 | rw [Complex.star_def, Complex.conj_ofReal] |
| 41 | ring |
| 42 | |
| 43 | theorem realMatrixOperator_smoothOn {D : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 44 | (A : D → Matrix I I ℝ) {U : Set D} (hA : ∀ s t, ContDiffOn ℝ ∞ (fun x => A x s t) U) : |
| 45 | ContDiffOn ℝ ∞ (fun x => realMatrixOperator (A x)) U := by |
| 46 | unfold realMatrixOperator |
| 47 | fun_prop |
| 48 | |
| 49 | end Matrices |
| 50 | |
| 51 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 52 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 53 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 54 | {ι : Type*} [Fintype ι] [LinearOrder ι] (b : Module.Basis ι ℝ V.analyticModel) (n : ℕ) |
| 55 | |
| 56 | def projectiveCoordinateMetricOperator (y : V.analyticModel) : |
| 57 | SymbolDifferential.Constructions.ExteriorCoordinates ι n →L[ℝ] SymbolDifferential.Constructions.ExteriorCoordinates ι n := |
| 58 | realMatrixOperator (MetricCoefficients.Constructions.projectiveExteriorGram V e b n y)⁻¹ |
| 59 | |
| 60 | theorem projectiveCoordinateMetric_inner (y : V.analyticModel) (hy : y ∈ e.target) |
| 61 | (a c : DifferentialForms.Manifold.Basic.FormValue V.analyticModel n) : |
| 62 | inner ℝ (projectiveCoordinateMetricOperator V e b n y (SymbolDifferential.Constructions.exteriorCoordinateEquiv b n a)) |
| 63 | (SymbolDifferential.Constructions.exteriorCoordinateEquiv b n c) = (ProjectiveFormMetric.Constructions.projectiveChartFormPair V e he y hy n a c).re := by |
| 64 | rw [euclidean_real_inner_eq_re, projectiveCoordinateMetricOperator, realMatrixOperator_complex_inner, |
| 65 | MetricCoefficients.Constructions.projectiveChartFormPair_coordinate_formula V e he b n y hy] |
| 66 | simp only [SymbolDifferential.Constructions.exteriorCoordinateEquiv_apply, MetricCoefficients.Constructions.exteriorCoordinateTuple] |
| 67 | |
| 68 | include he |
| 69 | |
| 70 | theorem projectiveCoordinateMetric_smooth : |
| 71 | ContDiffOn ℝ ∞ (projectiveCoordinateMetricOperator V e b n) e.target := |
| 72 | realMatrixOperator_smoothOn _ (MetricCoefficients.Constructions.projectiveExteriorGram_inverse_smooth V e he b n) |
| 73 | |
| 74 | theorem projectiveCoordinateMetric_positive (y : V.analyticModel) (hy : y ∈ e.target) |
| 75 | (u : SymbolDifferential.Constructions.ExteriorCoordinates ι n) (hu : u ≠ 0) : |
| 76 | 0 < inner ℝ (projectiveCoordinateMetricOperator V e b n y u) u := by |
| 77 | let a := (SymbolDifferential.Constructions.exteriorCoordinateEquiv b n).symm u |
| 78 | have ha : SymbolDifferential.Constructions.exteriorCoordinateEquiv b n a = u := (SymbolDifferential.Constructions.exteriorCoordinateEquiv b n).apply_symm_apply u |
| 79 | rw [← ha, projectiveCoordinateMetric_inner V e he b n y hy] |
| 80 | have hnonneg : 0 ≤ (ProjectiveFormMetric.Constructions.projectiveChartFormPair V e he y hy n a a).re := ExteriorPair.Constructions.formMetricPair_nonneg n _ |
| 81 | by_contra hpos |
| 82 | have hz : (ProjectiveFormMetric.Constructions.projectiveChartFormPair V e he y hy n a a).re = 0 := |
| 83 | le_antisymm (le_of_not_gt hpos) hnonneg |
| 84 | have hz' : ProjectiveFormMetric.Constructions.projectiveChartFormPair V e he y hy n a a = 0 := by |
| 85 | have hre : ((ProjectiveFormMetric.Constructions.projectiveChartFormPair V e he y hy n a a).re : ℂ) = |
| 86 | ProjectiveFormMetric.Constructions.projectiveChartFormPair V e he y hy n a a := Form.Constructions.formMetricPair_self_re n _ |
| 87 | rw [← hre, hz, Complex.ofReal_zero] |
| 88 | have ha0 := ProjectiveFormMetric.Constructions.projectiveChartFormPair_definite V e he y hy n a hz' |
| 89 | apply hu |
| 90 | rw [← ha, ha0, map_zero] |
| 91 | |
| 92 | theorem projectiveCoordinateMetric_symmetric (y : V.analyticModel) (hy : y ∈ e.target) |
| 93 | (u v : SymbolDifferential.Constructions.ExteriorCoordinates ι n) : |
| 94 | inner ℝ (projectiveCoordinateMetricOperator V e b n y u) v = |
| 95 | inner ℝ (projectiveCoordinateMetricOperator V e b n y v) u := by |
| 96 | obtain ⟨a, rfl⟩ := (SymbolDifferential.Constructions.exteriorCoordinateEquiv b n).surjective u |
| 97 | obtain ⟨c, rfl⟩ := (SymbolDifferential.Constructions.exteriorCoordinateEquiv b n).surjective v |
| 98 | rw [projectiveCoordinateMetric_inner V e he b n y hy, projectiveCoordinateMetric_inner V e he b n y hy] |
| 99 | have h := congrArg Complex.re (ExteriorPair.Constructions.formMetricPair_symm n |
| 100 | (ProjectiveFormMetric.Constructions.metricCoordinateForm V e he y hy n a) (ProjectiveFormMetric.Constructions.metricCoordinateForm V e he y hy n c)) |
| 101 | change (star (ProjectiveFormMetric.Constructions.projectiveChartFormPair V e he y hy n c a)).re = |
| 102 | (ProjectiveFormMetric.Constructions.projectiveChartFormPair V e he y hy n a c).re at h |
| 103 | simpa only [Complex.star_def, Complex.conj_re] using h.symm |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.Analysis.HodgeTheory.Decomposition.CoordinateMetric.Constructions |