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.CovectorAlternationAction |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Line.CovectorHessian |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Line.CovectorConnectionOperator |
| 4 | |
| 5 | /-! # Hessian Bilinear -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Line.HessianBilinear |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The actual induced line connection on a covector-valued one-tensor, and its alternation and Hessian. -/ |
| 14 | |
| 15 | open _root_.ContinuousAlternatingMap |
| 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 tensorConnection_formNormed (n : ℕ) : NormedAddCommGroup (Analysis.DifferentialForms.Manifold.Basic.FormValue E n) := inferInstance |
| 23 | local instance tensorConnection_formSpace (n : ℕ) : NormedSpace ℝ (Analysis.DifferentialForms.Manifold.Basic.FormValue E n) := inferInstance |
| 24 | local instance tensorConnection_oneNormed (n : ℕ) : NormedAddCommGroup (E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) := inferInstance |
| 25 | local instance tensorConnection_oneSpace (n : ℕ) : NormedSpace ℝ (E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) := inferInstance |
| 26 | |
| 27 | def lineCovectorTensorDerivative (n : ℕ) (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) |
| 28 | (N : E → E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (x v : E) : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n := |
| 29 | fderiv ℝ N x v - (N x).comp (G x v) - (Analysis.HodgeTheory.Decomposition.CovectorConnection.Constructions.covectorInfinitesimalAction n (G x v)).comp (N x) + A x v • N x |
| 30 | |
| 31 | theorem covectorTensor_column_derivative (n : ℕ) (N : E → E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) |
| 32 | {x : E} (hN : DifferentiableAt ℝ N x) (v w : E) : |
| 33 | fderiv ℝ (fun y => N y w) x v = fderiv ℝ N x v w := by |
| 34 | have hd := ((ContinuousLinearMap.apply ℝ (Analysis.DifferentialForms.Manifold.Basic.FormValue E n) w).hasFDerivAt.comp x hN.hasFDerivAt).fderiv |
| 35 | exact congrArg (fun T => T v) hd |
| 36 | |
| 37 | theorem lineCovectorTensorDerivative_hessian (n : ℕ) |
| 38 | (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) (a : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) |
| 39 | {x : E} (ha : DifferentiableAt ℝ (ConnectionSymbols.lineCovectorConnectionDerivative n G A a) x) (v w : E) : |
| 40 | lineCovectorTensorDerivative n G A (ConnectionSymbols.lineCovectorConnectionDerivative n G A a) x v w = |
| 41 | CovectorHessian.lineCovectorHessian n G A a x v w := by |
| 42 | unfold CovectorHessian.lineCovectorHessian |
| 43 | rw [ConnectionSymbols.lineCovectorConnectionDerivative_apply, Analysis.HodgeTheory.Decomposition.CovectorConnection.Constructions.covectorConnectionDerivative_apply, |
| 44 | covectorTensor_column_derivative n _ ha v w] |
| 45 | simp only [lineCovectorTensorDerivative, _root_.add_apply, _root_.sub_apply, _root_.smul_apply, |
| 46 | ContinuousLinearMap.comp_apply] |
| 47 | abel |
| 48 | |
| 49 | theorem covectorTensor_alternation_derivative (n : ℕ) (N : E → E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) |
| 50 | {x : E} (hN : DifferentiableAt ℝ N x) (v : E) : |
| 51 | fderiv ℝ (fun y => alternatizeUncurryFin (N y)) x v = alternatizeUncurryFin (fderiv ℝ N x v) := by |
| 52 | have hd := ((alternatizeUncurryFinCLM ℝ E ℂ).hasFDerivAt.comp x hN.hasFDerivAt).fderiv |
| 53 | exact congrArg (fun T => T v) hd |
| 54 | |
| 55 | variable [FiniteDimensional ℝ E] {ι : Type*} [Fintype ι] |
| 56 | |
| 57 | theorem lineCovectorConnectionDerivative_alternation (b : Module.Basis ι ℝ E) (n : ℕ) |
| 58 | (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) (N : E → E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) |
| 59 | {x : E} (hN : DifferentiableAt ℝ N x) (v : E) : |
| 60 | ConnectionSymbols.lineCovectorConnectionDerivative (n + 1) G A (fun y => alternatizeUncurryFin (N y)) x v = |
| 61 | alternatizeUncurryFin (lineCovectorTensorDerivative n G A N x v) := by |
| 62 | rw [ConnectionSymbols.lineCovectorConnectionDerivative_apply, Analysis.HodgeTheory.Decomposition.CovectorConnection.Constructions.covectorConnectionDerivative_apply, |
| 63 | covectorTensor_alternation_derivative n N hN v, CovectorAlternationAction.covectorInfinitesimalAction_alternation b n] |
| 64 | change alternatizeUncurryFinCLM ℝ E ℂ (fderiv ℝ N x v) - |
| 65 | (alternatizeUncurryFinCLM ℝ E ℂ ((N x).comp (G x v)) + |
| 66 | alternatizeUncurryFinCLM ℝ E ℂ ((Analysis.HodgeTheory.Decomposition.CovectorConnection.Constructions.covectorInfinitesimalAction n (G x v)).comp (N x))) + |
| 67 | A x v • alternatizeUncurryFinCLM ℝ E ℂ (N x) = |
| 68 | alternatizeUncurryFinCLM ℝ E ℂ |
| 69 | (fderiv ℝ N x v - (N x).comp (G x v) - (Analysis.HodgeTheory.Decomposition.CovectorConnection.Constructions.covectorInfinitesimalAction n (G x v)).comp (N x) + A x v • N x) |
| 70 | rw [map_add, map_sub, map_sub] |
| 71 | have hs : alternatizeUncurryFinCLM ℝ E ℂ (A x v • N x) = |
| 72 | A x v • alternatizeUncurryFinCLM ℝ E ℂ (N x) := alternatizeUncurryFin_smul _ _ |
| 73 | rw [hs] |
| 74 | abel |
| 75 | |
| 76 | end |
| 77 | |
| 78 | /-! Bilinearity of the original covariant Hessian in its two tangent directions. -/ |
| 79 | |
| 80 | set_option backward.isDefEq.respectTransparency false |
| 81 | set_option backward.isDefEq.respectTransparency.types false |
| 82 | set_option backward.defeqAttrib.useBackward true |
| 83 | |
| 84 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 85 | |
| 86 | attribute [local instance] tensorConnection_formNormed tensorConnection_formSpace |
| 87 | tensorConnection_oneNormed tensorConnection_oneSpace |
| 88 | |
| 89 | def lineCovectorTensorScalarBilinear (n : ℕ) (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) |
| 90 | (N : E → E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (x : E) (t : Fin n → E) : E →ₗ[ℝ] E →ₗ[ℝ] ℂ := |
| 91 | LinearMap.mk₂ ℝ (fun v w => |
| 92 | (fderiv ℝ N x v w - N x (G x v w) + CovectorConnectionOperator.lineCovectorConnectionOperator n (G x) (A x) v (N x w)) t) |
| 93 | (fun v q w => by |
| 94 | simp only [map_add, _root_.add_apply, ContinuousAlternatingMap.add_apply, ContinuousAlternatingMap.sub_apply] |
| 95 | abel) |
| 96 | (fun r v w => by |
| 97 | simp only [map_smul, _root_.smul_apply, ContinuousAlternatingMap.add_apply, ContinuousAlternatingMap.sub_apply, |
| 98 | ContinuousAlternatingMap.smul_apply] |
| 99 | module) |
| 100 | (fun v w q => by |
| 101 | simp only [map_add, ContinuousAlternatingMap.add_apply, ContinuousAlternatingMap.sub_apply] |
| 102 | abel) |
| 103 | (fun r v w => by |
| 104 | simp only [map_smul, ContinuousAlternatingMap.add_apply, ContinuousAlternatingMap.sub_apply, |
| 105 | ContinuousAlternatingMap.smul_apply] |
| 106 | module) |
| 107 | |
| 108 | theorem lineCovectorTensorScalarBilinear_apply (n : ℕ) |
| 109 | (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) |
| 110 | (N : E → E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) (x : E) (t : Fin n → E) (v w : E) : |
| 111 | lineCovectorTensorScalarBilinear n G A N x t v w = lineCovectorTensorDerivative n G A N x v w t := by |
| 112 | simp only [lineCovectorTensorScalarBilinear, LinearMap.mk₂_apply, lineCovectorTensorDerivative, |
| 113 | CovectorConnectionOperator.lineCovectorConnectionOperator_apply, _root_.add_apply, _root_.sub_apply, _root_.smul_apply, |
| 114 | ContinuousLinearMap.comp_apply, ContinuousAlternatingMap.add_apply, ContinuousAlternatingMap.sub_apply, |
| 115 | ContinuousAlternatingMap.neg_apply, ContinuousAlternatingMap.smul_apply] |
| 116 | abel |
| 117 | |
| 118 | theorem lineCovectorHessian_scalar_bilinear (n : ℕ) |
| 119 | (G : E → E →L[ℝ] E →L[ℝ] E) (A : E → E →L[ℝ] ℂ) (a : E → Analysis.DifferentialForms.Manifold.Basic.FormValue E n) |
| 120 | {x : E} (ha : DifferentiableAt ℝ (ConnectionSymbols.lineCovectorConnectionDerivative n G A a) x) |
| 121 | (t : Fin n → E) (v w : E) : |
| 122 | CovectorHessian.lineCovectorHessian n G A a x v w t = |
| 123 | lineCovectorTensorScalarBilinear n G A (ConnectionSymbols.lineCovectorConnectionDerivative n G A a) x t v w := |
| 124 | (congrArg (fun q : Analysis.DifferentialForms.Manifold.Basic.FormValue E n => q t) (lineCovectorTensorDerivative_hessian n G A a ha v w)).symm.trans |
| 125 | (lineCovectorTensorScalarBilinear_apply n G A _ x t v w).symm |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Line.HessianBilinear |