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.CanonicalDescentFrames |
| 2 | |
| 3 | /-! # Module Hom Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.ModuleHomBaseChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Base change of a compatible module morphism, retaining its ordinary |
| 10 | descent datum through the native pseudofunctor comparison. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 22 | |
| 23 | def nativeDescentEvaluation : |
| 24 | PoincareBundle.Geometric.KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => f) ⥤ X.Modules where |
| 25 | obj D := D.obj PUnit.unit |
| 26 | map b := b.hom PUnit.unit |
| 27 | |
| 28 | def nativeDescentHom |
| 29 | (D E : PoincareBundle.Geometric.KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => f)) |
| 30 | (b : (IntrinsicModuleDescent.Construction.NativeModuleDescent.ofPseudofunctor f D).module ⟶ |
| 31 | (IntrinsicModuleDescent.Construction.NativeModuleDescent.ofPseudofunctor f E).module) |
| 32 | (hb : ∀ {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) |
| 33 | (hx : x ≫ f = q) (hy : y ≫ f = q), |
| 34 | (Scheme.Modules.pullback x).map b ≫ (IntrinsicModuleDescent.Construction.NativeModuleDescent.ofPseudofunctor f E).hom q x y hx hy = |
| 35 | (IntrinsicModuleDescent.Construction.NativeModuleDescent.ofPseudofunctor f D).hom q x y hx hy ≫ |
| 36 | (Scheme.Modules.pullback y).map b) : D ⟶ E where |
| 37 | hom i := by cases i; exact b |
| 38 | comm T q i j x y hx hy := by |
| 39 | cases i |
| 40 | cases j |
| 41 | exact hb q x y hx hy |
| 42 | |
| 43 | def canonicalDescentHom {L M : Y.Modules} |
| 44 | (b : (Scheme.Modules.pullback f).obj L ⟶ (Scheme.Modules.pullback f).obj M) |
| 45 | (hb : ∀ {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) |
| 46 | (hx : x ≫ f = q) (hy : y ≫ f = q), |
| 47 | (Scheme.Modules.pullback x).map b ≫ (CanonicalDescentFrames.Construction.canonicalModuleDescent f M).hom q x y hx hy = |
| 48 | (CanonicalDescentFrames.Construction.canonicalModuleDescent f L).hom q x y hx hy ≫ (Scheme.Modules.pullback y).map b) : |
| 49 | (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f)).obj L ⟶ |
| 50 | (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f)).obj M := |
| 51 | nativeDescentHom f _ _ b hb |
| 52 | |
| 53 | def canonicalDescentModuleHom {L M : Y.Modules} |
| 54 | (b : (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f)).obj L ⟶ |
| 55 | (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f)).obj M) : |
| 56 | (Scheme.Modules.pullback f).obj L ⟶ (Scheme.Modules.pullback f).obj M := |
| 57 | b.hom PUnit.unit |
| 58 | |
| 59 | variable {X' Y' : Scheme.{u}} (f' : X' ⟶ Y') (s : Y' ⟶ Y) (t : X' ⟶ X) |
| 60 | variable (w : t ≫ f = f' ≫ s) |
| 61 | |
| 62 | def descentSquareFunctor : |
| 63 | PoincareBundle.Geometric.KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => f) ⥤ |
| 64 | PoincareBundle.Geometric.KernelLinearization.modulePullbacks.DescentData (fun (_ : PUnit.{1}) => f') := |
| 65 | Pseudofunctor.DescentData.pullFunctor PoincareBundle.Geometric.KernelLinearization.modulePullbacks |
| 66 | (α := id) (p := s) (p' := fun _ => t) (fun _ => w) |
| 67 | |
| 68 | def descentSquareComparison : |
| 69 | PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f) ⋙ descentSquareFunctor f f' s t w ≅ |
| 70 | (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.map s.op.toLoc).toFunctor ⋙ |
| 71 | PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f') := |
| 72 | Pseudofunctor.DescentData.toDescentDataCompPullFunctorIso PoincareBundle.Geometric.KernelLinearization.modulePullbacks |
| 73 | (f := fun (_ : PUnit.{1}) => f) (f' := fun (_ : PUnit.{1}) => f') |
| 74 | (α := id) (p := s) (p' := fun _ => t) (fun _ => w) |
| 75 | |
| 76 | def moduleDescentSquareIso (L : Y.Modules) : |
| 77 | (Scheme.Modules.pullback t).obj ((Scheme.Modules.pullback f).obj L) ≅ |
| 78 | (Scheme.Modules.pullback f').obj ((Scheme.Modules.pullback s).obj L) := |
| 79 | (nativeDescentEvaluation f').mapIso ((descentSquareComparison f f' s t w).app L) |
| 80 | |
| 81 | def baseChangedDescentHom {L M : Y.Modules} |
| 82 | (b : (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f)).obj L ⟶ |
| 83 | (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f)).obj M) : |
| 84 | (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f')).obj |
| 85 | ((Scheme.Modules.pullback s).obj L) ⟶ |
| 86 | (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f')).obj |
| 87 | ((Scheme.Modules.pullback s).obj M) := |
| 88 | ((descentSquareComparison f f' s t w).app L).inv ≫ |
| 89 | (descentSquareFunctor f f' s t w).map b ≫ ((descentSquareComparison f f' s t w).app M).hom |
| 90 | |
| 91 | theorem baseChangedDescentHom_component {L M : Y.Modules} |
| 92 | (b : (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f)).obj L ⟶ |
| 93 | (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f)).obj M) : |
| 94 | (baseChangedDescentHom f f' s t w b).hom PUnit.unit = |
| 95 | (moduleDescentSquareIso f f' s t w L).inv ≫ |
| 96 | (Scheme.Modules.pullback t).map (b.hom PUnit.unit) ≫ |
| 97 | (moduleDescentSquareIso f f' s t w M).hom := rfl |
| 98 | |
| 99 | def nativeModuleDescentSquareIso : |
| 100 | Scheme.Modules.pullback f ⋙ Scheme.Modules.pullback t ≅ |
| 101 | Scheme.Modules.pullback s ⋙ Scheme.Modules.pullback f' := |
| 102 | Scheme.Modules.pullbackComp t f ≪≫ |
| 103 | (Scheme.Modules.pullbackComp f' s ≪≫ Scheme.Modules.pullbackCongr w.symm).symm |
| 104 | |
| 105 | theorem moduleDescentSquareIso_eq (L : Y.Modules) : |
| 106 | moduleDescentSquareIso f f' s t w L = (nativeModuleDescentSquareIso f f' s t w).app L := by |
| 107 | apply Iso.ext |
| 108 | change (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.isoMapOfCommSq (CommSq.mk w).op.toLoc).inv.toNatTrans.app L = _ |
| 109 | rw [PoincareBundle.Geometric.KernelLinearization.modulePullbacks.isoMapOfCommSq_eq (CommSq.mk w).op.toLoc (t ≫ f).op.toLoc |
| 110 | (congrArg (fun a : X' ⟶ Y => a.op.toLoc) w.symm)] |
| 111 | change (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.mapComp' f.op.toLoc t.op.toLoc (t ≫ f).op.toLoc rfl).inv.toNatTrans.app L ≫ |
| 112 | (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.mapComp' s.op.toLoc f'.op.toLoc (t ≫ f).op.toLoc |
| 113 | (congrArg (fun a : X' ⟶ Y => a.op.toLoc) w.symm)).hom.toNatTrans.app L = _ |
| 114 | rw [CanonicalDescentFrames.Construction.modulePullbacks_mapComp_inv f L (t ≫ f) t rfl, |
| 115 | CanonicalDescentFrames.Construction.modulePullbacks_mapComp_hom s L (t ≫ f) f' w.symm] |
| 116 | rfl |
| 117 | |
| 118 | theorem baseChangedDescentHom_native {L M : Y.Modules} |
| 119 | (b : (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f)).obj L ⟶ |
| 120 | (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f)).obj M) : |
| 121 | (baseChangedDescentHom f f' s t w b).hom PUnit.unit = |
| 122 | ((nativeModuleDescentSquareIso f f' s t w).app L).inv ≫ |
| 123 | (Scheme.Modules.pullback t).map (b.hom PUnit.unit) ≫ |
| 124 | ((nativeModuleDescentSquareIso f f' s t w).app M).hom := by |
| 125 | rw [baseChangedDescentHom_component, moduleDescentSquareIso_eq, moduleDescentSquareIso_eq] |
| 126 | |
| 127 | theorem baseChangedDescentHom_map {L M : Y.Modules} (a : L ⟶ M) : |
| 128 | baseChangedDescentHom f f' s t w |
| 129 | ((PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f)).map a) = |
| 130 | (PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f')).map |
| 131 | ((Scheme.Modules.pullback s).map a) := by |
| 132 | apply Pseudofunctor.DescentData.hom_ext |
| 133 | intro i |
| 134 | cases i |
| 135 | rw [baseChangedDescentHom_component, moduleDescentSquareIso_eq, moduleDescentSquareIso_eq] |
| 136 | exact NatIso.naturality_1 (nativeModuleDescentSquareIso f f' s t w) a |
| 137 | |
| 138 | end Construction |
| 139 | |
| 140 | end |
| 141 | |
| 142 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.ModuleHomBaseChange |