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.ArithmeticGeometry.Descent.CMVariety.SmoothArithmetic |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.SmoothEnhancedTupleSpread |
| 3 | |
| 4 | /-! # Enhanced Chart -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace ArithmeticGeometry.Descent.CMVariety |
| 11 | |
| 12 | /-! Transport actual enhanced fibers and their extra tuples into the |
| 13 | constructed injective arithmetic chart, and compare successive pullbacks. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | def AbelianEndomorphism.AbelianEndomorphismTuple.conjugate |
| 19 | {Index : Type} {g : ℕ} {S : Scheme} {A B : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} |
| 20 | (k : AbelianEndomorphism.AbelianEndomorphismTuple Index B) (e : A.scheme ≅ B.scheme) (he : IsMonHom e.hom) : |
| 21 | AbelianEndomorphism.AbelianEndomorphismTuple Index A where |
| 22 | map i := e.hom ≫ k.map i ≫ e.inv |
| 23 | group i := by |
| 24 | let : IsMonHom e.hom := he |
| 25 | infer_instance |
| 26 | |
| 27 | theorem AbelianEndomorphism.AbelianEndomorphismTuple.conjugate_comparison |
| 28 | {Index : Type} {g : ℕ} {S : Scheme} {A B : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} |
| 29 | (k : AbelianEndomorphism.AbelianEndomorphismTuple Index B) (e : A.scheme ≅ B.scheme) (he : IsMonHom e.hom) : |
| 30 | AbelianEndomorphism.ConjugateAbelianTuples e (k.conjugate e he) k := fun _ => rfl |
| 31 | |
| 32 | def SmoothArithmetic.Abelian.SmoothArithmeticChart.enhancedFiberIso |
| 33 | {X : Scheme} {f : X ⟶ Spec (CommRingCat.of ℚ)} {p : Spec (CommRingCat.of ℂ) ⟶ X} |
| 34 | (C : SmoothArithmetic.Abelian.SmoothArithmeticChart f p) {g N r : ℕ} {δ : Fin g → ℕ} |
| 35 | (A : ModuliObjects.Abelian.EnhancedAbelianData g δ N r X) : |
| 36 | ModuliObjects.Abelian.EnhancedAbelianIso ((A.pullback C.map).pullback (Spec.map (CommRingCat.ofHom C.point.toRingHom))) |
| 37 | (A.pullback p) := |
| 38 | EnhancedCoefficientComparisons.Abelian.iteratedEnhancedPullbackIso A C.map (Spec.map (CommRingCat.ofHom C.point.toRingHom)) p C.recovers |
| 39 | |
| 40 | def SmoothArithmetic.Abelian.SmoothArithmeticChart.fiberTuple |
| 41 | {X : Scheme} {f : X ⟶ Spec (CommRingCat.of ℚ)} {p : Spec (CommRingCat.of ℂ) ⟶ X} |
| 42 | (C : SmoothArithmetic.Abelian.SmoothArithmeticChart f p) {g N r m : ℕ} {δ : Fin g → ℕ} |
| 43 | (A : ModuliObjects.Abelian.EnhancedAbelianData g δ N r X) |
| 44 | (k : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) (A.pullback p).polarized.abelian) : |
| 45 | AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) |
| 46 | ((A.pullback C.map).pullback (Spec.map (CommRingCat.ofHom C.point.toRingHom))).polarized.abelian := |
| 47 | k.conjugate (C.enhancedFiberIso A).polarized.abelian (C.enhancedFiberIso A).polarized.abelianGroup |
| 48 | |
| 49 | theorem SmoothArithmetic.Abelian.SmoothArithmeticChart.fiberTuple_comparison |
| 50 | {X : Scheme} {f : X ⟶ Spec (CommRingCat.of ℚ)} {p : Spec (CommRingCat.of ℂ) ⟶ X} |
| 51 | (C : SmoothArithmetic.Abelian.SmoothArithmeticChart f p) {g N r m : ℕ} {δ : Fin g → ℕ} |
| 52 | (A : ModuliObjects.Abelian.EnhancedAbelianData g δ N r X) |
| 53 | (k : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) (A.pullback p).polarized.abelian) : |
| 54 | AbelianEndomorphism.ConjugateAbelianTuples (C.enhancedFiberIso A).polarized.abelian (C.fiberTuple A k) k := |
| 55 | k.conjugate_comparison _ _ |
| 56 | |
| 57 | def ModuliObjects.Abelian.EnhancedAbelianIso.extendPullback |
| 58 | {g N r : ℕ} {δ : Fin g → ℕ} {X S T : Scheme} |
| 59 | (A : ModuliObjects.Abelian.EnhancedAbelianData g δ N r X) (G : ModuliObjects.Abelian.EnhancedAbelianData g δ N r S) |
| 60 | (j : S ⟶ X) (e : ModuliObjects.Abelian.EnhancedAbelianIso G (A.pullback j)) (f : T ⟶ S) : |
| 61 | ModuliObjects.Abelian.EnhancedAbelianIso (G.pullback f) (A.pullback (f ≫ j)) := |
| 62 | (e.pullback f).trans (ModuliObjects.Abelian.EnhancedAbelianIso.pullbackComp A j f) |
| 63 | |
| 64 | theorem AbelianEndomorphism.ConjugateAbelianTuples.trans_enhanced |
| 65 | {g N r m : ℕ} {δ : Fin g → ℕ} {S : Scheme} |
| 66 | {A B C : ModuliObjects.Abelian.EnhancedAbelianData g δ N r S} |
| 67 | (e : ModuliObjects.Abelian.EnhancedAbelianIso A B) (d : ModuliObjects.Abelian.EnhancedAbelianIso B C) |
| 68 | (a : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) A.polarized.abelian) |
| 69 | (b : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) B.polarized.abelian) |
| 70 | (c : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) C.polarized.abelian) |
| 71 | (he : AbelianEndomorphism.ConjugateAbelianTuples e.polarized.abelian a b) |
| 72 | (hd : AbelianEndomorphism.ConjugateAbelianTuples d.polarized.abelian b c) : |
| 73 | AbelianEndomorphism.ConjugateAbelianTuples (e.trans d).polarized.abelian a c := |
| 74 | AbelianEndomorphism.ConjugateAbelianTuples.trans e.polarized.abelian d.polarized.abelian a b c he hd |
| 75 | |
| 76 | end ArithmeticGeometry.Descent.CMVariety |
| 77 | |
| 78 | namespace ArithmeticGeometry.Descent.CMVariety.EnhancedChart.Abelian |
| 79 | |
| 80 | /-! |
| 81 | Construct a smooth integral arithmetic parameter carrying the original |
| 82 | enhanced family and any finite tuple of extra complex-fiber group maps. |
| 83 | The map to the original parameter, the global enhanced comparison, and |
| 84 | the full enhanced comparison on the specified fiber are actual data. |
| 85 | This is a parameter construction, not a moduli representability claim. |
| 86 | -/ |
| 87 | |
| 88 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 89 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 90 | |
| 91 | structure SmoothEnhancedParameter {X : Scheme} |
| 92 | (f : X ⟶ Spec (CommRingCat.of ℚ)) {g N r m : ℕ} {δ : Fin g → ℕ} |
| 93 | (A : ModuliObjects.Abelian.EnhancedAbelianData g δ N r X) (p : Spec (CommRingCat.of ℂ) ⟶ X) |
| 94 | (k : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) (A.pullback p).polarized.abelian) where |
| 95 | space : Scheme |
| 96 | map : space ⟶ X |
| 97 | integral : IsIntegral space |
| 98 | smooth : Smooth (map ≫ f) |
| 99 | point : Spec (CommRingCat.of ℂ) ⟶ space |
| 100 | point_eq : point ≫ map = p |
| 101 | chart : SmoothArithmetic.Abelian.SmoothArithmeticChart f p |
| 102 | chartMap : space ⟶ Spec (CommRingCat.of chart.ring) |
| 103 | chartMap_smooth : Smooth chartMap |
| 104 | map_eq : map = chartMap ≫ chart.map |
| 105 | point_chart : point ≫ chartMap = Spec.map (CommRingCat.ofHom chart.point.toRingHom) |
| 106 | family : ModuliObjects.Abelian.EnhancedAbelianData g δ N r space |
| 107 | comparison : ModuliObjects.Abelian.EnhancedAbelianIso family (A.pullback map) |
| 108 | extraTuple : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) family.polarized.abelian |
| 109 | fiberComparison : ModuliObjects.Abelian.EnhancedAbelianIso (family.pullback point) (A.pullback p) |
| 110 | extraRecovery : AbelianEndomorphism.ConjugateAbelianTuples fiberComparison.polarized.abelian |
| 111 | (extraTuple.pullback point) k |
| 112 | |
| 113 | attribute [instance] SmoothEnhancedParameter.integral SmoothEnhancedParameter.smooth |
| 114 | SmoothEnhancedParameter.chartMap_smooth |
| 115 | |
| 116 | theorem smooth_enhanced_parameter_exists |
| 117 | {X : Scheme} (f : X ⟶ Spec (CommRingCat.of ℚ)) [LocallyOfFiniteType f] |
| 118 | {g N r m : ℕ} {δ : Fin g → ℕ} |
| 119 | (A : ModuliObjects.Abelian.EnhancedAbelianData g δ N r X) (p : Spec (CommRingCat.of ℂ) ⟶ X) |
| 120 | (k : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) (A.pullback p).polarized.abelian) : |
| 121 | Nonempty (SmoothEnhancedParameter f A p k) := by |
| 122 | obtain ⟨C⟩ := SmoothArithmetic.Abelian.complex_point_has_smooth_arithmetic_chart f p |
| 123 | let R := C.ring |
| 124 | let : Algebra R ℂ := C.point.toRingHom.toAlgebra |
| 125 | let : CharZero R := C.point.toRingHom.charZero |
| 126 | let : IsNoetherianRing R := Algebra.FiniteType.isNoetherianRing ℚ R |
| 127 | have hR : Function.Injective (algebraMap R ℂ) := C.injective |
| 128 | let pR := Spec.map (CommRingCat.ofHom (algebraMap R ℂ)) |
| 129 | let F := A.pullback C.map |
| 130 | let kR : AbelianEndomorphism.AbelianEndomorphismTuple (Fin m) (F.pullback pR).polarized.abelian := C.fiberTuple A k |
| 131 | obtain ⟨s, t, U, hU, hsm, q, hq, a, ha, _⟩ := |
| 132 | SmoothEnhancedTupleSpread.Abelian.enhanced_tuple_spreads_over_smooth_neighborhood R hR F kR |
| 133 | let b₁ := FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R ℂ s.unop |
| 134 | let b₂ := FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R ℂ s.unop) ℂ t.unop |
| 135 | let v := U.ι ≫ AbelianEndomorphism.twoStageCoefficientBaseMap R ℂ s t |
| 136 | let j := v ≫ C.map |
| 137 | let G := (EnhancedCoefficientComparisons.Abelian.twoStageEnhancedFamily R ℂ F s t).pullback U.ι |
| 138 | let : Smooth v := hsm |
| 139 | let : Smooth (Spec.map (CommRingCat.ofHom (algebraMap ℚ R))) := |
| 140 | (HasRingHomProperty.Spec_iff (P := @Smooth)).mpr (RingHom.smooth_algebraMap.mpr C.smooth) |
| 141 | have hjsmooth : Smooth (j ≫ f) := by |
| 142 | have hEq : j ≫ f = v ≫ Spec.map (CommRingCat.ofHom (algebraMap ℚ R)) := by |
| 143 | change (v ≫ C.map) ≫ f = _ |
| 144 | rw [Category.assoc, C.structure_eq] |
| 145 | rw [hEq] |
| 146 | infer_instance |
| 147 | have hqv : q ≫ v = pR := by |
| 148 | calc |
| 149 | q ≫ v = (q ≫ U.ι) ≫ AbelianEndomorphism.twoStageCoefficientBaseMap R ℂ s t := (Category.assoc _ _ _).symm |
| 150 | _ = AbelianCoefficientComparison.coefficientInclusion (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R ℂ s.unop) ℂ t ≫ |
| 151 | AbelianEndomorphism.twoStageCoefficientBaseMap R ℂ s t := congrArg (fun u => u ≫ AbelianEndomorphism.twoStageCoefficientBaseMap R ℂ s t) hq |
| 152 | _ = pR := AbelianEndomorphism.twoStageCoefficientInclusion_base R ℂ s t |
| 153 | have hpoint : q ≫ j = p := by |
| 154 | change q ≫ (v ≫ C.map) = p |
| 155 | rw [← Category.assoc, hqv] |
| 156 | exact C.recovers |
| 157 | let e₁ := ModuliObjects.Abelian.EnhancedAbelianIso.pullbackComp A C.map b₁ |
| 158 | let e₂ := ModuliObjects.Abelian.EnhancedAbelianIso.extendPullback A (F.pullback b₁) (b₁ ≫ C.map) e₁ b₂ |
| 159 | let e₃ := ModuliObjects.Abelian.EnhancedAbelianIso.extendPullback A ((F.pullback b₁).pullback b₂) |
| 160 | (b₂ ≫ b₁ ≫ C.map) e₂ U.ι |
| 161 | have hj : U.ι ≫ (b₂ ≫ b₁ ≫ C.map) = j := by |
| 162 | simp only [j, v, b₁, b₂, AbelianEndomorphism.twoStageCoefficientBaseMap, Category.assoc] |
| 163 | let eGlobal : ModuliObjects.Abelian.EnhancedAbelianIso G (A.pullback j) := |
| 164 | e₃.trans (ModuliObjects.Abelian.EnhancedAbelianIso.pullbackCongr A (U.ι ≫ (b₂ ≫ b₁ ≫ C.map)) j hj) |
| 165 | let eS : ModuliObjects.Abelian.EnhancedAbelianIso (G.pullback q) (F.pullback pR) := |
| 166 | SmoothEnhancedTupleSpread.Abelian.smoothCoefficientEnhancedComparison R F s t U q hq |
| 167 | let eR : ModuliObjects.Abelian.EnhancedAbelianIso (F.pullback pR) (A.pullback p) := C.enhancedFiberIso A |
| 168 | have hrec : AbelianEndomorphism.ConjugateAbelianTuples (eS.trans eR).polarized.abelian (a.pullback q) k := |
| 169 | AbelianEndomorphism.ConjugateAbelianTuples.trans_enhanced eS eR (a.pullback q) kR k ha (C.fiberTuple_comparison A k) |
| 170 | exact ⟨{ |
| 171 | space := U |
| 172 | map := j |
| 173 | integral := hU |
| 174 | smooth := hjsmooth |
| 175 | point := q |
| 176 | point_eq := hpoint |
| 177 | chart := C |
| 178 | chartMap := v |
| 179 | chartMap_smooth := hsm |
| 180 | map_eq := rfl |
| 181 | point_chart := hqv |
| 182 | family := G |
| 183 | comparison := eGlobal |
| 184 | extraTuple := a |
| 185 | fiberComparison := eS.trans eR |
| 186 | extraRecovery := hrec }⟩ |
| 187 | |
| 188 | end ArithmeticGeometry.Descent.CMVariety.EnhancedChart.Abelian |
| 189 | |
| 190 | end |
| 191 | |
| 192 | end OAI |