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.Open.CoverRepresentability |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Dual.BaseChange |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.GroupFunctor |
| 4 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 5 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 6 | |
| 7 | /-! # Open Gluing Scheme -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Effective gluing of the scheme representing the homogeneous Picard |
| 14 | sheaf. Local dual data give an actual global abelian scheme representing |
| 15 | the same original sheaf, with native comparisons on every base chart. |
| 16 | Construction of the normalized universal line is a separate step. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 20 | open OAI.AlgebraicGeometry.Picard.Homomorphisms.GroupFunctor.Construction |
| 21 | open scoped _root_.CategoryTheory.MonObj |
| 22 | universe u |
| 23 | |
| 24 | variable {g : ℕ} {S : Scheme.{u}} |
| 25 | |
| 26 | theorem Abelian.Schemes.AbelianScheme.homogeneousPicard_isSheaf_zariski (A : Abelian.Schemes.AbelianScheme g S) : |
| 27 | Presieve.IsSheaf (Scheme.zariskiTopology.over S) A.homogeneousPicardSheaf.obj := by |
| 28 | have hz : Scheme.zariskiTopology ≤ Scheme.fppfTopology := |
| 29 | Precoverage.toGrothendieck_mono Scheme.zariskiPrecoverage_le_fppfPrecoverage |
| 30 | apply Presieve.isSheaf_of_le _ _ |
| 31 | ((isSheaf_iff_isSheaf_of_type _ _).mp A.homogeneousPicardSheaf.property) |
| 32 | intro T R hR |
| 33 | rw [GrothendieckTopology.mem_over_iff] at hR ⊢ |
| 34 | exact hz _ hR |
| 35 | |
| 36 | namespace Dual.OpenGluingScheme.DualOpenGluing |
| 37 | |
| 38 | variable (A : Abelian.Schemes.AbelianScheme g S) (U : S.OpenCover.{u}) |
| 39 | (D : ∀ j, Data.DualAbelianData (A.pullback (U.f j))) |
| 40 | |
| 41 | def localRepresentable (j : U.I₀) : |
| 42 | ((Over.map (U.f j)).op ⋙ A.homogeneousPicardSheaf.obj).RepresentableBy |
| 43 | (D j).abelian.scheme := |
| 44 | (D j).representable.ofIso |
| 45 | ((sheafToPresheaf (Scheme.fppfTopology.over (U.X j)) (Type (u + 1))).mapIso |
| 46 | (A.homogeneousPicardSheafBaseChangeIso (U.f j))) |
| 47 | |
| 48 | def scheme : Over S := |
| 49 | Open.CoverRepresentability.OpenCoverRepresentability.scheme A.homogeneousPicardSheaf.obj U |
| 50 | (fun j => (D j).abelian.scheme) (localRepresentable A U D) |
| 51 | A.homogeneousPicard_isSheaf_zariski |
| 52 | |
| 53 | def representable : A.homogeneousPicardSheaf.obj.RepresentableBy (DualOpenGluing.scheme A U D) := |
| 54 | Open.CoverRepresentability.OpenCoverRepresentability.representable A.homogeneousPicardSheaf.obj U |
| 55 | (fun j => (D j).abelian.scheme) (localRepresentable A U D) |
| 56 | A.homogeneousPicard_isSheaf_zariski |
| 57 | |
| 58 | def chartIso (j : U.I₀) : |
| 59 | (D j).abelian.scheme ≅ (Over.pullback (U.f j)).obj (DualOpenGluing.scheme A U D) := |
| 60 | Open.CoverRepresentability.OpenCoverRepresentability.chartPullbackIso A.homogeneousPicardSheaf.obj U |
| 61 | (fun j => (D j).abelian.scheme) (localRepresentable A U D) |
| 62 | A.homogeneousPicard_isSheaf_zariski j |
| 63 | |
| 64 | theorem proper : IsProper (DualOpenGluing.scheme A U D).hom := |
| 65 | Open.CoverRepresentability.OpenCoverRepresentability.localProperty A.homogeneousPicardSheaf.obj U |
| 66 | (fun j => (D j).abelian.scheme) (localRepresentable A U D) |
| 67 | A.homogeneousPicard_isSheaf_zariski (@IsProper) |
| 68 | (fun j => (D j).abelian.proper) |
| 69 | |
| 70 | theorem smoothDimension : SmoothOfRelativeDimension g (DualOpenGluing.scheme A U D).hom := by |
| 71 | let : IsZariskiLocalAtTarget |
| 72 | (@SmoothOfRelativeDimension g : MorphismProperty Scheme.{u}) := |
| 73 | HasRingHomProperty.instIsZariskiLocalAtTarget |
| 74 | (P := @SmoothOfRelativeDimension g) |
| 75 | (Q := RingHom.Locally (RingHom.IsStandardSmoothOfRelativeDimension g)) |
| 76 | exact Open.CoverRepresentability.OpenCoverRepresentability.localProperty A.homogeneousPicardSheaf.obj U |
| 77 | (fun j => (D j).abelian.scheme) (localRepresentable A U D) |
| 78 | A.homogeneousPicard_isSheaf_zariski (@SmoothOfRelativeDimension g) |
| 79 | (fun j => (D j).abelian.smoothDimension) |
| 80 | |
| 81 | theorem connected : GeometricallyConnected (DualOpenGluing.scheme A U D).hom := by |
| 82 | let : IsZariskiLocalAtTarget |
| 83 | (@GeometricallyConnected : MorphismProperty Scheme.{u}) := by |
| 84 | rw [GeometricallyConnected.eq_geometrically] |
| 85 | infer_instance |
| 86 | exact Open.CoverRepresentability.OpenCoverRepresentability.localProperty A.homogeneousPicardSheaf.obj U |
| 87 | (fun j => (D j).abelian.scheme) (localRepresentable A U D) |
| 88 | A.homogeneousPicard_isSheaf_zariski (@GeometricallyConnected) |
| 89 | (fun j => (D j).abelian.connected) |
| 90 | |
| 91 | def groupRepresentable : |
| 92 | ((Picard.Homomorphisms.GroupFunctor.Construction.homogeneousPicardGroupFunctor A ⋙ forget₂ CommGrpCat GrpCat) ⋙ |
| 93 | forget GrpCat).RepresentableBy (DualOpenGluing.scheme A U D) := |
| 94 | (DualOpenGluing.representable A U D).ofIso (Picard.Homomorphisms.GroupFunctor.Construction.homogeneousPicardGroupForgetIso A).symm |
| 95 | |
| 96 | @[instance_reducible] |
| 97 | def group : GrpObj (DualOpenGluing.scheme A U D) := |
| 98 | GrpObj.ofRepresentableBy (DualOpenGluing.scheme A U D) |
| 99 | (Picard.Homomorphisms.GroupFunctor.Construction.homogeneousPicardGroupFunctor A ⋙ forget₂ CommGrpCat GrpCat) |
| 100 | (groupRepresentable A U D) |
| 101 | |
| 102 | def groupHomEquiv (T : Over S) : |
| 103 | letI := DualOpenGluing.group A U D |
| 104 | (T ⟶ DualOpenGluing.scheme A U D) ≃* A.homogeneousPicardSheaf.obj.obj (.op T) := by |
| 105 | letI := DualOpenGluing.group A U D |
| 106 | let a := groupRepresentable A U D |
| 107 | refine { toEquiv := a.homEquiv', map_mul' := ?_ } |
| 108 | intro x y |
| 109 | change a.homEquiv' (lift x y ≫ a.homEquiv'.symm |
| 110 | (a.homEquiv' (fst (DualOpenGluing.scheme A U D) (DualOpenGluing.scheme A U D)) * |
| 111 | a.homEquiv' (snd (DualOpenGluing.scheme A U D) (DualOpenGluing.scheme A U D)))) = |
| 112 | a.homEquiv' x * a.homEquiv' y |
| 113 | simp only [a.homEquiv'_comp, Equiv.apply_symm_apply, map_mul] |
| 114 | simp only [← a.homEquiv'_comp] |
| 115 | simp |
| 116 | |
| 117 | theorem group_commutative : |
| 118 | letI := DualOpenGluing.group A U D |
| 119 | IsCommMonObj (DualOpenGluing.scheme A U D) := by |
| 120 | let : GrpObj (DualOpenGluing.scheme A U D) := DualOpenGluing.group A U D |
| 121 | apply (isCommMonObj_iff_isMulCommutative (DualOpenGluing.scheme A U D)).mpr |
| 122 | intro T |
| 123 | refine ⟨⟨fun x y => ?_⟩⟩ |
| 124 | apply (groupHomEquiv A U D T).injective |
| 125 | rw [map_mul, map_mul, mul_comm] |
| 126 | |
| 127 | def abelian : Abelian.Schemes.AbelianScheme g S where |
| 128 | scheme := DualOpenGluing.scheme A U D |
| 129 | group := DualOpenGluing.group A U D |
| 130 | commutative := group_commutative A U D |
| 131 | proper := DualOpenGluing.proper A U D |
| 132 | smoothDimension := DualOpenGluing.smoothDimension A U D |
| 133 | connected := DualOpenGluing.connected A U D |
| 134 | |
| 135 | theorem origin (T : Over S) : |
| 136 | (DualOpenGluing.representable A U D).homEquiv (1 : T ⟶ (DualOpenGluing.abelian A U D).scheme) = |
| 137 | A.trivialHomogeneousPicardClass T := by |
| 138 | let : GrpObj (DualOpenGluing.scheme A U D) := DualOpenGluing.group A U D |
| 139 | rw [Picard.Homomorphisms.HomogeneousGroup.Construction.trivialHomogeneousPicardClass_eq_one] |
| 140 | exact (groupHomEquiv A U D T).map_one |
| 141 | |
| 142 | end Dual.OpenGluingScheme.DualOpenGluing |
| 143 | |
| 144 | end |
| 145 | |
| 146 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |