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.JointLocalLattice |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RationalCompletion |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Pi |
| 4 | |
| 5 | /-! # Joint Rational Completion -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original local embeddings identify the full rational completion |
| 12 | of E cubed with all of its split coordinates simultaneously. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 17 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 18 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 19 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 20 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 21 | |
| 22 | theorem Data.ActiveHeckeThetaData.localEmbedding_eq_rationalLocalCharacter (hc : D.HasFiniteCoordinates) (v : Fin s × Bool) : |
| 23 | D.localEmbedding v = (D.pel.rationalLocalCharacter v).toRingHom := by |
| 24 | apply IsFractionRing.ringHom_ext (A := NumberField.RingOfIntegers E) |
| 25 | intro a |
| 26 | exact (hc.1 v a).trans (D.pel.rationalLocalCharacter_integer v a).symm |
| 27 | |
| 28 | def Data.ActiveHeckeThetaData.localCoordinateSwap : (Fin 3 → Fin s × Bool → ℚ_[q]) ≃ₗ[ℚ_[q]] |
| 29 | (Fin s × Bool → Fin 3 → ℚ_[q]) where |
| 30 | toFun u v i := u i v |
| 31 | invFun u i v := u v i |
| 32 | left_inv _ := rfl |
| 33 | right_inv _ := rfl |
| 34 | map_add' _ _ := rfl |
| 35 | map_smul' _ _ := rfl |
| 36 | |
| 37 | def Data.ActiveHeckeThetaData.jointRationalCompletion (hgood : D.pel.IsGoodCompletelySplitPrime) |
| 38 | (hdegree : Module.finrank ℚ E = 2 * s) : |
| 39 | (ℚ_[q] ⊗[ℚ] NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) ≃ₗ[ℚ_[q]] (Fin s × Bool → Fin 3 → ℚ_[q]) := |
| 40 | (TensorProduct.piRight ℚ ℚ_[q] ℚ_[q] (fun _ : Fin 3 => E)).trans |
| 41 | ((LinearEquiv.piCongrRight (fun _ : Fin 3 => |
| 42 | (D.pel.rationalCompletionEquiv hgood hdegree).toLinearEquiv)).trans Data.ActiveHeckeThetaData.localCoordinateSwap) |
| 43 | |
| 44 | theorem Data.ActiveHeckeThetaData.jointRationalCompletion_tmul (hgood : D.pel.IsGoodCompletelySplitPrime) |
| 45 | (hdegree : Module.finrank ℚ E = 2 * s) (hc : D.HasFiniteCoordinates) |
| 46 | (a : ℚ_[q]) (x : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 47 | D.jointRationalCompletion hgood hdegree (a ⊗ₜ[ℚ] x) = a • D.jointLocalEmbedding x := by |
| 48 | funext v i |
| 49 | change a * D.pel.rationalLocalCharacter v (x i) = a * D.localEmbedding v (x i) |
| 50 | rw [D.localEmbedding_eq_rationalLocalCharacter hc] |
| 51 | rfl |
| 52 | |
| 53 | theorem Data.ActiveHeckeThetaData.jointRationalCompletion_one_tmul (hgood : D.pel.IsGoodCompletelySplitPrime) |
| 54 | (hdegree : Module.finrank ℚ E = 2 * s) (hc : D.HasFiniteCoordinates) (x : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.VE E) : |
| 55 | D.jointRationalCompletion hgood hdegree (1 ⊗ₜ[ℚ] x) = D.jointLocalEmbedding x := by |
| 56 | rw [D.jointRationalCompletion_tmul hgood hdegree hc, one_smul] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.RepresentationTheory.Theta.Geometric |