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.RepresentationTheory.Theta.Geometric.PolarizationAutomorphy |
| 2 | import OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts |
| 3 | import Mathlib.Analysis.Calculus.FDeriv.Bilinear |
| 4 | |
| 5 | /-! # Polarization Connection -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.PolarizationConnection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The Gaussian metric connection for the original polarization, |
| 12 | including its actual derivative and change of frame. -/ |
| 13 | |
| 14 | variable {V : Type} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 15 | [NormedSpace ℝ V] [IsScalarTower ℝ ℂ V] [FiniteDimensional ℂ V] |
| 16 | (H : V →ₗ⋆[ℂ] V →ₗ[ℂ] ℂ) |
| 17 | |
| 18 | local instance : FiniteDimensional ℝ V := FiniteDimensional.trans ℝ ℂ V |
| 19 | |
| 20 | def polarizationLogMetric (z : V) : ℂ := (Real.log (PolarizationAutomorphy.polarizationMetricWeight H z) : ℂ) |
| 21 | |
| 22 | omit [NormedSpace ℝ V] [IsScalarTower ℝ ℂ V] [FiniteDimensional ℂ V] in |
| 23 | theorem polarizationLogMetric_eq (hsym : ∀ u v, H v u = star (H u v)) (z : V) : |
| 24 | polarizationLogMetric H z = -(Real.pi : ℂ) * H z z := by |
| 25 | have him := Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.hermitian_imaginary_self H hsym z |
| 26 | apply Complex.ext |
| 27 | · simp [polarizationLogMetric, PolarizationAutomorphy.polarizationMetricWeight, Complex.mul_re] |
| 28 | · simp [polarizationLogMetric, Complex.mul_im, him] |
| 29 | |
| 30 | theorem polarizationLogMetric_hasFDerivAt (hsym : ∀ u v, H v u = star (H u v)) (z : V) : |
| 31 | HasFDerivAt (polarizationLogMetric H) |
| 32 | (-(Real.pi : ℂ) • (Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.hermitianBilin H z + |
| 33 | (Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.hermitianBilin H).flip z)) z := by |
| 34 | have h := ((Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.hermitianBilin H).hasFDerivAt_of_bilinear |
| 35 | (hasFDerivAt_id z) (hasFDerivAt_id z)).const_smul (-(Real.pi : ℂ)) |
| 36 | convert! h using 1 |
| 37 | funext y |
| 38 | exact polarizationLogMetric_eq H hsym y |
| 39 | |
| 40 | theorem polarizationLogMetric_fderiv (hsym : ∀ u v, H v u = star (H u v)) (z v : V) : |
| 41 | fderiv ℝ (polarizationLogMetric H) z v = -(Real.pi : ℂ) * (H z v + H v z) := by |
| 42 | rw [(polarizationLogMetric_hasFDerivAt H hsym z).fderiv] |
| 43 | rfl |
| 44 | |
| 45 | def polarizationConnection : V →L[ℝ] V →L[ℝ] ℂ := |
| 46 | -(Real.pi : ℂ) • Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.hermitianBilin H |
| 47 | |
| 48 | theorem polarizationConnection_eq_metric_derivative (hsym : ∀ u v, H v u = star (H u v)) (z : V) : |
| 49 | polarizationConnection H z = |
| 50 | OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexLinearPartCLM V ℂ (fderiv ℝ (polarizationLogMetric H) z) := by |
| 51 | ext v |
| 52 | rw [OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts.complexLinearPartCLM_apply, polarizationLogMetric_fderiv H hsym, |
| 53 | polarizationLogMetric_fderiv H hsym] |
| 54 | change -(Real.pi : ℂ) * H z v = |
| 55 | (1 / 2 : ℂ) * (-(Real.pi : ℂ) * (H z v + H v z) - |
| 56 | Complex.I * (-(Real.pi : ℂ) * (H z (Complex.I • v) + H (Complex.I • v) z))) |
| 57 | rw [map_smul, hsym z (Complex.I • v), map_smul, hsym z v] |
| 58 | simp only [smul_eq_mul, star_mul, Complex.star_def, Complex.conj_I] |
| 59 | ring_nf |
| 60 | simp only [Complex.I_sq] |
| 61 | ring |
| 62 | |
| 63 | variable {L I : Type} [AddCommGroup L] [Module ℤ L] [LinearOrder I] |
| 64 | (b : Module.Basis I ℤ L) (B : LinearMap.BilinForm ℤ L) (e : L →+ V) |
| 65 | |
| 66 | omit [NormedSpace ℝ V] [IsScalarTower ℝ ℂ V] in |
| 67 | theorem polarizationAutomorphy_hasFDerivAt (l : L) (z : V) : |
| 68 | HasFDerivAt (PolarizationAutomorphy.polarizationAutomorphy b B e H l) |
| 69 | (PolarizationAutomorphy.polarizationAutomorphy b B e H l z • ((Real.pi : ℂ) • (H (e l)).toContinuousLinearMap)) z := by |
| 70 | have h := (((H (e l)).toContinuousLinearMap.hasFDerivAt (x := z)).const_add |
| 71 | (Complex.I * (LatticeSemicharacter.latticeQuadraticRefinement b B l : ℂ))).add_const (H (e l) (e l) / 2) |
| 72 | exact (h.const_smul (Real.pi : ℂ)).cexp |
| 73 | |
| 74 | omit [NormedSpace ℝ V] [IsScalarTower ℝ ℂ V] in |
| 75 | theorem polarizationAutomorphy_fderiv (l : L) (z v : V) : |
| 76 | fderiv ℂ (PolarizationAutomorphy.polarizationAutomorphy b B e H l) z v = |
| 77 | PolarizationAutomorphy.polarizationAutomorphy b B e H l z * ((Real.pi : ℂ) * H (e l) v) := by |
| 78 | rw [(polarizationAutomorphy_hasFDerivAt H b B e l z).fderiv] |
| 79 | rfl |
| 80 | |
| 81 | theorem polarizationConnection_translation (l : L) (z v : V) : |
| 82 | polarizationConnection H (z + e l) v = polarizationConnection H z v - |
| 83 | (PolarizationAutomorphy.polarizationAutomorphy b B e H l z)⁻¹ * fderiv ℂ (PolarizationAutomorphy.polarizationAutomorphy b B e H l) z v := by |
| 84 | rw [polarizationAutomorphy_fderiv, ← mul_assoc, |
| 85 | inv_mul_cancel₀ (PolarizationAutomorphy.polarizationAutomorphy_ne_zero b B e H l z), one_mul] |
| 86 | change -(Real.pi : ℂ) * H (z + e l) v = -(Real.pi : ℂ) * H z v - (Real.pi : ℂ) * H (e l) v |
| 87 | rw [map_add, LinearMap.add_apply] |
| 88 | ring |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.RepresentationTheory.Theta.Geometric.PolarizationConnection |