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.CartierDuality.TensorFrames |
| 2 | |
| 3 | /-! # Tensor Canonical Descent -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.TensorCanonicalDescent.Construction.LineDescent |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # CartierDuality: canonical tensor comparison preserves actual line gluing |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.SheafMaps OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.UnitPullback |
| 15 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Tensor.PullbackMap |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | /-- Inverting a comparison square commutes with tensoring its two input isomorphisms. -/ |
| 20 | theorem tensorSquare_inverse {T : Scheme.{u}} {L L' M M' W W' : T.Modules} |
| 21 | (l : L ≅ L') (m : M ≅ M') (w : W ≅ W') |
| 22 | (p : W' ⟶ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule L' M') (a : W ⟶ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule L M) |
| 23 | (h : p ≫ Picard.PoincareBundle.Tensor.SheafMaps.tensorMap l.inv m.inv = w.inv ≫ a) : |
| 24 | a ≫ Picard.PoincareBundle.Tensor.SheafMaps.tensorMap l.hom m.hom = w.hom ≫ p := by |
| 25 | apply (cancel_epi w.inv).mp |
| 26 | rw [← Category.assoc, ← h, Category.assoc, Picard.PoincareBundle.Tensor.SheafMaps.tensorMap_comp, |
| 27 | l.inv_hom_id, m.inv_hom_id, Picard.PoincareBundle.Tensor.SheafMaps.tensorMap_id, Category.comp_id, |
| 28 | ← Category.assoc, w.inv_hom_id, Category.id_comp] |
| 29 | |
| 30 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) (L M : Y.Modules) |
| 31 | |
| 32 | /-- The tensor comparison respects the canonical comparison with a common composite map. -/ |
| 33 | theorem tensorComparison_composite {T : Scheme.{u}} (q : T ⟶ Y) (x : T ⟶ X) (hx : x ≫ f = q) : |
| 34 | (Scheme.Modules.pullback x).map (Picard.PoincareBundle.Tensor.PullbackMap.pullbackMap f L M) ≫ |
| 35 | Picard.PoincareBundle.Tensor.PullbackMap.pullbackMap x ((Scheme.Modules.pullback f).obj L) ((Scheme.Modules.pullback f).obj M) ≫ |
| 36 | Picard.PoincareBundle.Tensor.SheafMaps.tensorMap ((Scheme.Modules.pullbackComp x f ≪≫ Scheme.Modules.pullbackCongr hx).hom.app L) |
| 37 | ((Scheme.Modules.pullbackComp x f ≪≫ Scheme.Modules.pullbackCongr hx).hom.app M) = |
| 38 | (Scheme.Modules.pullbackComp x f ≪≫ Scheme.Modules.pullbackCongr hx).hom.app (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule L M) ≫ |
| 39 | Picard.PoincareBundle.Tensor.PullbackMap.pullbackMap q L M := by |
| 40 | cases hx |
| 41 | simp only [Scheme.Modules.pullbackCongr, eqToIso_refl, Iso.trans_refl] |
| 42 | exact tensorSquare_inverse ((Scheme.Modules.pullbackComp x f).app L) |
| 43 | ((Scheme.Modules.pullbackComp x f).app M) ((Scheme.Modules.pullbackComp x f).app (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule L M)) |
| 44 | (Picard.PoincareBundle.Tensor.PullbackMap.pullbackMap (x ≫ f) L M) |
| 45 | ((Scheme.Modules.pullback x).map (Picard.PoincareBundle.Tensor.PullbackMap.pullbackMap f L M) ≫ |
| 46 | Picard.PoincareBundle.Tensor.PullbackMap.pullbackMap x ((Scheme.Modules.pullback f).obj L) ((Scheme.Modules.pullback f).obj M)) |
| 47 | (Picard.PoincareBundle.Tensor.PullbackComposition.pullbackMap_comp_inv x f L M) |
| 48 | |
| 49 | /-- Two tensor comparison squares give the comparison of their induced gluing maps. -/ |
| 50 | theorem tensorSquare_gluing {T : Scheme.{u}} {L L' L'' M M' M'' W W' W'' : T.Modules} |
| 51 | (lx : L ≅ L'') (ly : L' ≅ L'') (mx : M ≅ M'') (my : M' ≅ M'') |
| 52 | (wx : W ≅ W'') (wy : W' ≅ W'') (a : W ⟶ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule L M) (b : W' ⟶ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule L' M') |
| 53 | (p : W'' ⟶ AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule L'' M'') |
| 54 | (hx : a ≫ Picard.PoincareBundle.Tensor.SheafMaps.tensorMap lx.hom mx.hom = wx.hom ≫ p) |
| 55 | (hy : b ≫ Picard.PoincareBundle.Tensor.SheafMaps.tensorMap ly.hom my.hom = wy.hom ≫ p) : |
| 56 | a ≫ Picard.PoincareBundle.Tensor.SheafMaps.tensorMap (lx.hom ≫ ly.inv) (mx.hom ≫ my.inv) = (wx.hom ≫ wy.inv) ≫ b := by |
| 57 | apply (cancel_mono (Picard.PoincareBundle.Tensor.SheafMaps.tensorMap ly.hom my.hom)).mp |
| 58 | rw [Category.assoc, Picard.PoincareBundle.Tensor.SheafMaps.tensorMap_comp] |
| 59 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 60 | rw [hx, hy, Iso.inv_hom_id_assoc] |
| 61 | |
| 62 | /-- The canonical tensor pullback maps intertwine the complete native descent gluing. -/ |
| 63 | theorem tensorComparison_gluing {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) |
| 64 | (hx : x ≫ f = q) (hy : y ≫ f = q) : |
| 65 | ((Scheme.Modules.pullback x).map (Picard.PoincareBundle.Tensor.PullbackMap.pullbackMap f L M) ≫ |
| 66 | Picard.PoincareBundle.Tensor.PullbackMap.pullbackMap x ((Scheme.Modules.pullback f).obj L) ((Scheme.Modules.pullback f).obj M)) ≫ |
| 67 | Picard.PoincareBundle.Tensor.SheafMaps.tensorMap ((Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f L).hom q x y hx hy) |
| 68 | ((Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f M).hom q x y hx hy) = |
| 69 | (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule L M)).hom q x y hx hy ≫ |
| 70 | ((Scheme.Modules.pullback y).map (Picard.PoincareBundle.Tensor.PullbackMap.pullbackMap f L M) ≫ |
| 71 | Picard.PoincareBundle.Tensor.PullbackMap.pullbackMap y ((Scheme.Modules.pullback f).obj L) ((Scheme.Modules.pullback f).obj M)) := by |
| 72 | rw [Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent_hom, Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent_hom, Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent_hom] |
| 73 | exact tensorSquare_gluing |
| 74 | ((Scheme.Modules.pullbackComp x f ≪≫ Scheme.Modules.pullbackCongr hx).app L) |
| 75 | ((Scheme.Modules.pullbackComp y f ≪≫ Scheme.Modules.pullbackCongr hy).app L) |
| 76 | ((Scheme.Modules.pullbackComp x f ≪≫ Scheme.Modules.pullbackCongr hx).app M) |
| 77 | ((Scheme.Modules.pullbackComp y f ≪≫ Scheme.Modules.pullbackCongr hy).app M) |
| 78 | ((Scheme.Modules.pullbackComp x f ≪≫ Scheme.Modules.pullbackCongr hx).app (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule L M)) |
| 79 | ((Scheme.Modules.pullbackComp y f ≪≫ Scheme.Modules.pullbackCongr hy).app (AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule L M)) |
| 80 | _ _ (Picard.PoincareBundle.Tensor.PullbackMap.pullbackMap q L M) (tensorComparison_composite f L M q x hx) |
| 81 | (tensorComparison_composite f L M q y hy) |
| 82 | |
| 83 | variable (L' M' : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 84 | |
| 85 | /-- The actual tensor frame on the cover. -/ |
| 86 | def tensorCoverFrame |
| 87 | (e : (Scheme.Modules.pullback f).obj L'.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 88 | (d : (Scheme.Modules.pullback f).obj M'.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) : |
| 89 | (Scheme.Modules.pullback f).obj (L'.tensor M').sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X := |
| 90 | Picard.PoincareBundle.Tensor.LinePullback.pullbackIso f L'.sheaf M'.sheaf L'.locallyTrivial M'.locallyTrivial ≪≫ |
| 91 | TensorFrames.Construction.LineDescent.tensorFrame e d |
| 92 | |
| 93 | /-- The successive actual tensor comparison on each test scheme. -/ |
| 94 | def tensorCoverComparison {T : Scheme.{u}} (x : T ⟶ X) : |
| 95 | (Scheme.Modules.pullback x).obj ((Scheme.Modules.pullback f).obj (L'.tensor M').sheaf) ≅ |
| 96 | AbelianModuli.HilbertConstruction.Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback x).obj ((Scheme.Modules.pullback f).obj L'.sheaf)) |
| 97 | ((Scheme.Modules.pullback x).obj ((Scheme.Modules.pullback f).obj M'.sheaf)) := |
| 98 | (Scheme.Modules.pullback x).mapIso |
| 99 | (Picard.PoincareBundle.Tensor.LinePullback.pullbackIso f L'.sheaf M'.sheaf L'.locallyTrivial M'.locallyTrivial) ≪≫ |
| 100 | Picard.PoincareBundle.Tensor.LinePullback.pullbackIso x _ _ |
| 101 | (L'.pullback f).locallyTrivial (M'.pullback f).locallyTrivial |
| 102 | |
| 103 | /-- The tensor frame and the two separate pulled frames agree through the canonical comparison. -/ |
| 104 | theorem tensorCoverFrame_pullback |
| 105 | (e : (Scheme.Modules.pullback f).obj L'.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 106 | (d : (Scheme.Modules.pullback f).obj M'.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 107 | {T : Scheme.{u}} (x : T ⟶ X) : |
| 108 | Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame (tensorCoverFrame f L' M' e d) x = |
| 109 | tensorCoverComparison f L' M' x ≪≫ TensorFrames.Construction.LineDescent.tensorFrame (Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame e x) (Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame d x) := by |
| 110 | apply Iso.ext |
| 111 | change (Scheme.Modules.pullback x).map (Picard.PoincareBundle.Tensor.PullbackMap.pullbackMap f L'.sheaf M'.sheaf ≫ (TensorFrames.Construction.LineDescent.tensorFrame e d).hom) ≫ |
| 112 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso x).hom = |
| 113 | ((Scheme.Modules.pullback x).map (Picard.PoincareBundle.Tensor.PullbackMap.pullbackMap f L'.sheaf M'.sheaf) ≫ |
| 114 | Picard.PoincareBundle.Tensor.PullbackMap.pullbackMap x ((Scheme.Modules.pullback f).obj L'.sheaf) ((Scheme.Modules.pullback f).obj M'.sheaf)) ≫ _ |
| 115 | rw [Functor.map_comp, Category.assoc] |
| 116 | exact congrArg (fun a => (Scheme.Modules.pullback x).map (Picard.PoincareBundle.Tensor.PullbackMap.pullbackMap f L'.sheaf M'.sheaf) ≫ a) |
| 117 | (TensorFrames.Construction.LineDescent.tensorFrame_pullback x e d) |
| 118 | |
| 119 | /-- Tensoring two trivialized lines multiplies their full native descent scalars. -/ |
| 120 | theorem tensorCanonicalDescent_scalar |
| 121 | (e : (Scheme.Modules.pullback f).obj L'.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 122 | (d : (Scheme.Modules.pullback f).obj M'.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 123 | {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) (hx : x ≫ f = q) (hy : y ≫ f = q) : |
| 124 | Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f (L'.tensor M').sheaf) |
| 125 | (tensorCoverFrame f L' M' e d) q x y hx hy = |
| 126 | Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f L'.sheaf) e q x y hx hy * |
| 127 | Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f M'.sheaf) d q x y hx hy := by |
| 128 | have ht := tensorComparison_gluing f L'.sheaf M'.sheaf q x y hx hy |
| 129 | have he := FramedRecovery.Construction.LineDescent.conjugate_intertwiner (tensorCoverComparison f L' M' x) (tensorCoverComparison f L' M' y) |
| 130 | (TensorFrames.Construction.LineDescent.tensorFrame (Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame e x) (Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame d x)) |
| 131 | (TensorFrames.Construction.LineDescent.tensorFrame (Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame e y) (Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame d y)) |
| 132 | ((Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f (L'.tensor M').sheaf).hom q x y hx hy) |
| 133 | (Picard.PoincareBundle.Tensor.SheafMaps.tensorMap ((Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f L'.sheaf).hom q x y hx hy) |
| 134 | ((Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f M'.sheaf).hom q x y hx hy)) ht |
| 135 | have hframe := congrArg₂ |
| 136 | (fun (a : (Scheme.Modules.pullback x).obj ((Scheme.Modules.pullback f).obj (L'.tensor M').sheaf) ≅ |
| 137 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) |
| 138 | (b : (Scheme.Modules.pullback y).obj ((Scheme.Modules.pullback f).obj (L'.tensor M').sheaf) ≅ |
| 139 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) => |
| 140 | a.inv ≫ (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f (L'.tensor M').sheaf).hom q x y hx hy ≫ b.hom) |
| 141 | (tensorCoverFrame_pullback f L' M' e d x) (tensorCoverFrame_pullback f L' M' e d y) |
| 142 | exact (congrArg (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue T) (hframe.trans he)).trans |
| 143 | (TensorFrames.Construction.LineDescent.tensorFrame_scalar (Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame e x) (Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame e y) |
| 144 | (Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame d x) (Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame d y) _ _) |
| 145 | |
| 146 | end |
| 147 | |
| 148 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.TensorCanonicalDescent.Construction.LineDescent |