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.Picard.ThetaConstruction.DifferenceClassBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Base.PointTranslations |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PointLineBundleTriviality |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.ExternalTensorBundle |
| 5 | |
| 6 | /-! # Line Multiplication -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.LineMultiplication |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An actual homogeneous line over a field satisfies the multiplication |
| 13 | formula, independently of any chosen dual abelian variety. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | variable {K : Type} [Field K] {g : ℕ} |
| 20 | (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) (L : Line.Bundles.LineBundle A.scheme.left) |
| 21 | (hL : ReferenceFamily.HomogeneousLinePowers.IsHomogeneousLineClass A (Line.Bundles.LineBundle.classOf L)) |
| 22 | |
| 23 | private theorem homogeneousLine_difference_formula {S : Scheme} |
| 24 | (X : Over S) [GrpObj X] (q : Line.Bundles.LineBundle.IsoClass X.left) |
| 25 | {T : Over S} (a b : T ⟶ X) : |
| 26 | RepresentationTheory.Theta.Geometric.TestDifferenceClasses.groupDifferenceClass X q a b = |
| 27 | RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (a * b).left q * (RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback a.left q)⁻¹ * |
| 28 | (RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback b.left q)⁻¹ := by |
| 29 | have h57 (r : Line.Bundles.LineBundle.IsoClass T.left) : Picard.Homomorphisms.LineBundleDual.Construction.dualLineBundleClass r = r⁻¹ := |
| 30 | eq_inv_of_mul_eq_one_left (Picard.Homomorphisms.LineBundleEvaluation.Construction.tensorClass_dual r) |
| 31 | dsimp only [RepresentationTheory.Theta.Geometric.TestDifferenceClasses.groupDifferenceClass] |
| 32 | exact congrArg₂ (fun x y : Line.Bundles.LineBundle.IsoClass T.left => RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (a * b).left q * x * y) |
| 33 | (h57 (RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback a.left q)) (h57 (RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback b.left q)) |
| 34 | |
| 35 | include hL in |
| 36 | theorem homogeneousLine_mul_class {T : Over (Spec (.of K))} (a b : T ⟶ A.scheme) : |
| 37 | Line.Bundles.LineBundle.classOf (L.pullback (a * b).left) = |
| 38 | Line.Bundles.LineBundle.classOf ((L.pullback a.left).tensor (L.pullback b.left)) := by |
| 39 | have h := Picard.ThetaConstruction.DifferenceClassBaseChange.Geometric.homogeneousLine_groupDifference A L hL a b |
| 40 | rw [homogeneousLine_difference_formula] at h |
| 41 | rw [Line.Bundles.LineBundle.classOf_tensor] |
| 42 | change RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (a * b).left (Line.Bundles.LineBundle.classOf L) = |
| 43 | RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback a.left (Line.Bundles.LineBundle.classOf L) * RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback b.left (Line.Bundles.LineBundle.classOf L) |
| 44 | apply mul_inv_eq_one.mp |
| 45 | simpa only [mul_inv_rev, mul_assoc, mul_comm, mul_left_comm] using h |
| 46 | |
| 47 | def homogeneousLine_mulIso {T : Over (Spec (.of K))} (a b : T ⟶ A.scheme) : |
| 48 | (L.pullback (a * b).left).sheaf ≅ |
| 49 | ((L.pullback a.left).tensor (L.pullback b.left)).sheaf := |
| 50 | Classical.choice (Quotient.exact (homogeneousLine_mul_class A L hL a b)) |
| 51 | |
| 52 | def lineBundle_constantPointIso (a : 𝟙_ (Over (Spec (.of K))) ⟶ A.scheme) : |
| 53 | (L.pullback (toUnit A.scheme ≫ a).left).sheaf ≅ Line.Bundles.structureModule A.scheme.left := by |
| 54 | have : Subsingleton ((𝟙_ (Over (Spec (.of K)))).left) := |
| 55 | inferInstanceAs (Subsingleton (Spec (.of K))) |
| 56 | have : Nonempty ((𝟙_ (Over (Spec (.of K)))).left) := |
| 57 | inferInstanceAs (Nonempty (Spec (.of K))) |
| 58 | exact ((Scheme.Modules.pullbackComp (toUnit A.scheme).left a.left).app L.sheaf).symm ≪≫ |
| 59 | (Scheme.Modules.pullback (toUnit A.scheme).left).mapIso |
| 60 | (L.pullback a.left).trivialization_of_subsingleton ≪≫ |
| 61 | Line.Bundles.structureModulePullbackIso (toUnit A.scheme).left |
| 62 | |
| 63 | def homogeneousLine_translationIso (a : 𝟙_ (Over (Spec (.of K))) ⟶ A.scheme) : |
| 64 | (L.pullback (A.basePointTranslation a).left).sheaf ≅ L.sheaf := |
| 65 | homogeneousLine_mulIso A L hL (toUnit A.scheme ≫ a) (𝟙 A.scheme) ≪≫ |
| 66 | Tensor.ProductSheaf.tensorModuleCongr (lineBundle_constantPointIso A L a) |
| 67 | ((Scheme.Modules.pullbackId A.scheme.left).app L.sheaf) ≪≫ |
| 68 | Tensor.ProductSheaf.tensorModuleUnitLeftIso L.sheaf |
| 69 | |
| 70 | def homogeneousLine_inversePairingIso : |
| 71 | (L.tensor (L.pullback ((𝟙 A.scheme)⁻¹).left)).sheaf ≅ Line.Bundles.structureModule A.scheme.left := by |
| 72 | have e : (L.pullback (1 : A.scheme ⟶ A.scheme).left).sheaf ≅ |
| 73 | ((L.pullback (𝟙 A.scheme : A.scheme ⟶ A.scheme).left).tensor |
| 74 | (L.pullback ((𝟙 A.scheme)⁻¹).left)).sheaf := by |
| 75 | simpa only [mul_inv_cancel] using |
| 76 | homogeneousLine_mulIso A L hL (𝟙 A.scheme) ((𝟙 A.scheme)⁻¹) |
| 77 | exact Tensor.ProductSheaf.tensorModuleCongr ((Scheme.Modules.pullbackId A.scheme.left).symm.app L.sheaf) |
| 78 | (Iso.refl _) ≪≫ e.symm ≪≫ lineBundle_constantPointIso A L η[A.scheme] |
| 79 | |
| 80 | def homogeneousLine_additionIso : |
| 81 | (L.pullback (fst A.scheme A.scheme * snd A.scheme A.scheme).left).sheaf ≅ |
| 82 | (Graph.ExternalTensorBundle.externalTensorBundle (A := A.scheme) (B := A.scheme) L L).sheaf := |
| 83 | homogeneousLine_mulIso A L hL (fst A.scheme A.scheme) (snd A.scheme A.scheme) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.LineMultiplication |