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.Isogenies.NeighborCounting.Evaluated.Targets |
| 2 | |
| 3 | /-! # Reduction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Reduction of independently evaluated targets to native geometric PEL |
| 10 | points. The map is constructed by the special-fiber pullback square. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 15 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 16 | variable {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 17 | variable {iota : E →+* K} {κ : K →+* ℂ} |
| 18 | variable {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 19 | variable {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 20 | variable (D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q) |
| 21 | variable (R L : Type) [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 22 | [Field L] [Algebra R L] [IsFractionRing R L] |
| 23 | variable (b : B.R →+* R) |
| 24 | variable (residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R) |
| 25 | |
| 26 | theorem Reduction.Lifts.residueCompatible_geometric_square |
| 27 | (hbase : Lifts.ResidueCompatible D R b residueIso) : |
| 28 | Spec.map (CommRingCat.ofHom residueIso.symm.toRingHom) ≫ Lifts.closedBase R ≫ Lifts.dvrBase R b = |
| 29 | (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q).hom ≫ D.specialBase := by |
| 30 | change Spec.map (CommRingCat.ofHom residueIso.symm.toRingHom) ≫ |
| 31 | Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)) ≫ Spec.map (CommRingCat.ofHom b) = |
| 32 | Spec.map (CommRingCat.ofHom (algebraMap (ZMod q) (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q))) ≫ |
| 33 | Spec.map (CommRingCat.ofHom D.residue) |
| 34 | rw [← Spec.map_comp, ← Spec.map_comp, ← Spec.map_comp] |
| 35 | apply congrArg Spec.map |
| 36 | apply CommRingCat.hom_ext |
| 37 | ext a |
| 38 | have ha := RingHom.congr_fun hbase a |
| 39 | exact (congrArg residueIso.symm ha).trans (residueIso.symm_apply_apply _) |
| 40 | |
| 41 | section |
| 42 | |
| 43 | variable {D R L b} (z : Targets.Lifts.EvaluatedTarget D R L b) |
| 44 | variable {residueIso} (hbase : Lifts.ResidueCompatible D R b residueIso) |
| 45 | |
| 46 | /-- The independently extended target determines an actual geometric point |
| 47 | of the special moduli scheme, without a target-identification hypothesis. -/ |
| 48 | def Targets.Lifts.EvaluatedTarget.specialPoint : D.GeometricPoint := |
| 49 | Over.homMk |
| 50 | (pullback.lift |
| 51 | (Spec.map (CommRingCat.ofHom residueIso.symm.toRingHom) ≫ z.reduction) |
| 52 | (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q).hom (by |
| 53 | erw [Category.assoc] |
| 54 | change Spec.map (CommRingCat.ofHom residueIso.symm.toRingHom) ≫ |
| 55 | (Lifts.closedBase R ≫ z.extension) ≫ D.integral.toOver.hom = _ |
| 56 | rw [Category.assoc, z.extension_overBase] |
| 57 | exact Reduction.Lifts.residueCompatible_geometric_square D R b residueIso hbase)) |
| 58 | (pullback.lift_snd _ _ _) |
| 59 | |
| 60 | theorem Targets.Lifts.EvaluatedTarget.specialPoint_projection : |
| 61 | (z.specialPoint hbase).left ≫ D.specialProjection = |
| 62 | Spec.map (CommRingCat.ofHom residueIso.symm.toRingHom) ≫ z.reduction := |
| 63 | pullback.lift_fst _ _ _ |
| 64 | |
| 65 | /-- The full polarized fiber of the reduction is the pullback at the |
| 66 | constructed geometric moduli point. -/ |
| 67 | def Targets.Lifts.EvaluatedTarget.geometricPolarizedIso : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso |
| 68 | ((D.integral.universal.data.polarized.pullback z.reduction).pullback |
| 69 | (Spec.map (CommRingCat.ofHom residueIso.symm.toRingHom))) |
| 70 | (D.integral.universal.data.polarized.pullback |
| 71 | ((z.specialPoint hbase).left ≫ D.specialProjection)) := by |
| 72 | have e := AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp D.integral.universal.data.polarized |
| 73 | z.reduction (Spec.map (CommRingCat.ofHom residueIso.symm.toRingHom)) |
| 74 | rw [← z.specialPoint_projection hbase] at e |
| 75 | exact e |
| 76 | |
| 77 | variable (D R L b) in |
| 78 | def Targets.Lifts.EvaluatedTarget.ofIntegralMap (a : Spec (.of R) ⟶ D.integral.toOver.left) |
| 79 | (ha : a ≫ D.integral.toOver.hom = Lifts.dvrBase R b) : Targets.Lifts.EvaluatedTarget D R L b where |
| 80 | map := Spec.map (CommRingCat.ofHom (algebraMap R L)) ≫ a |
| 81 | overBase := by rw [Category.assoc, ha] |
| 82 | |
| 83 | theorem Targets.Lifts.EvaluatedTarget.extension_ofIntegralMap (a : Spec (.of R) ⟶ D.integral.toOver.left) |
| 84 | (ha : a ≫ D.integral.toOver.hom = Lifts.dvrBase R b) : |
| 85 | (Targets.Lifts.EvaluatedTarget.ofIntegralMap D R L b a ha).extension = a := |
| 86 | ((Targets.Lifts.EvaluatedTarget.ofIntegralMap D R L b a ha).extension_unique a rfl ha).symm |
| 87 | |
| 88 | end |
| 89 | |
| 90 | /-- Reduce a generic target multiset to the native geometric PEL points; |
| 91 | duplicate special points remain duplicate entries. -/ |
| 92 | def Reduction.Lifts.reduceToGeometricPoints (hbase : Lifts.ResidueCompatible D R b residueIso) |
| 93 | (neighbors : Multiset (Targets.Lifts.EvaluatedTarget D R L b)) : Multiset D.GeometricPoint := |
| 94 | neighbors.map (fun z => z.specialPoint hbase) |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated |