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.Lattice |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.Arithmetic |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data |
| 4 | |
| 5 | /-! # Qadic Model Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.QadicModelMap.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Extend the chosen integral completion map to the actual arithmetic |
| 12 | localization, and prove its compatibility with the generic-fiber map. -/ |
| 13 | |
| 14 | open _root_.NumberField _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data |
| 16 | |
| 17 | variable {K : Type} [Field K] [NumberField K] {κ : K →+* ℂ} |
| 18 | {q : ℕ} [Fact q.Prime] (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) |
| 19 | |
| 20 | def localFieldEmbedding : K →+* ℚ_[q] := |
| 21 | j.completion.toRingHom.comp (NumberField.FinitePlace.embedding j.prime) |
| 22 | |
| 23 | def integralMap (d : ℕ) (hcop : Nat.Coprime q d) : AbelianScheme.TateComparison.Data.modelRing K d →+* ℤ_[q] := |
| 24 | IsLocalization.Away.lift (d : RingOfIntegers K) |
| 25 | (g := j.integralEmbedding) |
| 26 | (by simpa only [map_natCast] using Local.Lattice.CM.natCast_isUnit d hcop) |
| 27 | |
| 28 | theorem integralMap_on_integers (d : ℕ) (hcop : Nat.Coprime q d) |
| 29 | (a : RingOfIntegers K) : |
| 30 | integralMap j d hcop (algebraMap (RingOfIntegers K) (AbelianScheme.TateComparison.Data.modelRing K d) a) = |
| 31 | j.integralEmbedding a := IsLocalization.Away.lift_eq _ _ a |
| 32 | |
| 33 | theorem integralMap_generic (d : ℕ) (hd : d ≠ 0) (hcop : Nat.Coprime q d) : |
| 34 | PadicInt.Coe.ringHom.comp (integralMap j d hcop) = |
| 35 | (localFieldEmbedding j).comp (ArithmeticGeometry.Models.Algebra.Constructions.Foundations.integersAwayToField K d hd) := by |
| 36 | apply IsLocalization.ringHom_ext (Submonoid.powers (d : RingOfIntegers K)) |
| 37 | ext a |
| 38 | change PadicInt.Coe.ringHom (integralMap j d hcop (algebraMap _ _ a)) = |
| 39 | localFieldEmbedding j (ArithmeticGeometry.Models.Algebra.Constructions.Foundations.integersAwayToField K d hd (algebraMap _ _ a)) |
| 40 | rw [integralMap_on_integers, ArithmeticGeometry.Models.Algebra.Constructions.Foundations.integersAwayToField_algebraMap] |
| 41 | exact RingHom.congr_fun j.integral_compatibility a |
| 42 | |
| 43 | def integralBase (d : ℕ) (hcop : Nat.Coprime q d) : Spec (.of ℤ_[q]) ⟶ AbelianScheme.TateComparison.Data.modelBase K d := |
| 44 | Spec.map (CommRingCat.ofHom (integralMap j d hcop)) |
| 45 | |
| 46 | theorem generic_base_compatible (d : ℕ) (hd : d ≠ 0) (hcop : Nat.Coprime q d) : |
| 47 | Spec.map (CommRingCat.ofHom (algebraMap ℤ_[q] ℚ_[q])) ≫ integralBase j d hcop = |
| 48 | Spec.map (CommRingCat.ofHom (localFieldEmbedding j)) ≫ AbelianScheme.TateComparison.Data.modelGeneric K d hd := by |
| 49 | dsimp only [integralBase, AbelianScheme.TateComparison.Data.modelGeneric] |
| 50 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 51 | exact congrArg (fun f : AbelianScheme.TateComparison.Data.modelRing K d →+* ℚ_[q] => Spec.map (CommRingCat.ofHom f)) |
| 52 | (integralMap_generic j d hd hcop) |
| 53 | |
| 54 | /-- Any residue map supplied by CMPoints on this localization is the reduction |
| 55 | of the constructed integral completion map. -/ |
| 56 | theorem integralMap_residue (d : ℕ) (hcop : Nat.Coprime q d) |
| 57 | (residue : AbelianScheme.TateComparison.Data.modelRing K d →+* ZMod q) |
| 58 | (hres : residue.comp (algebraMap (RingOfIntegers K) (AbelianScheme.TateComparison.Data.modelRing K d)) = j.residue) : |
| 59 | PadicInt.toZMod.comp (integralMap j d hcop) = residue := by |
| 60 | apply IsLocalization.ringHom_ext (Submonoid.powers (d : RingOfIntegers K)) |
| 61 | ext a |
| 62 | change PadicInt.toZMod (integralMap j d hcop (algebraMap _ _ a)) = |
| 63 | residue (algebraMap _ _ a) |
| 64 | rw [integralMap_on_integers] |
| 65 | exact (RingHom.congr_fun hres a).symm |
| 66 | |
| 67 | theorem special_base_compatible (d : ℕ) (hcop : Nat.Coprime q d) |
| 68 | (residue : AbelianScheme.TateComparison.Data.modelRing K d →+* ZMod q) |
| 69 | (hres : residue.comp (algebraMap (RingOfIntegers K) (AbelianScheme.TateComparison.Data.modelRing K d)) = j.residue) : |
| 70 | Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[q] →+* ZMod q)) ≫ |
| 71 | integralBase j d hcop = Spec.map (CommRingCat.ofHom residue) := by |
| 72 | dsimp only [integralBase] |
| 73 | rw [← Spec.map_comp] |
| 74 | exact congrArg (fun f : AbelianScheme.TateComparison.Data.modelRing K d →+* ZMod q => Spec.map (CommRingCat.ofHom f)) |
| 75 | (integralMap_residue j d hcop residue hres) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.QadicModelMap.CM |