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.ArithmeticGeometry.OrdinaryLocus.Openness.ModuleSections |
| 2 | |
| 3 | /-! # Module Scalar -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Scalar endomorphisms of module sheaves and arbitrary scheme pullback. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | open OAI.ArithmeticGeometry.OrdinaryLocus.Openness.ModuleSections.Construction |
| 16 | |
| 17 | variable {X Y : Scheme.{u}} |
| 18 | |
| 19 | /-- Multiplication by a global regular function on an arbitrary module sheaf. -/ |
| 20 | def scalarEnd (M : X.Modules) (r : Γ(X, ⊤)) : M ⟶ M where |
| 21 | val := PresheafOfModules.homMk |
| 22 | { app := fun U ↦ M.smul (X.presheaf.map (homOfLE (show U.unop ≤ ⊤ from le_top)).op r) |
| 23 | naturality := by |
| 24 | intro U V f |
| 25 | have hm := Scheme.Modules.map_comp_smul (M := M) f.unop |
| 26 | (X.presheaf.map (homOfLE (show U.unop ≤ ⊤ from le_top)).op r) |
| 27 | have h := congrArg (fun a ↦ a r) |
| 28 | ((X.presheaf.map_comp (homOfLE (show U.unop ≤ ⊤ from le_top)).op f).symm) |
| 29 | exact (congrArg (fun a ↦ M.presheaf.map f ≫ M.smul a) h).symm.trans hm.symm } |
| 30 | (by |
| 31 | rintro ⟨U⟩ a m |
| 32 | exact smul_comm (X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op r) |
| 33 | (show Γ(X, U) from a) (show Γ(M, U) from m)) |
| 34 | |
| 35 | @[simp] |
| 36 | theorem scalarEnd_apply (M : X.Modules) (r : Γ(X, ⊤)) (U : X.Opens) (m : Γ(M, U)) : |
| 37 | (scalarEnd M r).app U m = |
| 38 | X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op r • m := rfl |
| 39 | |
| 40 | @[simp] |
| 41 | theorem scalarEnd_one (M : X.Modules) : scalarEnd M 1 = 𝟙 M := by |
| 42 | apply Scheme.Modules.hom_ext |
| 43 | intro U |
| 44 | ext m |
| 45 | simp |
| 46 | |
| 47 | theorem scalarEnd_mul (M : X.Modules) (r s : Γ(X, ⊤)) : |
| 48 | scalarEnd M (r * s) = scalarEnd M r ≫ scalarEnd M s := by |
| 49 | apply Scheme.Modules.hom_ext |
| 50 | intro U |
| 51 | ext m |
| 52 | let j := (homOfLE (show U ≤ ⊤ from le_top)).op |
| 53 | change X.presheaf.map j (r * s) • m = |
| 54 | X.presheaf.map j s • (X.presheaf.map j r • m) |
| 55 | rw [map_mul, mul_smul, smul_comm] |
| 56 | |
| 57 | theorem scalarEnd_naturality {M N : X.Modules} (q : M ⟶ N) (r : Γ(X, ⊤)) : |
| 58 | scalarEnd M r ≫ q = q ≫ scalarEnd N r := by |
| 59 | apply Scheme.Modules.hom_ext |
| 60 | intro U |
| 61 | ext m |
| 62 | exact q.app_smul _ m |
| 63 | |
| 64 | /-- A unit function acts by an actual sheaf isomorphism. -/ |
| 65 | def scalarIso (M : X.Modules) (r : Γ(X, ⊤)ˣ) : M ≅ M where |
| 66 | hom := scalarEnd M r |
| 67 | inv := scalarEnd M ↑r⁻¹ |
| 68 | hom_inv_id := by rw [← scalarEnd_mul, Units.mul_inv, scalarEnd_one] |
| 69 | inv_hom_id := by rw [← scalarEnd_mul, Units.inv_mul, scalarEnd_one] |
| 70 | |
| 71 | theorem scalarEnd_pushforward (f : X ⟶ Y) (M : X.Modules) (r : Γ(Y, ⊤)) : |
| 72 | (Scheme.Modules.pushforward f).map (scalarEnd M (f.appTop r)) = |
| 73 | scalarEnd ((Scheme.Modules.pushforward f).obj M) r := by |
| 74 | apply Scheme.Modules.hom_ext |
| 75 | intro U |
| 76 | ext m |
| 77 | let m' : Γ(M, f ⁻¹ᵁ U) := m |
| 78 | change X.presheaf.map (homOfLE (show f ⁻¹ᵁ U ≤ ⊤ from le_top)).op (f.appTop r) • m' = |
| 79 | f.app U (Y.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op r) • m' |
| 80 | exact congrArg (fun a : Γ(X, f ⁻¹ᵁ U) ↦ a • m') |
| 81 | (congrArg (fun q ↦ q r) (f.naturality |
| 82 | (homOfLE (show U ≤ ⊤ from le_top)).op)).symm |
| 83 | |
| 84 | /-- Scalar corrections commute with arbitrary scheme pullback, including |
| 85 | the possibly nonreduced overlap schemes of an fppf cover. -/ |
| 86 | theorem scalarEnd_pullback (f : X ⟶ Y) (M : Y.Modules) (r : Γ(Y, ⊤)) : |
| 87 | (Scheme.Modules.pullback f).map (scalarEnd M r) = |
| 88 | scalarEnd ((Scheme.Modules.pullback f).obj M) (f.appTop r) := by |
| 89 | let adj := Scheme.Modules.pullbackPushforwardAdjunction f |
| 90 | apply (adj.homEquiv _ _).injective |
| 91 | calc |
| 92 | adj.homEquiv _ _ ((Scheme.Modules.pullback f).map (scalarEnd M r)) = |
| 93 | scalarEnd M r ≫ adj.unit.app M := by |
| 94 | rw [Adjunction.homEquiv_unit] |
| 95 | exact (adj.unit.naturality (scalarEnd M r)).symm |
| 96 | _ = adj.unit.app M ≫ scalarEnd |
| 97 | ((Scheme.Modules.pushforward f).obj ((Scheme.Modules.pullback f).obj M)) r := |
| 98 | scalarEnd_naturality (adj.unit.app M) r |
| 99 | _ = adj.homEquiv _ _ (scalarEnd ((Scheme.Modules.pullback f).obj M) (f.appTop r)) := by |
| 100 | rw [Adjunction.homEquiv_unit, scalarEnd_pushforward] |
| 101 | |
| 102 | theorem scalarEnd_structure (q : End (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X)) : |
| 103 | scalarEnd (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) (ArithmeticGeometry.OrdinaryLocus.Openness.ModuleSections.Construction.structureSheafEndRingEquiv X q) = q := by |
| 104 | apply (ArithmeticGeometry.OrdinaryLocus.Openness.ModuleSections.Construction.structureSheafEndRingEquiv X).injective |
| 105 | change X.presheaf.map (𝟙 (.op ⊤)) (ArithmeticGeometry.OrdinaryLocus.Openness.ModuleSections.Construction.structureSheafEndRingEquiv X q) * 1 = _ |
| 106 | simp |
| 107 | |
| 108 | /-- The global unit function of a structure-sheaf automorphism. -/ |
| 109 | def structureAutUnit (e : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) : Γ(X, ⊤)ˣ := |
| 110 | Units.map (ArithmeticGeometry.OrdinaryLocus.Openness.ModuleSections.Construction.structureSheafEndRingEquiv X).toMonoidHom |
| 111 | ((Aut.unitsEndEquivAut (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X)).symm e) |
| 112 | |
| 113 | theorem scalarEnd_structureAut (e : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) : |
| 114 | scalarEnd (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) ↑(structureAutUnit e) = e.hom := |
| 115 | scalarEnd_structure e.hom |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar |