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.FormalGeometry.Completion.Rigidified.LineIsomorphisms |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Rigidified.IsoPullback |
| 3 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Grp |
| 4 | |
| 5 | /-! # Product Line -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Rigidified.ProductLine |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A line bundle on a constant group family with a fixed identity-axis |
| 12 | frame. Equal family classes have canonical normalized comparisons. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | namespace Construction |
| 21 | |
| 22 | universe u |
| 23 | variable {K : Type u} [Field K] |
| 24 | |
| 25 | structure RigidifiedProductLine (A B : Over (Spec (.of K))) [GrpObj A] where |
| 26 | bundle : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (B ⊗ A).left |
| 27 | axis : (Scheme.Modules.pullback (lift (𝟙 B) (1 : B ⟶ A)).left).obj bundle.sheaf ≅ |
| 28 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule B.left |
| 29 | |
| 30 | namespace RigidifiedProductLine |
| 31 | |
| 32 | variable {A B : Over (Spec (.of K))} [GrpObj A] (D : RigidifiedProductLine A B) |
| 33 | |
| 34 | def line {T : Over (Spec (.of K))} (a : T ⟶ B) : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (T ⊗ A).left := |
| 35 | D.bundle.pullback (a ⊗ₘ 𝟙 A).left |
| 36 | |
| 37 | theorem axis_square {T : Over (Spec (.of K))} (a : T ⟶ B) : |
| 38 | (lift (𝟙 T) (1 : T ⟶ A)).left ≫ (a ⊗ₘ 𝟙 A).left = |
| 39 | a.left ≫ (lift (𝟙 B) (1 : B ⟶ A)).left := by |
| 40 | have h : lift (𝟙 T) (1 : T ⟶ A) ≫ (a ⊗ₘ 𝟙 A) = |
| 41 | a ≫ lift (𝟙 B) (1 : B ⟶ A) := by simp |
| 42 | exact congrArg Over.Hom.left h |
| 43 | |
| 44 | def frame {T : Over (Spec (.of K))} (a : T ⟶ B) : |
| 45 | (Scheme.Modules.pullback (lift (𝟙 T) (1 : T ⟶ A)).left).obj (D.line a).sheaf ≅ |
| 46 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T.left := |
| 47 | FrameScalar.Construction.rigidificationBaseChangeIso (a ⊗ₘ 𝟙 A).left (lift (𝟙 T) (1 : T ⟶ A)).left |
| 48 | a.left (lift (𝟙 B) (1 : B ⟶ A)).left (axis_square a) D.bundle.sheaf D.axis |
| 49 | |
| 50 | def Normalized {T : Over (Spec (.of K))} (a b : T ⟶ B) |
| 51 | (e : (D.line a).sheaf ≅ (D.line b).sheaf) : Prop := |
| 52 | (Scheme.Modules.pullback (lift (𝟙 T) (1 : T ⟶ A)).left).map e.hom ≫ (D.frame b).hom = |
| 53 | (D.frame a).hom |
| 54 | |
| 55 | variable [IsAlgClosed K] [IsProper A.hom] [IsIntegral A.left] |
| 56 | |
| 57 | theorem existsUnique_normalized {T : Over (Spec (.of K))} (a b : T ⟶ B) |
| 58 | (h : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line a) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line b)) : |
| 59 | ∃! e : (D.line a).sheaf ≅ (D.line b).sheaf, D.Normalized a b e := by |
| 60 | obtain ⟨e⟩ := Quotient.exact h |
| 61 | obtain ⟨e', he', hu⟩ := LineIsomorphisms.Construction.properConstantFamily_existsUnique_lineIso A.hom (snd T A).left |
| 62 | (fst T A).left T.hom (IsPullback.of_hasPullback T.hom A.hom).flip |
| 63 | (lift (𝟙 T) (1 : T ⟶ A)).left (congrArg Over.Hom.left (lift_fst (𝟙 T) (1 : T ⟶ A))) |
| 64 | (D.line a) (D.line b) e (D.frame a ≪≫ (D.frame b).symm) |
| 65 | have he : ∀ d : (D.line a).sheaf ≅ (D.line b).sheaf, |
| 66 | D.Normalized a b d ↔ |
| 67 | (Scheme.Modules.pullback (lift (𝟙 T) (1 : T ⟶ A)).left).mapIso d = |
| 68 | D.frame a ≪≫ (D.frame b).symm := by |
| 69 | intro d |
| 70 | constructor |
| 71 | · intro hd |
| 72 | dsimp only [RigidifiedProductLine.Normalized] at hd |
| 73 | apply Iso.ext |
| 74 | exact (cancel_mono (D.frame b).hom).mp (by |
| 75 | simpa only [Iso.trans_hom, Iso.symm_hom, Functor.mapIso_hom, |
| 76 | Category.assoc, Iso.inv_hom_id, Category.comp_id] using hd) |
| 77 | · intro hd |
| 78 | change ((Scheme.Modules.pullback (lift (𝟙 T) (1 : T ⟶ A)).left).mapIso d).hom ≫ _ = _ |
| 79 | rw [hd] |
| 80 | simp |
| 81 | exact ⟨e', (he e').mpr he', fun d hd => hu d ((he d).mp hd)⟩ |
| 82 | |
| 83 | def comparison {T : Over (Spec (.of K))} (a b : T ⟶ B) |
| 84 | (h : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line a) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line b)) : |
| 85 | (D.line a).sheaf ≅ (D.line b).sheaf := |
| 86 | Classical.choose (D.existsUnique_normalized a b h) |
| 87 | |
| 88 | theorem comparison_normalized {T : Over (Spec (.of K))} (a b : T ⟶ B) |
| 89 | (h : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line a) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line b)) : |
| 90 | D.Normalized a b (D.comparison a b h) := |
| 91 | (Classical.choose_spec (D.existsUnique_normalized a b h)).1 |
| 92 | |
| 93 | theorem comparison_unique {T : Over (Spec (.of K))} (a b : T ⟶ B) |
| 94 | (h : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line a) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line b)) |
| 95 | (e : (D.line a).sheaf ≅ (D.line b).sheaf) (he : D.Normalized a b e) : |
| 96 | e = D.comparison a b h := |
| 97 | (Classical.choose_spec (D.existsUnique_normalized a b h)).2 e he |
| 98 | |
| 99 | theorem comparison_self {T : Over (Spec (.of K))} (a : T ⟶ B) : |
| 100 | D.comparison a a rfl = Iso.refl _ := by |
| 101 | symm |
| 102 | apply D.comparison_unique |
| 103 | dsimp [RigidifiedProductLine.Normalized] |
| 104 | simp |
| 105 | |
| 106 | theorem comparison_comp {T : Over (Spec (.of K))} (a b c : T ⟶ B) |
| 107 | (hab : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line a) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line b)) |
| 108 | (hbc : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line b) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (D.line c)) : |
| 109 | D.comparison a b hab ≪≫ D.comparison b c hbc = D.comparison a c (hab.trans hbc) := by |
| 110 | apply D.comparison_unique |
| 111 | change (Scheme.Modules.pullback (lift (𝟙 T) (1 : T ⟶ A)).left).map |
| 112 | ((D.comparison a b hab).hom ≫ (D.comparison b c hbc).hom) ≫ _ = _ |
| 113 | rw [Functor.map_comp, Category.assoc, D.comparison_normalized b c hbc, |
| 114 | D.comparison_normalized a b hab] |
| 115 | |
| 116 | end RigidifiedProductLine |
| 117 | end Construction |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Rigidified.ProductLine |