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.IntegralDual.TransportCocycle |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Family.PointZero |
| 3 | |
| 4 | /-! # Zero Relation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual zero section respects the prescribed-family relation. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 19 | [CommRing R] {s L N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 20 | {iotaO : NumberField.RingOfIntegers E →+* R} {X Q : Over (Spec (.of R))} |
| 21 | (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) |
| 22 | |
| 23 | def IntegralAdded.PELId.IntegralAddedPELLevel.prescribedDualZero : X ⟶ U.prescribedDualTotalSpace := |
| 24 | Over.homMk (MonObj.one : 𝟙_ (Over X.left) ⟶ |
| 25 | U.forgetAuxiliary.data.polarized.dual.abelian.scheme).left (by |
| 26 | change _ ≫ (U.forgetAuxiliary.data.polarized.dual.abelian.scheme.hom ≫ X.hom) = X.hom |
| 27 | rw [← Category.assoc, (MonObj.one : 𝟙_ (Over X.left) ⟶ |
| 28 | U.forgetAuxiliary.data.polarized.dual.abelian.scheme).w] |
| 29 | exact Category.id_comp X.hom) |
| 30 | |
| 31 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedDualZero_projection : U.prescribedDualZero ≫ U.prescribedDualProjection = 𝟙 X := |
| 32 | Over.OverMorphism.ext (MonObj.one : 𝟙_ (Over X.left) ⟶ |
| 33 | U.forgetAuxiliary.data.polarized.dual.abelian.scheme).w |
| 34 | |
| 35 | variable [NeZero L] [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 36 | (hU : U.IsFine) (π : X ⟶ Q) [IsFinite π.left] [Etale π.left] |
| 37 | (hk : IsKernelPair π.left (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left |
| 38 | (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU).left) |
| 39 | |
| 40 | def IntegralAdded.PELId.IntegralAddedPELLevel.prescribedDualZeroOverlap : IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.relation X (3 * s) L ⟶ U.prescribedDualOverlap π := |
| 41 | pullback.lift (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L ≫ U.prescribedDualZero) |
| 42 | (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU) (by |
| 43 | rw [Category.assoc, ← Category.assoc U.prescribedDualZero, U.prescribedDualZero_projection, |
| 44 | Category.id_comp] |
| 45 | exact Over.OverMorphism.ext hk.w) |
| 46 | |
| 47 | omit [IsLocallyNoetherian X.left] [IsFinite π.left] [Etale π.left] in |
| 48 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedDualZeroOverlap_source : |
| 49 | U.prescribedDualZeroOverlap hU π hk ≫ DescentCocycleChange.DescentCocycle.source π U.prescribedDualProjection = |
| 50 | IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L ≫ U.prescribedDualZero := pullback.lift_fst _ _ _ |
| 51 | |
| 52 | omit [IsLocallyNoetherian X.left] [IsFinite π.left] [Etale π.left] in |
| 53 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedDualZeroOverlap_base : |
| 54 | U.prescribedDualZeroOverlap hU π hk ≫ DescentCocycleChange.DescentCocycle.base π U.prescribedDualProjection = |
| 55 | IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU := pullback.lift_snd _ _ _ |
| 56 | |
| 57 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedDualZeroOverlap_target (hrigid : U.PrescribedRigid) : |
| 58 | U.prescribedDualZeroOverlap hU π hk ≫ U.prescribedDualOverlapTarget hU π hk = |
| 59 | IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU ≫ U.prescribedDualZero := by |
| 60 | let a := U.prescribedDualProjection |
| 61 | let src := DescentCocycleChange.DescentCocycle.source π a |
| 62 | let f := src ≫ a |
| 63 | let g := DescentCocycleChange.DescentCocycle.base π a |
| 64 | let k := U.prescribedDualZeroOverlap hU π hk |
| 65 | let f' := IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L |
| 66 | let g' := IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU |
| 67 | have h : f ≫ π = g ≫ π := DescentCocycleChange.DescentCocycle.source_condition π a |
| 68 | have h' : f' ≫ π = g' ≫ π := Over.OverMorphism.ext hk.w |
| 69 | have hf : k ≫ f = f' := by |
| 70 | change k ≫ src ≫ a = f' |
| 71 | rw [← Category.assoc, U.prescribedDualZeroOverlap_source, Category.assoc, |
| 72 | U.prescribedDualZero_projection, Category.comp_id] |
| 73 | have hg : k ≫ g = g' := U.prescribedDualZeroOverlap_base hU π hk |
| 74 | have hn := U.prescribedDualPointTransport_natural hU π hk hrigid f g h src.left rfl k |
| 75 | have hpoints := U.prescribedDualPointTransport_congr hU π hk |
| 76 | (k ≫ f) (k ≫ g) f' g' |
| 77 | (by simpa only [Category.assoc] using congrArg (fun m => k ≫ m) h) h' hf hg |
| 78 | (k.left ≫ src.left) (f'.left ≫ U.prescribedDualZero.left) rfl |
| 79 | (1 : Over.mk f'.left ⟶ U.forgetAuxiliary.data.polarized.dual.abelian.scheme).w |
| 80 | (congrArg Over.Hom.left (U.prescribedDualZeroOverlap_source hU π hk)) |
| 81 | have : IsMonHom (U.prescribedTransport hU π hk f' g' h').polarized.dual.hom := |
| 82 | (U.prescribedTransport hU π hk f' g' h').polarized.dualGroup |
| 83 | have hz := Family.PointZero.FamilyPointTransport.transport_one U.forgetAuxiliary.data.polarized.dual.abelian.scheme |
| 84 | f'.left g'.left (U.prescribedTransport hU π hk f' g' h').polarized.dual |
| 85 | apply Over.OverMorphism.ext |
| 86 | exact hn.symm.trans (hpoints.trans hz) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |