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.BoundPicardComparison |
| 2 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.NormalizedRigidifiedFamily |
| 3 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.NoetherianHomogeneousLineModel |
| 4 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.ReferenceAffineTestCoordinates |
| 5 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.HomogeneousBaseChangeForgetting |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.UniversalGlobalFunctions |
| 7 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.PicardInclusionFaithfulness |
| 8 | import OAI.RepresentationTheory.Theta.Geometric.Affine.CoverLocalSurjectivity |
| 9 | import OAI.RepresentationTheory.Theta.Geometric.HomogeneousParameterEmbedding |
| 10 | import Mathlib.CategoryTheory.Sites.LocallyBijective |
| 11 | |
| 12 | /-! # Bound Picard Representation -/ |
| 13 | |
| 14 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.BoundPicardRepresentation |
| 15 | |
| 16 | noncomputable section |
| 17 | |
| 18 | /-! An injective homogeneous family with every geometric homogeneous |
| 19 | class represents the original homogeneous Picard sheaf over a |
| 20 | Noetherian affine base with the supplied geometric H1 bound. Noetherian approximation of the actual |
| 21 | line family extends the comparison theorem to all test schemes. -/ |
| 22 | |
| 23 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 24 | open _root_.CategoryTheory.MonoidalCategory |
| 25 | |
| 26 | variable {R : Type} [CommRing R] [hR : IsNoetherianRing R] {g : ℕ} |
| 27 | (A B : Abelian.Schemes.AbelianScheme g (Spec (.of R))) |
| 28 | (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) |
| 29 | (hH1 : A.HasFieldStructureH1Bound) |
| 30 | (D : AbelianScheme.IsogenyQuotient.Relative.RigidifiedLine.Construction.RelativeRigidifiedProductLine A.scheme B.scheme) |
| 31 | (hD : A.IsHomogeneousPicardClass B.scheme (Line.Bundles.LineBundle.classOf D.bundle)) |
| 32 | (hinj : ∀ V : Over (Spec (.of R)), Function.Injective (D.relativeValue (T := V))) |
| 33 | (hgeom : ∀ (k : Type) [Field k] [IsAlgClosed k] (f : Spec (.of k) ⟶ Spec (.of R)) |
| 34 | (x : A.homogeneousPicardSheaf.obj.obj |
| 35 | (.op ((Over.map f).obj (Over.mk (𝟙 (Spec (.of k))))))), |
| 36 | ∃ a : (Over.map f).obj (Over.mk (𝟙 (Spec (.of k)))) ⟶ B.scheme, |
| 37 | D.relativeValue a = A.homogeneousPicardSheafInclusion.hom.app |
| 38 | (.op ((Over.map f).obj (Over.mk (𝟙 (Spec (.of k)))))) x) |
| 39 | |
| 40 | include hR hH1 P hinj hgeom |
| 41 | |
| 42 | omit hR in |
| 43 | theorem fieldBound_noetherian_homogeneous_class_has_parameter |
| 44 | (U : Over (Spec (.of R))) [IsLocallyNoetherian U.left] |
| 45 | (q : A.homogeneousPicardPresheaf.obj (.op U)) : |
| 46 | ∃ a : U ⟶ B.scheme, |
| 47 | (RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.homogeneousParameterMap A D.bundle hD).app (.op U) (ULift.up a) = |
| 48 | (toSheafify (Scheme.fppfTopology.over (Spec (.of R))) |
| 49 | A.homogeneousPicardPresheaf).app (.op U) q := by |
| 50 | let L := q.val.out |
| 51 | have hc : Line.Bundles.LineBundle.classOf L = q.val := Quotient.out_eq _ |
| 52 | have hL : A.IsHomogeneousPicardClass U (Line.Bundles.LineBundle.classOf L) := hc.symm ▸ q.property |
| 53 | let C := Picard.ThetaConstruction.NormalizedRigidifiedFamily.Geometric.normalizedRigidifiedFamily A U L |
| 54 | have hC := Picard.ThetaConstruction.NormalizedRigidifiedFamily.Geometric.normalizedRigidifiedFamily_homogeneous A U L hL |
| 55 | obtain ⟨a, ha, _⟩ := BoundPicardComparison.fieldBoundPicard_existsUnique_parameter A B P hH1 D hinj C hgeom hC |
| 56 | refine ⟨a, ?_⟩ |
| 57 | apply A.homogeneousPicardSectionInclusion_injective U |
| 58 | exact (RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.parameterHomogeneousPicardClass_forget A D.bundle hD a).trans |
| 59 | (ha.trans ((Picard.ThetaConstruction.NormalizedRigidifiedFamily.Geometric.normalizedRigidifiedFamily_value_id A U L).trans |
| 60 | ((congrArg ((Picard.PicardSheaf.toRelativePicard A.scheme).app (.op U)) hc).trans |
| 61 | (Picard.ThetaConstruction.HomogeneousBaseChangeForgetting.Geometric.homogeneousForget_toSheafify A U q).symm))) |
| 62 | |
| 63 | theorem fieldBound_algebra_homogeneous_class_has_parameter |
| 64 | {K : Type} [CommRing K] [Algebra R K] |
| 65 | (q : A.homogeneousPicardPresheaf.obj (.op (ReferenceFamily.Finite.CoefficientLimit.algebraSpecOver R K))) : |
| 66 | ∃ a : ReferenceFamily.Finite.CoefficientLimit.algebraSpecOver R K ⟶ B.scheme, |
| 67 | (RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.homogeneousParameterMap A D.bundle hD).app _ (ULift.up a) = |
| 68 | (toSheafify (Scheme.fppfTopology.over (Spec (.of R))) |
| 69 | A.homogeneousPicardPresheaf).app _ q := by |
| 70 | let U := ReferenceFamily.Finite.CoefficientLimit.algebraSpecOver R K |
| 71 | let L : Line.Bundles.LineBundle (U ⊗ A.scheme).left := q.val.out |
| 72 | have hc : Line.Bundles.LineBundle.classOf L = q.val := Quotient.out_eq _ |
| 73 | have hL : A.IsHomogeneousPicardClass U (Line.Bundles.LineBundle.classOf L) := hc.symm ▸ q.property |
| 74 | have hΓ := Picard.ThetaConstruction.RelativeTriviality.Geometric.projectiveFamily_hasUniversalGlobalFunctions P |
| 75 | obtain ⟨V, hV, M, j, hM, hclass⟩ := Picard.ThetaConstruction.NoetherianHomogeneousLineModel.Geometric.exists_noetherian_homogeneous_line_model A hΓ L hL |
| 76 | let : IsLocallyNoetherian V.left := hV |
| 77 | let qM : A.homogeneousPicardPresheaf.obj (.op V) := ⟨Line.Bundles.LineBundle.classOf M, hM⟩ |
| 78 | obtain ⟨a, ha⟩ := fieldBound_noetherian_homogeneous_class_has_parameter |
| 79 | A B P hH1 D hD hinj hgeom V qM |
| 80 | have hq : A.homogeneousPicardPresheaf.map j.op qM = q := by |
| 81 | apply Subtype.ext |
| 82 | exact hclass.trans hc |
| 83 | let sheafifyMap := toSheafify (Scheme.fppfTopology.over (Spec (.of R))) |
| 84 | A.homogeneousPicardPresheaf |
| 85 | refine ⟨j ≫ a, (RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.parameterHomogeneousPicardClass_naturality A D.bundle hD a j).symm.trans ?_⟩ |
| 86 | exact (congrArg (A.homogeneousPicardSheaf.obj.map j.op) ha).trans |
| 87 | ((sheafifyMap.naturality_apply j.op qM).symm.trans |
| 88 | (congrArg (sheafifyMap.app (.op U)) hq)) |
| 89 | |
| 90 | theorem fieldBoundHomogeneousParameterMap_locallySurjective : |
| 91 | Presheaf.IsLocallySurjective (Scheme.fppfTopology.over (Spec (.of R))) |
| 92 | (RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.homogeneousParameterMap A D.bundle hD) := by |
| 93 | let HP := A.homogeneousPicardPresheaf |
| 94 | let G := A.homogeneousPicardSheaf.obj |
| 95 | let sheafifyMap := toSheafify (Scheme.fppfTopology.over (Spec (.of R))) HP |
| 96 | let : Presheaf.IsLocallySurjective (Scheme.fppfTopology.over (Spec (.of R))) sheafifyMap := |
| 97 | inferInstanceAs (Presheaf.IsLocallySurjective (Scheme.fppfTopology.over (Spec (.of R))) |
| 98 | (toSheafify (Scheme.fppfTopology.over (Spec (.of R))) A.homogeneousPicardPresheaf)) |
| 99 | refine @RepresentationTheory.Theta.Geometric.Affine.CoverLocalSurjectivity.locallySurjective_of_affine_representatives (Spec (.of R)) |
| 100 | (uliftYoneda.{1}.obj B.scheme) HP G |
| 101 | (RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.homogeneousParameterMap A D.bundle hD) sheafifyMap this ?_ |
| 102 | intro U _ q |
| 103 | let := Picard.ThetaConstruction.ReferenceAffineTestCoordinates.Geometric.originalAffineGroundAlgebra R U |
| 104 | let e := Picard.ThetaConstruction.ReferenceAffineTestCoordinates.Geometric.originalAffineTestIso R U |
| 105 | let q' := HP.map e.inv.op q |
| 106 | obtain ⟨a, ha⟩ := fieldBound_algebra_homogeneous_class_has_parameter |
| 107 | A B P hH1 D hD hinj hgeom q' |
| 108 | have hq : HP.map e.hom.op q' = q := by |
| 109 | change HP.map e.hom.op (HP.map e.inv.op q) = q |
| 110 | rw [← Functor.map_comp_apply, ← op_comp, e.hom_inv_id, op_id, Functor.map_id_apply] |
| 111 | refine ⟨ULift.up (e.hom ≫ a), |
| 112 | (RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.parameterHomogeneousPicardClass_naturality A D.bundle hD a e.hom).symm.trans ?_⟩ |
| 113 | exact (congrArg (G.map e.hom.op) ha).trans |
| 114 | ((sheafifyMap.naturality_apply e.hom.op q').symm.trans |
| 115 | (congrArg (sheafifyMap.app (.op U)) hq)) |
| 116 | |
| 117 | theorem fieldBoundHomogeneousParameterMap_isIso : |
| 118 | IsIso (RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.homogeneousParameterMap A D.bundle hD) := by |
| 119 | let J := Scheme.fppfTopology.over (Spec (.of R)) |
| 120 | let f : J.uliftYoneda.{1}.obj B.scheme ⟶ A.homogeneousPicardSheaf := |
| 121 | ⟨RepresentationTheory.Theta.Geometric.ParameterizedHomogeneousPicard.homogeneousParameterMap A D.bundle hD⟩ |
| 122 | have hm : Mono f.hom := RepresentationTheory.Theta.Geometric.HomogeneousParameterEmbedding.homogeneousParameterMap_mono A D.bundle hD hinj |
| 123 | let : Mono f := (sheafToPresheaf _ _).mono_of_mono_map hm |
| 124 | let : Presheaf.IsLocallySurjective J f.hom := |
| 125 | fieldBoundHomogeneousParameterMap_locallySurjective A B P hH1 D hD hinj hgeom |
| 126 | let : IsIso f := isIso_of_mono_of_epi f |
| 127 | exact inferInstanceAs (IsIso ((sheafToPresheaf _ _).map f)) |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.BoundPicardRepresentation |