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.AbelianModuli.HilbertConstruction.Poincare.ZeroFamilyTriviality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Single.PointSectionTensorFrames |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.Support |
| 4 | |
| 5 | /-! # Residue Section Tensor Criterion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Over a one-point parameter scheme, surjectivity of the actual residue-fiber section tensor comparison detects the dual zero section when the residue point is zero. Properness, reducedness, connectedness and a rational point of the fiber follow from the abelian scheme. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | universe u |
| 16 | variable {S T P : Scheme.{u}} [Subsingleton T] {g : ℕ} {A : Abelian.Schemes.AbelianScheme g S} |
| 17 | variable (D : Dual.Data.DualAbelianData A) (t : T ⟶ D.abelian.scheme.left) |
| 18 | variable {a : P ⟶ (D.abelian.scheme ⊗ A.scheme).left} {b : P ⟶ T} |
| 19 | variable (H : IsPullback a b (pullback.fst D.abelian.scheme.hom A.scheme.hom) t) |
| 20 | |
| 21 | include H in |
| 22 | theorem Dual.Data.DualAbelianData.poincareBaseFamily_zero_of_residue_section_tensor |
| 23 | (x : T) |
| 24 | (hpoint : T.fromSpecResidueField x ≫ t = |
| 25 | ((T.fromSpecResidueField x ≫ t) ≫ D.abelian.scheme.hom) ≫ η[D.abelian.scheme].left) |
| 26 | (hsurj : Function.Surjective |
| 27 | ((Cartesian.ModuleTensorComparison.baseChangeModuleTensorComparison (IsPullback.of_hasPullback b (T.fromSpecResidueField x)) |
| 28 | (D.poincare.pullback a).sheaf).app (op ⊤))) : |
| 29 | t = (t ≫ D.abelian.scheme.hom) ≫ η[D.abelian.scheme].left := by |
| 30 | let p := pullback.fst D.abelian.scheme.hom A.scheme.hom |
| 31 | let r := T.fromSpecResidueField x |
| 32 | have hAproper : IsProper A.scheme.hom := A.proper |
| 33 | have hAsmooth : Smooth A.scheme.hom := inferInstance |
| 34 | have hAconnected : GeometricallyConnected A.scheme.hom := A.connected |
| 35 | have : IsProper p := MorphismProperty.of_isPullback (P := @IsProper) |
| 36 | (IsPullback.of_hasPullback D.abelian.scheme.hom A.scheme.hom).flip hAproper |
| 37 | have : Smooth p := MorphismProperty.of_isPullback (P := @Smooth) |
| 38 | (IsPullback.of_hasPullback D.abelian.scheme.hom A.scheme.hom).flip hAsmooth |
| 39 | have : GeometricallyConnected p := MorphismProperty.of_isPullback (P := @GeometricallyConnected) |
| 40 | (IsPullback.of_hasPullback D.abelian.scheme.hom A.scheme.hom).flip hAconnected |
| 41 | have : IsProper b := MorphismProperty.of_isPullback (P := @IsProper) H inferInstance |
| 42 | have : Smooth b := MorphismProperty.of_isPullback (P := @Smooth) H inferInstance |
| 43 | have : GeometricallyConnected b := |
| 44 | MorphismProperty.of_isPullback (P := @GeometricallyConnected) H inferInstance |
| 45 | have : IsProper (b.fiberToSpecResidueField x) := |
| 46 | inferInstanceAs (IsProper (pullback.snd b r)) |
| 47 | have hFiberSmooth : Smooth (b.fiberToSpecResidueField x) := |
| 48 | MorphismProperty.of_isPullback (P := @Smooth) (IsPullback.of_hasPullback b r) |
| 49 | (show Smooth b from inferInstance) |
| 50 | have : GeometricallyConnected (b.fiberToSpecResidueField x) := |
| 51 | inferInstanceAs (GeometricallyConnected (pullback.snd b r)) |
| 52 | have : IsReduced (b.fiber x) := |
| 53 | @HilbertConstruction.Smooth.ReducedFibers.smoothOverField_isReduced (T.residueField x) inferInstance (b.fiber x) |
| 54 | (b.fiberToSpecResidueField x) hFiberSmooth |
| 55 | have : ConnectedSpace (b.fiber x) := |
| 56 | GeometricallyConnected.connectedSpace_of_subsingleton (b.fiberToSpecResidueField x) |
| 57 | have hzA : η[A.scheme].left ≫ A.scheme.hom = 𝟙 S := η[A.scheme].w |
| 58 | let v : T ⟶ A.scheme.left := (t ≫ D.abelian.scheme.hom) ≫ η[A.scheme].left |
| 59 | have hv : t ≫ D.abelian.scheme.hom = v ≫ A.scheme.hom := by |
| 60 | change _ = ((t ≫ D.abelian.scheme.hom) ≫ η[A.scheme].left) ≫ A.scheme.hom |
| 61 | rw [Category.assoc, hzA, Category.comp_id] |
| 62 | let σ : T ⟶ (D.abelian.scheme ⊗ A.scheme).left := pullback.lift t v hv |
| 63 | have hσ : σ ≫ p = (𝟙 T) ≫ t := |
| 64 | (pullback.lift_fst t v hv).trans (Category.id_comp t).symm |
| 65 | let s : T ⟶ P := H.lift σ (𝟙 T) hσ |
| 66 | have hs : s ≫ b = 𝟙 T := H.lift_snd σ (𝟙 T) hσ |
| 67 | have hsr : (r ≫ s) ≫ b = (𝟙 (Spec (T.residueField x))) ≫ r := by |
| 68 | rw [Category.assoc, hs, Category.comp_id, Category.id_comp] |
| 69 | let y : Spec (T.residueField x) ⟶ b.fiber x := pullback.lift (r ≫ s) (𝟙 _) hsr |
| 70 | have hy : y ≫ b.fiberToSpecResidueField x = 𝟙 _ := pullback.lift_snd _ _ _ |
| 71 | let HF : IsPullback (b.fiberι x ≫ a) (b.fiberToSpecResidueField x) p (r ≫ t) := |
| 72 | (IsPullback.of_hasPullback b r).paste_horiz H |
| 73 | obtain ⟨ef⟩ := D.poincareBaseFamily_zero_implies_trivial (r ≫ t) HF hpoint |
| 74 | let L := D.poincare.pullback a |
| 75 | let e : (L.pullback (b.fiberι x)).sheaf ≅ Line.Bundles.structureModule (b.fiber x) := |
| 76 | (Scheme.Modules.pullbackComp (b.fiberι x) a).app D.poincare.sheaf ≪≫ ef |
| 77 | exact D.poincareBaseFamily_trivial_implies_zero t H |
| 78 | (Single.PointSectionTensorFrames.lineBundle_trivial_of_single_fiber_section_tensor b x L e y hy hsurj) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |