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 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula |
| 3 | |
| 4 | /-! # Valuative Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ValuativePoints.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Properness gives a canonical specialization of evaluated generic |
| 11 | points. On a proper group this is an additive map, so every actual |
| 12 | pointwise Hecke sum specializes with all its multiplicities. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula.CM.Points |
| 17 | |
| 18 | variable {R L : Type} [CommRing R] [IsDomain R] [ValuationRing R] |
| 19 | [Field L] [Algebra R L] [IsFractionRing R L] |
| 20 | {S : Scheme} (b : Spec (.of R) ⟶ S) |
| 21 | |
| 22 | def genericBase : Spec (.of L) ⟶ Spec (.of R) := |
| 23 | Spec.map (CommRingCat.ofHom (algebraMap R L)) |
| 24 | |
| 25 | def genericTest : Over S := Over.mk (genericBase (R := R) (L := L) ≫ b) |
| 26 | |
| 27 | def restrictTest : genericTest (L := L) b ⟶ Over.mk b := |
| 28 | Over.homMk (genericBase (R := R) (L := L)) rfl |
| 29 | |
| 30 | def restrictPoint (X : Over S) : (Over.mk b ⟶ X) → (genericTest (L := L) b ⟶ X) := |
| 31 | fun x => restrictTest b ≫ x |
| 32 | |
| 33 | theorem restrictPoint_bijective (X : Over S) [IsProper X.hom] : |
| 34 | Function.Bijective (restrictPoint (L := L) b X) := by |
| 35 | constructor |
| 36 | · intro x y h |
| 37 | have hz : (restrictPoint (L := L) b X x).left ≫ X.hom = |
| 38 | genericBase (R := R) (L := L) ≫ b := (restrictPoint (L := L) b X x).w |
| 39 | obtain ⟨z, _, hu⟩ := Isogenies.NeighborCounting.Evaluated.Targets.Lifts.proper_evaluated_extension |
| 40 | X.hom b (restrictPoint (L := L) b X x).left hz |
| 41 | apply Over.OverMorphism.ext |
| 42 | exact (hu x.left ⟨rfl, x.w⟩).trans |
| 43 | (hu y.left ⟨congrArg (fun t : genericTest (L := L) b ⟶ X => t.left) h.symm, |
| 44 | y.w⟩).symm |
| 45 | · intro z |
| 46 | obtain ⟨x, hx, _⟩ := Isogenies.NeighborCounting.Evaluated.Targets.Lifts.proper_evaluated_extension X.hom b z.left z.w |
| 47 | exact ⟨Over.homMk x hx.2, Over.OverMorphism.ext hx.1⟩ |
| 48 | |
| 49 | def evaluatedPointEquiv (X : Over S) [IsProper X.hom] : |
| 50 | (Over.mk b ⟶ X) ≃ (genericTest (L := L) b ⟶ X) := |
| 51 | Equiv.ofBijective (restrictPoint b X) (restrictPoint_bijective b X) |
| 52 | |
| 53 | theorem extendPoint_map {X Y : Over S} [IsProper X.hom] [IsProper Y.hom] |
| 54 | (a : X ⟶ Y) (z : genericTest (L := L) b ⟶ X) : |
| 55 | (evaluatedPointEquiv b Y).symm (z ≫ a) = (evaluatedPointEquiv b X).symm z ≫ a := by |
| 56 | apply (evaluatedPointEquiv (L := L) b Y).injective |
| 57 | rw [Equiv.apply_symm_apply] |
| 58 | change z ≫ a = restrictTest b ≫ ((evaluatedPointEquiv b X).symm z ≫ a) |
| 59 | rw [← Category.assoc] |
| 60 | exact congrArg (· ≫ a) ((evaluatedPointEquiv b X).apply_symm_apply z).symm |
| 61 | |
| 62 | variable (G : CommGrp (Over S)) [IsProper G.X.hom] |
| 63 | |
| 64 | def evaluatedGroupEquiv : |
| 65 | Additive (Over.mk b ⟶ G.X) ≃+ Additive (genericTest (L := L) b ⟶ G.X) where |
| 66 | toFun x := Additive.ofMul (evaluatedPointEquiv b G.X x.toMul) |
| 67 | invFun x := Additive.ofMul ((evaluatedPointEquiv b G.X).symm x.toMul) |
| 68 | left_inv x := congrArg Additive.ofMul ((evaluatedPointEquiv b G.X).symm_apply_apply x.toMul) |
| 69 | right_inv x := congrArg Additive.ofMul ((evaluatedPointEquiv b G.X).apply_symm_apply x.toMul) |
| 70 | map_add' x y := MonObj.comp_mul (restrictTest b) x.toMul y.toMul |
| 71 | |
| 72 | variable {k : Type} [Field k] (res : R →+* k) |
| 73 | |
| 74 | def specialTest : Over S := Over.mk (Spec.map (CommRingCat.ofHom res) ≫ b) |
| 75 | |
| 76 | def reductionTest : specialTest b res ⟶ Over.mk b := |
| 77 | Over.homMk (Spec.map (CommRingCat.ofHom res)) rfl |
| 78 | |
| 79 | def reduceIntegralGroup : Additive (Over.mk b ⟶ G.X) →+ |
| 80 | Additive (specialTest b res ⟶ G.X) where |
| 81 | toFun x := Additive.ofMul (reductionTest b res ≫ x.toMul) |
| 82 | map_zero' := by |
| 83 | change reductionTest b res ≫ (1 : Over.mk b ⟶ G.X) = 1 |
| 84 | exact MonObj.comp_one _ |
| 85 | map_add' x y := MonObj.comp_mul _ x.toMul y.toMul |
| 86 | |
| 87 | def specializeGroup : Additive (genericTest (L := L) b ⟶ G.X) →+ |
| 88 | Additive (specialTest b res ⟶ G.X) := |
| 89 | (reduceIntegralGroup b G res).comp (evaluatedGroupEquiv b G).symm.toAddMonoidHom |
| 90 | |
| 91 | def specializePoint (X : Over S) [IsProper X.hom] |
| 92 | (z : genericTest (L := L) b ⟶ X) : specialTest b res ⟶ X := |
| 93 | reductionTest b res ≫ (evaluatedPointEquiv b X).symm z |
| 94 | |
| 95 | theorem specializeGroup_map {X : Over S} [IsProper X.hom] |
| 96 | (a : X ⟶ G.X) (z : genericTest (L := L) b ⟶ X) : |
| 97 | specializeGroup b G res (Additive.ofMul (z ≫ a)) = |
| 98 | Additive.ofMul (specializePoint b res X z ≫ a) := by |
| 99 | apply Additive.toMul.injective |
| 100 | change reductionTest b res ≫ (evaluatedPointEquiv b G.X).symm (z ≫ a) = _ |
| 101 | rw [extendPoint_map] |
| 102 | exact (Category.assoc _ _ _).symm |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ValuativePoints.CM |