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.IntegralPEL.FrameFine |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralPEL.FrameCharacteristicZero |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAdded.FineSwap |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAdded.FineComparison |
| 5 | |
| 6 | /-! # Common Frame Comparison -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.PEL.CommonFrameComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The two possible constructions of the common marked PEL space |
| 13 | are isomorphic, preserving the actual family and both full levels. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 18 | [Field K] [CharZero K] [Countable K] {s L N : ℕ} [NeZero L] [NeZero N] |
| 19 | {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} {iotaO : NumberField.RingOfIntegers E →+* K} |
| 20 | {X Y : Over (Spec (.of K))} [IsReduced X.left] [IsReduced Y.left] |
| 21 | [IsNoetherian X.left] [IsNoetherian Y.left] |
| 22 | [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] |
| 23 | |
| 24 | theorem pel_common_frame_comparison |
| 25 | (U : Has.IntegralPELObject P K iotaO N X) (A : Has.IntegralPELObject P K iotaO L Y) |
| 26 | (hL : ∀ x : X.left, IsUnit (L : X.left.presheaf.stalk x)) |
| 27 | (hN : ∀ y : Y.left, IsUnit (N : Y.left.presheaf.stalk y)) |
| 28 | (hN3 : 3 ≤ N) (hL3 : 3 ≤ L) (hPresentations : Presentations.Hilbert.EndomorphismEquationsInput.{0}) |
| 29 | (hU : ∀ (T : Over (Spec (.of K))) [IsReduced T.left] |
| 30 | (B : Has.IntegralPELObject P K iotaO N T), |
| 31 | ∃! f : T ⟶ X, Nonempty (Iso.PolarizedActionIso (U.pullback f).data B.data)) |
| 32 | (hA : ∀ (T : Over (Spec (.of K))) [IsReduced T.left] |
| 33 | (B : Has.IntegralPELObject P K iotaO L T), |
| 34 | ∃! f : T ⟶ Y, Nonempty (Iso.PolarizedActionIso (A.pullback f).data B.data)) : |
| 35 | ∃ e : IntegralPEL.FrameExistence.IntegralPELFrame.space U hL ≅ IntegralPEL.FrameExistence.IntegralPELFrame.space A hN, |
| 36 | Nonempty (IntegralAdded.PELId.IntegralAddedPELLevel.Iso |
| 37 | ((IntegralPEL.FrameExistence.IntegralPELFrame.universal A hN).swap.pullback e.hom) (IntegralPEL.FrameExistence.IntegralPELFrame.universal U hL)) := by |
| 38 | have : IsReduced (IntegralPEL.FrameExistence.IntegralPELFrame.space U hL).left := IntegralPEL.FrameCharacteristicZero.IntegralPELFrame.characteristicZero_reduced U hL |
| 39 | have : IsReduced (IntegralPEL.FrameExistence.IntegralPELFrame.space A hN).left := IntegralPEL.FrameCharacteristicZero.IntegralPELFrame.characteristicZero_reduced A hN |
| 40 | exact IntegralAdded.FineComparison.integralAddedPEL_fine_comparison (IntegralPEL.FrameExistence.IntegralPELFrame.space U hL) (IntegralPEL.FrameExistence.IntegralPELFrame.space A hN) |
| 41 | (IntegralPEL.FrameExistence.IntegralPELFrame.universal U hL) (IntegralPEL.FrameExistence.IntegralPELFrame.universal A hN).swap |
| 42 | (IntegralPEL.FrameFine.IntegralPELFrame.isFine U hL hN3 hPresentations hU) |
| 43 | (IntegralAdded.FineSwap.integralAddedPEL_fine_swap (IntegralPEL.FrameExistence.IntegralPELFrame.universal A hN) (IntegralPEL.FrameFine.IntegralPELFrame.isFine A hN hL3 hPresentations hA)) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.PEL.CommonFrameComparison |