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.Field.StructurePicardBound |
| 2 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeComparison |
| 3 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeEtaleCriterion |
| 4 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.GeometricPointSurjectivity |
| 5 | import OAI.RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard |
| 6 | import Mathlib.AlgebraicGeometry.Morphisms.FlatMono |
| 7 | |
| 8 | /-! # Bound Picard Comparison -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.BoundPicardComparison |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! A supplied genuine field H1 bound makes the original Picard |
| 15 | comparison etale. Geometric surjectivity realizes each homogeneous |
| 16 | family on every locally Noetherian test, with no characteristic restriction. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Picard.ThetaConstruction.RelativeEtaleCriterion.Geometric.RelativeRigidifiedCharts OAI.RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard |
| 22 | |
| 23 | variable {S : Scheme} {g : ℕ} |
| 24 | (A B : Abelian.Schemes.AbelianScheme g S) (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) |
| 25 | (hH1 : A.HasFieldStructureH1Bound) |
| 26 | (D : AbelianScheme.IsogenyQuotient.Relative.RigidifiedLine.Construction.RelativeRigidifiedProductLine A.scheme B.scheme) |
| 27 | (hinj : ∀ V : Over S, Function.Injective (D.relativeValue (T := V))) |
| 28 | {U : Over S} [hU : IsLocallyNoetherian U.left] |
| 29 | (M : AbelianScheme.IsogenyQuotient.Relative.RigidifiedLine.Construction.RelativeRigidifiedProductLine A.scheme U) |
| 30 | |
| 31 | local instance fieldBoundComparison_projection_finiteType : |
| 32 | LocallyOfFiniteType (snd B.scheme U).left := |
| 33 | inferInstanceAs (LocallyOfFiniteType (pullback.snd B.scheme.hom U.hom)) |
| 34 | |
| 35 | local instance fieldBoundComparison_product_noetherian : |
| 36 | IsLocallyNoetherian (B.scheme ⊗ U).left := |
| 37 | LocallyOfFiniteType.isLocallyNoetherian (snd B.scheme U).left |
| 38 | |
| 39 | local instance fieldBoundComparison_projection_smoothDimension : |
| 40 | SmoothOfRelativeDimension g (snd B.scheme U).left := |
| 41 | (smoothOfRelativeDimension_isStableUnderBaseChange (n := g)).of_isPullback |
| 42 | (IsPullback.of_hasPullback B.scheme.hom U.hom) B.smoothDimension |
| 43 | |
| 44 | include hH1 P hinj hU |
| 45 | |
| 46 | theorem fieldBoundPicardComparison_etale : |
| 47 | Etale (Picard.ThetaConstruction.RelativeComparison.Geometric.relativePicardComparisonProjection P D M).left := by |
| 48 | let C := Picard.ThetaConstruction.RelativeComparison.Geometric.relativeComparisonLine D M |
| 49 | let π := Picard.ThetaConstruction.RelativeComparison.Geometric.relativePicardComparisonProjection P D M |
| 50 | let : Mono π := Picard.ThetaConstruction.RelativeComparison.Geometric.relativePicardComparisonProjection_mono P D M hinj |
| 51 | let : Mono π.left := Over.mono_left_of_mono π |
| 52 | let : FormallyUnramified ((Picard.ThetaConstruction.RelativeZeroScheme.Geometric.RelativeRigidifiedCharts.zeroScheme C P).hom ≫ (snd B.scheme U).left) := |
| 53 | inferInstanceAs (FormallyUnramified π.left) |
| 54 | apply Picard.ThetaConstruction.RelativeEtaleCriterion.Geometric.RelativeRigidifiedCharts.zeroProjection_etale P C g (snd B.scheme U).left |
| 55 | intro z |
| 56 | exact StructurePicardBound.fieldBound_zero_stalk_H1_le_dimension A P hH1 C z |
| 57 | |
| 58 | theorem fieldBoundPicardComparison_openImmersion : |
| 59 | IsOpenImmersion (Picard.ThetaConstruction.RelativeComparison.Geometric.relativePicardComparisonProjection P D M).left := by |
| 60 | let : Etale (Picard.ThetaConstruction.RelativeComparison.Geometric.relativePicardComparisonProjection P D M).left := |
| 61 | fieldBoundPicardComparison_etale A B P hH1 D hinj M |
| 62 | let : Mono (Picard.ThetaConstruction.RelativeComparison.Geometric.relativePicardComparisonProjection P D M) := |
| 63 | Picard.ThetaConstruction.RelativeComparison.Geometric.relativePicardComparisonProjection_mono P D M hinj |
| 64 | exact IsOpenImmersion.of_flat_of_mono _ |
| 65 | |
| 66 | variable |
| 67 | (hgeom : ∀ (k : Type) [Field k] [IsAlgClosed k] (f : Spec (.of k) ⟶ S) |
| 68 | (x : A.homogeneousPicardSheaf.obj.obj |
| 69 | (.op ((Over.map f).obj (Over.mk (𝟙 (Spec (.of k))))))), |
| 70 | ∃ a : (Over.map f).obj (Over.mk (𝟙 (Spec (.of k)))) ⟶ B.scheme, |
| 71 | D.relativeValue a = A.homogeneousPicardSheafInclusion.hom.app |
| 72 | (.op ((Over.map f).obj (Over.mk (𝟙 (Spec (.of k)))))) x) |
| 73 | (hM : A.IsHomogeneousPicardClass U (Line.Bundles.LineBundle.classOf M.bundle)) |
| 74 | |
| 75 | include hgeom hM |
| 76 | |
| 77 | omit hH1 hinj in |
| 78 | theorem fieldBoundPicardComparison_surjective : |
| 79 | Surjective (Picard.ThetaConstruction.RelativeComparison.Geometric.relativePicardComparisonProjection P D M).left := by |
| 80 | apply Picard.ThetaConstruction.GeometricPointSurjectivity.Geometric.surjective_of_geometricPoint_lifts |
| 81 | intro k _ _ t |
| 82 | let f := t ≫ U.hom |
| 83 | let W := (Over.map f).obj (Over.mk (𝟙 (Spec (.of k)))) |
| 84 | let j : W ⟶ U := Over.homMk t (Category.id_comp f).symm |
| 85 | let x := RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.parameterHomogeneousPicardClass A M.bundle hM j |
| 86 | obtain ⟨a, ha⟩ := hgeom k f x |
| 87 | have he : D.relativeValue a = M.relativeValue j := |
| 88 | ha.trans (RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.parameterHomogeneousPicardClass_forget A M.bundle hM j) |
| 89 | obtain ⟨z, _, hz⟩ := (Picard.ThetaConstruction.RelativeComparison.Geometric.relativePicardComparison_factorization P D M a j).mp he |
| 90 | exact ⟨z.left, congrArg Over.Hom.left hz⟩ |
| 91 | |
| 92 | theorem fieldBoundPicardComparison_isIso : |
| 93 | IsIso (Picard.ThetaConstruction.RelativeComparison.Geometric.relativePicardComparisonProjection P D M) := by |
| 94 | let π := Picard.ThetaConstruction.RelativeComparison.Geometric.relativePicardComparisonProjection P D M |
| 95 | let : IsOpenImmersion π.left := fieldBoundPicardComparison_openImmersion A B P hH1 D hinj M |
| 96 | let : Surjective π.left := fieldBoundPicardComparison_surjective A B P D M hgeom hM |
| 97 | let : IsIso π.left := (isIso_iff_isOpenImmersion_and_surjective _).mpr |
| 98 | ⟨inferInstance, inferInstance⟩ |
| 99 | let : IsIso ((Over.forget S).map π) := inferInstanceAs (IsIso π.left) |
| 100 | exact isIso_of_reflects_iso π (Over.forget _) |
| 101 | |
| 102 | theorem fieldBoundPicard_existsUnique_parameter : |
| 103 | ∃! a : U ⟶ B.scheme, D.relativeValue a = M.relativeValue (𝟙 U) := by |
| 104 | let π := Picard.ThetaConstruction.RelativeComparison.Geometric.relativePicardComparisonProjection P D M |
| 105 | let : IsIso π := fieldBoundPicardComparison_isIso A B P hH1 D hinj M hgeom hM |
| 106 | let a := inv π ≫ Picard.ThetaConstruction.RelativeComparison.Geometric.relativePicardComparisonParameter P D M |
| 107 | have ha := Picard.ThetaConstruction.RelativeComparison.Geometric.relativePicardComparison_value P D M (inv π) |
| 108 | rw [IsIso.inv_hom_id] at ha |
| 109 | exact ⟨a, ha, fun b hb => hinj U (hb.trans ha.symm)⟩ |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.BoundPicardComparison |