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.CovectorMetricDifferential |
| 2 | import OAI.Analysis.HodgeTheory.Decomposition.MetricDensityDerivative |
| 3 | import OAI.Analysis.HodgeTheory.Decomposition.BilinearPairAlgebra |
| 4 | |
| 5 | /-! # Weighted Metric Derivative -/ |
| 6 | |
| 7 | namespace OAI.Analysis.HodgeTheory.Decomposition.WeightedMetricDerivative.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Differentiation of the actual density-weighted covector metric, including |
| 12 | the connection action on a constant test covector. -/ |
| 13 | |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | attribute [local instance] BilinearMetricDifferential.Constructions.metricDifferentialBilinearNormed BilinearMetricDifferential.Constructions.metricDifferentialBilinearNormedSpace |
| 17 | BilinearMetricDifferential.Constructions.metricDifferentialCovectorPairNormedSpace |
| 18 | |
| 19 | variable {E ι : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 20 | [Fintype ι] [LinearOrder ι] |
| 21 | |
| 22 | omit [FiniteDimensional ℝ E] in |
| 23 | theorem bilinearFormMetricPair_differentiableAt (b : Module.Basis ι ℝ E) (n : ℕ) |
| 24 | (B : E → E →L[ℝ] E →L[ℝ] ℝ) (a c : E → DifferentialForms.Manifold.Basic.FormValue E n) {x : E} |
| 25 | (hB : DifferentiableAt ℝ B x) (ha : DifferentiableAt ℝ a x) (hc : DifferentiableAt ℝ c x) |
| 26 | (hdet : (BilinearFormMetric.Constructions.bilinearExteriorGram b n (B x)).det ≠ 0) : |
| 27 | DifferentiableAt ℝ (fun y => BilinearFormMetric.Constructions.bilinearFormMetricPair b n (B y) (a y) (c y)) x := by |
| 28 | have hF := (BilinearFormMetricSmooth.Constructions.bilinearFormMetricPair_joint_contDiffAt b n (B x) (a x) (c x) hdet).differentiableAt (by simp) |
| 29 | have h := hF.hasFDerivAt.comp x (hB.hasFDerivAt.prodMk (ha.hasFDerivAt.prodMk hc.hasFDerivAt)) |
| 30 | exact h.differentiableAt |
| 31 | |
| 32 | theorem weightedMetricPair_derivative (b : Module.Basis ι ℝ E) (n : ℕ) |
| 33 | (B : E → E →L[ℝ] E →L[ℝ] ℝ) (Γ : E → E →L[ℝ] E →L[ℝ] E) |
| 34 | (a : E → DifferentialForms.Manifold.Basic.FormValue E n) (c : DifferentialForms.Manifold.Basic.FormValue E n) {x : E} (u : E) |
| 35 | (hB : DifferentiableAt ℝ B x) (ha : DifferentiableAt ℝ a x) |
| 36 | (hρ : DifferentiableAt ℝ (fun y => AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Metric.CM.Construction.metricDensity b (B y)) x) |
| 37 | (hBs : ∀ v w, B x v w = B x w v) (hpos : ∀ v : E, v ≠ 0 → 0 < B x v v) |
| 38 | (hΓ : ∀ v w, B x (Γ x u v) w + B x v (Γ x u w) = fderiv ℝ B x u v w) : |
| 39 | fderiv ℝ (fun y => (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Metric.CM.Construction.metricDensity b (B y) : ℂ) * BilinearFormMetric.Constructions.bilinearFormMetricPair b n (B y) (a y) c) x u = |
| 40 | (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Metric.CM.Construction.metricDensity b (B x) : ℂ) * |
| 41 | (BilinearFormMetric.Constructions.bilinearFormMetricPair b n (B x) (CovectorConnection.Constructions.covectorConnectionDerivative n Γ a x u) c - |
| 42 | BilinearFormMetric.Constructions.bilinearFormMetricPair b n (B x) (a x) (CovectorConnection.Constructions.covectorInfinitesimalAction n (Γ x u) c) + |
| 43 | (LinearMap.toMatrix b b (Γ x u).toLinearMap).trace • BilinearFormMetric.Constructions.bilinearFormMetricPair b n (B x) (a x) c) := by |
| 44 | have hp := bilinearFormMetricPair_differentiableAt b n B a (fun _ => c) hB ha |
| 45 | (differentiableAt_const c) (BilinearFormMetric.Constructions.bilinearExteriorGram_det_ne_zero b n (B x) hBs hpos) |
| 46 | have hρc := Complex.ofRealCLM.hasFDerivAt.comp x hρ.hasFDerivAt |
| 47 | have hd := congrArg (fun L : E →L[ℝ] ℂ => L u) (hρc.mul hp.hasFDerivAt).fderiv |
| 48 | have hmetric := CovectorMetricDifferential.Constructions.bilinearFormMetricPair_covariant_derivative b n B Γ a (fun _ => c) x u |
| 49 | hB ha (differentiableAt_const c) hBs hpos hΓ |
| 50 | have hconst : CovectorConnection.Constructions.covectorConnectionDerivative n Γ (fun _ => c) x u = |
| 51 | -CovectorConnection.Constructions.covectorInfinitesimalAction n (Γ x u) c := by |
| 52 | rw [CovectorConnection.Constructions.covectorConnectionDerivative_apply, (hasFDerivAt_const c x).fderiv, zero_apply, zero_sub] |
| 53 | rw [hconst, BilinearPairAlgebra.Constructions.bilinearFormMetricPair_neg_right] at hmetric |
| 54 | have hvolume := MetricDensityDerivative.Constructions.metricDensity_fderiv_connection b B hB hBs hpos u (Γ x u) hΓ |
| 55 | simp only [add_apply, smul_apply, ContinuousLinearMap.comp_apply, Complex.ofRealCLM_apply, |
| 56 | smul_eq_mul] at hd |
| 57 | rw [hmetric, hvolume] at hd |
| 58 | simp only [Function.comp_def, Complex.ofRealCLM_apply] at hd |
| 59 | change fderiv ℝ (fun y => (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Metric.CM.Construction.metricDensity b (B y) : ℂ) * BilinearFormMetric.Constructions.bilinearFormMetricPair b n (B y) (a y) c) x u = _ at hd |
| 60 | rw [hd] |
| 61 | simp only [Complex.ofReal_mul, RCLike.real_smul_eq_coe_mul] |
| 62 | ring_nf |
| 63 | rfl |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.Analysis.HodgeTheory.Decomposition.WeightedMetricDerivative.Constructions |