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.ComplexMultiplication.HodgeComparison.AntiholomorphicDivergence |
| 2 | |
| 3 | /-! # Inverse Metric Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.InverseMetricTransport.CM.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Inverse-metric derivatives inherit the Kähler symmetry after raising |
| 10 | the differentiating index. -/ |
| 11 | |
| 12 | theorem inverse_metric_transport_symmetric {ι R : Type*} [Fintype ι] [DecidableEq ι] |
| 13 | [CommRing R] (P : Matrix ι ι R) (A : ι → Matrix ι ι R) |
| 14 | (hA : ∀ i j k, A i j k = A j i k) (a j k : ι) : |
| 15 | (∑ d, P a d * (P * A d * P) j k) = ∑ d, P j d * (P * A d * P) a k := by |
| 16 | simp only [Matrix.mul_apply, Finset.sum_mul, Finset.mul_sum] |
| 17 | calc |
| 18 | _ = ∑ d, ∑ m, ∑ l, P a d * (P j l * A l d m * P m k) := by |
| 19 | apply Finset.sum_congr rfl |
| 20 | intro d _ |
| 21 | apply Finset.sum_congr rfl |
| 22 | intro m _ |
| 23 | apply Finset.sum_congr rfl |
| 24 | intro l _ |
| 25 | rw [hA d l m] |
| 26 | _ = ∑ d, ∑ l, ∑ m, P a d * (P j l * A l d m * P m k) := by |
| 27 | apply Finset.sum_congr rfl |
| 28 | intro d _ |
| 29 | exact Finset.sum_comm |
| 30 | _ = ∑ l, ∑ d, ∑ m, P a d * (P j l * A l d m * P m k) := Finset.sum_comm |
| 31 | _ = _ := by |
| 32 | apply Finset.sum_congr rfl |
| 33 | intro l _ |
| 34 | rw [Finset.sum_comm] |
| 35 | apply Finset.sum_congr rfl |
| 36 | intro m _ |
| 37 | apply Finset.sum_congr rfl |
| 38 | intro d _ |
| 39 | ring |
| 40 | |
| 41 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] |
| 42 | |
| 43 | theorem antiholomorphicDirectionalDerivative_mul (f g : E → ℂ) {x : E} |
| 44 | (hf : DifferentiableAt ℝ f x) (hg : DifferentiableAt ℝ g x) (u : E) : |
| 45 | AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (fun y => f y * g y) x u = |
| 46 | f x * AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative g x u + |
| 47 | g x * AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative f x u := by |
| 48 | simp only [AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative, fderiv_fun_mul hf hg, add_apply, |
| 49 | smul_apply, smul_eq_mul] |
| 50 | ring |
| 51 | |
| 52 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] |
| 53 | |
| 54 | def matrixAntiholomorphicDerivative (M : E → Matrix ι ι ℂ) (x u : E) : Matrix ι ι ℂ := |
| 55 | Matrix.of fun i j => AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (fun y => M y i j) x u |
| 56 | |
| 57 | omit [Fintype ι] [DecidableEq ι] in |
| 58 | theorem matrixAntiholomorphicDerivative_eq (M : E → Matrix ι ι ℂ) (x u : E) : |
| 59 | matrixAntiholomorphicDerivative M x u = (1 / 2 : ℂ) • |
| 60 | (HolomorphicMatrixCalculus.CM.Construction.matrixDirectionalDerivative M x u + Complex.I • |
| 61 | HolomorphicMatrixCalculus.CM.Construction.matrixDirectionalDerivative M x (Complex.I • u)) := by |
| 62 | ext i j |
| 63 | rfl |
| 64 | |
| 65 | theorem antiholomorphic_matrix_inverse (M : E → Matrix ι ι ℂ) {x : E} |
| 66 | (hM : ∀ i j, DifferentiableAt ℝ (fun y => M y i j) x) |
| 67 | (hdet : IsUnit (M x).det) (u : E) : |
| 68 | matrixAntiholomorphicDerivative (fun y => (M y)⁻¹) x u = |
| 69 | -((M x)⁻¹ * matrixAntiholomorphicDerivative M x u * (M x)⁻¹) := by |
| 70 | rw [matrixAntiholomorphicDerivative_eq, HolomorphicMatrixCalculus.CM.Construction.matrix_directional_inverse M hM hdet, |
| 71 | HolomorphicMatrixCalculus.CM.Construction.matrix_directional_inverse M hM hdet, matrixAntiholomorphicDerivative_eq] |
| 72 | simp only [Matrix.mul_smul, Matrix.mul_add, Matrix.smul_mul, Matrix.add_mul] |
| 73 | module |
| 74 | |
| 75 | theorem antiholomorphic_inverse_transport_symmetric (M : E → Matrix ι ι ℂ) {x : E} |
| 76 | (hM : ∀ i j, DifferentiableAt ℝ (fun y => M y i j) x) |
| 77 | (hdet : IsUnit (M x).det) (v : ι → E) |
| 78 | (hK : ∀ i j k, matrixAntiholomorphicDerivative M x (v i) j k = |
| 79 | matrixAntiholomorphicDerivative M x (v j) i k) (a j k : ι) : |
| 80 | (∑ d, (M x)⁻¹ a d * AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (fun y => (M y)⁻¹ j k) x (v d)) = |
| 81 | ∑ d, (M x)⁻¹ j d * AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (fun y => (M y)⁻¹ a k) x (v d) := by |
| 82 | have hi (d r s : ι) : AntiholomorphicDivergence.CM.Construction.antiholomorphicDirectionalDerivative (fun y => (M y)⁻¹ r s) x (v d) = |
| 83 | -((M x)⁻¹ * matrixAntiholomorphicDerivative M x (v d) * (M x)⁻¹) r s := |
| 84 | congrArg (fun P : Matrix ι ι ℂ => P r s) (antiholomorphic_matrix_inverse M hM hdet (v d)) |
| 85 | simp only [hi, mul_neg, Finset.sum_neg_distrib] |
| 86 | congr 1 |
| 87 | exact inverse_metric_transport_symmetric _ _ hK a j k |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.InverseMetricTransport.CM.Construction |