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.OperatorConnectionCurvature |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Line.ConnectionSymbols |
| 3 | import Mathlib.Topology.Order.Compact |
| 4 | |
| 5 | /-! # Covector Connection Operator -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Line.CovectorConnectionOperator |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The original line covector derivative as a genuine operator-valued connection. -/ |
| 14 | |
| 15 | open scoped 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 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 21 | |
| 22 | local instance lineOperator_formNormed (n : ℕ) : NormedAddCommGroup (Analysis.DifferentialForms.Manifold.Basic.FormValue E n) := inferInstance |
| 23 | local instance lineOperator_formSpace (n : ℕ) : NormedSpace ℝ (Analysis.DifferentialForms.Manifold.Basic.FormValue E n) := inferInstance |
| 24 | local instance lineOperator_endNormed (n : ℕ) : NormedAddCommGroup (Analysis.DifferentialForms.Manifold.Basic.FormValue E n →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) := inferInstance |
| 25 | local instance lineOperator_endSpace (n : ℕ) : NormedSpace ℝ (Analysis.DifferentialForms.Manifold.Basic.FormValue E n →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) := inferInstance |
| 26 | local instance lineOperator_directionNormed (n : ℕ) : NormedAddCommGroup (E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) := inferInstance |
| 27 | local instance lineOperator_directionSpace (n : ℕ) : NormedSpace ℝ (E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) := inferInstance |
| 28 | |
| 29 | def covectorActionOperator (n : ℕ) : (E →L[ℝ] E) →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n := |
| 30 | (ContinuousAlternatingMap.fderivCompContinuousLinearMapCLM ℂ |
| 31 | (ContinuousLinearMap.id ℝ E)).flip |
| 32 | |
| 33 | theorem covectorActionOperator_apply (n : ℕ) (G : E →L[ℝ] E) (a : Analysis.DifferentialForms.Manifold.Basic.FormValue E n) : |
| 34 | covectorActionOperator n G a = Analysis.HodgeTheory.Decomposition.CovectorConnection.Constructions.covectorInfinitesimalAction n G a := rfl |
| 35 | |
| 36 | def lineCovectorConnectionOperator (n : ℕ) (G : E →L[ℝ] E →L[ℝ] E) |
| 37 | (A : E →L[ℝ] ℂ) : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n := |
| 38 | -((covectorActionOperator n).comp G) + (ContinuousLinearMap.lsmul ℝ ℂ).comp A |
| 39 | |
| 40 | theorem lineCovectorConnectionOperator_apply (n : ℕ) (G : E →L[ℝ] E →L[ℝ] E) |
| 41 | (A : E →L[ℝ] ℂ) (v : E) (a : Analysis.DifferentialForms.Manifold.Basic.FormValue E n) : |
| 42 | lineCovectorConnectionOperator n G A v a = |
| 43 | -Analysis.HodgeTheory.Decomposition.CovectorConnection.Constructions.covectorInfinitesimalAction n (G v) a + A v • a := rfl |
| 44 | |
| 45 | theorem lineCovectorConnectionDerivative_operator (n : ℕ) |
| 46 | (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) |
| 47 | (a : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (x v : E) : |
| 48 | ConnectionSymbols.lineCovectorConnectionDerivative n G A a x v = |
| 49 | OperatorConnectionCurvature.operatorConnectionDerivative (fun y => lineCovectorConnectionOperator n (G y) (A y)) a x v := by |
| 50 | rw [ConnectionSymbols.lineCovectorConnectionDerivative_apply, Analysis.HodgeTheory.Decomposition.CovectorConnection.Constructions.covectorConnectionDerivative_apply, |
| 51 | OperatorConnectionCurvature.operatorConnectionDerivative, lineCovectorConnectionOperator_apply] |
| 52 | abel |
| 53 | |
| 54 | theorem lineCovectorConnectionOperator_differentiableAt (n : ℕ) |
| 55 | (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) {x : E} |
| 56 | (hG : DifferentiableAt ℝ G x) (hA : DifferentiableAt ℝ A x) : |
| 57 | DifferentiableAt ℝ (fun y => lineCovectorConnectionOperator n (G y) (A y)) x := |
| 58 | ((differentiableAt_const (covectorActionOperator n)).clm_comp hG).neg.add |
| 59 | ((differentiableAt_const (ContinuousLinearMap.lsmul ℝ ℂ)).clm_comp hA) |
| 60 | |
| 61 | theorem lineCovectorConnectionOperator_derivative (n : ℕ) |
| 62 | (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) {x : E} |
| 63 | (hG : DifferentiableAt ℝ G x) (hA : DifferentiableAt ℝ A x) (v w : E) (a : Analysis.DifferentialForms.Manifold.Basic.FormValue E n) : |
| 64 | fderiv ℝ (fun y => lineCovectorConnectionOperator n (G y) (A y)) x v w a = |
| 65 | -Analysis.HodgeTheory.Decomposition.CovectorConnection.Constructions.covectorInfinitesimalAction n (fderiv ℝ G x v w) a + fderiv ℝ A x v w • a := by |
| 66 | have hL := (hasFDerivAt_const (covectorActionOperator (E := E) n) x).clm_comp hG.hasFDerivAt |
| 67 | have hS := (hasFDerivAt_const |
| 68 | (ContinuousLinearMap.lsmul ℝ ℂ : ℂ →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) x).clm_comp hA.hasFDerivAt |
| 69 | have hd := congrArg (fun T => T v w a) (hL.neg.add hS).fderiv |
| 70 | simp only [_root_.add_apply, _root_.neg_apply, ContinuousLinearMap.comp_apply, |
| 71 | _root_.zero_apply, map_zero, add_zero] at hd |
| 72 | exact hd |
| 73 | |
| 74 | end |
| 75 | |
| 76 | /-! Ordinary first derivatives are controlled by the original covariant derivative and a bounded zeroth-order connection term. -/ |
| 77 | |
| 78 | open scoped ContDiff |
| 79 | set_option backward.isDefEq.respectTransparency false |
| 80 | set_option backward.isDefEq.respectTransparency.types false |
| 81 | set_option backward.defeqAttrib.useBackward true |
| 82 | |
| 83 | attribute [local instance] lineOperator_formNormed lineOperator_formSpace |
| 84 | lineOperator_endNormed lineOperator_endSpace lineOperator_directionNormed lineOperator_directionSpace |
| 85 | |
| 86 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 87 | |
| 88 | theorem lineCovectorConnectionOperator_smoothOn (n : ℕ) |
| 89 | (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) {U : Set E} |
| 90 | (hG : ContDiffOn ℝ ∞ G U) (hA : ContDiffOn ℝ ∞ A U) : |
| 91 | ContDiffOn ℝ ∞ (fun x => lineCovectorConnectionOperator n (G x) (A x)) U := |
| 92 | ((contDiffOn_const (c := covectorActionOperator n)).clm_comp hG).neg.add |
| 93 | ((contDiffOn_const (c := (ContinuousLinearMap.lsmul ℝ ℂ : ℂ →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n))).clm_comp hA) |
| 94 | |
| 95 | theorem lineCovectorConnectionOperator_bound (n : ℕ) |
| 96 | (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) {U T : Set E} |
| 97 | (hG : ContDiffOn ℝ ∞ G U) (hA : ContDiffOn ℝ ∞ A U) (hT : IsCompact T) (hTU : T ⊆ U) : |
| 98 | ∃ C : ℝ, 0 < C ∧ ∀ x ∈ T, ‖lineCovectorConnectionOperator n (G x) (A x)‖ ≤ C := by |
| 99 | obtain ⟨B, hb⟩ := hT.bddAbove_image |
| 100 | ((lineCovectorConnectionOperator_smoothOn n G A hG hA).continuousOn.mono hTU).norm |
| 101 | exact ⟨max B 0 + 1, by positivity, fun x hx => |
| 102 | (hb ⟨x, hx, rfl⟩).trans ((le_max_left B 0).trans (by linarith))⟩ |
| 103 | |
| 104 | theorem lineCovectorDerivative_direction_norm (n : ℕ) |
| 105 | (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) (a : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (x v : E) : |
| 106 | ‖fderiv ℝ a x v‖ ≤ ‖ConnectionSymbols.lineCovectorConnectionDerivative n G A a x‖ * ‖v‖ + |
| 107 | ‖lineCovectorConnectionOperator n (G x) (A x)‖ * ‖v‖ * ‖a x‖ := by |
| 108 | have heq : fderiv ℝ a x v = ConnectionSymbols.lineCovectorConnectionDerivative n G A a x v - |
| 109 | lineCovectorConnectionOperator n (G x) (A x) v (a x) := by |
| 110 | rw [lineCovectorConnectionDerivative_operator, OperatorConnectionCurvature.operatorConnectionDerivative] |
| 111 | abel |
| 112 | rw [heq] |
| 113 | exact (norm_sub_le _ _).trans (add_le_add |
| 114 | ((ConnectionSymbols.lineCovectorConnectionDerivative n G A a x).le_opNorm v) |
| 115 | (((lineCovectorConnectionOperator n (G x) (A x) v).le_opNorm (a x)).trans |
| 116 | (mul_le_mul_of_nonneg_right ((lineCovectorConnectionOperator n (G x) (A x)).le_opNorm v) (norm_nonneg _)))) |
| 117 | |
| 118 | theorem lineCovectorDerivative_unit_sq (n : ℕ) |
| 119 | (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) (a : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (x v : E) |
| 120 | (hv : ‖v‖ = 1) {C : ℝ} (hC : 0 ≤ C) (hb : ‖lineCovectorConnectionOperator n (G x) (A x)‖ ≤ C) : |
| 121 | ‖fderiv ℝ a x v‖ ^ 2 ≤ 2 * ‖ConnectionSymbols.lineCovectorConnectionDerivative n G A a x‖ ^ 2 + 2 * C ^ 2 * ‖a x‖ ^ 2 := by |
| 122 | have hn := lineCovectorDerivative_direction_norm n G A a x v |
| 123 | rw [hv, mul_one, mul_one] at hn |
| 124 | have hh := hn.trans (add_le_add (le_refl _) (mul_le_mul_of_nonneg_right hb (norm_nonneg _))) |
| 125 | have hs := (sq_le_sq₀ (norm_nonneg _) (add_nonneg (norm_nonneg _) (mul_nonneg hC (norm_nonneg _)))).mpr hh |
| 126 | nlinarith only [hs, sq_nonneg (‖ConnectionSymbols.lineCovectorConnectionDerivative n G A a x‖ - C * ‖a x‖)] |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Line.CovectorConnectionOperator |