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.IntegralPrescribed.PointEquations |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.DescentCocycleChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.ReducedFibers |
| 4 | |
| 5 | /-! # Total Space -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual total space of the prescribed universal abelian family |
| 12 | and its overlap transport over the constructed arithmetic quotient. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 17 | [CommRing R] {s L N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 18 | {iotaO : NumberField.RingOfIntegers E →+* R} {X Q : Over (Spec (.of R))} |
| 19 | (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) |
| 20 | |
| 21 | abbrev IntegralAdded.PELId.IntegralAddedPELLevel.prescribedTotalSpace : Over (Spec (.of R)) := |
| 22 | Over.mk (U.forgetAuxiliary.data.polarized.abelian.scheme.hom ≫ X.hom) |
| 23 | |
| 24 | def IntegralAdded.PELId.IntegralAddedPELLevel.prescribedProjection : U.prescribedTotalSpace ⟶ X := |
| 25 | Over.homMk U.forgetAuxiliary.data.polarized.abelian.scheme.hom rfl |
| 26 | |
| 27 | instance IntegralAdded.PELId.IntegralAddedPELLevel.prescribedTotalSpace_reduced [IsReduced X.left] [IsLocallyNoetherian X.left] : |
| 28 | IsReduced U.prescribedTotalSpace.left := |
| 29 | AbelianModuli.HilbertConstruction.Smooth.ReducedFibers.smooth_reducedSource U.forgetAuxiliary.data.polarized.abelian.scheme.hom |
| 30 | |
| 31 | abbrev IntegralAdded.PELId.IntegralAddedPELLevel.prescribedOverlap (π : X ⟶ Q) := DescentCocycleChange.DescentCocycle.overlap π U.prescribedProjection |
| 32 | |
| 33 | instance IntegralAdded.PELId.IntegralAddedPELLevel.prescribedOverlap_source_finite (π : X ⟶ Q) [IsFinite π.left] : |
| 34 | IsFinite (DescentCocycleChange.DescentCocycle.source π U.prescribedProjection).left := by |
| 35 | have h := (IsPullback.of_hasPullback (U.prescribedProjection ≫ π) π).map (Over.forget _) |
| 36 | exact MorphismProperty.of_isPullback h.flip (inferInstanceAs (IsFinite π.left)) |
| 37 | |
| 38 | instance IntegralAdded.PELId.IntegralAddedPELLevel.prescribedOverlap_source_etale (π : X ⟶ Q) [Etale π.left] : |
| 39 | Etale (DescentCocycleChange.DescentCocycle.source π U.prescribedProjection).left := by |
| 40 | have h := (IsPullback.of_hasPullback (U.prescribedProjection ≫ π) π).map (Over.forget _) |
| 41 | exact MorphismProperty.of_isPullback h.flip (inferInstanceAs (Etale π.left)) |
| 42 | |
| 43 | instance IntegralAdded.PELId.IntegralAddedPELLevel.prescribedOverlap_reduced [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 44 | (π : X ⟶ Q) [IsFinite π.left] [Etale π.left] : IsReduced (U.prescribedOverlap π).left := |
| 45 | Finite.EtaleReduced.finite_etale_isReduced (DescentCocycleChange.DescentCocycle.source π U.prescribedProjection).left |
| 46 | |
| 47 | variable [NeZero L] [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 48 | (hU : U.IsFine) (π : X ⟶ Q) [IsFinite π.left] [Etale π.left] |
| 49 | (hk : IsKernelPair π.left (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left |
| 50 | (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU).left) |
| 51 | |
| 52 | def IntegralAdded.PELId.IntegralAddedPELLevel.prescribedOverlapTarget : U.prescribedOverlap π ⟶ U.prescribedTotalSpace := by |
| 53 | let f := DescentCocycleChange.DescentCocycle.source π U.prescribedProjection ≫ U.prescribedProjection |
| 54 | let g := DescentCocycleChange.DescentCocycle.base π U.prescribedProjection |
| 55 | let h : f ≫ π = g ≫ π := DescentCocycleChange.DescentCocycle.source_condition π U.prescribedProjection |
| 56 | let t := U.prescribedPointTransport hU π hk f g h |
| 57 | (DescentCocycleChange.DescentCocycle.source π U.prescribedProjection).left rfl |
| 58 | have ht : t ≫ U.forgetAuxiliary.data.polarized.abelian.scheme.hom = g.left := |
| 59 | U.prescribedPointTransport_base hU π hk f g h _ rfl |
| 60 | exact Over.homMk t (by |
| 61 | change t ≫ (U.forgetAuxiliary.data.polarized.abelian.scheme.hom ≫ X.hom) = _ |
| 62 | rw [← Category.assoc, ht] |
| 63 | exact g.w) |
| 64 | |
| 65 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedOverlapTarget_base : |
| 66 | U.prescribedOverlapTarget hU π hk ≫ U.prescribedProjection = |
| 67 | DescentCocycleChange.DescentCocycle.base π U.prescribedProjection := by |
| 68 | apply Over.OverMorphism.ext |
| 69 | exact U.prescribedPointTransport_base hU π hk |
| 70 | (DescentCocycleChange.DescentCocycle.source π U.prescribedProjection ≫ U.prescribedProjection) |
| 71 | (DescentCocycleChange.DescentCocycle.base π U.prescribedProjection) |
| 72 | (DescentCocycleChange.DescentCocycle.source_condition π U.prescribedProjection) |
| 73 | (DescentCocycleChange.DescentCocycle.source π U.prescribedProjection).left rfl |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |