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.PolarizationFromPositiveForm |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Basis |
| 3 | import Mathlib.LinearAlgebra.Dual.Lemmas |
| 4 | |
| 5 | /-! # Polarized Period Duality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.PolarizedPeriodDuality.CM.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A polarization identifies the antiholomorphic period space with |
| 12 | the complex dual of the holomorphic space. Dual rational bases retain |
| 13 | the exact period-coordinate values. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | variable {U : Type*} [AddCommGroup U] [Module ℚ U] |
| 18 | {H : WeightOne.CM.WeightOneHodgeStructure U} (P : CM.Polarization.WeightOnePolarization H) |
| 19 | |
| 20 | def polarizedHolomorphicDual : H.antiholomorphic →ₗ[ℂ] Module.Dual ℂ H.holomorphic := |
| 21 | (P.form.baseChange ℂ).flip.compl₁₂ H.antiholomorphic.subtype H.holomorphic.subtype |
| 22 | |
| 23 | def polarizedAntiholomorphicDual : H.holomorphic →ₗ[ℂ] Module.Dual ℂ H.antiholomorphic := |
| 24 | (P.form.baseChange ℂ).compl₁₂ H.holomorphic.subtype H.antiholomorphic.subtype |
| 25 | |
| 26 | theorem polarizedHolomorphicDual_injective : Function.Injective (polarizedHolomorphicDual P) := by |
| 27 | rw [← LinearMap.ker_eq_bot, LinearMap.ker_eq_bot'] |
| 28 | intro v hv |
| 29 | have hc : WeightOne.CM.coefficientConjugation U (v : WeightOne.CM.Complexification U) ∈ H.holomorphic := |
| 30 | (H.conjugate_mem (WeightOne.CM.coefficientConjugation U v)).mp (by |
| 31 | rw [WeightOne.CM.coefficientConjugation_involutive] |
| 32 | exact v.property) |
| 33 | have he := congrArg (fun f : Module.Dual ℂ H.holomorphic => f ⟨_, hc⟩) hv |
| 34 | change P.form.baseChange ℂ (WeightOne.CM.coefficientConjugation U v) v = 0 at he |
| 35 | by_contra hne |
| 36 | have hcn : WeightOne.CM.coefficientConjugation U (v : WeightOne.CM.Complexification U) ≠ 0 := by |
| 37 | intro hz |
| 38 | apply hne |
| 39 | apply Subtype.ext |
| 40 | change (v : WeightOne.CM.Complexification U) = 0 |
| 41 | have h := congrArg (WeightOne.CM.coefficientConjugation U) hz |
| 42 | simpa only [WeightOne.CM.coefficientConjugation_involutive, map_zero] using h |
| 43 | have hp := P.hodge_positive _ hc hcn |
| 44 | rw [WeightOne.CM.coefficientConjugation_involutive, he, mul_zero, Complex.zero_re] at hp |
| 45 | exact (lt_irrefl 0) hp |
| 46 | |
| 47 | theorem polarizedAntiholomorphicDual_injective : Function.Injective (polarizedAntiholomorphicDual P) := by |
| 48 | rw [← LinearMap.ker_eq_bot, LinearMap.ker_eq_bot'] |
| 49 | intro u hu |
| 50 | have hc : WeightOne.CM.coefficientConjugation U (u : WeightOne.CM.Complexification U) ∈ H.antiholomorphic := |
| 51 | (H.conjugate_mem _).mpr u.property |
| 52 | have he := congrArg (fun f : Module.Dual ℂ H.antiholomorphic => f ⟨_, hc⟩) hu |
| 53 | change P.form.baseChange ℂ u (WeightOne.CM.coefficientConjugation U u) = 0 at he |
| 54 | by_contra hne |
| 55 | have hun : (u : WeightOne.CM.Complexification U) ≠ 0 := fun hz => hne (Subtype.ext hz) |
| 56 | have hp := P.hodge_positive _ u.property hun |
| 57 | rw [he, mul_zero, Complex.zero_re] at hp |
| 58 | exact (lt_irrefl 0) hp |
| 59 | |
| 60 | include P in |
| 61 | theorem polarizedHolomorphicDual_finrank : |
| 62 | Module.finrank ℂ H.antiholomorphic = Module.finrank ℂ (Module.Dual ℂ H.holomorphic) := by |
| 63 | let : FiniteDimensional ℚ U := H.finiteDimensional |
| 64 | have h₁ := LinearMap.finrank_le_finrank_of_injective (polarizedHolomorphicDual_injective P) |
| 65 | have h₂ := LinearMap.finrank_le_finrank_of_injective (polarizedAntiholomorphicDual_injective P) |
| 66 | rw [Subspace.dual_finrank_eq] at h₁ h₂ ⊢ |
| 67 | exact le_antisymm h₁ h₂ |
| 68 | |
| 69 | def polarizedHolomorphicDualEquiv : H.antiholomorphic ≃ₗ[ℂ] Module.Dual ℂ H.holomorphic := by |
| 70 | let : FiniteDimensional ℚ U := H.finiteDimensional |
| 71 | exact LinearEquiv.ofBijective (polarizedHolomorphicDual P) |
| 72 | ⟨polarizedHolomorphicDual_injective P, |
| 73 | (LinearMap.injective_iff_surjective_of_finrank_eq_finrank (polarizedHolomorphicDual_finrank P)).mp |
| 74 | (polarizedHolomorphicDual_injective P)⟩ |
| 75 | |
| 76 | theorem polarizedHolomorphicDualEquiv_realVector (v : H.antiholomorphic) (u : H.holomorphic) : |
| 77 | polarizedHolomorphicDualEquiv P v u = |
| 78 | P.form.baseChange ℂ u ((v : WeightOne.CM.Complexification U) + WeightOne.CM.coefficientConjugation U v) := by |
| 79 | have hc : WeightOne.CM.coefficientConjugation U (v : WeightOne.CM.Complexification U) ∈ H.holomorphic := |
| 80 | (H.conjugate_mem (WeightOne.CM.coefficientConjugation U v)).mp (by |
| 81 | rw [WeightOne.CM.coefficientConjugation_involutive] |
| 82 | exact v.property) |
| 83 | rw [map_add, P.holomorphic_isotropic u u.property (WeightOne.CM.coefficientConjugation U v) hc, add_zero] |
| 84 | rfl |
| 85 | |
| 86 | variable {ι : Type*} [Fintype ι] (b : Module.Basis ι ℚ U) |
| 87 | |
| 88 | def polarizationDualRationalBasis : Module.Basis ι ℚ U := by |
| 89 | classical |
| 90 | exact P.form.flip.dualBasis P.nondegenerate.flip b |
| 91 | |
| 92 | theorem polarizationDualRationalBasis_pair (i : ι) (x : U) : |
| 93 | P.form x (polarizationDualRationalBasis P b i) = b.repr x i := by |
| 94 | classical |
| 95 | have h : P.form.flip (polarizationDualRationalBasis P b i) = b.coord i := by |
| 96 | apply b.ext |
| 97 | intro j |
| 98 | have he := P.form.flip.apply_dualBasis_left P.nondegenerate.flip b i j |
| 99 | simpa only [polarizationDualRationalBasis, Module.Basis.coord_apply, |
| 100 | Module.Basis.repr_self, Finsupp.single_apply] using he |
| 101 | exact congrArg (fun f : U →ₗ[ℚ] ℚ => f x) h |
| 102 | |
| 103 | theorem polarizationDualRationalBasis_complex_pair (i : ι) (u : WeightOne.CM.Complexification U) : |
| 104 | P.form.baseChange ℂ u ((1 : ℂ) ⊗ₜ[ℚ] polarizationDualRationalBasis P b i) = |
| 105 | (b.baseChange ℂ).repr u i := by |
| 106 | induction u using TensorProduct.inductionOn with |
| 107 | | tmul z x => |
| 108 | rw [LinearMap.BilinForm.baseChange_tmul, mul_one, |
| 109 | polarizationDualRationalBasis_pair, Module.Basis.baseChange_repr_tmul] |
| 110 | | add u v hu hv => simp [hu, hv] |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.PolarizedPeriodDuality.CM.Construction |