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.TransportNormalization |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.IntegralPrescribed.PointEquations |
| 3 | |
| 4 | /-! # Transport Cocycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual prescribed-family overlap transport satisfies the |
| 11 | cocycle equation, by naturality and uniqueness of the PEL comparison. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {E R : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 16 | [CommRing R] {s L N : ℕ} [NeZero L] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 17 | {iotaO : NumberField.RingOfIntegers E →+* R} {X Q : Over (Spec (.of R))} |
| 18 | [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 19 | (U : IntegralAdded.PELId.IntegralAddedPELLevel P R iotaO L N X) (hU : U.IsFine) |
| 20 | (π : X ⟶ Q) [IsFinite π.left] [Etale π.left] |
| 21 | (hk : IsKernelPair π.left (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.source X (3 * s) L).left |
| 22 | (IntegralAuxiliary.ActionSpace.IntegralAuxiliaryAction.target U hU).left) |
| 23 | |
| 24 | theorem IntegralAdded.PELId.IntegralAddedPELLevel.prescribedOverlapTarget_cocycle (hrigid : U.PrescribedRigid) : |
| 25 | DescentCocycleChange.DescentCocycle.composition π U.prescribedProjection (U.prescribedOverlapTarget hU π hk) |
| 26 | (U.prescribedOverlapTarget_base hU π hk) ≫ U.prescribedOverlapTarget hU π hk = |
| 27 | pullback.snd (U.prescribedOverlapTarget hU π hk) |
| 28 | (DescentCocycleChange.DescentCocycle.source π U.prescribedProjection) ≫ U.prescribedOverlapTarget hU π hk := by |
| 29 | let a := U.prescribedProjection |
| 30 | let src := DescentCocycleChange.DescentCocycle.source π a |
| 31 | let t := U.prescribedOverlapTarget hU π hk |
| 32 | have ht : t ≫ a = DescentCocycleChange.DescentCocycle.base π a := U.prescribedOverlapTarget_base hU π hk |
| 33 | let C := Limits.pullback t src |
| 34 | let k₁ : C ⟶ U.prescribedOverlap π := pullback.fst t src |
| 35 | let k₂ : C ⟶ U.prescribedOverlap π := pullback.snd t src |
| 36 | have hs := (IsPullback.of_hasPullback t src).map (Over.forget _) |
| 37 | have : IsFinite k₁.left := MorphismProperty.of_isPullback hs.flip |
| 38 | (inferInstanceAs (IsFinite src.left)) |
| 39 | have : Etale k₁.left := MorphismProperty.of_isPullback hs.flip |
| 40 | (inferInstanceAs (Etale src.left)) |
| 41 | have : IsReduced C.left := Finite.EtaleReduced.finite_etale_isReduced k₁.left |
| 42 | let f := src ≫ a |
| 43 | let g := DescentCocycleChange.DescentCocycle.base π a |
| 44 | have h : f ≫ π = g ≫ π := DescentCocycleChange.DescentCocycle.source_condition π a |
| 45 | have hb (k : C ⟶ U.prescribedOverlap π) : (k ≫ f) ≫ π = (k ≫ g) ≫ π := by |
| 46 | simpa only [Category.assoc] using congrArg (fun m => k ≫ m) h |
| 47 | have hn (k : C ⟶ U.prescribedOverlap π) : |
| 48 | U.prescribedPointTransport hU π hk (k ≫ f) (k ≫ g) (hb k) |
| 49 | (k.left ≫ src.left) rfl = k.left ≫ t.left := |
| 50 | U.prescribedPointTransport_natural hU π hk hrigid f g h src.left rfl k |
| 51 | have hmid : k₁ ≫ g = k₂ ≫ f := by |
| 52 | change k₁ ≫ DescentCocycleChange.DescentCocycle.base π a = k₂ ≫ src ≫ a |
| 53 | rw [← ht, ← Category.assoc, pullback.condition, Category.assoc] |
| 54 | have hout : (k₁ ≫ f) ≫ π = (k₂ ≫ g) ≫ π := |
| 55 | (hb k₁).trans ((congrArg (fun m => m ≫ π) hmid).trans (hb k₂)) |
| 56 | have hchain := U.prescribedPointTransport_chain hU π hk hrigid |
| 57 | (k₁ ≫ f) (k₁ ≫ g) (k₂ ≫ f) (k₂ ≫ g) (hb k₁) (hb k₂) hmid hout |
| 58 | (k₁.left ≫ src.left) (k₂.left ≫ src.left) rfl rfl |
| 59 | ((hn k₁).trans (congrArg Over.Hom.left (pullback.condition (f := t) (g := src)))) |
| 60 | let c := DescentCocycleChange.DescentCocycle.composition π a t ht |
| 61 | have hcs : c ≫ src = k₁ ≫ src := DescentCocycleChange.DescentCocycle.composition_source π a t ht |
| 62 | have hcf : c ≫ f = k₁ ≫ f := by |
| 63 | change c ≫ src ≫ a = k₁ ≫ src ≫ a |
| 64 | rw [← Category.assoc, hcs, Category.assoc] |
| 65 | have hcg : c ≫ g = k₂ ≫ g := DescentCocycleChange.DescentCocycle.composition_base π a t ht |
| 66 | have hpoints := U.prescribedPointTransport_congr hU π hk |
| 67 | (c ≫ f) (c ≫ g) (k₁ ≫ f) (k₂ ≫ g) (hb c) hout hcf hcg |
| 68 | (c.left ≫ src.left) (k₁.left ≫ src.left) rfl rfl (congrArg Over.Hom.left hcs) |
| 69 | apply Over.OverMorphism.ext |
| 70 | exact (hn c).symm.trans (hpoints.trans (hchain.trans (hn k₂))) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |