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.Line.ConnectionOperator |
| 2 | import OAI.Analysis.HodgeTheory.Decomposition.MetricDensityDerivative |
| 3 | |
| 4 | /-! # Weighted Metric Derivative -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Line.WeightedMetricDerivative |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual line and volume weighted metric derivative for two varying covector fields. -/ |
| 11 | |
| 12 | open scoped ComplexConjugate |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | |
| 17 | open OAI.Analysis.HodgeTheory.Decomposition.MetricDensityDerivative.Constructions |
| 18 | |
| 19 | attribute [local instance] Analysis.HodgeTheory.Decomposition.BilinearMetricDifferential.Constructions.metricDifferentialBilinearNormed Analysis.HodgeTheory.Decomposition.BilinearMetricDifferential.Constructions.metricDifferentialBilinearNormedSpace |
| 20 | Analysis.HodgeTheory.Decomposition.BilinearMetricDifferential.Constructions.metricDifferentialCovectorPairNormedSpace |
| 21 | |
| 22 | variable {E ι : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 23 | [Fintype ι] [LinearOrder ι] |
| 24 | |
| 25 | theorem lineWeightedMetricPair_derivative (b : Module.Basis ι ℝ E) (n : ℕ) |
| 26 | (B : E → E →L[ℝ] E →L[ℝ] ℝ) (G : E → E →L[ℝ] E →L[ℝ] E) |
| 27 | (A : E → E →L[ℝ] ℂ) (w : E → ℂ) (a c : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (x v : E) |
| 28 | (hB : DifferentiableAt ℝ B x) (hw : DifferentiableAt ℝ w x) |
| 29 | (ha : DifferentiableAt ℝ a x) (hc : DifferentiableAt ℝ c x) |
| 30 | (hρ : DifferentiableAt ℝ (fun y => ComplexMultiplication.HodgeComparison.Metric.CM.Construction.metricDensity b (B y)) x) |
| 31 | (hBs : ∀ u t, B x u t = B x t u) (hpos : ∀ u : E, u ≠ 0 → 0 < B x u u) |
| 32 | (hG : ∀ u t, B x (G x v u) t + B x u (G x v t) = fderiv ℝ B x v u t) |
| 33 | (hA : fderiv ℝ w x v = w x * (conj (A x v) + A x v)) : |
| 34 | fderiv ℝ (fun y => (ComplexMultiplication.HodgeComparison.Metric.CM.Construction.metricDensity b (B y) : ℂ) * |
| 35 | (w y * Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b n (B y) (a y) (c y))) x v = |
| 36 | (ComplexMultiplication.HodgeComparison.Metric.CM.Construction.metricDensity b (B x) : ℂ) * w x * |
| 37 | (Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b n (B x) (ConnectionSymbols.lineCovectorConnectionDerivative n G A a x v) (c x) + |
| 38 | Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b n (B x) (a x) (ConnectionSymbols.lineCovectorConnectionDerivative n G A c x v) + |
| 39 | (LinearMap.toMatrix b b (G x v).toLinearMap).trace • Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b n (B x) (a x) (c x)) := by |
| 40 | have hp := Analysis.HodgeTheory.Decomposition.WeightedMetricDerivative.Constructions.bilinearFormMetricPair_differentiableAt b n B a c hB ha hc |
| 41 | (Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearExteriorGram_det_ne_zero b n (B x) hBs hpos) |
| 42 | have hρc := Complex.ofRealCLM.hasFDerivAt.comp x hρ.hasFDerivAt |
| 43 | have hd := congrArg (fun L : E →L[ℝ] ℂ => L v) (hρc.mul (hw.mul hp).hasFDerivAt).fderiv |
| 44 | change fderiv ℝ (fun y => (ComplexMultiplication.HodgeComparison.Metric.CM.Construction.metricDensity b (B y) : ℂ) * |
| 45 | (w y * Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b n (B y) (a y) (c y))) x v = _ at hd |
| 46 | simp only [_root_.add_apply, _root_.smul_apply, ContinuousLinearMap.comp_apply, |
| 47 | Complex.ofRealCLM_apply, smul_eq_mul, Pi.mul_def, Function.comp_def] at hd |
| 48 | rw [ConnectionOperator.lineMetricPair_covariant_derivative b n B G A w a c x v hB hw ha hc hBs hpos hG hA, |
| 49 | Analysis.HodgeTheory.Decomposition.MetricDensityDerivative.Constructions.metricDensity_fderiv_connection b B hB hBs hpos v (G x v) hG] at hd |
| 50 | rw [hd] |
| 51 | simp only [Complex.ofReal_mul, RCLike.real_smul_eq_coe_mul] |
| 52 | ring_nf |
| 53 | rfl |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Line.WeightedMetricDerivative |