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.AbelianScheme.TateComparison.PELModuli |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Products |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Neighbors |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.HeckeKernel |
| 5 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Product |
| 6 | |
| 7 | /-! # Data -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | Candidate input for TateComparison, using actual integral PEL families, component |
| 15 | schemes, and finite etale correspondences. IntegralModel's geometric conclusions and |
| 16 | the good split-prime conditions are separate propositions. No Hecke action, |
| 17 | trace, flag classification, or convolution identity occurs in the record. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 21 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj TensorProduct |
| 22 | |
| 23 | variable (K : Type) [Field K] [NumberField K] |
| 24 | |
| 25 | abbrev modelRing (d : ℕ) := Localization.Away (d : NumberField.RingOfIntegers K) |
| 26 | abbrev modelBase (d : ℕ) : Scheme := Spec (.of (modelRing K d)) |
| 27 | |
| 28 | def modelGeneric (d : ℕ) (hd : d ≠ 0) : Spec (.of K) ⟶ modelBase K d := |
| 29 | Spec.map (CommRingCat.ofHom (ArithmeticGeometry.Models.Algebra.Constructions.Foundations.integersAwayToField K d hd)) |
| 30 | |
| 31 | variable (E : Type) [Field E] [NumberField E] [NumberField.IsCMField E] |
| 32 | |
| 33 | /-- Genuine PEL and Albanese candidates over a localized ring of integers, |
| 34 | and genuine generic-fiber correspondence covers. Existence and geometric |
| 35 | classification are not fields of this record. -/ |
| 36 | structure SphericalPELAlbaneseData |
| 37 | (E K : Type) [Field E] [NumberField E] [NumberField.IsCMField E] |
| 38 | [Field K] [NumberField K] (s q : ℕ) [Fact q.Prime] where |
| 39 | reference : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s |
| 40 | fieldEmbedding : E →+* K |
| 41 | complexEmbedding : K →+* ℂ |
| 42 | level : ℕ |
| 43 | denominator : ℕ |
| 44 | denominator_ne_zero : denominator ≠ 0 |
| 45 | model : PELModuli.PELModuliCandidate reference level (modelBase K denominator) |
| 46 | componentCount : ℕ |
| 47 | components : PELModuli.IntegralModel.Components.ComponentAlbaneseData model.space componentCount |
| 48 | inclusion : ∀ j, components.S j ⟶ model.space |
| 49 | correspondence : Local.IntegralType s → Correspondences.EtaleCorrespondence |
| 50 | ((Over.pullback (modelGeneric K denominator denominator_ne_zero)).obj model.space) |
| 51 | localCharacter : Fin s × Bool → NumberField.RingOfIntegers E →+* ℤ_[q] |
| 52 | |
| 53 | namespace SphericalPELAlbaneseData |
| 54 | |
| 55 | variable {E K} {s q : ℕ} [Fact q.Prime] (D : SphericalPELAlbaneseData E K s q) |
| 56 | |
| 57 | abbrev generic := modelGeneric K D.denominator D.denominator_ne_zero |
| 58 | abbrev space := (Over.pullback D.generic).obj D.model.space |
| 59 | |
| 60 | /-- The generic universal family is an actual pullback of the integral one. -/ |
| 61 | abbrev family : PEL.PELFamilyData (NumberField.RingOfIntegers E) (3 * s) D.level D.space.left := |
| 62 | D.model.family.pullback (pullback.fst D.model.space.hom D.generic) |
| 63 | |
| 64 | abbrev complexPoint : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ modelBase K D.denominator := |
| 65 | Spec.map (CommRingCat.ofHom D.complexEmbedding) ≫ D.generic |
| 66 | |
| 67 | /-- The base action is induced by the number-field embedding on integers. -/ |
| 68 | def baseAction : NumberField.RingOfIntegers E →+* Γ(modelBase K D.denominator, ⊤) := |
| 69 | (Scheme.ΓSpecIso (.of (modelRing K D.denominator))).inv.hom.comp |
| 70 | ((algebraMap (NumberField.RingOfIntegers K) (modelRing K D.denominator)).comp |
| 71 | (NumberField.RingOfIntegers.mapRingHom D.fieldEmbedding)) |
| 72 | |
| 73 | abbrev componentAssembly := Sigma.desc D.inclusion |
| 74 | |
| 75 | /-- Exactly the geometric inputs supplied by IntegralModel, including the actual |
| 76 | Albanese universal properties, Betti map, and uniform fiberwise generation. -/ |
| 77 | structure HasIntegralModelGeometry : Prop where |
| 78 | reference_admissible : D.reference.IsAdmissible |
| 79 | embedding : D.complexEmbedding.comp D.fieldEmbedding = D.reference.μ |
| 80 | fullLevel : 3 ≤ D.level |
| 81 | levelUnit : IsUnit (D.level : modelRing K D.denominator) |
| 82 | classifies : D.model.ClassifiesReduced D.baseAction |
| 83 | reduced : IsReduced D.model.space.left |
| 84 | smooth : Smooth D.model.space.hom |
| 85 | proper : IsProper D.model.space.hom |
| 86 | projective : PELModuli.IntegralModel.Components.RelativelyProjective D.model.space |
| 87 | decomposition : IsIso D.componentAssembly |
| 88 | componentGeometry : ∀ j, |
| 89 | Smooth (D.components.S j).hom ∧ IsProper (D.components.S j).hom ∧ |
| 90 | PELModuli.IntegralModel.Components.RelativelyProjective (D.components.S j) ∧ |
| 91 | GeometricallyConnected (D.components.S j).hom |
| 92 | abelianGeometry : ∀ j, |
| 93 | Smooth (D.components.A j).X.hom ∧ IsProper (D.components.A j).X.hom ∧ |
| 94 | GeometricallyConnected (D.components.A j).X.hom |
| 95 | albanese : ∀ j, D.components.IsComplexAlbanese D.complexPoint j |
| 96 | betti : letI := decomposition |
| 97 | Function.Bijective (PELModuli.IntegralModel.Product.bettiPullbackQ |
| 98 | (D.components.totalComplexMap D.complexPoint (asIso D.componentAssembly)) 1) |
| 99 | generation : ∀ j, ∃ n : ℕ, 0 < n ∧ |
| 100 | ∀ t : PELModuli.IntegralModel.Base.GeometricPoint (modelBase K D.denominator), |
| 101 | Function.Surjective (D.components.sumOfDifferences j n t) |
| 102 | |
| 103 | /-- The product Albanese and its integral endomorphism ring are constructed |
| 104 | from the component group schemes, followed by actual base change to K. -/ |
| 105 | abbrev albaneseGroup : CommGrp (Over (Spec (.of K))) := |
| 106 | BaseChange.baseChangedGroup (Products.componentProduct D.components.A).X D.generic |
| 107 | abbrev EndK := End.IntegralEnd D.albaneseGroup.X |
| 108 | abbrev EndQ := End.RationalEnd D.albaneseGroup.X |
| 109 | abbrev toRational := End.endToRational D.albaneseGroup.X |
| 110 | |
| 111 | /-- The total Albanese map is assembled using the IntegralModel decomposition. -/ |
| 112 | def albaneseMap (h : D.HasIntegralModelGeometry) : D.space ⟶ D.albaneseGroup.X := by |
| 113 | let : IsIso D.componentAssembly := h.decomposition |
| 114 | exact (Over.pullback D.generic).map |
| 115 | (D.components.totalMap (asIso D.componentAssembly) ≫ |
| 116 | (Products.componentProductComparison D.components.A).inv) |
| 117 | |
| 118 | /-- The completion map is built from the chosen integral local characters. -/ |
| 119 | def localCompletionMap : |
| 120 | ℤ_[q] ⊗[ℤ] NumberField.RingOfIntegers E →ₐ[ℤ] (Fin s × Bool → ℤ_[q]) := |
| 121 | Algebra.TensorProduct.lift |
| 122 | (algebraMap ℤ_[q] (Fin s × Bool → ℤ_[q])).toIntAlgHom |
| 123 | (RingHom.pi D.localCharacter).toIntAlgHom (fun _ _ => Commute.all _ _) |
| 124 | |
| 125 | /-- Complete splitting is the actual product decomposition of the integral |
| 126 | completion. The same prime avoids level, polarization, and model denominators. -/ |
| 127 | def IsGoodCompletelySplitPrime : Prop := |
| 128 | Function.Bijective D.localCompletionMap ∧ |
| 129 | (∀ (v : Fin s) (side : Bool) (a : NumberField.RingOfIntegers E), |
| 130 | D.localCharacter (v, !side) a = D.localCharacter (v, side) |
| 131 | (NumberField.IsCMField.ringOfIntegersComplexConj E a)) ∧ |
| 132 | Nat.Coprime q D.level ∧ Nat.Coprime q D.denominator ∧ |
| 133 | Nat.Coprime q (∏ i, D.reference.polarizationType i) |
| 134 | |
| 135 | /-- Neighbor multiplicity is derived from the actual finite source fiber. -/ |
| 136 | abbrev neighbors (t : Local.IntegralType s) {k : Type} [Field k] [IsAlgClosed k] |
| 137 | (b : Spec (.of k) ⟶ Spec (.of K)) (x : Over.mk b ⟶ D.space) := |
| 138 | (D.correspondence t).neighbors b x |
| 139 | |
| 140 | end SphericalPELAlbaneseData |
| 141 | |
| 142 | end |
| 143 | |
| 144 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data |