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.Complex.Basic |
| 2 | import Mathlib.Analysis.Normed.Operator.Bilinear |
| 3 | import Mathlib.Analysis.Normed.Operator.Mul |
| 4 | import Mathlib.Tactic.Module |
| 5 | import Mathlib.Tactic.NormNum |
| 6 | |
| 7 | /-! # Complex Derivative Parts -/ |
| 8 | |
| 9 | namespace OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # Complex-linear and conjugate-linear parts of a real derivative |
| 15 | |
| 16 | The two projections are continuous complex-linear operators on the space of |
| 17 | continuous real-linear maps. Their values are respectively complex-linear and |
| 18 | conjugate-linear in the input vector, and their sum is the original map. |
| 19 | -/ |
| 20 | |
| 21 | variable (E F : Type*) |
| 22 | [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 23 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] [IsScalarTower ℝ ℂ F] |
| 24 | |
| 25 | /-- Precomposition by multiplication by `I`, as a continuous complex-linear |
| 26 | operator on the space of real-linear maps. -/ |
| 27 | def complexInputRotationCLM : (E →L[ℝ] F) →L[ℂ] (E →L[ℝ] F) where |
| 28 | toFun D := D.comp (ContinuousLinearMap.lsmul ℝ ℂ Complex.I) |
| 29 | map_add' D G := by ext v; rfl |
| 30 | map_smul' c D := by ext v; rfl |
| 31 | cont := continuous_id.clm_comp_const (ContinuousLinearMap.lsmul ℝ ℂ Complex.I) |
| 32 | |
| 33 | @[simp] |
| 34 | theorem complexInputRotationCLM_apply (D : E →L[ℝ] F) (v : E) : |
| 35 | complexInputRotationCLM E F D v = D (Complex.I • v) := rfl |
| 36 | |
| 37 | /-- Projection of a continuous real-linear map to its complex-linear part. -/ |
| 38 | def complexLinearPartCLM : (E →L[ℝ] F) →L[ℂ] (E →L[ℝ] F) := |
| 39 | (1 / 2 : ℂ) • (ContinuousLinearMap.id ℂ (E →L[ℝ] F) - |
| 40 | Complex.I • complexInputRotationCLM E F) |
| 41 | |
| 42 | /-- Projection of a continuous real-linear map to its conjugate-linear part. -/ |
| 43 | def complexAntilinearPartCLM : (E →L[ℝ] F) →L[ℂ] (E →L[ℝ] F) := |
| 44 | (1 / 2 : ℂ) • (ContinuousLinearMap.id ℂ (E →L[ℝ] F) + |
| 45 | Complex.I • complexInputRotationCLM E F) |
| 46 | |
| 47 | /-- The usual formula for the complex-linear part. -/ |
| 48 | @[simp] |
| 49 | theorem complexLinearPartCLM_apply (D : E →L[ℝ] F) (v : E) : |
| 50 | complexLinearPartCLM E F D v = |
| 51 | (1 / 2 : ℂ) • (D v - Complex.I • D (Complex.I • v)) := rfl |
| 52 | |
| 53 | /-- The usual formula for the conjugate-linear part. -/ |
| 54 | @[simp] |
| 55 | theorem complexAntilinearPartCLM_apply (D : E →L[ℝ] F) (v : E) : |
| 56 | complexAntilinearPartCLM E F D v = |
| 57 | (1 / 2 : ℂ) • (D v + Complex.I • D (Complex.I • v)) := rfl |
| 58 | |
| 59 | /-- The two parts sum to the original continuous real-linear map. -/ |
| 60 | theorem complexDerivativeParts_add (D : E →L[ℝ] F) : |
| 61 | complexLinearPartCLM E F D + complexAntilinearPartCLM E F D = D := by |
| 62 | ext v |
| 63 | change complexLinearPartCLM E F D v + complexAntilinearPartCLM E F D v = D v |
| 64 | rw [complexLinearPartCLM_apply, complexAntilinearPartCLM_apply] |
| 65 | module |
| 66 | |
| 67 | /-- The complex-linear part commutes with multiplication of the input by `I`. -/ |
| 68 | theorem complexLinearPartCLM_apply_I_smul (D : E →L[ℝ] F) (v : E) : |
| 69 | complexLinearPartCLM E F D (Complex.I • v) = |
| 70 | Complex.I • complexLinearPartCLM E F D v := by |
| 71 | have hII : Complex.I • (Complex.I • v) = -v := by |
| 72 | simp [smul_smul] |
| 73 | rw [complexLinearPartCLM_apply, hII, map_neg, smul_neg, sub_neg_eq_add, |
| 74 | complexLinearPartCLM_apply, smul_comm Complex.I (1 / 2 : ℂ), smul_sub, |
| 75 | smul_smul, Complex.I_mul_I, neg_one_smul, sub_neg_eq_add, add_comm] |
| 76 | |
| 77 | /-- The conjugate-linear part conjugates multiplication of the input by `I`. -/ |
| 78 | theorem complexAntilinearPartCLM_apply_I_smul (D : E →L[ℝ] F) (v : E) : |
| 79 | complexAntilinearPartCLM E F D (Complex.I • v) = |
| 80 | (-Complex.I) • complexAntilinearPartCLM E F D v := by |
| 81 | have hII : Complex.I • (Complex.I • v) = -v := by |
| 82 | simp [smul_smul] |
| 83 | rw [complexAntilinearPartCLM_apply, hII, map_neg, smul_neg, |
| 84 | complexAntilinearPartCLM_apply, smul_comm (-Complex.I) (1 / 2 : ℂ)] |
| 85 | congr 1 |
| 86 | rw [smul_add, smul_smul, neg_mul, Complex.I_mul_I, neg_neg, one_smul, neg_smul] |
| 87 | abel |
| 88 | |
| 89 | /-- The projected map is complex-linear in the input vector. -/ |
| 90 | theorem complexLinearPartCLM_apply_smul (D : E →L[ℝ] F) (z : ℂ) (v : E) : |
| 91 | complexLinearPartCLM E F D (z • v) = z • complexLinearPartCLM E F D v := by |
| 92 | have hE (r : ℝ) (w : E) : (r : ℂ) • w = r • w := algebraMap_smul ℂ r w |
| 93 | have hF (r : ℝ) (w : F) : (r : ℂ) • w = r • w := algebraMap_smul ℂ r w |
| 94 | rw [← Complex.re_add_im z] |
| 95 | simp only [add_smul, mul_smul, hE, hF, map_add, ContinuousLinearMap.map_smul, |
| 96 | complexLinearPartCLM_apply_I_smul] |
| 97 | |
| 98 | /-- The projected map is conjugate-linear in the input vector. -/ |
| 99 | theorem complexAntilinearPartCLM_apply_smul (D : E →L[ℝ] F) (z : ℂ) (v : E) : |
| 100 | complexAntilinearPartCLM E F D (z • v) = |
| 101 | (star z) • complexAntilinearPartCLM E F D v := by |
| 102 | have hE (r : ℝ) (w : E) : (r : ℂ) • w = r • w := algebraMap_smul ℂ r w |
| 103 | have hF (r : ℝ) (w : F) : (r : ℂ) • w = r • w := algebraMap_smul ℂ r w |
| 104 | rw [← Complex.re_add_im z] |
| 105 | simp only [add_smul, mul_smul, hE, hF, map_add, ContinuousLinearMap.map_smul, |
| 106 | complexAntilinearPartCLM_apply_I_smul, star_add, star_mul, |
| 107 | Complex.star_def, Complex.conj_ofReal, Complex.conj_I] |
| 108 | rw [smul_comm z.im (-Complex.I)] |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.Analysis.DifferentialForms.Manifold.ComplexDerivativeParts |