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.SmoothMorphisms.DVRLifting |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ModuliPoint |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Moduli.Coherence |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.PEL.BaseChange |
| 5 | |
| 6 | /-! # Lifts -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifts |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | Lift the actual geometric point of the native integral PEL model over a |
| 14 | compatible complete DVR. DVRLifting is applied to the genuine base change of the |
| 15 | smooth moduli scheme. The lifted polarized family and integral action are |
| 16 | then literal pullbacks of the universal data. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ModuliPoint.Construction |
| 22 | |
| 23 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 24 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 25 | variable {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 26 | variable {iota : E →+* K} {κ : K →+* ℂ} |
| 27 | variable {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 28 | variable {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 29 | variable (D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q) |
| 30 | variable (R : Type) [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 31 | variable [IsAdicComplete (IsLocalRing.maximalIdeal R) R] |
| 32 | variable (b : B.R →+* R) |
| 33 | variable (residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R) |
| 34 | |
| 35 | def dvrBase : Spec (.of R) ⟶ B.base := Spec.map (CommRingCat.ofHom b) |
| 36 | def closedBase : Spec (.of (IsLocalRing.ResidueField R)) ⟶ Spec (.of R) := |
| 37 | Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)) |
| 38 | |
| 39 | /-- Compatibility of the arithmetic DVR with the chosen geometric residue |
| 40 | field and residue map. This describes the base alone. -/ |
| 41 | def ResidueCompatible : Prop := |
| 42 | (IsLocalRing.residue R).comp b = residueIso.toRingHom.comp |
| 43 | ((algebraMap (ZMod q) (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q)).comp D.residue) |
| 44 | |
| 45 | def residuePoint (x : D.GeometricPoint) : |
| 46 | Spec (.of (IsLocalRing.ResidueField R)) ⟶ D.integral.toOver.left := |
| 47 | Spec.map (CommRingCat.ofHom residueIso.toRingHom) ≫ x.left ≫ D.specialProjection |
| 48 | |
| 49 | omit [IsAdicComplete (IsLocalRing.maximalIdeal R) R] in |
| 50 | theorem residuePoint_square (hbase : ResidueCompatible D R b residueIso) |
| 51 | (x : D.GeometricPoint) : |
| 52 | residuePoint D R residueIso x ≫ D.integral.toOver.hom = closedBase R ≫ dvrBase R b := by |
| 53 | change (Spec.map (CommRingCat.ofHom residueIso.toRingHom) ≫ x.left ≫ |
| 54 | pullback.fst D.integral.toOver.hom D.specialBase) ≫ D.integral.toOver.hom = _ |
| 55 | erw [Category.assoc, Category.assoc, pullback.condition, ← Category.assoc x.left, |
| 56 | x.w] |
| 57 | change Spec.map (CommRingCat.ofHom residueIso.toRingHom) ≫ |
| 58 | Spec.map (CommRingCat.ofHom (algebraMap (ZMod q) (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q))) ≫ |
| 59 | Spec.map (CommRingCat.ofHom D.residue) = |
| 60 | Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)) ≫ Spec.map (CommRingCat.ofHom b) |
| 61 | rw [← Spec.map_comp, ← Spec.map_comp, ← Spec.map_comp] |
| 62 | exact congrArg Spec.map (CommRingCat.hom_ext hbase.symm) |
| 63 | |
| 64 | /-- A lift is an actual morphism into the integral moduli scheme, with |
| 65 | its arithmetic-base square and its prescribed reduction. -/ |
| 66 | structure IntegralLift (x : D.GeometricPoint) where |
| 67 | map : Spec (.of R) ⟶ D.integral.toOver.left |
| 68 | overBase : map ≫ D.integral.toOver.hom = dvrBase R b |
| 69 | reduction : closedBase R ≫ map = residuePoint D R residueIso x |
| 70 | |
| 71 | theorem integralLift_exists (hbase : ResidueCompatible D R b residueIso) |
| 72 | (x : D.GeometricPoint) : Nonempty (IntegralLift D R b residueIso x) := by |
| 73 | let X := (Over.pullback (dvrBase R b)).obj D.integral.toOver |
| 74 | have : Smooth X.hom := inferInstanceAs |
| 75 | (Smooth (pullback.snd D.integral.toOver.hom (dvrBase R b))) |
| 76 | let xR : Spec (.of (IsLocalRing.ResidueField R)) ⟶ X.left := |
| 77 | pullback.lift (residuePoint D R residueIso x) (closedBase R) |
| 78 | (residuePoint_square D R b residueIso hbase x) |
| 79 | have hxR : xR ≫ X.hom = closedBase R := pullback.lift_snd _ _ _ |
| 80 | obtain ⟨l, hl, hred⟩ := SmoothMorphisms.DVRLifting.lift_special_fiber_point R X.left X.hom xR hxR |
| 81 | refine ⟨⟨l ≫ pullback.fst D.integral.toOver.hom (dvrBase R b), ?_, ?_⟩⟩ |
| 82 | · rw [Category.assoc, pullback.condition, ← Category.assoc] |
| 83 | change (l ≫ X.hom) ≫ dvrBase R b = _ |
| 84 | rw [hl, Category.id_comp] |
| 85 | · exact (Category.assoc _ _ _).symm.trans |
| 86 | ((congrArg (fun z => z ≫ pullback.fst D.integral.toOver.hom (dvrBase R b)) hred).trans |
| 87 | (pullback.lift_fst _ _ _)) |
| 88 | |
| 89 | def integralLift (hbase : ResidueCompatible D R b residueIso) (x : D.GeometricPoint) : |
| 90 | IntegralLift D R b residueIso x := (integralLift_exists D R b residueIso hbase x).some |
| 91 | |
| 92 | namespace IntegralLift |
| 93 | |
| 94 | variable {D R b residueIso} {x : D.GeometricPoint} |
| 95 | variable (l : IntegralLift D R b residueIso x) |
| 96 | |
| 97 | abbrev actionData : |
| 98 | PELModuli.IntegralModel.PEL.Has.PolarizedActionData E (3 * s) P.polarizationType N (Spec (.of R)) := |
| 99 | D.integral.universal.data.pullback l.map |
| 100 | |
| 101 | abbrev polarized : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel (3 * s) P.polarizationType N (Spec (.of R)) := |
| 102 | l.actionData.polarized |
| 103 | |
| 104 | abbrev action : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) l.polarized.abelian := |
| 105 | l.actionData.action |
| 106 | |
| 107 | omit [IsAdicComplete (IsLocalRing.maximalIdeal R) R] in |
| 108 | theorem specializes_to_point : closedBase R ≫ l.map = residuePoint D R residueIso x := l.reduction |
| 109 | |
| 110 | end IntegralLift |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifts |