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.Module.Alternating.Basic |
| 3 | import Mathlib.LinearAlgebra.Complex.FiniteDimensional |
| 4 | import Mathlib.LinearAlgebra.Dimension.Finite |
| 5 | import Mathlib.LinearAlgebra.Orientation |
| 6 | import Mathlib.RingTheory.Complex |
| 7 | import Mathlib.RingTheory.Norm.Transitivity |
| 8 | |
| 9 | /-! # Complex Tangent -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicTopology.DeRham.Comparison.ComplexTangent |
| 12 | |
| 13 | /-! |
| 14 | # Local linear algebra for integration on complex submanifolds |
| 15 | |
| 16 | These results concern actual alternating forms and linear maps. They supply |
| 17 | orientation invariance under complex coordinate changes and dimension bounds |
| 18 | for the restriction of forms to tangent planes. They do not define a global |
| 19 | integration current or assert a comparison with singular cohomology. |
| 20 | -/ |
| 21 | |
| 22 | section Dimension |
| 23 | |
| 24 | variable {K V N : Type*} [Field K] |
| 25 | [AddCommGroup V] [Module K V] [FiniteDimensional K V] |
| 26 | [AddCommGroup N] [Module K N] |
| 27 | |
| 28 | /-- An alternating form of degree greater than the dimension is zero. -/ |
| 29 | theorem alternating_eq_zero_of_degree_gt {n : ℕ} |
| 30 | (ω : V [⋀^Fin n]→ₗ[K] N) (h : Module.finrank K V < n) : ω = 0 := by |
| 31 | ext v |
| 32 | apply ω.map_linearDependent |
| 33 | intro hv |
| 34 | exact (not_le_of_gt h) (by simpa using hv.fintype_card_le_finrank) |
| 35 | |
| 36 | end Dimension |
| 37 | |
| 38 | section Restriction |
| 39 | |
| 40 | variable {V W : Type*} [AddCommGroup V] [Module ℂ V] |
| 41 | [AddCommGroup W] [Module ℂ W] [FiniteDimensional ℂ W] |
| 42 | |
| 43 | /-- Holomorphic alternating forms vanish on complex tangent planes of smaller |
| 44 | dimension than their degree. The map need not be injective. -/ |
| 45 | theorem complexAlternating_pullback_eq_zero_of_degree_gt {n : ℕ} |
| 46 | (ω : V [⋀^Fin n]→ₗ[ℂ] ℂ) (j : W →ₗ[ℂ] V) |
| 47 | (h : Module.finrank ℂ W < n) : ω.compLinearMap j = 0 := |
| 48 | alternating_eq_zero_of_degree_gt (ω.compLinearMap j) h |
| 49 | |
| 50 | end Restriction |
| 51 | |
| 52 | section ContinuousRestriction |
| 53 | |
| 54 | variable {V W : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 55 | [NormedAddCommGroup W] [NormedSpace ℂ W] [FiniteDimensional ℂ W] |
| 56 | |
| 57 | /-- The continuous-form version of the complex tangent-plane dimension bound. -/ |
| 58 | theorem complexContinuousAlternating_pullback_eq_zero_of_degree_gt {n : ℕ} |
| 59 | (ω : V [⋀^Fin n]→L[ℂ] ℂ) (j : W →L[ℂ] V) |
| 60 | (h : Module.finrank ℂ W < n) : ω.compContinuousLinearMap j = 0 := by |
| 61 | apply ContinuousAlternatingMap.toAlternatingMap_injective |
| 62 | exact alternating_eq_zero_of_degree_gt |
| 63 | (ω.compContinuousLinearMap j).toAlternatingMap h |
| 64 | |
| 65 | end ContinuousRestriction |
| 66 | |
| 67 | variable {V : Type*} [AddCommGroup V] [Module ℂ V] |
| 68 | |
| 69 | /-- Restricting a complex-linear endomorphism to real scalars changes its |
| 70 | determinant to the squared complex norm of its original determinant. -/ |
| 71 | theorem complexLinearMap_real_det (f : V →ₗ[ℂ] V) : |
| 72 | (f.restrictScalars ℝ).det = Complex.normSq f.det := by |
| 73 | rw [LinearMap.det_restrictScalars, Algebra.norm_complex_apply] |
| 74 | |
| 75 | /-- Invertible complex-linear coordinate changes have positive real Jacobian. -/ |
| 76 | theorem complexLinearEquiv_real_det_pos (e : V ≃ₗ[ℂ] V) : |
| 77 | 0 < ((e : V →ₗ[ℂ] V).restrictScalars ℝ).det := by |
| 78 | rw [complexLinearMap_real_det] |
| 79 | exact Complex.normSq_pos.mpr e.isUnit_det'.ne_zero |
| 80 | |
| 81 | variable [FiniteDimensional ℂ V] |
| 82 | |
| 83 | /-- Thus a complex-linear change of coordinates preserves real orientation. |
| 84 | This is the local compatibility needed to orient a complex submanifold. -/ |
| 85 | theorem complexLinearEquiv_preserves_real_orientation |
| 86 | {ι : Type*} [Fintype ι] (o : Orientation ℝ V ι) (e : V ≃ₗ[ℂ] V) |
| 87 | (h : Fintype.card ι = Module.finrank ℝ V) : |
| 88 | Orientation.map ι (e.restrictScalars ℝ) o = o := by |
| 89 | apply (o.map_eq_iff_det_pos (e.restrictScalars ℝ) h).2 |
| 90 | exact complexLinearEquiv_real_det_pos e |
| 91 | |
| 92 | /-- Real alternating forms vanish above twice the complex tangent dimension. -/ |
| 93 | theorem realAlternating_eq_zero_of_degree_gt_complex_dimension {n : ℕ} |
| 94 | (ω : V [⋀^Fin n]→ₗ[ℝ] ℂ) (h : 2 * Module.finrank ℂ V < n) : ω = 0 := by |
| 95 | apply alternating_eq_zero_of_degree_gt ω |
| 96 | simpa only [finrank_real_of_complex] using h |
| 97 | |
| 98 | end OAI.AlgebraicTopology.DeRham.Comparison.ComplexTangent |