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.NumberTheory.PadicHodge.IntegralComparison.TorsionPointCharacter |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.GroupSchemeCharacters |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.Group |
| 4 | |
| 5 | /-! # Multiplication Overlap Cocycles -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationOverlapCocycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A character of the actual finite torsion group determines a cocycle |
| 12 | on the actual multiplication-cover overlap. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationCoverCharacter |
| 21 | |
| 22 | universe u |
| 23 | variable (ℓ n : ℕ) [Fact ℓ.Prime] |
| 24 | {k : Type u} [Field k] [IsAlgClosed k] |
| 25 | (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 26 | [Smooth A.hom] [IsProper A.hom] [GeometricallyIntegral A.hom] |
| 27 | (hℓ : (ℓ : k) ≠ 0) |
| 28 | |
| 29 | local notation "N" => ℓ ^ n |
| 30 | local notation "T" => OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A N |
| 31 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationCoverCharacter.cover ℓ n A hℓ |
| 32 | local notation "D" => OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationCoverCharacter.overlap ℓ n A hℓ |
| 33 | local notation "a" => OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationCoverCharacter.first ℓ n A hℓ |
| 34 | local notation "b" => OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationCoverCharacter.second ℓ n A hℓ |
| 35 | local notation "m" => ((𝟙 A : A ⟶ A) ^ N) |
| 36 | |
| 37 | abbrev siteOver (V : A.left.ProEt) : Over (Spec (.of k)) := Over.mk (V.hom ≫ A.hom) |
| 38 | |
| 39 | def siteMap {V W : A.left.ProEt} (f : V ⟶ W) : siteOver A V ⟶ siteOver A W := |
| 40 | Over.homMk f.left (by |
| 41 | change f.left ≫ W.hom ≫ A.hom = V.hom ≫ A.hom |
| 42 | rw [← Category.assoc, MorphismProperty.Over.w]) |
| 43 | |
| 44 | def toA {V : A.left.ProEt} (f : V ⟶ U) : siteOver A V ⟶ A := |
| 45 | Over.homMk f.left (by |
| 46 | calc |
| 47 | f.left ≫ A.hom = f.left ≫ (m).left ≫ A.hom := |
| 48 | congrArg (fun t => f.left ≫ t) (Over.w m).symm |
| 49 | _ = V.hom ≫ A.hom := by |
| 50 | rw [← Category.assoc] |
| 51 | exact congrArg (fun t => t ≫ A.hom) (MorphismProperty.Over.w f)) |
| 52 | |
| 53 | omit [Fact (Nat.Prime ℓ)] [IsAlgClosed k] [IsProper A.hom] [GeometricallyIntegral A.hom] in |
| 54 | @[reassoc (attr := simp)] theorem siteMap_toA {V W : A.left.ProEt} |
| 55 | (f : V ⟶ W) (g : W ⟶ U) : |
| 56 | siteMap A f ≫ toA ℓ n A hℓ g = toA ℓ n A hℓ (f ≫ g) := rfl |
| 57 | |
| 58 | omit [Fact (Nat.Prime ℓ)] [IsAlgClosed k] [IsProper A.hom] [GeometricallyIntegral A.hom] in |
| 59 | theorem toA_pow {V : A.left.ProEt} (f : V ⟶ U) : |
| 60 | toA ℓ n A hℓ f ^ N = Over.homMk V.hom (by rfl) := by |
| 61 | have he : toA ℓ n A hℓ f ≫ m = Over.homMk V.hom (by rfl) := |
| 62 | Over.OverMorphism.ext (MorphismProperty.Over.w f) |
| 63 | simpa only [MonObj.comp_pow, Category.comp_id] using he |
| 64 | |
| 65 | def difference {V : A.left.ProEt} (f g : V ⟶ U) : siteOver A V ⟶ T := |
| 66 | AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift N (toA ℓ n A hℓ g / toA ℓ n A hℓ f) (by |
| 67 | rw [div_pow, toA_pow, toA_pow, div_self']) |
| 68 | |
| 69 | omit [Fact (Nat.Prime ℓ)] [IsAlgClosed k] [IsProper A.hom] [GeometricallyIntegral A.hom] in |
| 70 | @[reassoc (attr := simp)] theorem difference_inclusion {V : A.left.ProEt} (f g : V ⟶ U) : |
| 71 | difference ℓ n A hℓ f g ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A N = toA ℓ n A hℓ g / toA ℓ n A hℓ f := |
| 72 | AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift_ι _ _ _ |
| 73 | |
| 74 | omit [Fact (Nat.Prime ℓ)] [IsAlgClosed k] [IsProper A.hom] [GeometricallyIntegral A.hom] in |
| 75 | @[reassoc (attr := simp)] theorem difference_comp {V W : A.left.ProEt} |
| 76 | (p : V ⟶ W) (f g : W ⟶ U) : |
| 77 | siteMap A p ≫ difference ℓ n A hℓ f g = difference ℓ n A hℓ (p ≫ f) (p ≫ g) := by |
| 78 | apply equalizer.hom_ext |
| 79 | change (siteMap A p ≫ difference ℓ n A hℓ f g) ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A N = |
| 80 | difference ℓ n A hℓ (p ≫ f) (p ≫ g) ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A N |
| 81 | simp only [Category.assoc, difference_inclusion, GrpObj.comp_div, siteMap_toA] |
| 82 | |
| 83 | omit [Fact (Nat.Prime ℓ)] [IsAlgClosed k] [IsProper A.hom] [GeometricallyIntegral A.hom] in |
| 84 | theorem difference_cocycle {V : A.left.ProEt} (f g h : V ⟶ U) : |
| 85 | difference ℓ n A hℓ f g * difference ℓ n A hℓ g h = difference ℓ n A hℓ f h := by |
| 86 | apply equalizer.hom_ext |
| 87 | change (difference ℓ n A hℓ f g * difference ℓ n A hℓ g h) ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A N = |
| 88 | difference ℓ n A hℓ f h ≫ AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A N |
| 89 | rw [MonObj.mul_comp, difference_inclusion, difference_inclusion, difference_inclusion] |
| 90 | rw [_root_.mul_comm, div_mul_div_cancel] |
| 91 | |
| 92 | def pointEquiv : (𝟙_ (Over (Spec (.of k))) ⟶ T) ≃* AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N where |
| 93 | toEquiv := AlgebraicGeometry.AbelianScheme.TorsionQuotient.Group.TorsionGroup.pointsEquiv A N _ |
| 94 | map_mul' := AlgebraicGeometry.AbelianScheme.TorsionQuotient.Group.TorsionGroup.pointsEquiv_mul A N _ |
| 95 | |
| 96 | def schemeFunction (χ : Additive (AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) →+ ZMod N) : |
| 97 | C((T).left, ZMod N) := by |
| 98 | let : IsFinite (T).hom := (AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction.torsionScheme_finite_etale A N |
| 99 | (by rw [Nat.cast_pow]; exact pow_ne_zero n hℓ)).1 |
| 100 | exact Finite.GroupSchemeCharacters.continuousFunction T |
| 101 | (fun t => χ (Additive.ofMul (pointEquiv ℓ n A t))) |
| 102 | |
| 103 | omit [Fact (Nat.Prime ℓ)] [GeometricallyIntegral A.hom] in |
| 104 | theorem schemeFunction_point (χ : Additive (AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) →+ ZMod N) |
| 105 | (s : 𝟙_ (Over (Spec (.of k))) ⟶ T) : |
| 106 | schemeFunction ℓ n A hℓ χ (s.left (IsLocalRing.closedPoint k)) = |
| 107 | χ (Additive.ofMul (pointEquiv ℓ n A s)) := by |
| 108 | let : IsFinite (T).hom := (AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction.torsionScheme_finite_etale A N |
| 109 | (by rw [Nat.cast_pow]; exact pow_ne_zero n hℓ)).1 |
| 110 | exact Finite.GroupSchemeCharacters.continuousFunction_point T |
| 111 | (fun t => χ (Additive.ofMul (pointEquiv ℓ n A t))) s |
| 112 | |
| 113 | omit [Fact (Nat.Prime ℓ)] [GeometricallyIntegral A.hom] in |
| 114 | theorem schemeFunction_mul (χ : Additive (AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) →+ ZMod N) |
| 115 | {W : Over (Spec (.of k))} (f g : W ⟶ T) (z : W.left) : |
| 116 | schemeFunction ℓ n A hℓ χ ((f * g).left z) = |
| 117 | schemeFunction ℓ n A hℓ χ (f.left z) + schemeFunction ℓ n A hℓ χ (g.left z) := by |
| 118 | let : IsFinite (T).hom := (AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction.torsionScheme_finite_etale A N |
| 119 | (by rw [Nat.cast_pow]; exact pow_ne_zero n hℓ)).1 |
| 120 | exact Finite.GroupSchemeCharacters.pullback_mul T |
| 121 | (χ.comp (pointEquiv ℓ n A).toMonoidHom.toAdditive) f g z |
| 122 | |
| 123 | def cocycle (χ : Additive (AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) →+ ZMod N) : |
| 124 | (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).obj.obj (op D) := |
| 125 | ULift.up ((schemeFunction ℓ n A hℓ χ).comp |
| 126 | ⟨(difference ℓ n A hℓ a b).left, (difference ℓ n A hℓ a b).left.continuous⟩) |
| 127 | |
| 128 | omit [Fact (Nat.Prime ℓ)] [GeometricallyIntegral A.hom] in |
| 129 | theorem cocycle_condition (χ : Additive (AlgebraicGeometry.FormalGeometry.Completion.TorsionPointAction.Construction.geometricTorsionPoints A N) →+ ZMod N) |
| 130 | (V : A.left.ProEt) (p q r : V ⟶ D) |
| 131 | (hpa : p ≫ a = r ≫ a) (hpb : p ≫ b = q ≫ a) (hqb : q ≫ b = r ≫ b) : |
| 132 | (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).obj.map p.op (cocycle ℓ n A hℓ χ) + |
| 133 | (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).obj.map q.op (cocycle ℓ n A hℓ χ) = |
| 134 | (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).obj.map r.op (cocycle ℓ n A hℓ χ) := by |
| 135 | have he : (siteMap A p ≫ difference ℓ n A hℓ a b) * |
| 136 | (siteMap A q ≫ difference ℓ n A hℓ a b) = siteMap A r ≫ difference ℓ n A hℓ a b := by |
| 137 | rw [difference_comp, difference_comp, difference_comp, ← hpa, ← hqb, hpb] |
| 138 | exact difference_cocycle ℓ n A hℓ _ _ _ |
| 139 | apply ULift.ext |
| 140 | apply ContinuousMap.ext |
| 141 | intro z |
| 142 | change schemeFunction ℓ n A hℓ χ ((siteMap A p ≫ difference ℓ n A hℓ a b).left z) + |
| 143 | schemeFunction ℓ n A hℓ χ ((siteMap A q ≫ difference ℓ n A hℓ a b).left z) = |
| 144 | schemeFunction ℓ n A hℓ χ ((siteMap A r ≫ difference ℓ n A hℓ a b).left z) |
| 145 | rw [← schemeFunction_mul, he] |
| 146 | |
| 147 | end |
| 148 | |
| 149 | end OAI.NumberTheory.PadicHodge.IntegralComparison.MultiplicationOverlapCocycles |