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.IntegralModel.PrescribedAbelian.PairPolarizationComparison |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.PrescribedAbelian.PairPolarizationCartesian |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.ScalarPolarization |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Proper.FiniteCoverDescent |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.MorphismDescent |
| 6 | |
| 7 | /-! # Pair Polarization Isogeny -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual descended polarization morphism is a finite flat |
| 14 | surjective group morphism, constructed as an isogeny on the quotient. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 19 | [CommRing R] {s L N : ℕ} [NeZero L] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 20 | {iotaO : NumberField.RingOfIntegers E →+* R} {X Q : Over (Spec (.of R))} |
| 21 | [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 22 | {U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X} {hU : U.IsFine} |
| 23 | {π : X ⟶ Q} [IsFinite π.left] [Etale π.left] [Surjective π.left] |
| 24 | {hk : IsKernelPair π.left (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left |
| 25 | (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU).left} {S : Scheme.{0}} {b : S ⟶ Spec (.of R)} |
| 26 | (B : U.PrescribedAbelianPair hU π hk b) |
| 27 | |
| 28 | variable (hrigid : U.PrescribedRigid) |
| 29 | |
| 30 | instance IntegralAdded.PELId.IntegralAddedPELLevel.PrescribedAbelianPair.polarizationMap_proper : IsProper (B.polarizationMap hrigid).left := by |
| 31 | have : IsProper ((B.polarizationMap hrigid).left ≫ B.dual.scheme.hom) := by |
| 32 | rw [(B.polarizationMap hrigid).w] |
| 33 | infer_instance |
| 34 | exact IsProper.of_comp (B.polarizationMap hrigid).left B.dual.scheme.hom |
| 35 | |
| 36 | instance IntegralAdded.PELId.IntegralAddedPELLevel.PrescribedAbelianPair.polarizationMap_finite : IsFinite (B.polarizationMap hrigid).left := by |
| 37 | have : IsFinite (B.abelianCover ≫ (B.polarizationMap hrigid).left) := by |
| 38 | rw [B.polarizationMap_cover] |
| 39 | infer_instance |
| 40 | exact Proper.FiniteCoverDescent.isFinite_of_proper_surjective_composite B.abelianCover (B.polarizationMap hrigid).left |
| 41 | |
| 42 | instance IntegralAdded.PELId.IntegralAddedPELLevel.PrescribedAbelianPair.polarizationMap_flat : Flat (B.polarizationMap hrigid).left := |
| 43 | MorphismProperty.of_isPullback_of_descendsAlong |
| 44 | (P := @Flat) (Q := @Surjective ⊓ @Flat ⊓ @QuasiCompact) |
| 45 | (B.polarizationMap_cartesian hrigid).flip |
| 46 | ⟨⟨inferInstance, inferInstance⟩, inferInstance⟩ |
| 47 | (inferInstanceAs (Flat ((Over.pullback b).map U.prescribedPolarization).left)) |
| 48 | |
| 49 | instance IntegralAdded.PELId.IntegralAddedPELLevel.PrescribedAbelianPair.polarizationMap_surjective : Surjective (B.polarizationMap hrigid).left := by |
| 50 | have : Surjective (B.abelianCover ≫ (B.polarizationMap hrigid).left) := by |
| 51 | rw [B.polarizationMap_cover] |
| 52 | infer_instance |
| 53 | exact Surjective.of_comp B.abelianCover (B.polarizationMap hrigid).left |
| 54 | |
| 55 | def IntegralAdded.PELId.IntegralAddedPELLevel.PrescribedAbelianPair.polarizationIsogeny : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny B.abelian B.dual where |
| 56 | hom := B.polarizationMap hrigid |
| 57 | preservesGroup := inferInstance |
| 58 | finite := inferInstance |
| 59 | flat := inferInstance |
| 60 | surjective := inferInstance |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |