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.Picard.ThetaConstruction.UnramifiedFiberStalk |
| 2 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.LocalOpenIdentity |
| 3 | import OAI.RepresentationTheory.Theta.Geometric.MonoResidueFields |
| 4 | |
| 5 | /-! # Local Group Fiber Unramified -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.LocalGroupFiberUnramified.Geometric |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual unramified closed field fiber makes a locally finite-type |
| 12 | group scheme over a local base formally unramified. The fiber supplies |
| 13 | the original identity stalk; no flatness or fiber-comparison hypothesis |
| 14 | is substituted for that stalk calculation. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem unramified_stalk_of_mono_fieldFiber {X S : Scheme.{u}} {K : Type u} [Field K] |
| 22 | (f : X ⟶ S) [LocallyOfFiniteType f] (c : Spec (.of K) ⟶ S) [Mono c] |
| 23 | [FormallyUnramified (pullback.snd f c)] (z : (pullback f c : Scheme.{u})) : |
| 24 | (f.stalkMap (pullback.fst f c z)).hom.FormallyUnramified := by |
| 25 | let x := pullback.fst f c z |
| 26 | obtain ⟨w, hw⟩ := RepresentationTheory.Theta.Geometric.MonoResidueFields.residuePoint_hasLift (pullback.fst f c) (𝟙 X) x z rfl |
| 27 | rw [Category.comp_id] at hw |
| 28 | let b := w ≫ pullback.snd f c |
| 29 | have hb : b ≫ c = X.fromSpecResidueField x ≫ f := by |
| 30 | change (w ≫ pullback.snd f c) ≫ c = _ |
| 31 | rw [Category.assoc, ← pullback.condition, ← Category.assoc, hw] |
| 32 | let e := pullbackLeftPullbackSndIso f c b |
| 33 | have he : e.inv ≫ pullback.snd (pullback.snd f c) b = pullback.snd f (b ≫ c) := by |
| 34 | rw [← pullbackLeftPullbackSndIso_hom_snd f c b] |
| 35 | exact e.inv_hom_id_assoc _ |
| 36 | have hu : FormallyUnramified (e.inv ≫ pullback.snd (pullback.snd f c) b) := |
| 37 | MorphismProperty.comp_mem (@FormallyUnramified) _ _ inferInstance |
| 38 | (MorphismProperty.IsStableUnderBaseChange.of_isPullback (P := @FormallyUnramified) |
| 39 | (IsPullback.of_hasPullback (pullback.snd f c) b) inferInstance) |
| 40 | have hd : FormallyUnramified (pullback.snd f (b ≫ c)) := he ▸ hu |
| 41 | rw [hb] at hd |
| 42 | let := hd |
| 43 | exact UnramifiedFiberStalk.Geometric.formallyUnramified_stalkMap_of_residueBaseChange f x |
| 44 | |
| 45 | theorem localGroup_formallyUnramified_of_closedFieldFiber |
| 46 | {R K : Type u} [CommRing R] [IsLocalRing R] [Field K] |
| 47 | (G : Over (Spec (.of R))) [GrpObj G] [LocallyOfFiniteType G.hom] |
| 48 | (c : Spec (.of K) ⟶ Spec (.of R)) [Mono c] |
| 49 | (hc : c (IsLocalRing.closedPoint K) = IsLocalRing.closedPoint R) |
| 50 | [FormallyUnramified (pullback.snd G.hom c)] : FormallyUnramified G.hom := by |
| 51 | have hunit : η[G].left ≫ G.hom = 𝟙 (Spec (.of R)) := η[G].w |
| 52 | have hq : (c ≫ η[G].left) ≫ G.hom = (𝟙 (Spec (.of K))) ≫ c := by |
| 53 | rw [Category.assoc, hunit, Category.comp_id, Category.id_comp] |
| 54 | let q : Spec (.of K) ⟶ pullback G.hom c := |
| 55 | pullback.lift (c ≫ η[G].left) (𝟙 _) hq |
| 56 | let z := q (IsLocalRing.closedPoint K) |
| 57 | have hz : pullback.fst G.hom c z = η[G].left (IsLocalRing.closedPoint R) := by |
| 58 | have h := congrArg (fun m : Spec (.of K) ⟶ G.left => m (IsLocalRing.closedPoint K)) |
| 59 | (pullback.lift_fst (c ≫ η[G].left) (𝟙 _) hq) |
| 60 | change pullback.fst G.hom c z = η[G].left (c (IsLocalRing.closedPoint K)) at h |
| 61 | exact h.trans (congrArg η[G].left hc) |
| 62 | have h := unramified_stalk_of_mono_fieldFiber G.hom c z |
| 63 | rw [hz] at h |
| 64 | exact LocalOpenIdentity.Geometric.group_formallyUnramified_of_closed_identity_stalk G h |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.LocalGroupFiberUnramified.Geometric |