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.IntegralAuxiliary.BaseInvariance |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.FiberRelation |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.JointMonicity |
| 4 | |
| 5 | /-! # Kernel Pair -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.KernelPair.IntegralAuxiliaryAction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual auxiliary relation is the kernel pair of a finite etale |
| 12 | prescribed-level classifying map. All relation witnesses are constructed |
| 13 | on its reduced pullback scheme and then give categorical maps on all tests. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 18 | [CommRing R] {s L N : ℕ} [NeZero L] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 19 | {iotaO : NumberField.RingOfIntegers E →+* R} {X Y : Over (Spec (.of R))} |
| 20 | [IsReduced X.left] (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) (hU : U.IsFine) |
| 21 | |
| 22 | theorem prescribed_map_kernelPair (hrigid : U.PrescribedRigid) |
| 23 | (A : PEL.Has.IntegralPELObject P R iotaO N Y) |
| 24 | (hA : ∀ (T : Over (Spec (.of R))) [IsReduced T.left] |
| 25 | (B : PEL.Has.IntegralPELObject P R iotaO N T), |
| 26 | ∃! f : T ⟶ Y, Nonempty (PEL.Iso.PolarizedActionIso (A.pullback f).data B.data)) |
| 27 | (q : X ⟶ Y) [IsFinite q.left] [Etale q.left] |
| 28 | (e : PEL.Iso.PolarizedActionIso (A.pullback q).data U.forgetAuxiliary.data) : |
| 29 | IsKernelPair q (ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L) (ActionSpace.IntegralAuxiliaryAction.target U hU) := by |
| 30 | let a := ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L |
| 31 | let b := ActionSpace.IntegralAuxiliaryAction.target U hU |
| 32 | have : JointlyMono₂ a b := JointMonicity.IntegralAuxiliaryAction.jointlyMono U hU hrigid |
| 33 | have hsq := (IsPullback.of_hasPullback q q).map (Over.forget (Spec (.of R))) |
| 34 | have : IsFinite (pullback.fst q q).left := |
| 35 | MorphismProperty.of_isPullback hsq.flip (inferInstanceAs (IsFinite q.left)) |
| 36 | have : Etale (pullback.fst q q).left := |
| 37 | MorphismProperty.of_isPullback hsq.flip (inferInstanceAs (Etale q.left)) |
| 38 | have : IsReduced (pullback q q).left := Finite.EtaleReduced.finite_etale_isReduced (pullback.fst q q).left |
| 39 | have hab : a ≫ q = b ≫ q := BaseInvariance.IntegralAuxiliaryAction.prescribed_map_invariant U hU A hA q e |
| 40 | let v : ActionSpace.IntegralAuxiliaryAction.relation X (3 * s) L ⟶ pullback q q := pullback.lift a b hab |
| 41 | obtain ⟨r, hra, hrb⟩ := FiberRelation.IntegralAuxiliaryAction.homRelation_of_equal_prescribed_map U hU A q e |
| 42 | (pullback.fst q q) (pullback.snd q q) pullback.condition |
| 43 | have hvr : v ≫ r = 𝟙 (ActionSpace.IntegralAuxiliaryAction.relation X (3 * s) L) := by |
| 44 | apply JointlyMono₂.right_cancellation (p₁ := a) (p₂ := b) |
| 45 | · rw [Category.assoc, hra, Category.id_comp] |
| 46 | exact pullback.lift_fst _ _ _ |
| 47 | · rw [Category.assoc, hrb, Category.id_comp] |
| 48 | exact pullback.lift_snd _ _ _ |
| 49 | have hrv : r ≫ v = 𝟙 (pullback q q) := by |
| 50 | apply pullback.hom_ext |
| 51 | · change (r ≫ pullback.lift a b hab) ≫ pullback.fst q q = (𝟙 _) ≫ pullback.fst q q |
| 52 | rw [Category.assoc, pullback.lift_fst, hra, Category.id_comp] |
| 53 | · change (r ≫ pullback.lift a b hab) ≫ pullback.snd q q = (𝟙 _) ≫ pullback.snd q q |
| 54 | rw [Category.assoc, pullback.lift_snd, hrb, Category.id_comp] |
| 55 | exact IsPullback.of_iso_pullback ⟨hab⟩ ⟨v, r, hvr, hrv⟩ |
| 56 | (pullback.lift_fst _ _ _) (pullback.lift_snd _ _ _) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.KernelPair.IntegralAuxiliaryAction |