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.ComplexCovector |
| 2 | |
| 3 | /-! # Sesquilinear Metric -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SesquilinearMetric.CM.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Exact inverse-Gram contraction for sesquilinear forms, proved from |
| 10 | the intrinsic one-covector metric in each variable. -/ |
| 11 | |
| 12 | variable {E ι κ : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E] |
| 13 | [InnerProductSpace ℝ E] [IsScalarTower ℝ ℂ E] [FiniteDimensional ℝ E] |
| 14 | [Fintype ι] [DecidableEq ι] [Fintype κ] |
| 15 | |
| 16 | theorem complex_covector_pair_inverse_gram (b : Module.Basis ι ℂ E) |
| 17 | (c : OrthonormalBasis κ ℂ E) (f g : E →ₗ[ℂ] ℂ) : |
| 18 | (∑ l, star (f (c l)) * g (c l)) = |
| 19 | ∑ j, ∑ k, star (f (b k)) * (Matrix.gram ℂ b)⁻¹ j k * g (b j) := by |
| 20 | have h := ComplexCovector.CM.Construction.covectorInner_holomorphic_inverse_gram b f g |
| 21 | rw [ComplexCovector.CM.Construction.covectorInner_holomorphic_basis c _ _ |
| 22 | (fun u => by simpa only [LinearMap.restrictScalars_apply, smul_eq_mul] using f.map_smul Complex.I u) |
| 23 | (fun u => by simpa only [LinearMap.restrictScalars_apply, smul_eq_mul] using g.map_smul Complex.I u)] at h |
| 24 | exact mul_left_cancel₀ (by norm_num : (2 : ℂ) ≠ 0) h |
| 25 | |
| 26 | theorem conjugate_covector_pair_inverse_gram (b : Module.Basis ι ℂ E) |
| 27 | (c : OrthonormalBasis κ ℂ E) (f g : E →ₗ⋆[ℂ] ℂ) : |
| 28 | (∑ l, star (f (c l)) * g (c l)) = |
| 29 | ∑ j, ∑ k, star (f (b j)) * (Matrix.gram ℂ b)⁻¹ j k * g (b k) := by |
| 30 | let F : E →ₗ[ℂ] ℂ := (starLinearEquiv ℂ).toLinearMap.comp f |
| 31 | let G : E →ₗ[ℂ] ℂ := (starLinearEquiv ℂ).toLinearMap.comp g |
| 32 | have h := complex_covector_pair_inverse_gram b c G F |
| 33 | change (∑ l, star (star (g (c l))) * star (f (c l))) = |
| 34 | ∑ j, ∑ k, star (star (g (b k))) * (Matrix.gram ℂ b)⁻¹ j k * star (f (b j)) at h |
| 35 | simp only [star_star] at h |
| 36 | calc |
| 37 | _ = ∑ l, g (c l) * star (f (c l)) := Finset.sum_congr rfl (fun _ _ => mul_comm _ _) |
| 38 | _ = _ := h |
| 39 | _ = _ := by |
| 40 | apply Finset.sum_congr rfl |
| 41 | intro j _ |
| 42 | apply Finset.sum_congr rfl |
| 43 | intro k _ |
| 44 | ring |
| 45 | |
| 46 | theorem sesquilinear_pair_inverse_gram (b : Module.Basis ι ℂ E) |
| 47 | (c : OrthonormalBasis κ ℂ E) (f g : E →ₗ⋆[ℂ] E →ₗ[ℂ] ℂ) : |
| 48 | (∑ u, ∑ v, star (f (c u) (c v)) * g (c u) (c v)) = |
| 49 | ∑ j, ∑ k, ∑ a, ∑ d, star (f (b a) (b k)) * (Matrix.gram ℂ b)⁻¹ a d * |
| 50 | (Matrix.gram ℂ b)⁻¹ j k * g (b d) (b j) := by |
| 51 | simp_rw [complex_covector_pair_inverse_gram b c] |
| 52 | rw [Finset.sum_comm] |
| 53 | apply Finset.sum_congr rfl |
| 54 | intro j _ |
| 55 | rw [Finset.sum_comm] |
| 56 | apply Finset.sum_congr rfl |
| 57 | intro k _ |
| 58 | calc |
| 59 | _ = (Matrix.gram ℂ b)⁻¹ j k * ∑ u, star (f (c u) (b k)) * g (c u) (b j) := by |
| 60 | rw [Finset.mul_sum] |
| 61 | apply Finset.sum_congr rfl |
| 62 | intro u _ |
| 63 | ring |
| 64 | _ = (Matrix.gram ℂ b)⁻¹ j k * ∑ a, ∑ d, |
| 65 | star (f (b a) (b k)) * (Matrix.gram ℂ b)⁻¹ a d * g (b d) (b j) := by |
| 66 | congr 1 |
| 67 | exact conjugate_covector_pair_inverse_gram b c (f.flip (b k)) (g.flip (b j)) |
| 68 | _ = _ := by |
| 69 | rw [Finset.mul_sum] |
| 70 | apply Finset.sum_congr rfl |
| 71 | intro a _ |
| 72 | rw [Finset.mul_sum] |
| 73 | apply Finset.sum_congr rfl |
| 74 | intro d _ |
| 75 | ring |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.SesquilinearMetric.CM.Construction |