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.CoordinateMetric |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.CompCLM |
| 3 | |
| 4 | /-! # Adjoint Coefficients -/ |
| 5 | |
| 6 | namespace OAI.Analysis.HodgeTheory.Decomposition.AdjointCoefficients.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Smooth local formal-adjoint coefficients for the genuine projective form |
| 13 | metric, including its positive volume density. -/ |
| 14 | |
| 15 | open scoped ContDiff _root_.Manifold |
| 16 | |
| 17 | section Inversion |
| 18 | |
| 19 | variable {F : Type*} [NormedAddCommGroup F] [InnerProductSpace ℝ F] [FiniteDimensional ℝ F] |
| 20 | |
| 21 | theorem positiveOperator_isInvertible (A : F →L[ℝ] F) |
| 22 | (hpos : ∀ u : F, u ≠ 0 → 0 < inner ℝ (A u) u) : A.IsInvertible := by |
| 23 | have hzero (u : F) (hu : A u = 0) : u = 0 := by |
| 24 | by_contra hn |
| 25 | have hp := hpos u hn |
| 26 | rw [hu, inner_zero_left] at hp |
| 27 | exact (lt_irrefl 0) hp |
| 28 | have hi : Function.Injective A := by |
| 29 | intro u v huv |
| 30 | apply sub_eq_zero.mp |
| 31 | apply hzero |
| 32 | rw [map_sub, huv, sub_self] |
| 33 | let e := (LinearEquiv.ofBijective A.toLinearMap |
| 34 | ⟨hi, LinearMap.injective_iff_surjective.mp hi⟩).toContinuousLinearEquiv |
| 35 | refine ⟨e, ?_⟩ |
| 36 | ext u |
| 37 | rfl |
| 38 | |
| 39 | theorem inverseOperator_smoothOn {D : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 40 | (A : D → F →L[ℝ] F) {U : Set D} (hU : IsOpen U) (hA : ContDiffOn ℝ ∞ A U) |
| 41 | (hinv : ∀ y ∈ U, (A y).IsInvertible) : |
| 42 | ContDiffOn ℝ ∞ (fun y => (A y).inverse) U := by |
| 43 | intro y hy |
| 44 | exact ((hinv y hy).contDiffAt_map_inverse.comp y |
| 45 | (hA.contDiffAt (hU.mem_nhds hy))).contDiffWithinAt |
| 46 | |
| 47 | end Inversion |
| 48 | |
| 49 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 50 | |
| 51 | abbrev ProjectiveRealCoordinateIndex := Fin (Module.finrank ℝ (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 52 | |
| 53 | /-- The fixed analytic-coordinate real basis transported from Euclidean coordinates. -/ |
| 54 | def projectiveReferenceBasis : Module.Basis (ProjectiveRealCoordinateIndex V) ℝ V.analyticModel := |
| 55 | (stdOrthonormalBasis ℝ (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)).toBasis.map |
| 56 | ((AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).toLinearEquiv.restrictScalars ℝ) |
| 57 | |
| 58 | def projectiveEuclideanExteriorSymbol (n : ℕ) (i : ProjectiveRealCoordinateIndex V) : |
| 59 | SymbolDifferential.Constructions.ExteriorCoordinates (ProjectiveRealCoordinateIndex V) n →L[ℝ] |
| 60 | SymbolDifferential.Constructions.ExteriorCoordinates (ProjectiveRealCoordinateIndex V) (n + 1) := |
| 61 | SymbolDifferential.Constructions.coordinateExteriorSymbol (stdOrthonormalBasis ℝ (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)).toBasis n i |
| 62 | |
| 63 | variable (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 64 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 65 | |
| 66 | /-- The actual form metric times its actual volume density, in Euclidean chart coordinates. -/ |
| 67 | def projectiveWeightedFormOperator (n : ℕ) (z : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) : |
| 68 | SymbolDifferential.Constructions.ExteriorCoordinates (ProjectiveRealCoordinateIndex V) n →L[ℝ] |
| 69 | SymbolDifferential.Constructions.ExteriorCoordinates (ProjectiveRealCoordinateIndex V) n := |
| 70 | AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Metric.CM.Construction.varietyMetricDensity V e z • |
| 71 | CoordinateMetric.Constructions.projectiveCoordinateMetricOperator V e (projectiveReferenceBasis V) n (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) |
| 72 | |
| 73 | include he |
| 74 | |
| 75 | theorem projectiveWeightedFormOperator_smooth (n : ℕ) : |
| 76 | ContDiffOn ℝ ∞ (projectiveWeightedFormOperator V e n) (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set _) := by |
| 77 | have hM := (CoordinateMetric.Constructions.projectiveCoordinateMetric_smooth V e he (projectiveReferenceBasis V) n).comp |
| 78 | ((AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V).contDiff.restrict_scalars ℝ).contDiffOn |
| 79 | (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates_mapsTo V e) |
| 80 | exact (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Metric.CM.Construction.varietyMetricDensity_smooth V e he).smul hM |
| 81 | |
| 82 | theorem projectiveWeightedFormOperator_positive (n : ℕ) (z : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) |
| 83 | (hz : z ∈ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) (u : SymbolDifferential.Constructions.ExteriorCoordinates (ProjectiveRealCoordinateIndex V) n) |
| 84 | (hu : u ≠ 0) : 0 < inner ℝ (projectiveWeightedFormOperator V e n z u) u := by |
| 85 | change 0 < inner ℝ (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Metric.CM.Construction.varietyMetricDensity V e z • |
| 86 | (CoordinateMetric.Constructions.projectiveCoordinateMetricOperator V e (projectiveReferenceBasis V) n (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) u)) u |
| 87 | rw [real_inner_smul_left] |
| 88 | exact mul_pos (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Metric.CM.Construction.varietyMetricDensity_pos V e he hz) |
| 89 | (CoordinateMetric.Constructions.projectiveCoordinateMetric_positive V e he (projectiveReferenceBasis V) n |
| 90 | (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) hz u hu) |
| 91 | |
| 92 | theorem projectiveWeightedFormOperator_symmetric (n : ℕ) (z : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) |
| 93 | (hz : z ∈ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) (u v : SymbolDifferential.Constructions.ExteriorCoordinates (ProjectiveRealCoordinateIndex V) n) : |
| 94 | inner ℝ (projectiveWeightedFormOperator V e n z u) v = |
| 95 | inner ℝ (projectiveWeightedFormOperator V e n z v) u := by |
| 96 | simp only [projectiveWeightedFormOperator, smul_apply, real_inner_smul_left] |
| 97 | rw [CoordinateMetric.Constructions.projectiveCoordinateMetric_symmetric V e he (projectiveReferenceBasis V) n (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanCoordinates V z) hz] |
| 98 | |
| 99 | theorem projectiveWeightedFormOperator_isInvertible (n : ℕ) (z : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) |
| 100 | (hz : z ∈ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : (projectiveWeightedFormOperator V e n z).IsInvertible := |
| 101 | positiveOperator_isInvertible _ (projectiveWeightedFormOperator_positive V e he n z hz) |
| 102 | |
| 103 | theorem projectiveWeightedFormOperator_inverse_smooth (n : ℕ) : |
| 104 | ContDiffOn ℝ ∞ (fun z => (projectiveWeightedFormOperator V e n z).inverse) |
| 105 | (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set _) := |
| 106 | inverseOperator_smoothOn _ (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen |
| 107 | (projectiveWeightedFormOperator_smooth V e he n) (projectiveWeightedFormOperator_isInvertible V e he n) |
| 108 | |
| 109 | /-- The explicit local formula for the formal adjoint, including both degree metrics. -/ |
| 110 | def projectiveLocalAdjointCoefficients (n : ℕ) |
| 111 | (v : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V → SymbolDifferential.Constructions.ExteriorCoordinates (ProjectiveRealCoordinateIndex V) (n + 1)) |
| 112 | (z : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) : SymbolDifferential.Constructions.ExteriorCoordinates (ProjectiveRealCoordinateIndex V) n := |
| 113 | (projectiveWeightedFormOperator V e n z).inverse |
| 114 | (LocalAdjoint.Constructions.formalAdjointNumerator (stdOrthonormalBasis ℝ (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 115 | (projectiveEuclideanExteriorSymbol V n) (projectiveWeightedFormOperator V e (n + 1)) v z) |
| 116 | |
| 117 | theorem projectiveLocalAdjointCoefficients_smooth (n : ℕ) |
| 118 | (v : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V → SymbolDifferential.Constructions.ExteriorCoordinates (ProjectiveRealCoordinateIndex V) (n + 1)) |
| 119 | (hv : ContDiffOn ℝ ∞ v (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set _)) : |
| 120 | ContDiffOn ℝ ∞ (projectiveLocalAdjointCoefficients V e n v) (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set _) := |
| 121 | (projectiveWeightedFormOperator_inverse_smooth V e he n).clm_apply |
| 122 | (LocalAdjoint.Constructions.formalAdjointNumerator_smoothOn _ _ _ v (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen |
| 123 | (projectiveWeightedFormOperator_smooth V e he (n + 1)) hv) |
| 124 | |
| 125 | end |
| 126 | |
| 127 | /-! First-order and order-zero parts of the actual local formal adjoint. -/ |
| 128 | |
| 129 | open scoped ContDiff BigOperators |
| 130 | |
| 131 | section General |
| 132 | |
| 133 | variable {E F G ι : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [Fintype ι] |
| 134 | [NormedAddCommGroup F] [InnerProductSpace ℝ F] [CompleteSpace F] |
| 135 | [NormedAddCommGroup G] [InnerProductSpace ℝ G] [CompleteSpace G] |
| 136 | |
| 137 | theorem formalAdjointNumerator_expansion (directions : ι → E) (symbol : ι → F →L[ℝ] G) |
| 138 | (weight : E → G →L[ℝ] G) (v : E → G) (x : E) |
| 139 | (hweight : DifferentiableAt ℝ weight x) (hv : DifferentiableAt ℝ v x) : |
| 140 | LocalAdjoint.Constructions.formalAdjointNumerator directions symbol weight v x = |
| 141 | -∑ i, (symbol i).adjoint |
| 142 | (weight x (fderiv ℝ v x (directions i)) + (fderiv ℝ weight x (directions i)) (v x)) := by |
| 143 | unfold LocalAdjoint.Constructions.formalAdjointNumerator |
| 144 | congr 1 |
| 145 | apply Finset.sum_congr rfl |
| 146 | intro i _ |
| 147 | have h := ((symbol i).adjoint.hasFDerivAt.comp x |
| 148 | (hweight.hasFDerivAt.clm_apply hv.hasFDerivAt)).fderiv |
| 149 | exact congrArg (fun L : E →L[ℝ] F => L (directions i)) h |
| 150 | |
| 151 | end General |
| 152 | |
| 153 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 154 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 155 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (n : ℕ) |
| 156 | |
| 157 | include he |
| 158 | |
| 159 | /-- The principal derivative part and the differentiated-metric remainder are explicit. -/ |
| 160 | theorem projectiveLocalAdjointCoefficients_expansion |
| 161 | (v : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V → SymbolDifferential.Constructions.ExteriorCoordinates (ProjectiveRealCoordinateIndex V) (n + 1)) |
| 162 | (hv : ContDiffOn ℝ ∞ v (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set _)) |
| 163 | (z : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) (hz : z ∈ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 164 | let directions := stdOrthonormalBasis ℝ (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) |
| 165 | let S := projectiveEuclideanExteriorSymbol V n |
| 166 | let A := projectiveWeightedFormOperator V e n z |
| 167 | let B := projectiveWeightedFormOperator V e (n + 1) |
| 168 | projectiveLocalAdjointCoefficients V e n v z = |
| 169 | -(∑ i, A.inverse ((S i).adjoint (B z (fderiv ℝ v z (directions i))))) - |
| 170 | ∑ i, A.inverse ((S i).adjoint ((fderiv ℝ B z (directions i)) (v z))) := by |
| 171 | dsimp only |
| 172 | have hB := ((projectiveWeightedFormOperator_smooth V e he (n + 1)).contDiffAt |
| 173 | ((AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz)).differentiableAt (by simp) |
| 174 | have hv' := (hv.contDiffAt ((AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz)).differentiableAt (by simp) |
| 175 | rw [projectiveLocalAdjointCoefficients, formalAdjointNumerator_expansion _ _ _ v z hB hv'] |
| 176 | simp only [map_neg, map_sum, map_add, Finset.sum_add_distrib] |
| 177 | abel |
| 178 | |
| 179 | end |
| 180 | |
| 181 | end OAI.Analysis.HodgeTheory.Decomposition.AdjointCoefficients.Constructions |