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.AbelianScheme.IsogenyQuotient.Noetherian.PicardClassIso |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Rigidified.IsoPullback |
| 3 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 4 | |
| 5 | /-! # Rigidified Line -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.RigidifiedLine.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A rigidified line on a relative group family has canonical |
| 12 | comparisons over Noetherian parameters whenever its relative Picard values agree. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | structure RelativeRigidifiedProductLine {S : Scheme.{0}} (A B : Over S) [GrpObj A] where |
| 19 | bundle : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (B ⊗ A).left |
| 20 | axis : (Scheme.Modules.pullback (lift (𝟙 B) (1 : B ⟶ A)).left).obj bundle.sheaf ≅ |
| 21 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule B.left |
| 22 | |
| 23 | namespace RelativeRigidifiedProductLine |
| 24 | |
| 25 | variable {S : Scheme.{0}} {A B : Over S} [GrpObj A] (D : RelativeRigidifiedProductLine A B) |
| 26 | |
| 27 | def line {T : Over S} (a : T ⟶ B) : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (T ⊗ A).left := D.bundle.pullback (a ⊗ₘ 𝟙 A).left |
| 28 | |
| 29 | theorem axis_square {T : Over S} (a : T ⟶ B) : |
| 30 | (lift (𝟙 T) (1 : T ⟶ A)).left ≫ (a ⊗ₘ 𝟙 A).left = |
| 31 | a.left ≫ (lift (𝟙 B) (1 : B ⟶ A)).left := by |
| 32 | have h : lift (𝟙 T) (1 : T ⟶ A) ≫ (a ⊗ₘ 𝟙 A) = a ≫ lift (𝟙 B) (1 : B ⟶ A) := by simp |
| 33 | exact congrArg Over.Hom.left h |
| 34 | |
| 35 | def frame {T : Over S} (a : T ⟶ B) : |
| 36 | (Scheme.Modules.pullback (lift (𝟙 T) (1 : T ⟶ A)).left).obj (D.line a).sheaf ≅ |
| 37 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T.left := |
| 38 | FormalGeometry.Completion.Rigidified.FrameScalar.Construction.rigidificationBaseChangeIso (a ⊗ₘ 𝟙 A).left (lift (𝟙 T) (1 : T ⟶ A)).left |
| 39 | a.left (lift (𝟙 B) (1 : B ⟶ A)).left (axis_square a) D.bundle.sheaf D.axis |
| 40 | |
| 41 | def relativeValue {T : Over S} (a : T ⟶ B) := |
| 42 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A).app (op T) (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line a)) |
| 43 | |
| 44 | def Normalized {T : Over S} (a b : T ⟶ B) (e : (D.line a).sheaf ≅ (D.line b).sheaf) : Prop := |
| 45 | (Scheme.Modules.pullback (lift (𝟙 T) (1 : T ⟶ A)).left).map e.hom ≫ (D.frame b).hom = |
| 46 | (D.frame a).hom |
| 47 | |
| 48 | variable [IsProper A.hom] [Smooth A.hom] [GeometricallyConnected A.hom] |
| 49 | |
| 50 | set_option backward.isDefEq.respectTransparency false in |
| 51 | theorem existsUnique_normalized {T : Over S} [IsLocallyNoetherian T.left] (a b : T ⟶ B) |
| 52 | (h : D.relativeValue a = D.relativeValue b) : |
| 53 | ∃! e : (D.line a).sheaf ≅ (D.line b).sheaf, D.Normalized a b e := by |
| 54 | have : IsProper (fst T A).left := inferInstanceAs (IsProper (pullback.fst T.hom A.hom)) |
| 55 | have : Smooth (fst T A).left := inferInstanceAs (Smooth (pullback.fst T.hom A.hom)) |
| 56 | have : GeometricallyConnected (fst T A).left := |
| 57 | inferInstanceAs (GeometricallyConnected (pullback.fst T.hom A.hom)) |
| 58 | let σ := (lift (𝟙 T) (1 : T ⟶ A)).left |
| 59 | have hσ : σ ≫ (fst T A).left = 𝟙 T.left := congrArg Over.Hom.left (lift_fst (𝟙 T) (1 : T ⟶ A)) |
| 60 | have hLM : Nonempty ((D.line a).sheaf ≅ (D.line b).sheaf) := |
| 61 | Noetherian.PicardClassIso.Construction.noetherian_bundleIso_of_relativePicard_eq A T (D.line a) (D.line b) σ hσ |
| 62 | (D.frame a ≪≫ (D.frame b).symm) h |
| 63 | obtain ⟨e, he, hu⟩ := Noetherian.BundleNormalization.Construction.noetherian_existsUnique_bundleIso_with_section_fiber (fst T A).left σ hσ |
| 64 | (D.line a) (D.line b) hLM (D.frame a ≪≫ (D.frame b).symm) |
| 65 | have hn (d : (D.line a).sheaf ≅ (D.line b).sheaf) : D.Normalized a b d ↔ |
| 66 | (Scheme.Modules.pullback σ).map d.hom = (D.frame a ≪≫ (D.frame b).symm).hom := by |
| 67 | constructor |
| 68 | · intro hd |
| 69 | dsimp only [RelativeRigidifiedProductLine.Normalized] at hd |
| 70 | exact (cancel_mono (D.frame b).hom).mp (by |
| 71 | simpa only [Iso.trans_hom, Iso.symm_hom, Category.assoc, Iso.inv_hom_id, Category.comp_id] using hd) |
| 72 | · intro hd |
| 73 | change (Scheme.Modules.pullback σ).map d.hom ≫ (D.frame b).hom = (D.frame a).hom |
| 74 | rw [hd] |
| 75 | simp |
| 76 | exact ⟨e, (hn e).mpr he, fun d hd => hu d ((hn d).mp hd)⟩ |
| 77 | |
| 78 | def comparison {T : Over S} [IsLocallyNoetherian T.left] (a b : T ⟶ B) |
| 79 | (h : D.relativeValue a = D.relativeValue b) : (D.line a).sheaf ≅ (D.line b).sheaf := |
| 80 | Classical.choose (D.existsUnique_normalized a b h) |
| 81 | |
| 82 | theorem comparison_normalized {T : Over S} [IsLocallyNoetherian T.left] (a b : T ⟶ B) |
| 83 | (h : D.relativeValue a = D.relativeValue b) : D.Normalized a b (D.comparison a b h) := |
| 84 | (Classical.choose_spec (D.existsUnique_normalized a b h)).1 |
| 85 | |
| 86 | theorem comparison_unique {T : Over S} [IsLocallyNoetherian T.left] (a b : T ⟶ B) |
| 87 | (h : D.relativeValue a = D.relativeValue b) (e : (D.line a).sheaf ≅ (D.line b).sheaf) |
| 88 | (he : D.Normalized a b e) : e = D.comparison a b h := |
| 89 | (Classical.choose_spec (D.existsUnique_normalized a b h)).2 e he |
| 90 | |
| 91 | theorem comparison_self {T : Over S} [IsLocallyNoetherian T.left] (a : T ⟶ B) : |
| 92 | D.comparison a a rfl = Iso.refl _ := by |
| 93 | symm |
| 94 | apply D.comparison_unique |
| 95 | simp [RelativeRigidifiedProductLine.Normalized] |
| 96 | |
| 97 | theorem comparison_comp {T : Over S} [IsLocallyNoetherian T.left] (a b c : T ⟶ B) |
| 98 | (hab : D.relativeValue a = D.relativeValue b) (hbc : D.relativeValue b = D.relativeValue c) : |
| 99 | D.comparison a b hab ≪≫ D.comparison b c hbc = D.comparison a c (hab.trans hbc) := by |
| 100 | apply D.comparison_unique |
| 101 | change (Scheme.Modules.pullback (lift (𝟙 T) (1 : T ⟶ A)).left).map |
| 102 | ((D.comparison a b hab).hom ≫ (D.comparison b c hbc).hom) ≫ _ = _ |
| 103 | rw [Functor.map_comp, Category.assoc, D.comparison_normalized b c hbc, D.comparison_normalized a b hab] |
| 104 | |
| 105 | end RelativeRigidifiedProductLine |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.RigidifiedLine.Construction |