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.PELModuli.CMPoints.ComponentDiagram |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.SpreadActions |
| 3 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.SpreadScalarFactorization |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveTransport |
| 5 | |
| 6 | /-! # Spread Data -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The constructed CM diagram over an arithmetic base, with full |
| 13 | relative actions and the actual scalar splitting recovered from its arrows. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveTransport |
| 16 | |
| 17 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 18 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 19 | (M : Models.RankThreePELModel E K) |
| 20 | |
| 21 | structure Models.RankThreePELModel.CMSpreadData (hM : M.HasPrescribedBallPeriods) (a : M.Family) |
| 22 | (t : Fin (M.componentCount a)) where |
| 23 | component : M.CMComponentFactorData hM a t |
| 24 | arithmetic : ArithmeticComplexDiagrams.ArithmeticComplexDiagramModel (component.diagram M) (component.diagramModels M) |
| 25 | spread : AbelianDiagramSpreading.SpreadFiniteAbelianDiagram arithmetic.diagram arithmetic.embedding |
| 26 | denominator_divides : M.arithmetic.denominator ∣ spread.base.denominator |
| 27 | |
| 28 | section |
| 29 | |
| 30 | variable {M} {hM : M.HasPrescribedBallPeriods} {a : M.Family} {t : Fin (M.componentCount a)} |
| 31 | (C : M.CMSpreadData hM a t) |
| 32 | |
| 33 | abbrev Models.RankThreePELModel.CMSpreadData.base := C.spread.base |
| 34 | |
| 35 | def Models.RankThreePELModel.CMSpreadData.original : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme (3 * M.s) C.base.base := C.spread.abelian (0 : Fin 4) |
| 36 | |
| 37 | def Models.RankThreePELModel.CMSpreadData.factor (i : Fin 3) : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme (Fintype.card (NumberField.InfinitePlace E)) C.base.base := |
| 38 | C.spread.abelian i.succ |
| 39 | |
| 40 | def Models.RankThreePELModel.CMSpreadData.action (i : Fin 3) : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) (C.factor i) := |
| 41 | SpreadActions.ScalarFactorDiagram.spreadFullAction _ _ C.component.splitting |
| 42 | (Module.finBasis ℤ (NumberField.RingOfIntegers E)) (fun i => (C.component.factor i).integralAction) |
| 43 | (C.component.originalModel M) C.component.factorModel C.arithmetic C.spread i |
| 44 | |
| 45 | def Models.RankThreePELModel.CMSpreadData.splitting : TorsionFactorIso.AbelianScalarFactorization C.original C.factor := |
| 46 | SpreadScalarFactorization.ScalarFactorDiagram.spreadRelativeSplitting _ _ C.component.splitting |
| 47 | (Module.finBasis ℤ (NumberField.RingOfIntegers E)) (fun i => (C.component.factor i).integralAction) |
| 48 | (C.component.originalModel M) C.component.factorModel C.arithmetic C.spread |
| 49 | |
| 50 | def Models.RankThreePELModel.CMSpreadData.pointFieldEmbedding : C.component.field →+* C.base.extension.carrier := |
| 51 | C.arithmetic.spreadModelField C.spread (0 : Fin 4) |
| 52 | |
| 53 | theorem Models.RankThreePELModel.CMSpreadData.pointFieldEmbedding_compatible : |
| 54 | C.base.embedding.comp C.pointFieldEmbedding = C.component.field.subtype := |
| 55 | C.arithmetic.spreadModelField_compatible C.spread (0 : Fin 4) |
| 56 | |
| 57 | def Models.RankThreePELModel.CMSpreadData.originalFieldEmbedding : M.arithmetic.extension.carrier →+* C.base.extension.carrier := |
| 58 | C.pointFieldEmbedding.comp C.component.fieldEmbedding |
| 59 | |
| 60 | theorem Models.RankThreePELModel.CMSpreadData.originalFieldEmbedding_compatible : |
| 61 | C.base.embedding.comp C.originalFieldEmbedding = M.arithmetic.embedding := by |
| 62 | rw [Models.RankThreePELModel.CMSpreadData.originalFieldEmbedding, ← RingHom.comp_assoc, Models.RankThreePELModel.CMSpreadData.pointFieldEmbedding_compatible] |
| 63 | exact C.component.field_compatible |
| 64 | |
| 65 | def Models.RankThreePELModel.CMSpreadData.coefficientEmbedding : E →+* C.base.extension.carrier := |
| 66 | C.originalFieldEmbedding.comp M.extendedEmbedding |
| 67 | |
| 68 | def Models.RankThreePELModel.CMSpreadData.factorComplexIso (i : Fin 3) : |
| 69 | ((C.factor i).pullback C.base.complexPoint).scheme ≅ (C.component.factor i).abelianScheme.scheme := |
| 70 | C.arithmetic.spreadComplexComparison C.spread i.succ |
| 71 | |
| 72 | def Models.RankThreePELModel.CMSpreadData.factorProjective (i : Fin 3) : |
| 73 | Foundations.Scheme.SmoothProjective.ProjectivePresentation ((C.factor i).pullback C.base.complexPoint).scheme.left |
| 74 | ((C.factor i).pullback C.base.complexPoint).scheme.hom := by |
| 75 | let e := C.factorComplexIso i |
| 76 | let P := (C.component.factor i).realization.abelianVariety.variety.presentation.projective |
| 77 | have H := P.transportIso ((Over.forget Foundations.Scheme.ProjectiveSpace.complexBase).mapIso e) |
| 78 | change Foundations.Scheme.SmoothProjective.ProjectivePresentation _ (e.hom.left ≫ (C.component.factor i).abelianScheme.scheme.hom) at H |
| 79 | rw [e.hom.w] at H |
| 80 | exact H |
| 81 | |
| 82 | end |
| 83 | |
| 84 | theorem Models.RankThreePELModel.exists_CM_spread_data |
| 85 | [IsGalois ℚ E] |
| 86 | (hHilb : IntegralModel.Presentations.Hilbert.HilbertHomInput.{0}) (hEnd : IntegralModel.Presentations.Hilbert.EndomorphismEquationsInput.{0}) |
| 87 | (hCMAbelianVarietyA : Descent.AbelianInput) (hCMAbelianVarietyM : Descent.ModuliInput) |
| 88 | (hM : M.HasPrescribedBallPeriods) (a : M.Family) (t : Fin (M.componentCount a)) : |
| 89 | Nonempty (M.CMSpreadData hM a t) := by |
| 90 | obtain ⟨C, Q, R, hR⟩ := M.exists_spread_CM_component_diagram hHilb hEnd hCMAbelianVarietyA hCMAbelianVarietyM hM a t |
| 91 | exact ⟨⟨C, Q, R, hR⟩⟩ |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.PELModuli.CMPoints |