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.Isogenies.NeighborCounting.FramedHom |
| 2 | |
| 3 | /-! # Split Frame Reduction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SplitFrameReduction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Transition units formed from actual module-sheaf frames, with |
| 12 | their cocycle equation and arbitrary scheme-pullback compatibility. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom |
| 16 | |
| 17 | variable {X Y : Scheme.{0}} {M : X.Modules} |
| 18 | |
| 19 | def lineFrameTransitionUnit (e f : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) : Γ(X, ⊤)ˣ := |
| 20 | Isogenies.NeighborCounting.ModuleScalar.structureAutUnit (f.symm ≪≫ e) |
| 21 | |
| 22 | theorem lineFrameTransitionUnit_val (e f : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) : |
| 23 | (lineFrameTransitionUnit e f).val = Isogenies.NeighborCounting.FramedHom.framedCoefficient f e (𝟙 M) := by |
| 24 | change ArithmeticGeometry.OrdinaryLocus.Openness.ModuleSections.Construction.structureSheafEndRingEquiv X (f.inv ≫ e.hom) = |
| 25 | ArithmeticGeometry.OrdinaryLocus.Openness.ModuleSections.Construction.structureSheafEndRingEquiv X (f.inv ≫ 𝟙 M ≫ e.hom) |
| 26 | rw [Category.id_comp] |
| 27 | |
| 28 | theorem lineFrameTransitionUnit_self (e : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) : |
| 29 | lineFrameTransitionUnit e e = 1 := by |
| 30 | apply Units.ext |
| 31 | change ArithmeticGeometry.OrdinaryLocus.Openness.ModuleSections.Construction.structureSheafEndRingEquiv X (e.inv ≫ e.hom) = 1 |
| 32 | rw [e.inv_hom_id] |
| 33 | exact map_one (ArithmeticGeometry.OrdinaryLocus.Openness.ModuleSections.Construction.structureSheafEndRingEquiv X) |
| 34 | |
| 35 | theorem lineFrameTransitionUnit_cocycle (e f g : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) : |
| 36 | lineFrameTransitionUnit e f * lineFrameTransitionUnit f g = lineFrameTransitionUnit e g := by |
| 37 | apply Units.ext |
| 38 | change ArithmeticGeometry.OrdinaryLocus.Openness.ModuleSections.Construction.structureSheafEndRingEquiv X (f.inv ≫ e.hom) * |
| 39 | ArithmeticGeometry.OrdinaryLocus.Openness.ModuleSections.Construction.structureSheafEndRingEquiv X (g.inv ≫ f.hom) = ArithmeticGeometry.OrdinaryLocus.Openness.ModuleSections.Construction.structureSheafEndRingEquiv X (g.inv ≫ e.hom) |
| 40 | rw [← map_mul] |
| 41 | congr 1 |
| 42 | change (g.inv ≫ f.hom) ≫ (f.inv ≫ e.hom) = g.inv ≫ e.hom |
| 43 | simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 44 | |
| 45 | theorem lineFrameTransitionUnit_pullback (e f : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) (r : Y ⟶ X) : |
| 46 | Units.map r.appTop.hom.toMonoidHom (lineFrameTransitionUnit e f) = |
| 47 | lineFrameTransitionUnit (Isogenies.NeighborCounting.FramedHom.pullbackFrame r e) (Isogenies.NeighborCounting.FramedHom.pullbackFrame r f) := by |
| 48 | apply Units.ext |
| 49 | change r.appTop (lineFrameTransitionUnit e f).val = |
| 50 | (lineFrameTransitionUnit (Isogenies.NeighborCounting.FramedHom.pullbackFrame r e) (Isogenies.NeighborCounting.FramedHom.pullbackFrame r f)).val |
| 51 | rw [lineFrameTransitionUnit_val, lineFrameTransitionUnit_val] |
| 52 | have h := Isogenies.NeighborCounting.FramedHom.framedCoefficient_pullback f e r (𝟙 M) |
| 53 | rw [CategoryTheory.Functor.map_id] at h |
| 54 | exact h.symm |
| 55 | |
| 56 | theorem lineFrameTransitionUnit_reduction (e f : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) (r : Y ⟶ X) |
| 57 | (h : Isogenies.NeighborCounting.FramedHom.pullbackFrame r e = Isogenies.NeighborCounting.FramedHom.pullbackFrame r f) : |
| 58 | Units.map r.appTop.hom.toMonoidHom (lineFrameTransitionUnit e f) = 1 := by |
| 59 | rw [lineFrameTransitionUnit_pullback, h, lineFrameTransitionUnit_self] |
| 60 | |
| 61 | end |
| 62 | |
| 63 | section |
| 64 | |
| 65 | /-! A prescribed frame on a split reduction lifts to an actual frame |
| 66 | whenever the original module is already framed. The lift is constructed |
| 67 | by pulling back the exact transition unit along the retraction. -/ |
| 68 | |
| 69 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 70 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedHom |
| 71 | |
| 72 | variable {X Y : Scheme.{0}} {M : Y.Modules} |
| 73 | |
| 74 | theorem lineFrameTransitionUnit_reconstruct |
| 75 | (e f : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) : |
| 76 | e ≪≫ Isogenies.NeighborCounting.ModuleScalar.scalarIso (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) (lineFrameTransitionUnit f e) = f := by |
| 77 | apply Iso.ext |
| 78 | change e.hom ≫ Isogenies.NeighborCounting.ModuleScalar.scalarEnd (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) |
| 79 | (Isogenies.NeighborCounting.ModuleScalar.structureAutUnit (e.symm ≪≫ f)).val = f.hom |
| 80 | rw [Isogenies.NeighborCounting.ModuleScalar.scalarEnd_structureAut] |
| 81 | exact e.hom_inv_id_assoc f.hom |
| 82 | |
| 83 | theorem pullbackFrame_scalar (r : X ⟶ Y) (e : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) (u : Γ(Y, ⊤)ˣ) : |
| 84 | Isogenies.NeighborCounting.FramedHom.pullbackFrame r (e ≪≫ Isogenies.NeighborCounting.ModuleScalar.scalarIso (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) u) = |
| 85 | Isogenies.NeighborCounting.FramedHom.pullbackFrame r e ≪≫ Isogenies.NeighborCounting.ModuleScalar.scalarIso (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) (Units.map r.appTop.hom.toMonoidHom u) := by |
| 86 | apply Iso.ext |
| 87 | change (Scheme.Modules.pullback r).map (e.hom ≫ Isogenies.NeighborCounting.ModuleScalar.scalarEnd (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) u.val) ≫ |
| 88 | (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso r).hom = |
| 89 | ((Scheme.Modules.pullback r).map e.hom ≫ (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso r).hom) ≫ |
| 90 | Isogenies.NeighborCounting.ModuleScalar.scalarEnd (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) (r.appTop u.val) |
| 91 | rw [CategoryTheory.Functor.map_comp, Isogenies.NeighborCounting.ModuleScalar.scalarEnd_pullback, Category.assoc, |
| 92 | Isogenies.NeighborCounting.ModuleScalar.scalarEnd_naturality, Category.assoc] |
| 93 | |
| 94 | theorem unit_pullback_retraction (r : X ⟶ Y) (p : Y ⟶ X) (h : r ≫ p = 𝟙 X) (u : Γ(X, ⊤)ˣ) : |
| 95 | Units.map r.appTop.hom.toMonoidHom (Units.map p.appTop.hom.toMonoidHom u) = u := by |
| 96 | apply Units.ext |
| 97 | change r.appTop (p.appTop u.val) = u.val |
| 98 | have he := congrArg (fun f : X ⟶ X => f.appTop u.val) h |
| 99 | exact he |
| 100 | |
| 101 | def splitReductionFrameLift (r : X ⟶ Y) (p : Y ⟶ X) |
| 102 | (e : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) |
| 103 | (f : (Scheme.Modules.pullback r).obj M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y := |
| 104 | e ≪≫ Isogenies.NeighborCounting.ModuleScalar.scalarIso (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) |
| 105 | (Units.map p.appTop.hom.toMonoidHom (lineFrameTransitionUnit f (Isogenies.NeighborCounting.FramedHom.pullbackFrame r e))) |
| 106 | |
| 107 | theorem splitReductionFrameLift_reduces (r : X ⟶ Y) (p : Y ⟶ X) (h : r ≫ p = 𝟙 X) |
| 108 | (e : M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Y) |
| 109 | (f : (Scheme.Modules.pullback r).obj M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) : |
| 110 | Isogenies.NeighborCounting.FramedHom.pullbackFrame r (splitReductionFrameLift r p e f) = f := by |
| 111 | rw [splitReductionFrameLift, pullbackFrame_scalar, unit_pullback_retraction r p h] |
| 112 | exact lineFrameTransitionUnit_reconstruct (Isogenies.NeighborCounting.FramedHom.pullbackFrame r e) f |
| 113 | |
| 114 | end |
| 115 | |
| 116 | /-! A change of reduced global frame lifts to an actual scalar |
| 117 | automorphism of the unframed module along a split reduction. -/ |
| 118 | |
| 119 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 120 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar |
| 121 | |
| 122 | theorem scalarIso_pullback {X Y : Scheme.{0}} (r : X ⟶ Y) (M : Y.Modules) (u : Γ(Y, ⊤)ˣ) : |
| 123 | (Scheme.Modules.pullback r).mapIso (Isogenies.NeighborCounting.ModuleScalar.scalarIso M u) = |
| 124 | Isogenies.NeighborCounting.ModuleScalar.scalarIso ((Scheme.Modules.pullback r).obj M) (Units.map r.appTop.hom.toMonoidHom u) := by |
| 125 | apply Iso.ext |
| 126 | exact Isogenies.NeighborCounting.ModuleScalar.scalarEnd_pullback r M u.val |
| 127 | |
| 128 | theorem scalarIso_naturality {X : Scheme.{0}} {M N : X.Modules} (e : M ≅ N) (u : Γ(X, ⊤)ˣ) : |
| 129 | Isogenies.NeighborCounting.ModuleScalar.scalarIso M u ≪≫ e = e ≪≫ Isogenies.NeighborCounting.ModuleScalar.scalarIso N u := by |
| 130 | apply Iso.ext |
| 131 | exact Isogenies.NeighborCounting.ModuleScalar.scalarEnd_naturality e.hom u.val |
| 132 | |
| 133 | def splitReductionFrameAut {X Y : Scheme.{0}} (r : X ⟶ Y) (p : Y ⟶ X) {M : Y.Modules} |
| 134 | (e d : (Scheme.Modules.pullback r).obj M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) : M ≅ M := |
| 135 | Isogenies.NeighborCounting.ModuleScalar.scalarIso M (Units.map p.appTop.hom.toMonoidHom (lineFrameTransitionUnit d e)) |
| 136 | |
| 137 | theorem splitReductionFrameAut_reduces {X Y : Scheme.{0}} (r : X ⟶ Y) (p : Y ⟶ X) |
| 138 | (h : r ≫ p = 𝟙 X) {M : Y.Modules} |
| 139 | (e d : (Scheme.Modules.pullback r).obj M ≅ ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) : |
| 140 | (Scheme.Modules.pullback r).mapIso (splitReductionFrameAut r p e d) ≪≫ e = d := by |
| 141 | have h₁ := congrArg (fun q => q ≪≫ e) (scalarIso_pullback r M |
| 142 | (Units.map p.appTop.hom.toMonoidHom (lineFrameTransitionUnit d e))) |
| 143 | have h₂ := scalarIso_naturality e |
| 144 | (Units.map r.appTop.hom.toMonoidHom (Units.map p.appTop.hom.toMonoidHom (lineFrameTransitionUnit d e))) |
| 145 | have h₃ := congrArg (fun u => e ≪≫ Isogenies.NeighborCounting.ModuleScalar.scalarIso (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) u) |
| 146 | (unit_pullback_retraction r p h (lineFrameTransitionUnit d e)) |
| 147 | exact h₁.trans (h₂.trans (h₃.trans (lineFrameTransitionUnit_reconstruct e d))) |
| 148 | |
| 149 | end |
| 150 | |
| 151 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.SplitFrameReduction |