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.RepresentationTheory.Theta.Geometric.JointRationalCompletion |
| 2 | import OAI.NumberTheory.PadicHodge.WeakAdmissibility.TensorProductProductFormulas |
| 3 | |
| 4 | /-! # Trace Coordinates -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The original rational trace is the sum of the supplied split local |
| 13 | characters, and their opposite indices are actual CM conjugates. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 18 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 19 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 20 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 21 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 22 | |
| 23 | theorem Data.ActiveHeckeThetaData.localEmbedding_conjugate (hc : D.HasFiniteCoordinates) |
| 24 | (hgood : D.pel.IsGoodCompletelySplitPrime) (v : Fin s × Bool) (a : E) : |
| 25 | D.localEmbedding (v.1, !v.2) a = |
| 26 | D.localEmbedding v (NumberField.IsCMField.complexConj E a) := by |
| 27 | have he : D.localEmbedding (v.1, !v.2) = (D.localEmbedding v).comp |
| 28 | (NumberField.IsCMField.complexConj E).toRingHom := by |
| 29 | apply IsFractionRing.ringHom_ext (A := NumberField.RingOfIntegers E) |
| 30 | intro x |
| 31 | change D.localEmbedding (v.1, !v.2) (x : E) = |
| 32 | D.localEmbedding v (NumberField.IsCMField.ringOfIntegersComplexConj E x : NumberField.RingOfIntegers E) |
| 33 | rw [hc.1, hc.1, hgood.2.1] |
| 34 | exact RingHom.congr_fun he a |
| 35 | |
| 36 | theorem Data.ActiveHeckeThetaData.rationalTrace_local_sum (hc : D.HasFiniteCoordinates) |
| 37 | (hgood : D.pel.IsGoodCompletelySplitPrime) (hdegree : Module.finrank ℚ E = 2 * s) (a : E) : |
| 38 | algebraMap ℚ ℚ_[q] (Algebra.trace ℚ E a) = ∑ v, D.localEmbedding v a := by |
| 39 | have h := NumberTheory.PadicHodge.WeakAdmissibility.TensorProductProductFormulas.ValuationTheory.Completion.baseChange_pi_trace_eq_sum |
| 40 | (fun _ : Fin s × Bool => ℚ_[q]) (D.pel.rationalCompletionEquiv hgood hdegree) a |
| 41 | refine h.trans ?_ |
| 42 | apply Finset.sum_congr rfl |
| 43 | intro v _ |
| 44 | change Algebra.trace ℚ_[q] ℚ_[q] (1 * D.pel.rationalLocalCharacter v a) = D.localEmbedding v a |
| 45 | rw [one_mul, Algebra.trace_self_apply, D.localEmbedding_eq_rationalLocalCharacter hc] |
| 46 | rfl |
| 47 | |
| 48 | end |
| 49 | |
| 50 | /-! The prescribed trace polarization in all split local coordinates, |
| 51 | including the conjugate coordinate in its second argument. -/ |
| 52 | |
| 53 | open scoped BigOperators |
| 54 | |
| 55 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 56 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 57 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 58 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 59 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 60 | |
| 61 | def Data.ActiveHeckeThetaData.localCoordinate (v : Fin s × Bool) (i : Fin 3) : |
| 62 | (Fin s × Bool → Fin 3 → ℚ_[q]) →ₗ[ℚ_[q]] ℚ_[q] := |
| 63 | (LinearMap.proj i : (Fin 3 → ℚ_[q]) →ₗ[ℚ_[q]] ℚ_[q]).comp |
| 64 | (LinearMap.proj v : (Fin s × Bool → Fin 3 → ℚ_[q]) →ₗ[ℚ_[q]] (Fin 3 → ℚ_[q])) |
| 65 | |
| 66 | def Data.ActiveHeckeThetaData.localTraceCoefficient (v : Fin s × Bool) (i : Fin 3) : ℚ_[q] := |
| 67 | (D.pel.reference.denominator : ℚ_[q]) * D.localEmbedding v D.pel.reference.imaginaryScalar * |
| 68 | (if i = 2 then D.localEmbedding v D.pel.reference.b else 1) |
| 69 | |
| 70 | def Data.ActiveHeckeThetaData.localTracePairing : LinearMap.BilinForm ℚ_[q] (Fin s × Bool → Fin 3 → ℚ_[q]) := |
| 71 | ∑ v, ∑ i, D.localTraceCoefficient v i • |
| 72 | (LinearMap.mul ℚ_[q] ℚ_[q]).compl₁₂ (Data.ActiveHeckeThetaData.localCoordinate v i) (Data.ActiveHeckeThetaData.localCoordinate (v.1, !v.2) i) |
| 73 | |
| 74 | theorem Data.ActiveHeckeThetaData.localTracePairing_apply (x y : Fin s × Bool → Fin 3 → ℚ_[q]) : |
| 75 | D.localTracePairing x y = |
| 76 | ∑ v, ∑ i, D.localTraceCoefficient v i * x v i * y (v.1, !v.2) i := by |
| 77 | simp [Data.ActiveHeckeThetaData.localTracePairing, Data.ActiveHeckeThetaData.localCoordinate, mul_assoc] |
| 78 | |
| 79 | theorem Data.ActiveHeckeThetaData.localTracePairing_reference (hc : D.HasFiniteCoordinates) |
| 80 | (hgood : D.pel.IsGoodCompletelySplitPrime) (hdegree : Module.finrank ℚ E = 2 * s) |
| 81 | (x y : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 82 | D.localTracePairing (D.jointLocalEmbedding x) (D.jointLocalEmbedding y) = |
| 83 | algebraMap ℚ ℚ_[q] (D.pel.reference.traceForm x y) := by |
| 84 | rw [Data.ActiveHeckeThetaData.localTracePairing_apply] |
| 85 | change (∑ v, ∑ i, D.localTraceCoefficient v i * D.localEmbedding v (x i) * |
| 86 | D.localEmbedding (v.1, !v.2) (y i)) = |
| 87 | algebraMap ℚ ℚ_[q] ((D.pel.reference.denominator : ℚ) * |
| 88 | Algebra.trace ℚ E (D.pel.reference.imaginaryScalar * NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian D.pel.reference.b x y)) |
| 89 | rw [map_mul, map_natCast, D.rationalTrace_local_sum hc hgood hdegree, Finset.mul_sum] |
| 90 | apply Finset.sum_congr rfl |
| 91 | intro v _ |
| 92 | rw [map_mul, NumberTheory.ArithmeticGroups.Data.CongruenceLevel.hermitian, map_sum, Finset.mul_sum, Finset.mul_sum] |
| 93 | apply Finset.sum_congr rfl |
| 94 | intro i _ |
| 95 | rw [map_mul, map_mul, ← D.localEmbedding_conjugate hc hgood] |
| 96 | by_cases hi : i = 2 |
| 97 | · simp only [Data.ActiveHeckeThetaData.localTraceCoefficient, hi, ite_true] |
| 98 | ring |
| 99 | · simp only [Data.ActiveHeckeThetaData.localTraceCoefficient, hi, ite_false, map_one] |
| 100 | ring |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.RepresentationTheory.Theta.Geometric |