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.AuxiliaryAffineNeighborhoodDescent |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.KernelPair |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.CharacteristicZeroPrescribedRigidity |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAdded.FineBaseChange |
| 5 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.PEL.FamilyComparisonBaseChange |
| 6 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Specialization |
| 7 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SchemeSmooth |
| 8 | |
| 9 | /-! # Quotient Base Change Affine -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.QuotientBaseChangeAffine |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Affine neighborhoods descend to the actual prescribed-level |
| 16 | reference after any field extension of the arithmetic coefficient field. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | variable {E K K' : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 21 | [Field K] [CharZero K] [Countable K] [Field K'] {s L N : ℕ} [NeZero L] |
| 22 | {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} {iotaO : NumberField.RingOfIntegers E →+* K} |
| 23 | {X Y : Over (Spec (.of K))} [IsNoetherian X.left] [LocallyOfFiniteType X.hom] |
| 24 | |
| 25 | theorem auxiliary_quotient_baseChange_affine |
| 26 | (U : IntegralAdded.PELId.IntegralAddedPELLevel P K iotaO L N X) (hU : U.IsFine) |
| 27 | (A : PEL.Has.IntegralPELObject P K iotaO N Y) (q : X ⟶ Y) |
| 28 | [IsFinite q.left] [Etale q.left] [Surjective q.left] |
| 29 | (e : PEL.Iso.PolarizedActionIso (A.pullback q).data U.forgetAuxiliary.data) |
| 30 | (hN : 3 ≤ N) (hPresentations : Presentations.Hilbert.EndomorphismEquationsInput.{0}) (φ : K →+* K') |
| 31 | (hA : ∀ (T : Over (Spec (.of K'))) [IsReduced T.left] |
| 32 | (B : PEL.Has.IntegralPELObject P K' (φ.comp iotaO) N T), |
| 33 | ∃! f : T ⟶ (Over.pullback (Spec.map (CommRingCat.ofHom φ))).obj Y, |
| 34 | Nonempty (PEL.Iso.PolarizedActionIso ((A.baseChange φ).pullback f).data B.data)) |
| 35 | (hred : IsReduced ((Over.pullback (Spec.map (CommRingCat.ofHom φ))).obj X).left) |
| 36 | (hsep : ((Over.pullback (Spec.map (CommRingCat.ofHom φ))).obj X).left.IsSeparated) |
| 37 | (hAF : ∀ F : Set ((Over.pullback (Spec.map (CommRingCat.ofHom φ))).obj X).left, |
| 38 | F.Finite → ∃ V : ((Over.pullback (Spec.map (CommRingCat.ofHom φ))).obj X).left.Opens, |
| 39 | IsAffineOpen V ∧ F ⊆ V) : |
| 40 | IsReduced ((Over.pullback (Spec.map (CommRingCat.ofHom φ))).obj Y).left ∧ |
| 41 | (∀ F : Set ((Over.pullback (Spec.map (CommRingCat.ofHom φ))).obj Y).left, |
| 42 | F.Finite → ∃ V : ((Over.pullback (Spec.map (CommRingCat.ofHom φ))).obj Y).left.Opens, |
| 43 | IsAffineOpen V ∧ F ⊆ V) := by |
| 44 | let b := Spec.map (CommRingCat.ofHom φ) |
| 45 | let q' := (Over.pullback b).map q |
| 46 | have : IsFinite q'.left := MorphismProperty.of_isPullback (Specialization.base_change_square b q) |
| 47 | (inferInstanceAs (IsFinite q.left)) |
| 48 | have : Etale q'.left := MorphismProperty.of_isPullback (Specialization.base_change_square b q) |
| 49 | (inferInstanceAs (Etale q.left)) |
| 50 | have : Surjective q'.left := MorphismProperty.of_isPullback (Specialization.base_change_square b q) |
| 51 | (inferInstanceAs (Surjective q.left)) |
| 52 | have : IsReduced ((Over.pullback b).obj X).left := hred |
| 53 | have : ((Over.pullback b).obj X).left.IsSeparated := hsep |
| 54 | have hu : (U.baseChange φ).IsFine := IntegralAdded.FineBaseChange.integralAddedPEL_fine_baseChange U hU φ |
| 55 | let e' : PEL.Iso.PolarizedActionIso ((A.baseChange φ).pullback q').data |
| 56 | (U.baseChange φ).forgetAuxiliary.data := |
| 57 | PEL.FamilyComparisonBaseChange.prescribedFamilyComparisonBaseChange A U.forgetAuxiliary q e φ |
| 58 | have hk := IntegralAuxiliary.KernelPair.IntegralAuxiliaryAction.prescribed_map_kernelPair (U.baseChange φ) hu |
| 59 | (CharacteristicZeroPrescribedRigidity.characteristicZero_baseChange_prescribedRigid U hN hPresentations φ) (A.baseChange φ) hA q' e' |
| 60 | exact ⟨Quotients.FiniteDescent.SchemeSmooth.Construction.SchemeSmoothReduced.reduced_of_finite_flat_surjective q'.left, |
| 61 | AuxiliaryAffineNeighborhoodDescent.IntegralAuxiliaryAction.finite_set_affine_neighborhood_descends (U.baseChange φ) hu |
| 62 | q'.left (hk.map (Over.forget (Spec (.of K')))) hAF⟩ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.QuotientBaseChangeAffine |