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.Positive.MetricTrace |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Line.TensorMetricTest |
| 3 | |
| 4 | /-! # Covector Tensor Algebra -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.CovectorTensorAlgebra |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Nonnegativity of the genuine inverse-metric contraction of covector-valued tensors. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | attribute [local instance] Line.HessianBilinear.tensorConnection_formNormed Line.HessianBilinear.tensorConnection_formSpace |
| 19 | Line.HessianBilinear.tensorConnection_oneNormed Line.HessianBilinear.tensorConnection_oneSpace |
| 20 | |
| 21 | variable {E ι : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 22 | [Fintype ι] [LinearOrder ι] |
| 23 | |
| 24 | def covectorTensorMetricPair (b : Module.Basis ι ℝ E) (n : ℕ) (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 25 | (N P : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) : ℂ := |
| 26 | ∑ i, Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b n B (N (Analysis.HodgeTheory.Decomposition.KoszulConnection.Constructions.bilinearMetricSharp B (b.coord i).toContinuousLinearMap)) (P (b i)) |
| 27 | |
| 28 | def covectorTensorRealBilinear (b : Module.Basis ι ℝ E) (n : ℕ) (B : E →L[ℝ] E →L[ℝ] ℝ) |
| 29 | (N P : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) : E →ₗ[ℝ] E →ₗ[ℝ] ℝ := |
| 30 | LinearMap.mk₂ ℝ (fun v w => (Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b n B (N v) (P w)).re) |
| 31 | (fun v t w => by rw [map_add, Analysis.HodgeTheory.Decomposition.BilinearPairAlgebra.Constructions.bilinearFormMetricPair_add_left, Complex.add_re]) |
| 32 | (fun r v w => by rw [map_smul, Line.TensorMetricTest.bilinearFormMetricPair_real_smul_left]; simp [Complex.real_smul]) |
| 33 | (fun v w t => by rw [map_add, Line.ConnectionOperator.bilinearFormMetricPair_add_right, Complex.add_re]) |
| 34 | (fun r v w => by rw [map_smul, Analysis.HodgeTheory.Decomposition.BilinearPairAlgebra.Constructions.bilinearFormMetricPair_real_smul_right]; simp [Complex.real_smul]) |
| 35 | |
| 36 | theorem covectorTensorMetricPair_nonneg (b : Module.Basis ι ℝ E) (n : ℕ) |
| 37 | (B : E →L[ℝ] E →L[ℝ] ℝ) (hB : ∀ v w, B v w = B w v) |
| 38 | (hpos : ∀ v : E, v ≠ 0 → 0 < B v v) (N : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) : |
| 39 | 0 ≤ (covectorTensorMetricPair b n B N N).re := by |
| 40 | have hn (v : E) : 0 ≤ covectorTensorRealBilinear b n B N N v v := by |
| 41 | change 0 ≤ (Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair b n B (N v) (N v)).re |
| 42 | rw [Analysis.HodgeTheory.Decomposition.BilinearFormMetric.Constructions.bilinearFormMetricPair_eq_intrinsic b n B hB hpos] |
| 43 | exact Analysis.HodgeTheory.Decomposition.ExteriorPair.Constructions.formMetricPair_nonneg n _ |
| 44 | have h := Positive.MetricTrace.bilinearMetric_trace_nonneg B hB hpos b (covectorTensorRealBilinear b n B N N) hn |
| 45 | simpa only [covectorTensorMetricPair, Complex.re_sum, covectorTensorRealBilinear, LinearMap.mk₂_apply] using h |
| 46 | |
| 47 | end |
| 48 | |
| 49 | /-! Complex bilinearity rules for the actual covector tensor metric pairing. -/ |
| 50 | |
| 51 | set_option backward.isDefEq.respectTransparency false |
| 52 | set_option backward.isDefEq.respectTransparency.types false |
| 53 | set_option backward.defeqAttrib.useBackward true |
| 54 | |
| 55 | attribute [local instance] Line.HessianBilinear.tensorConnection_formNormed Line.HessianBilinear.tensorConnection_formSpace |
| 56 | Line.HessianBilinear.tensorConnection_oneNormed Line.HessianBilinear.tensorConnection_oneSpace |
| 57 | |
| 58 | variable {E ι : Type} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 59 | [Fintype ι] [LinearOrder ι] |
| 60 | |
| 61 | theorem covectorTensorMetricPair_add_left (b : Module.Basis ι ℝ E) (n : ℕ) |
| 62 | (B : E →L[ℝ] E →L[ℝ] ℝ) (N P Q : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) : |
| 63 | covectorTensorMetricPair b n B (N + P) Q = |
| 64 | covectorTensorMetricPair b n B N Q + covectorTensorMetricPair b n B P Q := by |
| 65 | simp only [covectorTensorMetricPair, _root_.add_apply, Analysis.HodgeTheory.Decomposition.BilinearPairAlgebra.Constructions.bilinearFormMetricPair_add_left, |
| 66 | Finset.sum_add_distrib] |
| 67 | |
| 68 | theorem covectorTensorMetricPair_add_right (b : Module.Basis ι ℝ E) (n : ℕ) |
| 69 | (B : E →L[ℝ] E →L[ℝ] ℝ) (N P Q : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) : |
| 70 | covectorTensorMetricPair b n B N (P + Q) = |
| 71 | covectorTensorMetricPair b n B N P + covectorTensorMetricPair b n B N Q := by |
| 72 | simp only [covectorTensorMetricPair, _root_.add_apply, Line.ConnectionOperator.bilinearFormMetricPair_add_right, |
| 73 | Finset.sum_add_distrib] |
| 74 | |
| 75 | theorem covectorTensorMetricPair_add_add (b : Module.Basis ι ℝ E) (n : ℕ) |
| 76 | (B : E →L[ℝ] E →L[ℝ] ℝ) (N P Q R : E →L[ℝ] Analysis.DifferentialForms.Manifold.Basic.FormValue E n) : |
| 77 | covectorTensorMetricPair b n B (N + P) (Q + R) = |
| 78 | covectorTensorMetricPair b n B N Q + covectorTensorMetricPair b n B P Q + |
| 79 | covectorTensorMetricPair b n B N R + covectorTensorMetricPair b n B P R := by |
| 80 | rw [covectorTensorMetricPair_add_right, covectorTensorMetricPair_add_left, |
| 81 | covectorTensorMetricPair_add_left, ← add_assoc] |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.DivisorClass.Chern.CovectorTensorAlgebra |