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.LineCharacterIndependence |
| 2 | |
| 3 | /-! # Scalar Line Gluing -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.ScalarLineGluing.Construction.LineDescent |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # CartierDuality: scalar cocycles give actual line-bundle gluing |
| 11 | |
| 12 | All gluing maps live in native scheme module categories. The scalar |
| 13 | cocycle is recovered by the canonical trivialization on the cover. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | /-- The actual structure-module endomorphism defined by a global scalar. -/ |
| 21 | def scalarEnd (X : Scheme.{u}) (r : Γ(X, ⊤)) : End (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) := |
| 22 | (AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndRingEquiv X).symm r |
| 23 | |
| 24 | theorem scalarEnd_value (X : Scheme.{u}) (r : Γ(X, ⊤)) : |
| 25 | AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X (scalarEnd X r) = r := |
| 26 | (AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndRingEquiv X).apply_symm_apply r |
| 27 | |
| 28 | theorem scalarEnd_one (X : Scheme.{u}) : scalarEnd X 1 = 𝟙 (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) := |
| 29 | (AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndRingEquiv X).symm.map_one |
| 30 | |
| 31 | theorem scalarEnd_mul (X : Scheme.{u}) (r s : Γ(X, ⊤)) : |
| 32 | scalarEnd X (r * s) = scalarEnd X r ≫ scalarEnd X s := by |
| 33 | exact (congrArg (AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndRingEquiv X).symm (mul_comm r s)).trans |
| 34 | ((AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndRingEquiv X).symm.map_mul s r) |
| 35 | |
| 36 | theorem scalarEnd_pullback {X T : Scheme.{u}} (x : T ⟶ X) (r : Γ(X, ⊤)) : |
| 37 | Picard.Homomorphisms.UnitPullbackScalars.Construction.unitEndPullback x (scalarEnd X r) = scalarEnd T (x.appTop r) := by |
| 38 | apply AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndValue_injective T |
| 39 | rw [Picard.Homomorphisms.UnitPullbackScalars.Construction.unitEndPullback_scalar, scalarEnd_value, scalarEnd_value] |
| 40 | |
| 41 | /-- A scalar cocycle on all equal-image pairs for a scheme morphism. -/ |
| 42 | structure ScalarCocycle {X Y : Scheme.{u}} (f : X ⟶ Y) where |
| 43 | value {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) (hx : x ≫ f = q) (hy : y ≫ f = q) : Γ(T, ⊤) |
| 44 | self {T : Scheme.{u}} (q : T ⟶ Y) (x : T ⟶ X) (hx : x ≫ f = q) : value q x x hx hx = 1 |
| 45 | comp {T : Scheme.{u}} (q : T ⟶ Y) (x y z : T ⟶ X) |
| 46 | (hx : x ≫ f = q) (hy : y ≫ f = q) (hz : z ≫ f = q) : |
| 47 | value q x y hx hy * value q y z hy hz = value q x z hx hz |
| 48 | naturality {T T' : Scheme.{u}} (t : T' ⟶ T) (q : T ⟶ Y) (x y : T ⟶ X) |
| 49 | (hx : x ≫ f = q) (hy : y ≫ f = q) : |
| 50 | t.appTop (value q x y hx hy) = value (t ≫ q) (t ≫ x) (t ≫ y) |
| 51 | (by rw [Category.assoc, hx]) (by rw [Category.assoc, hy]) |
| 52 | |
| 53 | /-- Interpret a scalar as a morphism between the actual two pullbacks |
| 54 | of the trivial line on the covering scheme. -/ |
| 55 | def scalarGluing {X T : Scheme.{u}} (x y : T ⟶ X) (r : Γ(T, ⊤)) : |
| 56 | (Scheme.Modules.pullback x).obj (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) ⟶ |
| 57 | (Scheme.Modules.pullback y).obj (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) := |
| 58 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso x).hom ≫ scalarEnd T r ≫ (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso y).inv |
| 59 | |
| 60 | theorem scalarGluing_self {X T : Scheme.{u}} (x : T ⟶ X) : scalarGluing x x 1 = 𝟙 _ := by |
| 61 | rw [scalarGluing, scalarEnd_one, Category.id_comp, Iso.hom_inv_id] |
| 62 | |
| 63 | theorem scalarGluing_comp {X T : Scheme.{u}} (x y z : T ⟶ X) (r s : Γ(T, ⊤)) : |
| 64 | scalarGluing x y r ≫ scalarGluing y z s = scalarGluing x z (r * s) := by |
| 65 | simp only [scalarGluing, scalarEnd_mul, Category.assoc, Iso.inv_hom_id_assoc] |
| 66 | |
| 67 | /-- A functor transports a conjugated map through compatible frame comparisons. -/ |
| 68 | theorem transported_conjugation {C D : Type*} [Category C] [Category D] (F : C ⥤ D) |
| 69 | {A B U : C} {A' B' V : D} (a : A ≅ U) (b : B ≅ U) (e : F.obj U ≅ V) |
| 70 | (cx : F.obj A ≅ A') (cy : F.obj B ≅ B') (a' : A' ≅ V) (b' : B' ≅ V) |
| 71 | (hx : cx.hom ≫ a'.hom = F.map a.hom ≫ e.hom) |
| 72 | (hy : cy.hom ≫ b'.hom = F.map b.hom ≫ e.hom) (s : End U) : |
| 73 | cx.inv ≫ F.map (a.hom ≫ s ≫ b.inv) ≫ cy.hom = |
| 74 | a'.hom ≫ (e.inv ≫ F.map s ≫ e.hom) ≫ b'.inv := by |
| 75 | apply (cancel_epi cx.hom).mp |
| 76 | apply (cancel_mono b'.hom).mp |
| 77 | simp only [F.map_comp, Category.assoc, Iso.hom_inv_id_assoc, Iso.inv_hom_id, Category.comp_id] |
| 78 | rw [hy] |
| 79 | simp only [← Category.assoc, ← F.map_comp, Iso.inv_hom_id, F.map_id, Category.comp_id] |
| 80 | rw [hx] |
| 81 | simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 82 | rw [F.map_comp, Category.assoc] |
| 83 | |
| 84 | /-- Pullback of scalar gluing uses the ordinary pullback of the scalar. -/ |
| 85 | theorem scalarGluing_pullback {X T T' : Scheme.{u}} (t : T' ⟶ T) (x y : T ⟶ X) (r : Γ(T, ⊤)) : |
| 86 | (Scheme.Modules.pullbackComp t x).inv.app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) ≫ |
| 87 | (Scheme.Modules.pullback t).map (scalarGluing x y r) ≫ |
| 88 | (Scheme.Modules.pullbackComp t y).hom.app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) = |
| 89 | scalarGluing (t ≫ x) (t ≫ y) (t.appTop r) := by |
| 90 | have h := transported_conjugation (Scheme.Modules.pullback t) |
| 91 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso x) (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso y) (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso t) |
| 92 | ((Scheme.Modules.pullbackComp t x).app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) |
| 93 | ((Scheme.Modules.pullbackComp t y).app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) |
| 94 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (t ≫ x)) (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (t ≫ y)) |
| 95 | (Picard.Homomorphisms.UnitPullbackCoherence.Construction.structureModulePullback_comp t x) (Picard.Homomorphisms.UnitPullbackCoherence.Construction.structureModulePullback_comp t y) (scalarEnd T r) |
| 96 | change _ = (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (t ≫ x)).hom ≫ |
| 97 | Picard.Homomorphisms.UnitPullbackScalars.Construction.unitEndPullback t (scalarEnd T r) ≫ (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (t ≫ y)).inv at h |
| 98 | exact h.trans (congrArg (fun a => (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (t ≫ x)).hom ≫ a ≫ |
| 99 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (t ≫ y)).inv) (scalarEnd_pullback t r)) |
| 100 | |
| 101 | /-- Actual native descent data obtained from the scalar cocycle. -/ |
| 102 | def ScalarCocycle.nativeDatum {X Y : Scheme.{u}} {f : X ⟶ Y} (D : ScalarCocycle f) : |
| 103 | Picard.Homomorphisms.IntrinsicModuleDescent.Construction.NativeModuleDescent f where |
| 104 | module := AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X |
| 105 | hom q x y hx hy := scalarGluing x y (D.value q x y hx hy) |
| 106 | hom_self q x hx := by rw [D.self, scalarGluing_self] |
| 107 | hom_comp q x y z hx hy hz := by rw [scalarGluing_comp, D.comp] |
| 108 | hom_pullback t q x y hx hy := by rw [scalarGluing_pullback, D.naturality] |
| 109 | |
| 110 | theorem pulledModuleFrame_refl {X T : Scheme.{u}} (x : T ⟶ X) : |
| 111 | Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame (Iso.refl (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) x = AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso x := by |
| 112 | apply Iso.ext |
| 113 | change (Scheme.Modules.pullback x).map (𝟙 (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) ≫ |
| 114 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso x).hom = (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso x).hom |
| 115 | rw [(Scheme.Modules.pullback x).map_id, Category.id_comp] |
| 116 | |
| 117 | theorem scalarGluing_framedEnd {X T : Scheme.{u}} (x y : T ⟶ X) (r : Γ(T, ⊤)) : |
| 118 | (Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame (Iso.refl (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) x).inv ≫ scalarGluing x y r ≫ |
| 119 | (Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame (Iso.refl (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) y).hom = scalarEnd T r := by |
| 120 | rw [pulledModuleFrame_refl, pulledModuleFrame_refl] |
| 121 | simp only [scalarGluing, Category.assoc, Iso.inv_hom_id_assoc, Iso.inv_hom_id, Category.comp_id] |
| 122 | |
| 123 | /-- The trivial frame of the constructed native datum recovers exactly |
| 124 | the original scalar cocycle. -/ |
| 125 | theorem ScalarCocycle.nativeDatum_scalar {X Y T : Scheme.{u}} {f : X ⟶ Y} (D : ScalarCocycle f) |
| 126 | (q : T ⟶ Y) (x y : T ⟶ X) (hx : x ≫ f = q) (hy : y ≫ f = q) : |
| 127 | Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar D.nativeDatum (Iso.refl (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X)) q x y hx hy = |
| 128 | D.value q x y hx hy := by |
| 129 | exact (congrArg (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue T) (scalarGluing_framedEnd x y (D.value q x y hx hy))).trans |
| 130 | (scalarEnd_value T (D.value q x y hx hy)) |
| 131 | |
| 132 | end |
| 133 | |
| 134 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.ScalarLineGluing.Construction.LineDescent |