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.Hecke.ModelBlockCharacters |
| 2 | |
| 3 | /-! # Coefficient Residue Square -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Hecke.CoefficientResidueSquare.OrdinaryCharacterIntrinsic |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The coefficient residue square follows from the actual integral |
| 10 | completion map and its residue. Equality of residue maps is proved using |
| 11 | the q-adic residue representatives. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {q : ℕ} [Fact q.Prime] |
| 16 | |
| 17 | theorem padic_residue_hom_unique {T : Type} [CommRing T] [CharP T q] |
| 18 | (f g : ℤ_[q] →+* T) : f = g := by |
| 19 | ext z |
| 20 | have hz : z - (z.zmodRepr : ℤ_[q]) ∈ Ideal.span ({(q : ℤ_[q])} : Set ℤ_[q]) := by |
| 21 | rw [← PadicInt.maximalIdeal_eq_span_p] |
| 22 | exact PadicInt.sub_zmodRepr_mem z |
| 23 | obtain ⟨c, hc⟩ := Ideal.mem_span_singleton.mp hz |
| 24 | have he (h : ℤ_[q] →+* T) : h z = (z.zmodRepr : T) := by |
| 25 | have hh := congrArg h hc |
| 26 | simp only [map_mul, map_natCast, CharP.cast_eq_zero, zero_mul, map_sub] at hh |
| 27 | exact sub_eq_zero.mp hh |
| 28 | exact (he f).trans (he g).symm |
| 29 | |
| 30 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 31 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 32 | {s N : ℕ} {P : AlgebraicGeometry.AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 33 | {iota : E →+* K} {κ : K →+* ℂ} |
| 34 | {M : Over (Spec (.of K))} {U : AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 35 | {B : AlgebraicGeometry.PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} |
| 36 | (D : AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q) (j : AlgebraicGeometry.PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) |
| 37 | |
| 38 | omit [NumberField.IsCMField E] in |
| 39 | theorem completion_map_on_coefficients (b : B.R →+* ℤ_[q]) |
| 40 | (η : B.extension.carrier →+* ℚ_[q]) |
| 41 | (hgeneric : PadicInt.Coe.ringHom.comp b = η.comp B.toField) |
| 42 | (hfield : η.comp (algebraMap K B.extension.carrier) = |
| 43 | j.completion.toRingHom.comp (NumberField.FinitePlace.embedding j.prime)) : |
| 44 | b.comp (B.integralEmbedding iota) = j.localCharacter iota 1 := by |
| 45 | ext a |
| 46 | apply Subtype.coe_injective |
| 47 | exact (RingHom.congr_fun hgeneric (B.integralEmbedding iota a)).trans |
| 48 | ((congrArg η (B.integralEmbedding_toField iota a)).trans |
| 49 | ((RingHom.congr_fun hfield (iota (a : E))).trans |
| 50 | (RingHom.congr_fun j.integral_compatibility |
| 51 | (NumberField.RingOfIntegers.mapRingHom iota a)).symm)) |
| 52 | |
| 53 | theorem coefficientResidueSquare_of_integral_map (b : B.R →+* ℤ_[q]) |
| 54 | (hcoeff : b.comp (B.integralEmbedding iota) = j.localCharacter iota 1) |
| 55 | (hres : D.residue = PadicInt.toZMod.comp b) : ModelBlockCharacters.OrdinaryCharacterIntrinsic.CoefficientResidueSquare D j := by |
| 56 | have hc : PadicInt.toZMod = (BlockCharacters.OrdinaryCharacterIntrinsic.blockResidueCast (k := ZMod q) (q := q)).comp |
| 57 | (PadicInt.toZModPow 1) := padic_residue_hom_unique _ _ |
| 58 | apply RingHom.ext |
| 59 | intro a |
| 60 | exact (RingHom.congr_fun hres (B.integralEmbedding iota a)).trans |
| 61 | ((congrArg PadicInt.toZMod (RingHom.congr_fun hcoeff a)).trans |
| 62 | (RingHom.congr_fun hc (j.localCharacter iota 1 a))) |
| 63 | |
| 64 | theorem coefficientResidueSquare_of_completion (b : B.R →+* ℤ_[q]) |
| 65 | (η : B.extension.carrier →+* ℚ_[q]) |
| 66 | (hgeneric : PadicInt.Coe.ringHom.comp b = η.comp B.toField) |
| 67 | (hfield : η.comp (algebraMap K B.extension.carrier) = |
| 68 | j.completion.toRingHom.comp (NumberField.FinitePlace.embedding j.prime)) |
| 69 | (hres : D.residue = PadicInt.toZMod.comp b) : ModelBlockCharacters.OrdinaryCharacterIntrinsic.CoefficientResidueSquare D j := |
| 70 | coefficientResidueSquare_of_integral_map D j b |
| 71 | (completion_map_on_coefficients j b η hgeneric hfield) hres |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.RepresentationTheory.Hecke.CoefficientResidueSquare.OrdinaryCharacterIntrinsic |