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.HodgeConjecture.HeckeCycles.Source.Comparison |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Constructed.ComparisonEmbeddingPurity |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Identity |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TateComparisonAction |
| 5 | |
| 6 | /-! # Projector Purity -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ProjectorPurity.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Apply original ordinary comparison to the actual source Hecke |
| 13 | projector. Its coefficient transport, nonzero range, and Hodge structure |
| 14 | are identified with those required by the proved purity theorem. -/ |
| 15 | |
| 16 | open scoped Classical TensorProduct |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.HeckeCharacters.CM.Projectors OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Constructed.Comap.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.BettiComparison.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.ProjectorTransport.CM |
| 19 | |
| 20 | theorem map_ne_bot {F U V : Type*} [Field F] |
| 21 | [AddCommGroup U] [Module F U] [AddCommGroup V] [Module F V] |
| 22 | (e : U ≃ₗ[F] V) (S : Submodule F U) (hS : S ≠ ⊥) : S.map e.toLinearMap ≠ ⊥ := by |
| 23 | intro hz |
| 24 | exact hS (Submodule.map_injective_of_injective e.injective |
| 25 | (hz.trans (Submodule.map_bot e.toLinearMap).symm)) |
| 26 | |
| 27 | theorem same_action_range {F U I : Type*} [Field F] |
| 28 | [AddCommGroup U] [Module ℚ U] [Algebra ℚ F] |
| 29 | (T S : I → Module.End ℚ U) (h : ∀ i, T i = S i) |
| 30 | (P : Module.End F (F ⊗[ℚ] U)) (χ : I → F) |
| 31 | (hP : LinearMap.range P = HeckeCharacters.CM.Projectors.jointSpace (fun i => (S i).baseChange F) χ) : |
| 32 | LinearMap.range P = HeckeCharacters.CM.Projectors.jointSpace (fun i => (T i).baseChange F) χ := by |
| 33 | exact hP.trans (congrArg (fun A : I → Module.End ℚ U => |
| 34 | HeckeCharacters.CM.Projectors.jointSpace (fun i => (A i).baseChange F) χ) (funext h).symm) |
| 35 | |
| 36 | theorem sign_bounds_transfer {U : Type*} [AddCommGroup U] [Module ℚ U] |
| 37 | (H K : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) (hh : H.holomorphic = K.holomorphic) |
| 38 | (ha : H.antiholomorphic = K.antiholomorphic) |
| 39 | (P : Module.End ℂ (ComplexMultiplication.WeightOne.CM.Complexification U)) (sign : Bool) |
| 40 | (hb : let slope : ℚ := 1 / 2 - (ComplexMultiplication.SignSwitch.CM.signValue sign : ℚ) * (-3 / 2) / 3 |
| 41 | (slope = 0 ∨ slope = 1) ∧ |
| 42 | (slope = 1 ↔ LinearMap.range P ≤ K.holomorphic) ∧ |
| 43 | (slope = 0 ↔ LinearMap.range P ≤ K.antiholomorphic)) : |
| 44 | (sign = true ↔ LinearMap.range P ≤ H.holomorphic) ∧ |
| 45 | (sign = false ↔ LinearMap.range P ≤ H.antiholomorphic) := by |
| 46 | have hr := hb.2 |
| 47 | rw [← hh, ← ha] at hr |
| 48 | cases sign <;> norm_num [ComplexMultiplication.SignSwitch.CM.signValue] at hr ⊢ <;> exact hr |
| 49 | |
| 50 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 51 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 52 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 53 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 54 | (D : RepresentationTheory.Theta.Geometric.Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 55 | (hg : D.pel.HasIntegralModelGeometry) |
| 56 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K D.pel.complexEmbedding q) |
| 57 | (hcop : Nat.Coprime q D.pel.denominator) (hElementaryDivisors : AbelianScheme.TateComparison.Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) |
| 58 | |
| 59 | local notation "AM" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM.comparisonModel D.pel hg j hcop |
| 60 | |
| 61 | variable (A : RepresentationTheory.Theta.Geometric.TateComparison.Action D.pel) (fullSide : Fin s → Bool) |
| 62 | |
| 63 | local notation "idx" => fun i => A.basis |
| 64 | (Subtype.val (Neighbor.Types.CM.integralType D.pel.reference.distinguished fullSide i)) |
| 65 | |
| 66 | theorem bounds : |
| 67 | letI : CommRing (AbelianScheme.TateComparison.HeckeKernel.Hecke s q) := TateComparisonAction.CM.commutativeHeckeRing s q hElementaryDivisors |
| 68 | ∀ (R : (AM).HeckeRealization (AbelianScheme.TateComparison.HeckeKernel.Hecke s q)) |
| 69 | (_hbetti : (AM).bettiHecke D.pel.complexEmbedding R = (fun h => A.cohomologyAction h)) |
| 70 | (hHodgeDecomposition : CMExtraction.Mem.HodgeDecompositionInput) |
| 71 | (_hc : Constructed.Comparison.CM.Conclusion AM j.fieldInClosure j.complexClosure j.iota R idx) |
| 72 | (χ : AbelianScheme.TateComparison.HeckeKernel.Hecke s q →ₐ[ℚ] CMExtraction.ParameterChoices.Qbar) |
| 73 | (_hχ : HeckeCharacters.CM.Projectors.jointSpace (fun h => (A.cohomologyAction h).baseChange ℂ) |
| 74 | (fun h => j.complexClosure (χ h)) ≠ ⊥) |
| 75 | (τ : Gal(CMExtraction.ParameterChoices.Qbar/ℚ)) (P : Module.End ℂ (ComplexMultiplication.WeightOne.CM.Complexification D.pel.H1)) |
| 76 | (_hP : P ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace (CMExtraction.Intrinsic.Base.nativeH1 D hHodgeDecomposition hg) (CMExtraction.Intrinsic.Base.nativeH1 D hHodgeDecomposition hg)) |
| 77 | (_hRange : LinearMap.range P = HeckeCharacters.CM.Projectors.jointSpace (fun h => (A.cohomologyAction h).baseChange ℂ) |
| 78 | (fun h => j.complexClosure (τ (χ h)))) |
| 79 | (_hne : LinearMap.range P ≠ ⊥) |
| 80 | (b z : CMExtraction.ParameterChoices.Qbar) (_hnorm : ‖j.complexClosure z‖ = 1) |
| 81 | (_hcentral : ∃ n : ℕ, 0 < n ∧ (b ^ 3 * z) ^ n = 1) |
| 82 | (_hvalues : ∀ i : Fin 3, τ (χ (idx i)) = |
| 83 | (![(q : CMExtraction.ParameterChoices.Qbar) * b * (CMExtraction.DualRadialSatake.Iwasawa.algebraicSqrt q j.complexClosure + (CMExtraction.DualRadialSatake.Iwasawa.algebraicSqrt q j.complexClosure)⁻¹ + z), |
| 84 | (q : CMExtraction.ParameterChoices.Qbar) * b ^ 2 * (CMExtraction.DualRadialSatake.Iwasawa.algebraicSqrt q j.complexClosure * (CMExtraction.DualRadialSatake.Iwasawa.algebraicSqrt q j.complexClosure)⁻¹ + |
| 85 | CMExtraction.DualRadialSatake.Iwasawa.algebraicSqrt q j.complexClosure * z + (CMExtraction.DualRadialSatake.Iwasawa.algebraicSqrt q j.complexClosure)⁻¹ * z), |
| 86 | b ^ 3 * z] : Fin 3 → CMExtraction.ParameterChoices.Qbar) i) |
| 87 | (sign : Bool) (_hsign : NumberTheory.PadicHodge.Arithmetic.CM.ExtremeSlopesAdapter.globalValuation q j.iota z = (ComplexMultiplication.SignSwitch.CM.signValue sign : ℚ) * (-3 / 2)), |
| 88 | (sign = true ↔ LinearMap.range P ≤ (CMExtraction.Intrinsic.Base.nativeH1 D hHodgeDecomposition hg).holomorphic) ∧ |
| 89 | (sign = false ↔ LinearMap.range P ≤ (CMExtraction.Intrinsic.Base.nativeH1 D hHodgeDecomposition hg).antiholomorphic) := by |
| 90 | let : CommRing (AbelianScheme.TateComparison.HeckeKernel.Hecke s q) := TateComparisonAction.CM.commutativeHeckeRing s q hElementaryDivisors |
| 91 | intro R hbetti hHodgeDecomposition hc χ hχ τ P hP hRange hne b z hnorm hcentral hvalues sign hsign |
| 92 | let : FiniteDimensional ℚ ((AM).Betti D.pel.complexEmbedding) := |
| 93 | (Constructed.Comap.CM.hodge AM D.pel.complexEmbedding).finiteDimensional |
| 94 | have hχC : (AM).bettiHeckeSummand D.pel.complexEmbedding R |
| 95 | (fun h => j.complexClosure (χ h)) ≠ ⊥ := by |
| 96 | have hm := BettiComparison.CM.Summands.betti_summand_identification AM D.pel.complexEmbedding R |
| 97 | (fun h => j.complexClosure (χ h)) |
| 98 | rw [hbetti] at hm |
| 99 | rw [← hm] |
| 100 | exact map_ne_bot (BettiComparison.CM.coefficientEquiv AM D.pel.complexEmbedding) _ hχ |
| 101 | have hpH : P ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace (Constructed.Comap.CM.hodge AM D.pel.complexEmbedding) |
| 102 | (Constructed.Comap.CM.hodge AM D.pel.complexEmbedding) := |
| 103 | (congrArg (fun S => P ∈ S) (Comparison.CM.hom_subspace D hg j hcop hHodgeDecomposition)).mp hP |
| 104 | let P' : Module.End ℂ (ComplexMultiplication.WeightOne.CM.Complexification ((AM).Betti D.pel.complexEmbedding)) := P |
| 105 | have hpR : LinearMap.range (Intrinsic.ProjectorTransport.CM.projector AM D.pel.complexEmbedding P') = |
| 106 | (AM).bettiHeckeSummand D.pel.complexEmbedding R |
| 107 | (fun h => j.complexClosure (τ (χ h))) := |
| 108 | Intrinsic.ProjectorTransport.CM.range_of_character AM D.pel.complexEmbedding R P' _ |
| 109 | (same_action_range (fun h => Constructed.Comap.CM.heckeAction AM D.pel.complexEmbedding R h) |
| 110 | (fun h => A.cohomologyAction h) |
| 111 | (fun h => (Constructed.Comap.CM.heckeAction_apply AM D.pel.complexEmbedding R h).trans (congrFun hbetti h)) |
| 112 | P' _ hRange) |
| 113 | have hpN : LinearMap.range (Intrinsic.ProjectorTransport.CM.projector AM D.pel.complexEmbedding P') ≠ ⊥ := |
| 114 | (congrArg (fun S => S ≠ ⊥) |
| 115 | (Intrinsic.ProjectorTransport.CM.projector_range AM D.pel.complexEmbedding P')).mpr |
| 116 | (map_ne_bot (BettiComparison.CM.coefficientEquiv AM D.pel.complexEmbedding) _ hne) |
| 117 | have hp := Constructed.ComparisonEmbeddingPurity.CM.bounds AM j.fieldInClosure j.complexClosure j.iota R idx |
| 118 | D.pel.complexEmbedding j.complex_compatibility hc χ hχC τ P' hpH hpR hpN |
| 119 | (CMExtraction.DualRadialSatake.Iwasawa.algebraicSqrt q j.complexClosure) b z (CMExtraction.DualRadialSatake.Iwasawa.algebraicSqrt_sq q j.complexClosure) |
| 120 | (CMExtraction.DualRadialSatake.Iwasawa.algebraicSqrt_image q j.complexClosure) hnorm hcentral hvalues sign (-3 / 2) (Or.inl rfl) hsign |
| 121 | exact sign_bounds_transfer (CMExtraction.Intrinsic.Base.nativeH1 D hHodgeDecomposition hg) (Constructed.Comap.CM.hodge AM D.pel.complexEmbedding) |
| 122 | (Comparison.CM.holomorphic D hg j hcop hHodgeDecomposition) |
| 123 | (Comparison.CM.antiholomorphic D hg j hcop hHodgeDecomposition) P sign hp |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ProjectorPurity.CM |