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.Projective.BundleIsoOpenDescent |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.AffineDifferenceHomogeneity |
| 3 | |
| 4 | /-! # Relative Cube -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LocallyNoetherian.RelativeCube.Theta.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The normalized cube identity and homogeneous difference line over |
| 11 | an arbitrary locally Noetherian base, obtained from the actual affine |
| 12 | cube identities by normalized line-isomorphism descent. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | universe u |
| 18 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.BundleIsoOpenDescent |
| 19 | |
| 20 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] {g : ℕ} |
| 21 | (A : Abelian.Schemes.AbelianScheme g S) (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) |
| 22 | (L : Line.Bundles.LineBundle A.scheme.left) |
| 23 | |
| 24 | include P |
| 25 | |
| 26 | theorem locallyNoetherian_universal_cube : |
| 27 | Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) |
| 28 | (Relative.CubeProducts.Theta.Geometric.relativeCubeFirst A) (Relative.CubeProducts.Theta.Geometric.relativeCubeSecond A) (Relative.CubeProducts.Theta.Geometric.relativeCubeThird A) = 1 := by |
| 29 | let PC : Projective.ProjectivePresentations.ProjectivePresentation (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A) := (P.product P).product P |
| 30 | let q := Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) |
| 31 | (Relative.CubeProducts.Theta.Geometric.relativeCubeFirst A) (Relative.CubeProducts.Theta.Geometric.relativeCubeSecond A) (Relative.CubeProducts.Theta.Geometric.relativeCubeThird A) |
| 32 | let C : Line.Bundles.LineBundle (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).left := q.out |
| 33 | have hC : Line.Bundles.LineBundle.classOf C = q := Quotient.out_eq _ |
| 34 | let z : Over.mk (𝟙 S) ⟶ Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A := 1 |
| 35 | have hz : z.left ≫ (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom = 𝟙 S := z.w |
| 36 | have hr : RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback z.left (Line.Bundles.LineBundle.classOf C) = 1 := by |
| 37 | rw [hC] |
| 38 | change RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback z.left |
| 39 | (Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) |
| 40 | (Relative.CubeProducts.Theta.Geometric.relativeCubeFirst A) (Relative.CubeProducts.Theta.Geometric.relativeCubeSecond A) (Relative.CubeProducts.Theta.Geometric.relativeCubeThird A)) = 1 |
| 41 | rw [Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass_pullback] |
| 42 | simp only [z, MonObj.one_comp, Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass, |
| 43 | Picard.ThetaConstruction.RelativeCubeClasses.Geometric.identityNormalizedLine_one_class, mul_one, div_one] |
| 44 | let zero : (C.pullback z.left).sheaf ≅ Line.Bundles.structureModule S := |
| 45 | Classical.choice (Quotient.exact hr) |
| 46 | let b : (C.pullback z.left).sheaf ≅ |
| 47 | ((Line.Bundles.LineBundle.trivial (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).left).pullback z.left).sheaf := |
| 48 | zero ≪≫ (Line.Bundles.structureModulePullbackIso z.left).symm |
| 49 | obtain ⟨e⟩ := Projective.BundleIsoOpenDescent.projective_bundleIso_of_openCover PC z.left hz C |
| 50 | (Line.Bundles.LineBundle.trivial (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).left) b S.affineCover (by |
| 51 | intro i |
| 52 | let f := S.affineCover.f i |
| 53 | have hc : Line.Bundles.LineBundle.pullbackClass (pullback.fst (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom f) |
| 54 | (Line.Bundles.LineBundle.classOf C) = 1 := by |
| 55 | rw [hC] |
| 56 | change RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (pullback.fst (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom f) |
| 57 | (Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) |
| 58 | (Relative.CubeProducts.Theta.Geometric.relativeCubeFirst A) (Relative.CubeProducts.Theta.Geometric.relativeCubeSecond A) (Relative.CubeProducts.Theta.Geometric.relativeCubeThird A)) = 1 |
| 59 | rw [Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass_baseChange, IdentityNormalizationBaseChange.Theta.Geometric.identityNormalizedLine_baseChange_class] |
| 60 | exact Noetherian.AffineRelativeCube.Theta.Geometric.noetherianAffine_cube (A.pullback f) (P.baseChange f) |
| 61 | (L.pullback (pullback.fst A.scheme.hom f)) _ _ _ |
| 62 | let frame : (C.pullback (pullback.fst (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom f)).sheaf ≅ |
| 63 | Line.Bundles.structureModule (pullback (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom f) := |
| 64 | Classical.choice (Quotient.exact hc) |
| 65 | exact ⟨frame ≪≫ (Line.Bundles.structureModulePullbackIso |
| 66 | (pullback.fst (Relative.CubeProducts.Theta.Geometric.relativeCubeProduct A).hom f)).symm⟩) |
| 67 | exact hC.symm.trans (Quotient.sound ⟨e⟩) |
| 68 | |
| 69 | theorem locallyNoetherian_cube {T : Over S} (a b c : T ⟶ A.scheme) : |
| 70 | Picard.ThetaConstruction.RelativeCubeClasses.Geometric.relativeCubeClass (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) a b c = 1 := |
| 71 | Relative.CubeProducts.Theta.Geometric.relativeCubeClass_eq_of_universal A _ (locallyNoetherian_universal_cube A P L) a b c |
| 72 | |
| 73 | theorem locallyNoetherian_groupDifference_mul_right {T : Over S} (a b c : T ⟶ A.scheme) : |
| 74 | RepresentationTheory.Theta.Geometric.TestDifferenceClasses.groupDifferenceClass A.scheme (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) a (b * c) = |
| 75 | RepresentationTheory.Theta.Geometric.TestDifferenceClasses.groupDifferenceClass A.scheme (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) a b * |
| 76 | RepresentationTheory.Theta.Geometric.TestDifferenceClasses.groupDifferenceClass A.scheme (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) a c := by |
| 77 | have hc := div_eq_one.mp (locallyNoetherian_cube A P L a b c) |
| 78 | have h := RepresentationTheory.Theta.Geometric.Cubical.ClassPullback.cubical_group_difference _ _ _ _ _ _ _ hc |
| 79 | simpa only [RepresentationTheory.Theta.Geometric.TestDifferenceClasses.groupDifferenceClass, mul_assoc] using h |
| 80 | |
| 81 | theorem locallyNoetherian_difference_translate_class {T : Over S} (a b : T ⟶ A.scheme) : |
| 82 | RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (A.translation b).left (RepresentationTheory.Theta.Geometric.ParameterizedPicardClass.parameterLineClass (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeDifferenceBundle A L) a) = |
| 83 | RepresentationTheory.Theta.Geometric.ParameterizedPicardClass.parameterLineClass (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeDifferenceBundle A L) a * |
| 84 | RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (fst T A.scheme).left |
| 85 | (RepresentationTheory.Theta.Geometric.TestDifferenceClasses.groupDifferenceClass A.scheme (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) a b) := by |
| 86 | rw [Local.DifferenceHomogeneity.Theta.Geometric.local_difference_parameter_class, RepresentationTheory.Theta.Geometric.TestDifferenceClasses.groupDifferenceClass_pullback] |
| 87 | simp only [← Category.assoc, Abelian.Schemes.AbelianScheme.translation_fst, Abelian.Schemes.AbelianScheme.translation_snd] |
| 88 | rw [locallyNoetherian_groupDifference_mul_right A P L] |
| 89 | exact (mul_comm _ _).trans (congrArg₂ (fun x y => x * y) rfl |
| 90 | (RepresentationTheory.Theta.Geometric.TestDifferenceClasses.groupDifferenceClass_pullback A.scheme (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.identityNormalizedLine A L)) |
| 91 | (fst T A.scheme) a b).symm) |
| 92 | |
| 93 | theorem locallyNoetherian_difference_homogeneous : |
| 94 | A.IsHomogeneousPicardClass A.scheme (Line.Bundles.LineBundle.classOf (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeDifferenceBundle A L)) := by |
| 95 | intro T f a |
| 96 | change (Picard.PicardSheaf.toRelativePicard A.scheme).app (.op T) |
| 97 | (RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (A.translation a).left (RepresentationTheory.Theta.Geometric.ParameterizedPicardClass.parameterLineClass (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeDifferenceBundle A L) f)) = |
| 98 | (Picard.PicardSheaf.toRelativePicard A.scheme).app (.op T) (RepresentationTheory.Theta.Geometric.ParameterizedPicardClass.parameterLineClass (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeDifferenceBundle A L) f) |
| 99 | rw [locallyNoetherian_difference_translate_class A P L] |
| 100 | exact RepresentationTheory.Theta.Geometric.Picard.BaseTwists.relativePicard_tensor_base A.scheme T _ _ |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LocallyNoetherian.RelativeCube.Theta.Geometric |