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.TransportCocycle |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.LevelSections |
| 3 | |
| 4 | /-! # Level Relation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every labelled section of the original prescribed full level respects |
| 11 | the actual auxiliary-level equivalence relation. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 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 : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 19 | {iotaO : NumberField.RingOfIntegers E →+* R} {X Q : Over (Spec (.of R))} |
| 20 | (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) |
| 21 | (c : Multiplicative (Fin (2 * (3 * s)) → ZMod N)) |
| 22 | |
| 23 | def IntegralAdded.PELId.IntegralAddedPELLevel.prescribedLevelPoint : X ⟶ U.prescribedTotalSpace := |
| 24 | Over.homMk (LevelSections.fullLevelSection U.forgetAuxiliary.data.polarized.level c).left (by |
| 25 | change _ ≫ (U.forgetAuxiliary.data.polarized.abelian.scheme.hom ≫ X.hom) = X.hom |
| 26 | rw [← Category.assoc, (LevelSections.fullLevelSection U.forgetAuxiliary.data.polarized.level c).w] |
| 27 | exact Category.id_comp X.hom) |
| 28 | |
| 29 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedLevelPoint_projection : |
| 30 | U.prescribedLevelPoint c ≫ U.prescribedProjection = 𝟙 X := |
| 31 | Over.OverMorphism.ext (LevelSections.fullLevelSection U.forgetAuxiliary.data.polarized.level c).w |
| 32 | |
| 33 | variable [NeZero L] [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 34 | (hU : U.IsFine) (π : X ⟶ Q) [IsFinite π.left] [Etale π.left] |
| 35 | (hk : IsKernelPair π.left (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left |
| 36 | (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU).left) |
| 37 | |
| 38 | def IntegralAdded.PELId.IntegralAddedPELLevel.prescribedLevelOverlap : IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.relation X (3 * s) L ⟶ U.prescribedOverlap π := |
| 39 | pullback.lift (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L ≫ U.prescribedLevelPoint c) |
| 40 | (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU) (by |
| 41 | rw [Category.assoc, ← Category.assoc (U.prescribedLevelPoint c), |
| 42 | U.prescribedLevelPoint_projection, Category.id_comp] |
| 43 | exact Over.OverMorphism.ext hk.w) |
| 44 | |
| 45 | omit [IsLocallyNoetherian X.left] [IsFinite π.left] [Etale π.left] in |
| 46 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedLevelOverlap_source : |
| 47 | U.prescribedLevelOverlap c hU π hk ≫ DescentCocycleChange.DescentCocycle.source π U.prescribedProjection = |
| 48 | IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L ≫ U.prescribedLevelPoint c := pullback.lift_fst _ _ _ |
| 49 | |
| 50 | omit [IsLocallyNoetherian X.left] [IsFinite π.left] [Etale π.left] in |
| 51 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedLevelOverlap_base : |
| 52 | U.prescribedLevelOverlap c hU π hk ≫ DescentCocycleChange.DescentCocycle.base π U.prescribedProjection = |
| 53 | IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU := pullback.lift_snd _ _ _ |
| 54 | |
| 55 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedLevelOverlap_target (hrigid : U.PrescribedRigid) : |
| 56 | U.prescribedLevelOverlap c hU π hk ≫ U.prescribedOverlapTarget hU π hk = |
| 57 | IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU ≫ U.prescribedLevelPoint c := by |
| 58 | let a := U.prescribedProjection |
| 59 | let src := DescentCocycleChange.DescentCocycle.source π a |
| 60 | let f := src ≫ a |
| 61 | let g := DescentCocycleChange.DescentCocycle.base π a |
| 62 | let k := U.prescribedLevelOverlap c hU π hk |
| 63 | let f' := IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L |
| 64 | let g' := IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU |
| 65 | have h : f ≫ π = g ≫ π := DescentCocycleChange.DescentCocycle.source_condition π a |
| 66 | have h' : f' ≫ π = g' ≫ π := Over.OverMorphism.ext hk.w |
| 67 | have hf : k ≫ f = f' := by |
| 68 | change k ≫ src ≫ a = f' |
| 69 | rw [← Category.assoc, U.prescribedLevelOverlap_source, Category.assoc, |
| 70 | U.prescribedLevelPoint_projection, Category.comp_id] |
| 71 | have hg : k ≫ g = g' := U.prescribedLevelOverlap_base c hU π hk |
| 72 | have hn := U.prescribedPointTransport_natural hU π hk hrigid f g h src.left rfl k |
| 73 | have hx : (f'.left ≫ (U.prescribedLevelPoint c).left) ≫ |
| 74 | U.forgetAuxiliary.data.polarized.abelian.scheme.hom = f'.left := by |
| 75 | rw [Category.assoc] |
| 76 | have hw := (LevelSections.fullLevelSection U.forgetAuxiliary.data.polarized.level c).w |
| 77 | change _ ≫ _ = 𝟙 X.left at hw |
| 78 | exact (congrArg (fun k => f'.left ≫ k) hw).trans (Category.comp_id f'.left) |
| 79 | have hpoints := U.prescribedPointTransport_congr hU π hk |
| 80 | (k ≫ f) (k ≫ g) f' g' |
| 81 | (by simpa only [Category.assoc] using congrArg (fun m => k ≫ m) h) h' hf hg |
| 82 | (k.left ≫ src.left) (f'.left ≫ (U.prescribedLevelPoint c).left) rfl hx |
| 83 | (congrArg Over.Hom.left (U.prescribedLevelOverlap_source c hU π hk)) |
| 84 | have hc := LevelSections.fullLevelSection_transport U.forgetAuxiliary.data.polarized.level f'.left g'.left |
| 85 | (U.prescribedTransport hU π hk f' g' h').polarized.abelian |
| 86 | (U.prescribedTransport hU π hk f' g' h').polarized.level c |
| 87 | apply Over.OverMorphism.ext |
| 88 | exact hn.symm.trans (hpoints.trans hc) |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |