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.DivisorClass.Chern.ProjectiveLine.MetricOperator |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Line.ConnectionOperator |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.ProjectiveLine.WeightedAdjoint |
| 4 | import OAI.Analysis.HodgeTheory.Decomposition.FormalAdjointPairDerivative |
| 5 | |
| 6 | /-! # Adjoint Numerator -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The native matrix formal adjoint equals the actual covariant metric trace on original bundle frames. -/ |
| 13 | |
| 14 | open _root_.TopologicalSpace |
| 15 | open scoped _root_.Manifold ContDiff |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | |
| 20 | open OAI.Analysis.HodgeTheory.Decomposition.FormalAdjointPairDerivative.Constructions |
| 21 | |
| 22 | theorem ProjectiveLine.AdjointNumerator.lineComplexFDerivRe {D : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 23 | (f : D → ℂ) {x : D} (hf : DifferentiableAt ℝ f x) (v : D) : |
| 24 | fderiv ℝ (fun y => (f y).re) x v = (fderiv ℝ f x v).re := by |
| 25 | have hd := Complex.reCLM.hasFDerivAt.comp x hf.hasFDerivAt |
| 26 | exact congrArg (fun L : D →L[ℝ] ℝ => L v) hd.fderiv |
| 27 | |
| 28 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 29 | {u : Holomorphic.Connecting.holomorphicUnitCohomology V.analyticModel V.analyticSpace} (h : HolomorphicMetric.Data.HolomorphicLineMetricData u) |
| 30 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 31 | (he : e ∈ atlas V.analyticModel V.analyticSpace) |
| 32 | |
| 33 | def HolomorphicMetric.Data.HolomorphicLineMetricData.projectiveCovariantAdjointNumerator (i : V.analyticSpace) (n : ℕ) |
| 34 | (a : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V → Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.ExteriorCoordinates (Analysis.HodgeTheory.Decomposition.AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) (n + 1)) |
| 35 | (z : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) : Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.ExteriorCoordinates (Analysis.HodgeTheory.Decomposition.AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) n := |
| 36 | Analysis.HodgeTheory.Decomposition.LocalAdjoint.Constructions.formalAdjointNumerator (stdOrthonormalBasis ℝ (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)) (Analysis.HodgeTheory.Decomposition.AdjointCoefficients.Constructions.projectiveEuclideanExteriorSymbol V n) |
| 37 | (h.projectiveWeightedFormOperator V e i (n + 1)) a z + |
| 38 | (Line.ConnectionOperator.lineConnectionCoordinateOperator (stdOrthonormalBasis ℝ (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)).toBasis n |
| 39 | (h.projectiveConnectionChart V e i z)).adjoint (h.projectiveWeightedFormOperator V e i (n + 1) z (a z)) |
| 40 | |
| 41 | include he |
| 42 | |
| 43 | theorem HolomorphicMetric.Data.HolomorphicLineMetricData.projectiveCovariantAdjointNumerator_eq (n : ℕ) (U : Opens V.analyticSpace) |
| 44 | (a : HolomorphicLine.AntiForms.HolomorphicLineSmoothForm u U (n + 1)) (i : V.analyticSpace) {z : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V} |
| 45 | (hz : z ∈ ConnectionChartDerivative.projectiveOpenChartDomain V e (U ⊓ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain V.analyticModel V.analyticSpace u i)) : |
| 46 | h.projectiveCovariantAdjointNumerator V e i n |
| 47 | (Analysis.HodgeTheory.Decomposition.EuclideanForms.Constructions.euclideanChartCoefficients V e (n + 1) (a.val i).extension) z = |
| 48 | h.projectiveWeightedFormOperator V e i n z |
| 49 | (Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorCoordinateEquiv (stdOrthonormalBasis ℝ (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)).toBasis n |
| 50 | (Line.ConnectionSymbols.lineCovariantCodifferential (stdOrthonormalBasis ℝ (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)).toBasis n |
| 51 | (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanMetric V e) (Analysis.HodgeTheory.Decomposition.ProjectiveConnection.Constructions.projectiveConnectionCoefficient V e) |
| 52 | (h.projectiveConnectionChart V e i) (Analysis.HodgeTheory.Decomposition.EuclideanForms.Constructions.euclideanChartForm V e (n + 1) (a.val i).extension) z)) := by |
| 53 | let b := (stdOrthonormalBasis ℝ (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)).toBasis |
| 54 | let Q := Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorCoordinateEquiv b n |
| 55 | let P := Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorCoordinateEquiv b (n + 1) |
| 56 | let α := Analysis.HodgeTheory.Decomposition.EuclideanForms.Constructions.euclideanChartForm V e (n + 1) (a.val i).extension |
| 57 | have hz' : z ∈ ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e := hz.1 |
| 58 | have hzi : z ∈ ConnectionChartDerivative.projectiveOpenChartDomain V e (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain V.analyticModel V.analyticSpace u i) := |
| 59 | ⟨hz.1, hz.2.2⟩ |
| 60 | have hB := ((ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanMetric_smooth V e he).contDiffAt |
| 61 | ((ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz')).differentiableAt (by simp) |
| 62 | have hw := ((h.projectiveWeightChart_smooth V e he i).contDiffAt |
| 63 | ((ConnectionChartDerivative.projectiveOpenChartDomain V e (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain V.analyticModel V.analyticSpace u i)).isOpen.mem_nhds hzi)).differentiableAt (by simp) |
| 64 | have hα := ((ConnectionChartDerivative.projectiveOpenChartForm_smooth V e he |
| 65 | (U ⊓ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain V.analyticModel V.analyticSpace u i) (n + 1) (a.val i)).contDiffAt |
| 66 | ((ConnectionChartDerivative.projectiveOpenChartDomain V e (U ⊓ Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain V.analyticModel V.analyticSpace u i)).isOpen.mem_nhds hz)).differentiableAt (by simp) |
| 67 | have hρ := ((ComplexMultiplication.HodgeComparison.Metric.CM.Construction.varietyMetricDensity_smooth V e he).contDiffAt |
| 68 | ((ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz')).differentiableAt (by simp) |
| 69 | have hM := ((h.projectiveWeightedFormOperator_smooth V e he i (n + 1)).contDiffAt |
| 70 | ((ConnectionChartDerivative.projectiveOpenChartDomain V e (Holomorphic.CohomologyTransitions.holomorphicCohomologyDomain V.analyticModel V.analyticSpace u i)).isOpen.mem_nhds hzi)).differentiableAt (by simp) |
| 71 | have hPα : DifferentiableAt ℝ (fun y => P (α y)) z := |
| 72 | (P.toContinuousLinearMap.restrictScalars ℝ).differentiableAt.comp z hα |
| 73 | apply ext_inner_right ℝ |
| 74 | intro v |
| 75 | obtain ⟨c, rfl⟩ := Q.surjective v |
| 76 | let F (j : Analysis.HodgeTheory.Decomposition.AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) (y : ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) : ℂ := |
| 77 | h.projectiveWeightChart V e i y * ((ComplexMultiplication.HodgeComparison.Metric.CM.Construction.varietyMetricDensity V e y : ℂ) * |
| 78 | Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b (n + 1) (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanMetric V e y) (α y) |
| 79 | (Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorDifferentialSymbol n (b.coord j).toContinuousLinearMap c)) |
| 80 | have hF (j : Analysis.HodgeTheory.Decomposition.AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) : DifferentiableAt ℝ (F j) z := by |
| 81 | have hp := Analysis.HodgeTheory.Decomposition.WeightedMetricDerivative.Constructions.bilinearFormMetricPair_differentiableAt b (n + 1) (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanMetric V e) |
| 82 | α (fun _ => Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorDifferentialSymbol n (b.coord j).toContinuousLinearMap c) hB hα |
| 83 | (differentiableAt_const _) (Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearExteriorGram_det_ne_zero b (n + 1) _ |
| 84 | (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanMetric_symmetric V e he hz') (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanMetric_positive V e he hz')) |
| 85 | exact hw.mul ((Complex.ofRealCLM.differentiableAt.comp z hρ).mul hp) |
| 86 | have hI (j : Analysis.HodgeTheory.Decomposition.AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) : |
| 87 | (fun y => inner ℝ (h.projectiveWeightedFormOperator V e i (n + 1) y (P (α y))) |
| 88 | (Analysis.HodgeTheory.Decomposition.AdjointCoefficients.Constructions.projectiveEuclideanExteriorSymbol V n j (Q c))) = (fun y => (F j y).re) := by |
| 89 | funext y |
| 90 | change inner ℝ (h.projectiveWeightedFormOperator V e i (n + 1) y (P (α y))) |
| 91 | (P (Analysis.HodgeTheory.Decomposition.SymbolDifferential.Constructions.exteriorDifferentialSymbol n (b.coord j).toContinuousLinearMap (Q.symm (Q c)))) = _ |
| 92 | rw [Q.symm_apply_apply] |
| 93 | exact h.projectiveWeightedFormOperator_pair V e i (n + 1) y _ _ |
| 94 | change inner ℝ (Analysis.HodgeTheory.Decomposition.LocalAdjoint.Constructions.formalAdjointNumerator (stdOrthonormalBasis ℝ (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 95 | (Analysis.HodgeTheory.Decomposition.AdjointCoefficients.Constructions.projectiveEuclideanExteriorSymbol V n) (h.projectiveWeightedFormOperator V e i (n + 1)) |
| 96 | (fun y => P (α y)) z + |
| 97 | (Line.ConnectionOperator.lineConnectionCoordinateOperator b n (h.projectiveConnectionChart V e i z)).adjoint |
| 98 | (h.projectiveWeightedFormOperator V e i (n + 1) z (P (α z)))) (Q c) = _ |
| 99 | rw [inner_add_left, Analysis.HodgeTheory.Decomposition.FormalAdjointPairDerivative.Constructions.formalAdjointNumerator_pair_derivative _ _ _ _ hM hPα] |
| 100 | simp_rw [hI, ProjectiveLine.AdjointNumerator.lineComplexFDerivRe _ (hF _)] |
| 101 | rw [ContinuousLinearMap.adjoint_inner_left, Line.ConnectionOperator.lineConnectionCoordinateOperator_apply, |
| 102 | h.projectiveWeightedFormOperator_pair V e i (n + 1), h.projectiveWeightedFormOperator_pair V e i n] |
| 103 | have hr := congrArg Complex.re (h.projectiveWeightedAdjoint V e he n U a i c hz) |
| 104 | rw [Complex.re_sum] at hr |
| 105 | change (∑ j, (fderiv ℝ (F j) z (stdOrthonormalBasis ℝ (ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) j)).re) = _ at hr |
| 106 | rw [hr] |
| 107 | simp only [← mul_assoc, mul_sub, Complex.sub_re, α] |
| 108 | ring |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.DivisorClass.Chern |