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.IntegralDual.TotalSpace |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralPrescribed.TotalSpace |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Family.PointEq |
| 4 | |
| 5 | /-! # Space -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual universal dual-by-abelian product, its Poincare line, |
| 12 | and the given normalization along the abelian zero section. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 19 | [CommRing R] {s L N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 20 | {iotaO : NumberField.RingOfIntegers E →+* R} {X : Over (Spec (.of R))} |
| 21 | (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) |
| 22 | |
| 23 | abbrev IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPoincareSpace : Over (Spec (.of R)) := |
| 24 | (Over.map X.hom).obj (U.forgetAuxiliary.data.polarized.dual.abelian.scheme ⊗ |
| 25 | U.forgetAuxiliary.data.polarized.abelian.scheme) |
| 26 | |
| 27 | def IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPoincareDual : U.prescribedPoincareSpace ⟶ U.prescribedDualTotalSpace := |
| 28 | (Over.map X.hom).map (fst _ _) |
| 29 | |
| 30 | def IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPoincareAbelian : U.prescribedPoincareSpace ⟶ U.prescribedTotalSpace := |
| 31 | (Over.map X.hom).map (snd _ _) |
| 32 | |
| 33 | abbrev IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPoincareProjection : U.prescribedPoincareSpace ⟶ X := |
| 34 | U.prescribedPoincareDual ≫ U.prescribedDualProjection |
| 35 | |
| 36 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPoincareAbelian_projection : |
| 37 | U.prescribedPoincareAbelian ≫ U.prescribedProjection = U.prescribedPoincareProjection := |
| 38 | Over.OverMorphism.ext pullback.condition.symm |
| 39 | |
| 40 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPoincare_square : IsPullback U.prescribedPoincareDual U.prescribedPoincareAbelian |
| 41 | U.prescribedDualProjection U.prescribedProjection := by |
| 42 | apply IsPullback.of_map (F := Over.forget (Spec (.of R))) |
| 43 | · exact Over.OverMorphism.ext pullback.condition |
| 44 | · exact IsPullback.of_hasPullback _ _ |
| 45 | |
| 46 | instance IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPoincareSpace_reduced [IsReduced X.left] [IsLocallyNoetherian X.left] : |
| 47 | IsReduced U.prescribedPoincareSpace.left := by |
| 48 | have : Smooth U.prescribedPoincareDual.left := MorphismProperty.of_isPullback |
| 49 | (U.prescribedPoincare_square.map (Over.forget _)).flip |
| 50 | (inferInstanceAs (Smooth U.forgetAuxiliary.data.polarized.abelian.scheme.hom)) |
| 51 | have : Smooth U.prescribedPoincareProjection.left := |
| 52 | inferInstanceAs (Smooth (U.prescribedPoincareDual.left ≫ |
| 53 | U.forgetAuxiliary.data.polarized.dual.abelian.scheme.hom)) |
| 54 | exact AbelianModuli.HilbertConstruction.Smooth.ReducedFibers.smooth_reducedSource U.prescribedPoincareProjection.left |
| 55 | |
| 56 | def IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPoincareZero : U.prescribedDualTotalSpace ⟶ U.prescribedPoincareSpace := |
| 57 | (Over.map X.hom).map (lift (𝟙 U.forgetAuxiliary.data.polarized.dual.abelian.scheme) |
| 58 | (1 : U.forgetAuxiliary.data.polarized.dual.abelian.scheme ⟶ |
| 59 | U.forgetAuxiliary.data.polarized.abelian.scheme)) |
| 60 | |
| 61 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPoincareZero_dual : U.prescribedPoincareZero ≫ U.prescribedPoincareDual = |
| 62 | 𝟙 U.prescribedDualTotalSpace := by |
| 63 | unfold IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPoincareZero IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPoincareDual |
| 64 | rw [← (Over.map X.hom).map_comp, lift_fst, (Over.map X.hom).map_id] |
| 65 | rfl |
| 66 | |
| 67 | abbrev IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPoincareLine : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle U.prescribedPoincareSpace.left := |
| 68 | U.forgetAuxiliary.data.polarized.dual.poincare |
| 69 | |
| 70 | def IntegralAdded.PELId.IntegralAddedPELLevel.prescribedPoincareFrame : |
| 71 | (U.prescribedPoincareLine.pullback U.prescribedPoincareZero.left).sheaf ≅ |
| 72 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule U.prescribedDualTotalSpace.left := |
| 73 | Classical.choice U.forgetAuxiliary.data.polarized.dual.normalizedAtAbelianZero |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |