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.LinearAlgebra.Complex.Module |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 3 | import Mathlib.LinearAlgebra.FiniteDimensional.Defs |
| 4 | import Mathlib.LinearAlgebra.Dimension.Free |
| 5 | import Mathlib.NumberTheory.NumberField.CMField |
| 6 | |
| 7 | /-! # Weight One -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.WeightOne.CM |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # Rational weight-one Hodge structures and rank-one CM actions |
| 15 | |
| 16 | Complexification here is the actual tensor product `ℂ ⊗[ℚ] U`. |
| 17 | Conjugation acts on its complex coefficient, and a rational Hodge map is |
| 18 | tested using its canonical scalar extension. These definitions implement |
| 19 | the linear-algebraic hypotheses in the manuscript's main theorem. |
| 20 | -/ |
| 21 | |
| 22 | open scoped TensorProduct |
| 23 | |
| 24 | variable (U : Type*) [AddCommGroup U] [Module ℚ U] |
| 25 | |
| 26 | /-- Complexification of a rational vector space. -/ |
| 27 | abbrev Complexification := ℂ ⊗[ℚ] U |
| 28 | |
| 29 | /-- Complex conjugation acts on the coefficient factor, fixing rational vectors. -/ |
| 30 | def coefficientConjugation : Complexification U →ₗ[ℚ] Complexification U := |
| 31 | TensorProduct.map (Complex.conjAe.restrictScalars ℚ).toLinearMap LinearMap.id |
| 32 | |
| 33 | @[simp] |
| 34 | theorem coefficientConjugation_tmul (z : ℂ) (u : U) : |
| 35 | coefficientConjugation U (z ⊗ₜ[ℚ] u) = star z ⊗ₜ[ℚ] u := rfl |
| 36 | |
| 37 | @[simp] |
| 38 | theorem coefficientConjugation_involutive (x : Complexification U) : |
| 39 | coefficientConjugation U (coefficientConjugation U x) = x := by |
| 40 | induction x using TensorProduct.inductionOn with |
| 41 | | tmul z u => simp |
| 42 | | add x y hx hy => simp [hx, hy] |
| 43 | |
| 44 | /-- A finite-dimensional rational Hodge structure of weight one, with the |
| 45 | actual direct-sum and conjugation conditions on its complexification. -/ |
| 46 | structure WeightOneHodgeStructure where |
| 47 | [finiteDimensional : FiniteDimensional ℚ U] |
| 48 | holomorphic : Submodule ℂ (Complexification U) |
| 49 | antiholomorphic : Submodule ℂ (Complexification U) |
| 50 | complementary : IsCompl holomorphic antiholomorphic |
| 51 | conjugate_mem : ∀ x, coefficientConjugation U x ∈ antiholomorphic ↔ x ∈ holomorphic |
| 52 | |
| 53 | variable {U} |
| 54 | variable {V W : Type*} [AddCommGroup V] [Module ℚ V] [AddCommGroup W] [Module ℚ W] |
| 55 | |
| 56 | theorem baseChange_coefficientConjugation (f : U →ₗ[ℚ] V) (x : Complexification U) : |
| 57 | f.baseChange ℂ (coefficientConjugation U x) = |
| 58 | coefficientConjugation V (f.baseChange ℂ x) := by |
| 59 | induction x using TensorProduct.inductionOn with |
| 60 | | tmul z u => simp |
| 61 | | add x y hx hy => simp [hx, hy] |
| 62 | |
| 63 | /-- A rational map preserves Hodge type when its actual complexification |
| 64 | preserves the holomorphic subspace. Conjugation forces preservation of the other type. -/ |
| 65 | def IsHodgeMap (H : WeightOneHodgeStructure U) (K : WeightOneHodgeStructure V) |
| 66 | (f : U →ₗ[ℚ] V) : Prop := |
| 67 | ∀ x ∈ H.holomorphic, f.baseChange ℂ x ∈ K.holomorphic |
| 68 | |
| 69 | theorem IsHodgeMap.map_antiholomorphic {H : WeightOneHodgeStructure U} |
| 70 | {K : WeightOneHodgeStructure V} {f : U →ₗ[ℚ] V} (h : IsHodgeMap H K f) |
| 71 | {x : Complexification U} (hx : x ∈ H.antiholomorphic) : |
| 72 | f.baseChange ℂ x ∈ K.antiholomorphic := by |
| 73 | have hx' : coefficientConjugation U x ∈ H.holomorphic := |
| 74 | (H.conjugate_mem _).mp (by simpa using hx) |
| 75 | have hf := (K.conjugate_mem _).mpr (h _ hx') |
| 76 | simpa [baseChange_coefficientConjugation] using hf |
| 77 | |
| 78 | theorem isHodgeMap_id (H : WeightOneHodgeStructure U) : |
| 79 | IsHodgeMap H H LinearMap.id := by |
| 80 | intro x hx |
| 81 | simpa using hx |
| 82 | |
| 83 | theorem IsHodgeMap.comp {H : WeightOneHodgeStructure U} |
| 84 | {K : WeightOneHodgeStructure V} {L : WeightOneHodgeStructure W} |
| 85 | {f : U →ₗ[ℚ] V} {g : V →ₗ[ℚ] W} |
| 86 | (hg : IsHodgeMap K L g) (hf : IsHodgeMap H K f) : |
| 87 | IsHodgeMap H L (g.comp f) := by |
| 88 | intro x hx |
| 89 | simpa [LinearMap.baseChange_comp] using hg _ (hf _ hx) |
| 90 | |
| 91 | variable (E : Type*) [Field E] [Algebra ℚ E] [Module E U] [IsScalarTower ℚ E U] |
| 92 | |
| 93 | /-- Multiplication by a field element as a rational linear endomorphism. -/ |
| 94 | def scalarEndomorphism (a : E) : U →ₗ[ℚ] U where |
| 95 | toFun := fun u => a • u |
| 96 | map_add' := smul_add a |
| 97 | map_smul' := fun q u => smul_comm a q u |
| 98 | |
| 99 | /-- The rank-one CM hypothesis uses the standard number-field and CM-field |
| 100 | predicates, an actual compatible field action, and preservation of Hodge type. |
| 101 | It has no hypothesis concerning algebraic cycles. -/ |
| 102 | structure RankOneCMAction (H : WeightOneHodgeStructure U) : Prop where |
| 103 | [numberField : NumberField E] |
| 104 | [cmField : NumberField.IsCMField E] |
| 105 | rank_one : Module.finrank E U = 1 |
| 106 | hodge_action : ∀ a : E, IsHodgeMap H H (scalarEndomorphism E a) |
| 107 | |
| 108 | variable {E} |
| 109 | |
| 110 | /-- A rank-one CM summand has rational dimension equal to the field degree. -/ |
| 111 | theorem RankOneCMAction.rational_finrank {H : WeightOneHodgeStructure U} |
| 112 | (h : RankOneCMAction E H) : Module.finrank ℚ U = Module.finrank ℚ E := by |
| 113 | simpa [h.rank_one] using (Module.finrank_mul_finrank ℚ E U).symm |
| 114 | |
| 115 | /-- The rank-one condition gives an actual linear equivalence with the CM field. -/ |
| 116 | def RankOneCMAction.equivField {H : WeightOneHodgeStructure U} |
| 117 | (h : RankOneCMAction E H) : U ≃ₗ[E] E := by |
| 118 | letI : FiniteDimensional ℚ U := H.finiteDimensional |
| 119 | letI : FiniteDimensional E U := Module.Finite.of_restrictScalars_finite ℚ E U |
| 120 | exact LinearEquiv.ofFinrankEq U E (by simpa using h.rank_one) |
| 121 | |
| 122 | /-- The specified CM field acts faithfully; it cannot be replaced by a zero action. -/ |
| 123 | theorem RankOneCMAction.scalarEndomorphism_injective {H : WeightOneHodgeStructure U} |
| 124 | (h : RankOneCMAction E H) : Function.Injective (scalarEndomorphism (U := U) E) := by |
| 125 | intro a b hab |
| 126 | let e := h.equivField |
| 127 | have heq := congrArg (fun f : U →ₗ[ℚ] U => e (f (e.symm 1))) hab |
| 128 | simpa [scalarEndomorphism] using heq |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.AlgebraicGeometry.ComplexMultiplication.WeightOne.CM |