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.LatticeSemicharacter |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.Dual.PeriodProjectivity |
| 3 | |
| 4 | /-! # Polarization Automorphy -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.PolarizationAutomorphy |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The original integral polarization has a holomorphic factor, with |
| 13 | the normalized Poincare factor as its multiplication defect. -/ |
| 14 | |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | variable {L I V : Type} [AddCommGroup L] [Module ℤ L] [LinearOrder I] |
| 18 | [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 19 | (b : Module.Basis I ℤ L) (B : LinearMap.BilinForm ℤ L) |
| 20 | (e : L →+ V) (H : V →ₗ⋆[ℂ] V →ₗ[ℂ] ℂ) |
| 21 | |
| 22 | def polarizationAutomorphy (l : L) (z : V) : ℂ := |
| 23 | Complex.exp ((Real.pi : ℂ) * (Complex.I * (LatticeSemicharacter.latticeQuadraticRefinement b B l : ℂ) + |
| 24 | H (e l) z + H (e l) (e l) / 2)) |
| 25 | |
| 26 | theorem polarizationAutomorphy_ne_zero (l : L) (z : V) : polarizationAutomorphy b B e H l z ≠ 0 := |
| 27 | Complex.exp_ne_zero _ |
| 28 | |
| 29 | @[simp] theorem polarizationAutomorphy_zero (z : V) : polarizationAutomorphy b B e H 0 z = 1 := by |
| 30 | simp [polarizationAutomorphy, LatticeSemicharacter.latticeQuadraticRefinement] |
| 31 | |
| 32 | theorem polarizationAutomorphy_add (hB : B.IsAlt) |
| 33 | (hsym : ∀ u v, H v u = star (H u v)) |
| 34 | (hint : ∀ l m, (H (e l) (e m)).im = (B l m : ℝ)) (l m : L) (z : V) : |
| 35 | polarizationAutomorphy b B e H (l + m) z = |
| 36 | polarizationAutomorphy b B e H l (z + e m) * polarizationAutomorphy b B e H m z := by |
| 37 | have hc := congrArg (fun n : ℤ => (n : ℂ)) (LatticeSemicharacter.latticeQuadraticRefinement_add b B hB l m) |
| 38 | have hs := Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.hermitian_skew H hsym (e l) (e m) |
| 39 | rw [hint] at hs |
| 40 | push_cast at hc hs |
| 41 | simp only [polarizationAutomorphy, map_add, LinearMap.add_apply] |
| 42 | rw [← Complex.exp_add] |
| 43 | apply Complex.exp_eq_exp_iff_exists_int.mpr |
| 44 | refine ⟨LatticeSemicharacter.upperLatticeForm b B m l, ?_⟩ |
| 45 | linear_combination (Real.pi : ℂ) * Complex.I * hc - (Real.pi : ℂ) / 2 * hs |
| 46 | |
| 47 | theorem polarizationAutomorphy_poincare (hB : B.IsAlt) |
| 48 | (hsym : ∀ u v, H v u = star (H u v)) |
| 49 | (hint : ∀ l m, (H (e l) (e m)).im = (B l m : ℝ)) (l m : L) (w z : V) : |
| 50 | polarizationAutomorphy b B e H (l + m) (w + z) = |
| 51 | polarizationAutomorphy b B e H l w * polarizationAutomorphy b B e H m z * |
| 52 | Dual.PeriodProjectivity.poincareAutomorphy H (e l) (e m) w z := by |
| 53 | have hc := congrArg (fun n : ℤ => (n : ℂ)) (LatticeSemicharacter.latticeQuadraticRefinement_add b B hB l m) |
| 54 | have hs := Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.hermitian_skew H hsym (e l) (e m) |
| 55 | rw [hint] at hs |
| 56 | push_cast at hc hs |
| 57 | simp only [polarizationAutomorphy, Dual.PeriodProjectivity.poincareAutomorphy, map_add, LinearMap.add_apply] |
| 58 | rw [← Complex.exp_add, ← Complex.exp_add] |
| 59 | apply Complex.exp_eq_exp_iff_exists_int.mpr |
| 60 | refine ⟨LatticeSemicharacter.upperLatticeForm b B m l, ?_⟩ |
| 61 | linear_combination (Real.pi : ℂ) * Complex.I * hc - (Real.pi : ℂ) / 2 * hs |
| 62 | |
| 63 | theorem polarizationAutomorphy_differentiable [FiniteDimensional ℂ V] (l : L) : |
| 64 | Differentiable ℂ (polarizationAutomorphy b B e H l) := |
| 65 | (((H (e l)).toContinuousLinearMap.differentiable.const_add _).add_const _).const_mul _ |>.cexp |
| 66 | |
| 67 | theorem polarizationAutomorphy_contDiff [FiniteDimensional ℂ V] (l : L) : |
| 68 | ContDiff ℂ ∞ (polarizationAutomorphy b B e H l) := by |
| 69 | have h : ContDiff ℂ ∞ (fun z => Complex.I * (LatticeSemicharacter.latticeQuadraticRefinement b B l : ℂ) + |
| 70 | H (e l) z + H (e l) (e l) / 2) := |
| 71 | (contDiff_const.add (H (e l)).toContinuousLinearMap.contDiff).add contDiff_const |
| 72 | exact (contDiff_const.mul h).cexp |
| 73 | |
| 74 | end |
| 75 | |
| 76 | /-! The standard positive metric is compatible with the original |
| 77 | polarization factor on every lattice translate. -/ |
| 78 | |
| 79 | variable {L I V : Type} [AddCommGroup L] [Module ℤ L] [LinearOrder I] |
| 80 | [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 81 | (b : Module.Basis I ℤ L) (B : LinearMap.BilinForm ℤ L) |
| 82 | (e : L →+ V) (H : V →ₗ⋆[ℂ] V →ₗ[ℂ] ℂ) |
| 83 | |
| 84 | theorem polarizationAutomorphy_norm_sq (l : L) (z : V) : |
| 85 | ‖polarizationAutomorphy b B e H l z‖ ^ 2 = |
| 86 | Real.exp (Real.pi * (2 * (H (e l) z).re + (H (e l) (e l)).re)) := by |
| 87 | rw [polarizationAutomorphy, Complex.norm_exp, pow_two, ← Real.exp_add] |
| 88 | congr 1 |
| 89 | norm_num [Complex.mul_re, Complex.div_re] |
| 90 | ring |
| 91 | |
| 92 | def polarizationMetricWeight (z : V) : ℝ := Real.exp (-Real.pi * (H z z).re) |
| 93 | |
| 94 | theorem polarizationMetricWeight_pos (z : V) : 0 < polarizationMetricWeight H z := Real.exp_pos _ |
| 95 | |
| 96 | theorem polarizationMetricWeight_continuous [NormedSpace ℝ V] [IsScalarTower ℝ ℂ V] |
| 97 | [FiniteDimensional ℂ V] : Continuous (polarizationMetricWeight H) := by |
| 98 | let : FiniteDimensional ℝ V := FiniteDimensional.trans ℝ ℂ V |
| 99 | have hh : Continuous (fun z : V => H z z) := |
| 100 | (Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion.Construction.hermitianBilin H).continuous.clm_apply continuous_id |
| 101 | exact Real.continuous_exp.comp (continuous_const.mul (Complex.continuous_re.comp hh)) |
| 102 | |
| 103 | theorem polarizationMetricWeight_translation (hsym : ∀ u v, H v u = star (H u v)) (l : L) (z : V) : |
| 104 | ‖polarizationAutomorphy b B e H l z‖ ^ 2 * polarizationMetricWeight H (z + e l) = |
| 105 | polarizationMetricWeight H z := by |
| 106 | rw [polarizationAutomorphy_norm_sq, polarizationMetricWeight, polarizationMetricWeight, ← Real.exp_add] |
| 107 | congr 1 |
| 108 | simp only [map_add, LinearMap.add_apply, Complex.add_re] |
| 109 | rw [hsym (e l) z] |
| 110 | simp only [Complex.star_def, Complex.conj_re] |
| 111 | ring |
| 112 | |
| 113 | theorem polarizationMetric_translation (hsym : ∀ u v, H v u = star (H u v)) |
| 114 | (l : L) (z : V) (v : ℂ) : |
| 115 | polarizationMetricWeight H (z + e l) * ‖polarizationAutomorphy b B e H l z * v‖ ^ 2 = |
| 116 | polarizationMetricWeight H z * ‖v‖ ^ 2 := by |
| 117 | rw [norm_mul, mul_pow] |
| 118 | calc |
| 119 | _ = (‖polarizationAutomorphy b B e H l z‖ ^ 2 * polarizationMetricWeight H (z + e l)) * ‖v‖ ^ 2 := by ring |
| 120 | _ = _ := congrArg (fun r => r * ‖v‖ ^ 2) (polarizationMetricWeight_translation b B e H hsym l z) |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.RepresentationTheory.Theta.Geometric.PolarizationAutomorphy |