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.DifferencePointBundles |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Dual.BaseChange |
| 3 | import OAI.AlgebraicGeometry.Picard.ThetaConstruction.DifferenceClassBaseChange |
| 4 | |
| 5 | /-! # Difference Field Specialization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DifferenceFieldSpecialization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A field-valued parameter gives the actual Cartesian fiber of the |
| 12 | original difference family. Its line class is the difference-point |
| 13 | bundle on the changed abelian scheme, in every characteristic. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.ThetaConstruction.DifferenceClassBaseChange.Geometric |
| 20 | |
| 21 | section Maps |
| 22 | variable {S : Scheme.{0}} {K : Type} [Field K] {g : ℕ} |
| 23 | (A : Abelian.Schemes.AbelianScheme g S) (c : Spec (.of K) ⟶ S) |
| 24 | (x : (Over.map c).obj (𝟙_ (Over (Spec (.of K)))) ⟶ A.scheme) |
| 25 | |
| 26 | def differenceFieldSpecializationPoint : |
| 27 | 𝟙_ (Over (Spec (.of K))) ⟶ (A.pullback c).scheme := |
| 28 | (A.baseChangePointsEquiv c (𝟙_ (Over (Spec (.of K))))).symm x |
| 29 | |
| 30 | def differenceFieldSpecializationMap : |
| 31 | (A.pullback c).scheme.left ⟶ (A.scheme ⊗ A.scheme).left := |
| 32 | (lift ((Over.map c).map (toUnit (A.pullback c).scheme) ≫ x) |
| 33 | (Dual.Data.DualAbelianData.baseChangeProjection A c)).left |
| 34 | |
| 35 | theorem differenceFieldSpecializationMap_fst : |
| 36 | differenceFieldSpecializationMap A c x ≫ pullback.fst A.scheme.hom A.scheme.hom = |
| 37 | (A.pullback c).scheme.hom ≫ x.left := |
| 38 | congrArg Over.Hom.left (lift_fst |
| 39 | ((Over.map c).map (toUnit (A.pullback c).scheme) ≫ x) (Dual.Data.DualAbelianData.baseChangeProjection A c)) |
| 40 | |
| 41 | theorem differenceFieldSpecializationMap_snd : |
| 42 | differenceFieldSpecializationMap A c x ≫ pullback.snd A.scheme.hom A.scheme.hom = |
| 43 | pullback.fst A.scheme.hom c := by |
| 44 | have h := congrArg Over.Hom.left (lift_snd |
| 45 | ((Over.map c).map (toUnit (A.pullback c).scheme) ≫ x) (Dual.Data.DualAbelianData.baseChangeProjection A c)) |
| 46 | change differenceFieldSpecializationMap A c x ≫ pullback.snd A.scheme.hom A.scheme.hom = |
| 47 | (𝟙 (A.pullback c).scheme.left) ≫ pullback.fst A.scheme.hom c at h |
| 48 | exact h.trans (Category.id_comp _) |
| 49 | |
| 50 | theorem differenceFieldSpecialization_isPullback : |
| 51 | IsPullback (differenceFieldSpecializationMap A c x) (A.pullback c).scheme.hom |
| 52 | (pullback.fst A.scheme.hom A.scheme.hom) x.left := by |
| 53 | have hx : x.left ≫ A.scheme.hom = c := x.w.trans (Category.id_comp c) |
| 54 | have hr : IsPullback |
| 55 | (differenceFieldSpecializationMap A c x ≫ pullback.snd A.scheme.hom A.scheme.hom) |
| 56 | (A.pullback c).scheme.hom A.scheme.hom (x.left ≫ A.scheme.hom) := by |
| 57 | rw [differenceFieldSpecializationMap_snd, hx] |
| 58 | exact IsPullback.of_hasPullback A.scheme.hom c |
| 59 | exact IsPullback.of_right hr (differenceFieldSpecializationMap_fst A c x) |
| 60 | (IsPullback.of_hasPullback A.scheme.hom A.scheme.hom).flip |
| 61 | |
| 62 | end Maps |
| 63 | |
| 64 | private theorem differenceClass_baseChangePoints |
| 65 | {S S' : Scheme.{0}} {g : ℕ} (A : Abelian.Schemes.AbelianScheme g S) |
| 66 | (q : Line.Bundles.LineBundle.IsoClass A.scheme.left) (c : S' ⟶ S) (T : Over S') |
| 67 | (a b : T ⟶ (A.pullback c).scheme) : |
| 68 | RepresentationTheory.Theta.Geometric.TestDifferenceClasses.groupDifferenceClass A.scheme q |
| 69 | (A.baseChangePointsEquiv c T a) (A.baseChangePointsEquiv c T b) = |
| 70 | RepresentationTheory.Theta.Geometric.TestDifferenceClasses.groupDifferenceClass (A.pullback c).scheme |
| 71 | (RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (pullback.fst A.scheme.hom c) q) a b := by |
| 72 | have hp (u : T ⟶ (A.pullback c).scheme) : |
| 73 | RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (A.baseChangePointsEquiv c T u).left q = |
| 74 | RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback u.left (RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (pullback.fst A.scheme.hom c) q) := |
| 75 | (congrArg (fun f => RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback f q) |
| 76 | (A.baseChangePointsEquiv_apply c T u)).trans |
| 77 | (RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback_comp u.left (pullback.fst A.scheme.hom c) q).symm |
| 78 | have hm : RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback |
| 79 | (A.baseChangePointsEquiv c T a * A.baseChangePointsEquiv c T b).left q = |
| 80 | RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (a * b).left (RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback (pullback.fst A.scheme.hom c) q) := |
| 81 | (congrArg (fun u : (Over.map c).obj T ⟶ A.scheme => RepresentationTheory.Theta.Geometric.Picard.PicardPullback.picardPullback u.left q) |
| 82 | ((A.baseChangePointsMulEquiv c T).map_mul a b).symm).trans (hp (a * b)) |
| 83 | exact congrArg₂ Line.Bundles.LineBundle.tensorClass |
| 84 | (congrArg₂ Line.Bundles.LineBundle.tensorClass hm (congrArg Picard.Homomorphisms.LineBundleDual.Construction.dualLineBundleClass (hp a))) |
| 85 | (congrArg Picard.Homomorphisms.LineBundleDual.Construction.dualLineBundleClass (hp b)) |
| 86 | |
| 87 | private theorem relativeDifference_pair_baseChangeField |
| 88 | {k K : Type} [Field k] [Field K] {g : ℕ} |
| 89 | (A : Abelian.Schemes.AbelianScheme g (Spec (.of k))) (L : Line.Bundles.LineBundle A.scheme.left) |
| 90 | (c : Spec (.of K) ⟶ Spec (.of k)) (T : Over (Spec (.of K))) |
| 91 | (a b : T ⟶ (A.pullback c).scheme) : |
| 92 | Line.Bundles.LineBundle.classOf ((Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeDifferenceBundle A L).pullback |
| 93 | (lift (A.baseChangePointsEquiv c T a) (A.baseChangePointsEquiv c T b)).left) = |
| 94 | Line.Bundles.LineBundle.classOf ((Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeDifferenceBundle (A.pullback c) |
| 95 | (L.pullback (pullback.fst A.scheme.hom c))).pullback (lift a b).left) := by |
| 96 | rw [Picard.ThetaConstruction.DifferenceClassBaseChange.Geometric.relativeDifference_pair_class, Picard.ThetaConstruction.DifferenceClassBaseChange.Geometric.relativeDifference_pair_class, |
| 97 | Picard.ThetaConstruction.DifferenceClassBaseChange.Geometric.identityNormalizedLine_class_overField, Picard.ThetaConstruction.DifferenceClassBaseChange.Geometric.identityNormalizedLine_class_overField] |
| 98 | exact differenceClass_baseChangePoints A (Line.Bundles.LineBundle.classOf L) c T a b |
| 99 | |
| 100 | theorem differenceFieldSpecialization_class |
| 101 | {k K : Type} [Field k] [Field K] {g : ℕ} |
| 102 | (A : Abelian.Schemes.AbelianScheme g (Spec (.of k))) (L : Line.Bundles.LineBundle A.scheme.left) |
| 103 | (c : Spec (.of K) ⟶ Spec (.of k)) |
| 104 | (x : (Over.map c).obj (𝟙_ (Over (Spec (.of K)))) ⟶ A.scheme) : |
| 105 | Line.Bundles.LineBundle.classOf ((Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeDifferenceBundle A L).pullback |
| 106 | (differenceFieldSpecializationMap A c x)) = |
| 107 | Line.Bundles.LineBundle.classOf (DifferencePointBundles.differencePointBundle (A.pullback c) |
| 108 | (L.pullback (pullback.fst A.scheme.hom c)) (differenceFieldSpecializationPoint A c x)) := by |
| 109 | let B := (A.pullback c).scheme |
| 110 | let a := differenceFieldSpecializationPoint A c x |
| 111 | have ha : A.baseChangePointsEquiv c (𝟙_ (Over (Spec (.of K)))) a = x := |
| 112 | (A.baseChangePointsEquiv c (𝟙_ (Over (Spec (.of K))))).apply_symm_apply x |
| 113 | have hfirst : A.baseChangePointsEquiv c B (toUnit B ≫ a) = |
| 114 | (Over.map c).map (toUnit B) ≫ x := by |
| 115 | rw [Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_precomp, ha] |
| 116 | have h := relativeDifference_pair_baseChangeField A L c B (toUnit B ≫ a) (𝟙 B) |
| 117 | rw [hfirst] at h |
| 118 | exact h |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DifferenceFieldSpecialization |