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.ActionPoints |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAdded.LabelTransitivity |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralPEL.FamilyFibers |
| 4 | |
| 5 | /-! # Fiber Relation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.FiberRelation.IntegralAuxiliaryAction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Equal prescribed base maps differ by auxiliary labels on every |
| 12 | reduced test. The actual PEL family comparison constructs those labels. -/ |
| 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 : ℕ} [NeZero L] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 18 | {iotaO : NumberField.RingOfIntegers E →+* R} {X Y T : Over (Spec (.of R))} |
| 19 | [IsReduced X.left] (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) (hU : U.IsFine) |
| 20 | |
| 21 | theorem homRelation_of_equal_prescribed_map (A : PEL.Has.IntegralPELObject P R iotaO N Y) |
| 22 | (q : X ⟶ Y) (e : PEL.Iso.PolarizedActionIso (A.pullback q).data U.forgetAuxiliary.data) |
| 23 | [IsReduced T.left] (f g : T ⟶ X) (h : f ≫ q = g ≫ q) : |
| 24 | AbelianModuli.ReferenceFamily.RepresentedRelations.homRelation (ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L) (ActionSpace.IntegralAuxiliaryAction.target U hU) f g := by |
| 25 | let a := IntegralPEL.FamilyFibers.prescribedFamilyFiberComparison A U.forgetAuxiliary q e f g h |
| 26 | obtain ⟨b, ⟨eb⟩⟩ := IntegralAdded.PELId.IntegralAddedPELLevel.exists_relabel_of_prescribed_iso |
| 27 | (U.pullback f) (U.pullback g) a |
| 28 | apply (ActionPoints.IntegralAuxiliaryAction.homRelation_iff U hU f g).mpr |
| 29 | refine ⟨b, ?_⟩ |
| 30 | have h1 := U.classifying_unique hU T (U.pullback g) (U.auxiliaryRelabelAt hU f b) |
| 31 | ((U.auxiliaryRelabelAtComparison hU f b).trans eb) |
| 32 | have h2 := U.classifying_unique hU T (U.pullback g) g (IntegralAdded.PELId.IntegralAddedPELLevel.Iso.refl _) |
| 33 | exact h1.trans h2.symm |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralAuxiliary.FiberRelation.IntegralAuxiliaryAction |