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 Mathlib.Analysis.Calculus.FDeriv.Symmetric |
| 2 | import Mathlib.Analysis.Calculus.FDeriv.Bilinear |
| 3 | |
| 4 | /-! # Operator Connection Curvature -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.OperatorConnectionCurvature |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The curvature of an actual first-order connection, obtained by commuting its derivatives. -/ |
| 13 | |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 17 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 18 | |
| 19 | def operatorConnectionDerivative (K : E → E →L[ℝ] F →L[ℝ] F) |
| 20 | (a : E → F) (x v : E) : F := |
| 21 | fderiv ℝ a x v + K x v (a x) |
| 22 | |
| 23 | def operatorConnectionCurvature (K : E → E →L[ℝ] F →L[ℝ] F) |
| 24 | (x v w : E) : F →L[ℝ] F := |
| 25 | fderiv ℝ K x v w - fderiv ℝ K x w v + |
| 26 | (K x v).comp (K x w) - (K x w).comp (K x v) |
| 27 | |
| 28 | theorem operatorConnectionDerivative_derivative (K : E → E →L[ℝ] F →L[ℝ] F) |
| 29 | (a : E → F) {x : E} (hK : DifferentiableAt ℝ K x) |
| 30 | (ha : ContDiffAt ℝ ∞ a x) (v w : E) : |
| 31 | fderiv ℝ (fun y => operatorConnectionDerivative K a y w) x v = |
| 32 | fderiv ℝ (fderiv ℝ a) x v w + fderiv ℝ K x v w (a x) + |
| 33 | K x w (fderiv ℝ a x v) := by |
| 34 | have hs : ContDiffAt ℝ ∞ (fderiv ℝ a) x := ha.fderiv_right (by simp) |
| 35 | have hda : DifferentiableAt ℝ (fderiv ℝ a) x := hs.differentiableAt (by simp) |
| 36 | have had := ha.differentiableAt (by simp) |
| 37 | have hKw := hK.clm_apply (differentiableAt_const w) |
| 38 | unfold operatorConnectionDerivative |
| 39 | rw [fderiv_fun_add (hda.clm_apply (differentiableAt_const w)) (hKw.clm_apply had), |
| 40 | fderiv_clm_apply hda (differentiableAt_const w), fderiv_clm_apply hKw had, |
| 41 | fderiv_clm_apply hK (differentiableAt_const w)] |
| 42 | simp only [fderiv_const_apply, _root_.add_apply, ContinuousLinearMap.comp_apply, |
| 43 | ContinuousLinearMap.flip_apply, _root_.zero_apply, map_zero, zero_add] |
| 44 | abel |
| 45 | |
| 46 | theorem operatorConnectionDerivative_commutator (K : E → E →L[ℝ] F →L[ℝ] F) |
| 47 | (a : E → F) {x : E} (hK : DifferentiableAt ℝ K x) |
| 48 | (ha : ContDiffAt ℝ ∞ a x) (v w : E) : |
| 49 | operatorConnectionDerivative K (fun y => operatorConnectionDerivative K a y w) x v - |
| 50 | operatorConnectionDerivative K (fun y => operatorConnectionDerivative K a y v) x w = |
| 51 | operatorConnectionCurvature K x v w (a x) := by |
| 52 | have hs := ha.isSymmSndFDerivAt (by |
| 53 | rw [minSmoothness_of_isRCLikeNormedField] |
| 54 | exact WithTop.coe_le_coe.mpr (show (2 : ℕ∞) ≤ ⊤ from le_top)) v w |
| 55 | change fderiv ℝ (fun y => operatorConnectionDerivative K a y w) x v + |
| 56 | K x v (fderiv ℝ a x w + K x w (a x)) - |
| 57 | (fderiv ℝ (fun y => operatorConnectionDerivative K a y v) x w + |
| 58 | K x w (fderiv ℝ a x v + K x v (a x))) = _ |
| 59 | rw [operatorConnectionDerivative_derivative K a hK ha v w, |
| 60 | operatorConnectionDerivative_derivative K a hK ha w v, hs] |
| 61 | simp only [operatorConnectionCurvature, _root_.add_apply, _root_.sub_apply, |
| 62 | ContinuousLinearMap.comp_apply, map_add] |
| 63 | abel |
| 64 | |
| 65 | end |
| 66 | |
| 67 | /-! Actual connection curvature as a continuous linear operator in its second tangent direction. -/ |
| 68 | |
| 69 | set_option backward.isDefEq.respectTransparency false |
| 70 | set_option backward.isDefEq.respectTransparency.types false |
| 71 | set_option backward.defeqAttrib.useBackward true |
| 72 | |
| 73 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 74 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 75 | |
| 76 | def operatorConnectionCurvatureRight (K : E → E →L[ℝ] F →L[ℝ] F) (x v : E) : |
| 77 | E →L[ℝ] F →L[ℝ] F := |
| 78 | fderiv ℝ K x v - (fderiv ℝ K x).flip v + |
| 79 | (ContinuousLinearMap.compL ℝ F F F (K x v)).comp (K x) - |
| 80 | ((ContinuousLinearMap.compL ℝ F F F).flip (K x v)).comp (K x) |
| 81 | |
| 82 | theorem operatorConnectionCurvatureRight_apply (K : E → E →L[ℝ] F →L[ℝ] F) (x v w : E) : |
| 83 | operatorConnectionCurvatureRight K x v w = operatorConnectionCurvature K x v w := rfl |
| 84 | |
| 85 | theorem operatorConnectionCurvatureRight_bound (K : E → E →L[ℝ] F →L[ℝ] F) (x v : E) |
| 86 | (C : ℝ) (hC : 0 ≤ C) (hR : ∀ w : E, ‖operatorConnectionCurvature K x v w‖ ≤ C * ‖v‖ * ‖w‖) : |
| 87 | ‖operatorConnectionCurvatureRight K x v‖ ≤ C * ‖v‖ := |
| 88 | ContinuousLinearMap.opNorm_le_bound _ (mul_nonneg hC (norm_nonneg v)) hR |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.DivisorClass.Chern.OperatorConnectionCurvature |