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.AbelianModuli.ReferenceFamily.PEL.Classifying |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.ModuliObjects |
| 3 | import Mathlib.CategoryTheory.Subfunctor.Image |
| 4 | |
| 5 | /-! # Enhancement -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.Enhancement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Record the integral PEL action by finitely many actual endomorphisms. |
| 12 | Preserving the chosen integral basis is equivalent to preserving the full action. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | section IntegralAction |
| 18 | |
| 19 | variable {O Idx : Type} [CommRing O] {S : Scheme} {g h : ℕ} |
| 20 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h S) |
| 21 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction O A) (σ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction O B) |
| 22 | (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 23 | |
| 24 | def postActionLinear : O →ₗ[ℤ] Additive (A.scheme ⟶ B.scheme) := |
| 25 | AddMonoidHom.toIntLinearMap { |
| 26 | toFun := fun a => Additive.ofMul (ρ.map a ≫ f) |
| 27 | map_zero' := by rw [ρ.map_zero, MonObj.one_comp]; rfl |
| 28 | map_add' := by intro a b; rw [ρ.map_add, MonObj.mul_comp]; rfl } |
| 29 | |
| 30 | omit [IsMonHom f] in |
| 31 | def preActionLinear : O →ₗ[ℤ] Additive (A.scheme ⟶ B.scheme) := |
| 32 | AddMonoidHom.toIntLinearMap { |
| 33 | toFun := fun a => Additive.ofMul (f ≫ σ.map a) |
| 34 | map_zero' := by rw [σ.map_zero, MonObj.comp_one]; rfl |
| 35 | map_add' := by intro a b; rw [σ.map_add, MonObj.comp_mul]; rfl } |
| 36 | |
| 37 | theorem action_equivariant_of_basis (b : Module.Basis Idx ℤ O) |
| 38 | (hb : ∀ i, ρ.map (b i) ≫ f = f ≫ σ.map (b i)) : |
| 39 | ∀ a : O, ρ.map a ≫ f = f ≫ σ.map a := by |
| 40 | have he : postActionLinear A B ρ f = preActionLinear A B σ f := |
| 41 | b.ext (fun i => congrArg Additive.ofMul (hb i)) |
| 42 | intro a |
| 43 | exact congrArg Additive.toMul (LinearMap.congr_fun he a) |
| 44 | |
| 45 | end IntegralAction |
| 46 | |
| 47 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 48 | [NumberField.IsCMField E] [Field K] |
| 49 | {s N r : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 50 | {T : Over (Spec (.of K))} |
| 51 | |
| 52 | /-- Any finite integral basis records the entire PEL action in CMAbelianVariety's format. -/ |
| 53 | def pelEnhancement (b : Module.Basis (Fin r) ℤ (NumberField.RingOfIntegers E)) |
| 54 | (A : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N T) : |
| 55 | ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.EnhancedAbelianData (3 * s) P.polarizationType N r T.left where |
| 56 | polarized := A.polarized |
| 57 | endomorphism i := A.action.map (b i) |
| 58 | endomorphism_group i := A.action.preservesGroup (b i) |
| 59 | |
| 60 | def pelEnhancementIso (b : Module.Basis (Fin r) ℤ (NumberField.RingOfIntegers E)) |
| 61 | {A B : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N T} (e : AbelianModuli.ReferenceFamily.PEL.Objects.PELIso A B) : |
| 62 | ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.EnhancedAbelianIso (pelEnhancement b A) (pelEnhancement b B) where |
| 63 | polarized := e.polarized |
| 64 | equivariant i := e.action (b i) |
| 65 | |
| 66 | def pelIsoOfEnhancement (b : Module.Basis (Fin r) ℤ (NumberField.RingOfIntegers E)) |
| 67 | {A B : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N T} |
| 68 | (e : ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.EnhancedAbelianIso (pelEnhancement b A) (pelEnhancement b B)) : |
| 69 | AbelianModuli.ReferenceFamily.PEL.Objects.PELIso A B := { |
| 70 | polarized := e.polarized |
| 71 | action := @action_equivariant_of_basis _ _ _ _ _ _ |
| 72 | A.polarized.abelian B.polarized.abelian A.action B.action |
| 73 | e.polarized.abelian.hom e.polarized.abelianGroup b e.equivariant } |
| 74 | |
| 75 | def pelEnhancementClasses (b : Module.Basis (Fin r) ℤ (NumberField.RingOfIntegers E)) : |
| 76 | AbelianModuli.ReferenceFamily.PEL.Objects.PELClasses P iota N T → |
| 77 | ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.EnhancedAbelianClasses (3 * s) P.polarizationType N r T.left := |
| 78 | Quotient.map (pelEnhancement b) (fun _ _ ⟨e⟩ => ⟨pelEnhancementIso b e⟩) |
| 79 | |
| 80 | theorem pelEnhancementClasses_injective |
| 81 | (b : Module.Basis (Fin r) ℤ (NumberField.RingOfIntegers E)) : |
| 82 | Function.Injective (pelEnhancementClasses (P := P) (iota := iota) (N := N) (T := T) b) := by |
| 83 | intro x y |
| 84 | induction x using Quotient.inductionOn with |
| 85 | | h A => |
| 86 | induction y using Quotient.inductionOn with |
| 87 | | h B => |
| 88 | intro h |
| 89 | obtain ⟨e⟩ := Quotient.exact h |
| 90 | exact Quotient.sound ⟨pelIsoOfEnhancement b e⟩ |
| 91 | |
| 92 | theorem pelEnhancementClasses_pullback |
| 93 | (b : Module.Basis (Fin r) ℤ (NumberField.RingOfIntegers E)) |
| 94 | {U : Over (Spec (.of K))} (f : T ⟶ U) (x : AbelianModuli.ReferenceFamily.PEL.Objects.PELClasses P iota N U) : |
| 95 | pelEnhancementClasses b (AbelianModuli.ReferenceFamily.PEL.Objects.PELClasses.pullback f x) = |
| 96 | ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.EnhancedAbelianClasses.pullback f.left (pelEnhancementClasses b x) := by |
| 97 | induction x using Quotient.inductionOn with |
| 98 | | h A => rfl |
| 99 | |
| 100 | def pelEnhancementTransformation |
| 101 | (b : Module.Basis (Fin r) ℤ (NumberField.RingOfIntegers E)) : |
| 102 | AbelianModuli.ReferenceFamily.PEL.Classifying.pelModuliFunctor P iota N ⟶ |
| 103 | ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.enhancedAbelianModuliOver (3 * s) P.polarizationType N r (Spec (.of K)) where |
| 104 | app T := TypeCat.ofHom (pelEnhancementClasses b) |
| 105 | naturality T U f := by |
| 106 | ext x |
| 107 | exact pelEnhancementClasses_pullback b f.unop x |
| 108 | |
| 109 | /-- The PEL locus is an actual subfunctor of CMAbelianVariety's enhanced moduli functor. -/ |
| 110 | def pelEnhancementLocus |
| 111 | (b : Module.Basis (Fin r) ℤ (NumberField.RingOfIntegers E)) : |
| 112 | Subfunctor (ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.enhancedAbelianModuliOver (3 * s) P.polarizationType N r (Spec (.of K))) := |
| 113 | Subfunctor.range (pelEnhancementTransformation (P := P) (iota := iota) b) |
| 114 | |
| 115 | theorem pelClassifying_bijective |
| 116 | (M : AbelianModuli.ReferenceFamily.Models.FinePELModel P iota N) (hM : M.IsFine) |
| 117 | (T : Over (Spec (.of K))) : |
| 118 | Function.Bijective (fun f : T ⟶ M.space => (M.universal.pullback f).classOf) := by |
| 119 | constructor |
| 120 | · intro f g hfg |
| 121 | have hf : Nonempty (AbelianModuli.ReferenceFamily.Models.PELPullbackIso M.universal (M.universal.pullback f) f) := |
| 122 | (AbelianModuli.ReferenceFamily.Models.PELPullbackIso.nonempty_iff_classOf f).mpr rfl |
| 123 | have hg : Nonempty (AbelianModuli.ReferenceFamily.Models.PELPullbackIso M.universal (M.universal.pullback f) g) := |
| 124 | (AbelianModuli.ReferenceFamily.Models.PELPullbackIso.nonempty_iff_classOf g).mpr hfg |
| 125 | exact ExistsUnique.unique (hM T (M.universal.pullback f)) hf hg |
| 126 | · intro x |
| 127 | obtain ⟨A, rfl⟩ := Quotient.exists_rep x |
| 128 | obtain ⟨f, hf, _⟩ := hM T A |
| 129 | exact ⟨f, ((AbelianModuli.ReferenceFamily.Models.PELPullbackIso.nonempty_iff_classOf f).mp hf).symm⟩ |
| 130 | |
| 131 | /-- The explicit IsFine predicate provides representability on all test schemes. -/ |
| 132 | def pelRepresentable (M : AbelianModuli.ReferenceFamily.Models.FinePELModel P iota N) (hM : M.IsFine) : |
| 133 | (AbelianModuli.ReferenceFamily.PEL.Classifying.pelModuliFunctor P iota N).RepresentableBy M.space where |
| 134 | homEquiv := Equiv.ofBijective _ (pelClassifying_bijective M hM _) |
| 135 | homEquiv_comp f g := AbelianModuli.ReferenceFamily.PEL.Objects.PELClasses.pullback_comp g f M.universal.classOf |
| 136 | |
| 137 | /-- The same actual PEL moduli space represents its locus in the finite |
| 138 | enhanced moduli problem, as required by CMAbelianVariety. -/ |
| 139 | def pelEnhancementRepresentable |
| 140 | (b : Module.Basis (Fin r) ℤ (NumberField.RingOfIntegers E)) |
| 141 | (M : AbelianModuli.ReferenceFamily.Models.FinePELModel P iota N) (hM : M.IsFine) : |
| 142 | (pelEnhancementLocus (P := P) (iota := iota) (N := N) b).toFunctor.RepresentableBy M.space := by |
| 143 | let α := pelEnhancementTransformation (P := P) (iota := iota) (N := N) b |
| 144 | let β := Subfunctor.toRange α |
| 145 | let hβ : IsIso β := (NatTrans.isIso_iff_isIso_app β).mpr (fun T => |
| 146 | (CategoryTheory.isIso_iff_bijective (β.app T)).mpr (by |
| 147 | constructor |
| 148 | · intro x y h |
| 149 | apply pelEnhancementClasses_injective b |
| 150 | exact congrArg Subtype.val h |
| 151 | · rintro ⟨y, x, hx⟩ |
| 152 | exact ⟨x, Subtype.ext hx⟩)) |
| 153 | exact (pelRepresentable M hM).ofIso (@asIso _ _ _ _ β hβ) |
| 154 | |
| 155 | end |
| 156 | |
| 157 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.Enhancement |