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.Homomorphisms.UnitPullbackCoherence |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.IntrinsicModuleDescent |
| 3 | |
| 4 | /-! # Framed Descent Scalars -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.FramedDescentScalars |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Scalar-valued descent maps for a module sheaf with a chosen global |
| 11 | frame. The scalar is the actual endomorphism of the structure module. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {X : Scheme.{u}} {L : X.Modules} |
| 23 | |
| 24 | def pulledModuleFrame (e : L ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) {T : Scheme.{u}} (x : T ⟶ X) : |
| 25 | (Scheme.Modules.pullback x).obj L ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T := |
| 26 | (Scheme.Modules.pullback x).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso x |
| 27 | |
| 28 | @[reassoc] |
| 29 | theorem pulledModuleFrame_comp (e : L ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 30 | {T T' : Scheme.{u}} (x : T ⟶ X) (t : T' ⟶ T) : |
| 31 | (Scheme.Modules.pullbackComp t x).hom.app L ≫ (pulledModuleFrame e (t ≫ x)).hom = |
| 32 | (Scheme.Modules.pullback t).map (pulledModuleFrame e x).hom ≫ |
| 33 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso t).hom := by |
| 34 | simp only [pulledModuleFrame, Iso.trans_hom, Functor.mapIso_hom, Functor.map_comp] |
| 35 | rw [← Category.assoc, ← NatTrans.naturality, Category.assoc, |
| 36 | UnitPullbackCoherence.Construction.structureModulePullback_comp] |
| 37 | rfl |
| 38 | |
| 39 | variable {Y : Scheme.{u}} {f : X ⟶ Y} |
| 40 | variable (D : IntrinsicModuleDescent.Construction.NativeModuleDescent f) |
| 41 | variable (e : D.module ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 42 | |
| 43 | def framedDescentEnd {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) |
| 44 | (hx : x ≫ f = q) (hy : y ≫ f = q) : End (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) := |
| 45 | (pulledModuleFrame e x).inv ≫ |
| 46 | D.hom q x y hx hy ≫ |
| 47 | (pulledModuleFrame e y).hom |
| 48 | |
| 49 | instance framedDescentEnd_isIso {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) |
| 50 | (hx : x ≫ f = q) (hy : y ≫ f = q) : IsIso (framedDescentEnd D e q x y hx hy) := by |
| 51 | dsimp [framedDescentEnd] |
| 52 | infer_instance |
| 53 | |
| 54 | @[simp] |
| 55 | theorem framedDescentEnd_self {T : Scheme.{u}} (q : T ⟶ Y) (x : T ⟶ X) |
| 56 | (hx : x ≫ f = q) : framedDescentEnd D e q x x hx hx = 𝟙 _ := by |
| 57 | simp only [framedDescentEnd, D.hom_self, Category.id_comp, Iso.inv_hom_id] |
| 58 | |
| 59 | theorem framedDescentEnd_comp {T : Scheme.{u}} (q : T ⟶ Y) (x y z : T ⟶ X) |
| 60 | (hx : x ≫ f = q) (hy : y ≫ f = q) (hz : z ≫ f = q) : |
| 61 | framedDescentEnd D e q x y hx hy ≫ framedDescentEnd D e q y z hy hz = |
| 62 | framedDescentEnd D e q x z hx hz := by |
| 63 | simp only [framedDescentEnd, Category.assoc, Iso.hom_inv_id_assoc] |
| 64 | rw [← Category.assoc (D.hom q x y hx hy), D.hom_comp] |
| 65 | |
| 66 | def framedDescentScalar {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) |
| 67 | (hx : x ≫ f = q) (hy : y ≫ f = q) : Γ(T, ⊤) := |
| 68 | AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue T (framedDescentEnd D e q x y hx hy) |
| 69 | |
| 70 | theorem framedDescentScalar_congr {T : Scheme.{u}} |
| 71 | (q q' : T ⟶ Y) (x x' y y' : T ⟶ X) |
| 72 | (hx : x ≫ f = q) (hy : y ≫ f = q) (hx' : x' ≫ f = q') (hy' : y' ≫ f = q') |
| 73 | (hq : q = q') (hxx : x = x') (hyy : y = y') : |
| 74 | framedDescentScalar D e q x y hx hy = framedDescentScalar D e q' x' y' hx' hy' := by |
| 75 | cases hq |
| 76 | cases hxx |
| 77 | cases hyy |
| 78 | rfl |
| 79 | |
| 80 | theorem framedDescentScalar_isUnit {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) |
| 81 | (hx : x ≫ f = q) (hy : y ≫ f = q) : IsUnit (framedDescentScalar D e q x y hx hy) := |
| 82 | (AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEnd_isIso_iff _).mp inferInstance |
| 83 | |
| 84 | @[simp] |
| 85 | theorem framedDescentScalar_self {T : Scheme.{u}} (q : T ⟶ Y) (x : T ⟶ X) |
| 86 | (hx : x ≫ f = q) : framedDescentScalar D e q x x hx hx = 1 := by |
| 87 | rw [framedDescentScalar, framedDescentEnd_self] |
| 88 | exact map_one (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue T) |
| 89 | |
| 90 | theorem framedDescentScalar_comp {T : Scheme.{u}} (q : T ⟶ Y) (x y z : T ⟶ X) |
| 91 | (hx : x ≫ f = q) (hy : y ≫ f = q) (hz : z ≫ f = q) : |
| 92 | framedDescentScalar D e q x y hx hy * framedDescentScalar D e q y z hy hz = |
| 93 | framedDescentScalar D e q x z hx hz := by |
| 94 | rw [mul_comm] |
| 95 | exact (map_mul (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue T) _ _).symm.trans |
| 96 | (congrArg (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue T) (framedDescentEnd_comp D e q x y z hx hy hz)) |
| 97 | |
| 98 | theorem framedDescentEnd_pullback {T T' : Scheme.{u}} (t : T' ⟶ T) |
| 99 | (q : T ⟶ Y) (x y : T ⟶ X) (hx : x ≫ f = q) (hy : y ≫ f = q) : |
| 100 | UnitPullbackScalars.Construction.unitEndPullback t (framedDescentEnd D e q x y hx hy) = |
| 101 | framedDescentEnd D e (t ≫ q) (t ≫ x) (t ≫ y) |
| 102 | (by rw [Category.assoc, hx]) (by rw [Category.assoc, hy]) := by |
| 103 | have hd := D.hom_pullback t q x y hx hy |
| 104 | dsimp [UnitPullbackScalars.Construction.unitEndPullback, framedDescentEnd] |
| 105 | rw [Functor.map_comp, Functor.map_comp, ← hd] |
| 106 | have hy' := pulledModuleFrame_comp e y t |
| 107 | rw [← cancel_epi ((Scheme.Modules.pullback t).map (pulledModuleFrame e x).hom ≫ |
| 108 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso t).hom)] |
| 109 | simp only [Category.assoc, Iso.hom_inv_id_assoc, Iso.map_hom_inv_id_assoc] |
| 110 | rw [← pulledModuleFrame_comp_assoc e x t] |
| 111 | simp only [Iso.hom_inv_id_assoc, Iso.hom_inv_id_app_assoc] |
| 112 | rw [hy'] |
| 113 | |
| 114 | theorem framedDescentScalar_pullback {T T' : Scheme.{u}} (t : T' ⟶ T) |
| 115 | (q : T ⟶ Y) (x y : T ⟶ X) (hx : x ≫ f = q) (hy : y ≫ f = q) : |
| 116 | t.appTop (framedDescentScalar D e q x y hx hy) = |
| 117 | framedDescentScalar D e (t ≫ q) (t ≫ x) (t ≫ y) |
| 118 | (by rw [Category.assoc, hx]) (by rw [Category.assoc, hy]) := |
| 119 | (UnitPullbackScalars.Construction.unitEndPullback_scalar t _).symm.trans |
| 120 | (congrArg (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue T') (framedDescentEnd_pullback D e t q x y hx hy)) |
| 121 | |
| 122 | end Construction |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.FramedDescentScalars |