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.Local.Completion |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource |
| 3 | |
| 4 | /-! # Paired Completion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PairedCompletion.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reindex the integral local decomposition by the source's actual |
| 11 | conjugate pairs, in the convention used by TateComparison. -/ |
| 12 | |
| 13 | open scoped Classical TensorProduct |
| 14 | open TensorProduct _root_.NumberField |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Local.Completion.CM |
| 17 | |
| 18 | variable (E : IntermediateField ℚ ℂ) [NumberField E] |
| 19 | [IsGalois ℚ E] [NumberField.IsCMField E] |
| 20 | {K : Type} [Field K] [NumberField K] {κ : K →+* ℂ} |
| 21 | {q : ℕ} [Fact q.Prime] |
| 22 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) |
| 23 | (places : GeometricSource.CM.Places E) |
| 24 | |
| 25 | def placeIndex (p : Fin places.count × Bool) : Gal(E/ℚ) := |
| 26 | if p.2 then ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * places.representative p.1 else places.representative p.1 |
| 27 | |
| 28 | def pairedCharacter (p : Fin places.count × Bool) : RingOfIntegers E →+* ℤ_[q] := |
| 29 | j.localCharacter iota (placeIndex E places p) |
| 30 | |
| 31 | /-- This is the same integral tensor map used in TateComparison's good-prime |
| 32 | predicate, with the characters supplied by CMPoints. -/ |
| 33 | def pairedCompletion : |
| 34 | ℤ_[q] ⊗[ℤ] RingOfIntegers E →ₐ[ℤ] (Fin places.count × Bool → ℤ_[q]) := |
| 35 | Algebra.TensorProduct.lift |
| 36 | (algebraMap ℤ_[q] (Fin places.count × Bool → ℤ_[q])).toIntAlgHom |
| 37 | (RingHom.pi (pairedCharacter E j iota places)).toIntAlgHom |
| 38 | (fun _ _ => Commute.all _ _) |
| 39 | |
| 40 | omit [IsGalois ℚ E] in |
| 41 | theorem pairedCompletion_apply (x : ℤ_[q] ⊗[ℤ] RingOfIntegers E) |
| 42 | (p : Fin places.count × Bool) : |
| 43 | pairedCompletion E j iota places x p = |
| 44 | Local.Completion.CM.completionLinear j iota x (placeIndex E places p) := by |
| 45 | induction x using TensorProduct.inductionOn with |
| 46 | | tmul a b => rfl |
| 47 | | add x y hx hy => simp only [map_add, Pi.add_apply, hx, hy] |
| 48 | |
| 49 | theorem pairedCompletion_bijective (hsplit : j.HasSplitCoordinates iota) : |
| 50 | Function.Bijective (pairedCompletion E j iota places) := by |
| 51 | let e := Equiv.ofBijective (placeIndex E places) places.complete |
| 52 | have h := Local.Completion.CM.completion_bijective j iota hsplit |
| 53 | constructor |
| 54 | · intro x y hxy |
| 55 | apply h.1 |
| 56 | funext τ |
| 57 | obtain ⟨p, rfl⟩ := places.complete.2 τ |
| 58 | simpa only [pairedCompletion_apply, placeIndex] using congrFun hxy p |
| 59 | · intro y |
| 60 | obtain ⟨x, hx⟩ := h.2 (fun τ => y (e.symm τ)) |
| 61 | refine ⟨x, ?_⟩ |
| 62 | funext p |
| 63 | rw [pairedCompletion_apply, hx] |
| 64 | exact congrArg y (e.symm_apply_apply p) |
| 65 | |
| 66 | theorem localCharacter_conjugate (τ : Gal(E/ℚ)) (a : RingOfIntegers E) : |
| 67 | j.localCharacter iota (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ) a = |
| 68 | j.localCharacter iota τ (IsCMField.ringOfIntegersComplexConj E a) := by |
| 69 | apply congrArg j.integralEmbedding |
| 70 | apply Subtype.ext |
| 71 | change iota ((ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ) (a : E)) = iota (τ (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (a : E))) |
| 72 | exact congrArg iota (congrArg (fun σ : Gal(E/ℚ) => σ (a : E)) |
| 73 | (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation_commute E τ).eq) |
| 74 | |
| 75 | /-- Exchanging the pair label composes the integral character with the |
| 76 | actual CM involution on the ring of integers. -/ |
| 77 | theorem pairedCharacter_conjugate (v : Fin places.count) (side : Bool) |
| 78 | (a : RingOfIntegers E) : |
| 79 | pairedCharacter E j iota places (v, !side) a = |
| 80 | pairedCharacter E j iota places (v, side) |
| 81 | (IsCMField.ringOfIntegersComplexConj E a) := by |
| 82 | cases side |
| 83 | · exact localCharacter_conjugate E j iota _ a |
| 84 | · have h := localCharacter_conjugate E j iota (places.representative v) |
| 85 | (IsCMField.ringOfIntegersComplexConj E a) |
| 86 | have haa : IsCMField.ringOfIntegersComplexConj E |
| 87 | (IsCMField.ringOfIntegersComplexConj E a) = a := by |
| 88 | apply Subtype.ext |
| 89 | exact IsCMField.complexConj_apply_apply E a |
| 90 | rw [haa] at h |
| 91 | exact h.symm |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PairedCompletion.CM |