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.PoincareBundle.StructureUnitGluing |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.FrameUnits |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar |
| 4 | |
| 5 | /-! # Line Trivialization Coboundary -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.LineTrivializationCoboundary |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A global trivialization of a descended line makes its original |
| 12 | unit-valued transition function a coboundary. The equation uses the |
| 13 | actual pullback functors and the actual maps on regular functions. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {X Y T : Scheme.{u}} (f : Y ⟶ X) {L : X.Modules} |
| 24 | (t : (Scheme.Modules.pullback f).obj L ≅ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) |
| 25 | (e : L ≅ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 26 | |
| 27 | def correction : Γ(Y, ⊤)ˣ := |
| 28 | AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.structureAutUnit (t.symm ≪≫ (Scheme.Modules.pullback f).mapIso e ≪≫ |
| 29 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f) |
| 30 | |
| 31 | theorem correction_spec : |
| 32 | t.hom ≫ AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) (correction f t e).val = |
| 33 | (Scheme.Modules.pullback f).map e.hom ≫ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom := by |
| 34 | erw [correction, AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd_structureAut] |
| 35 | simp only [Iso.trans_hom, Iso.symm_hom, Functor.mapIso_hom, |
| 36 | Iso.hom_inv_id_assoc] |
| 37 | |
| 38 | theorem scalar_value (r : Γ(T, ⊤)) : |
| 39 | AlgebraicGeometry.Picard.PoincareBundle.Line.FrameUnits.scalar (AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) r) = r := by |
| 40 | simp [AlgebraicGeometry.Picard.PoincareBundle.Line.FrameUnits.scalar, AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd_apply] |
| 41 | |
| 42 | theorem equation (p q : T ⟶ Y) (h : p ≫ f = q ≫ f) |
| 43 | (s : (Scheme.Modules.pullback p).obj (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) ≅ |
| 44 | (Scheme.Modules.pullback q).obj (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y)) (d : Γ(T, ⊤)ˣ) |
| 45 | (ht : (Scheme.Modules.pullback p).map t.hom ≫ s.hom = |
| 46 | (AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization.standardGluing f p q h).hom.app L ≫ (Scheme.Modules.pullback q).map t.hom) |
| 47 | (hs : s.hom ≫ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso q).hom = |
| 48 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso p).hom ≫ AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) d.val) : |
| 49 | Units.map p.appTop.hom.toMonoidHom (correction f t e) = |
| 50 | d * Units.map q.appTop.hom.toMonoidHom (correction f t e) := by |
| 51 | let u := correction f t e |
| 52 | let P := Scheme.Modules.pullback p |
| 53 | let Q := Scheme.Modules.pullback q |
| 54 | have hn : P.map (t.hom ≫ AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) u.val) ≫ |
| 55 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso p).hom = |
| 56 | (AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization.standardGluing f p q h).hom.app L ≫ |
| 57 | Q.map (t.hom ≫ AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) u.val) ≫ |
| 58 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso q).hom := by |
| 59 | dsimp only [u, P, Q] |
| 60 | rw [correction_spec, Functor.map_comp, Category.assoc, |
| 61 | AlgebraicGeometry.Picard.PoincareBundle.StructureUnitGluing.unit_gluing f p q h] |
| 62 | rw [Functor.map_comp] |
| 63 | simpa only [Functor.comp_map, Category.assoc] using |
| 64 | congrArg (fun a => a ≫ (Scheme.Modules.pullback q).map |
| 65 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom ≫ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso q).hom) |
| 66 | ((AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization.standardGluing f p q h).hom.naturality e.hom) |
| 67 | have hu : P.map (AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) u.val) ≫ |
| 68 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso p).hom = |
| 69 | s.hom ≫ Q.map (AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) u.val) ≫ |
| 70 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso q).hom := by |
| 71 | apply (cancel_epi (P.map t.hom)).mp |
| 72 | calc |
| 73 | _ = P.map (t.hom ≫ AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) u.val) ≫ |
| 74 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso p).hom := by rw [Functor.map_comp, Category.assoc] |
| 75 | _ = _ := hn |
| 76 | _ = _ := by |
| 77 | have ht' : (AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization.standardGluing f p q h).hom.app L ≫ Q.map t.hom = |
| 78 | P.map t.hom ≫ s.hom := ht.symm |
| 79 | simp only [Functor.map_comp, ← Category.assoc] |
| 80 | erw [ht'] |
| 81 | have he : |
| 82 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso p).hom ≫ |
| 83 | AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) (p.appTop u.val) = |
| 84 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso p).hom ≫ |
| 85 | AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) (d.val * q.appTop u.val) := by |
| 86 | calc |
| 87 | _ = P.map (AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) u.val) ≫ |
| 88 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso p).hom := by |
| 89 | rw [AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd_pullback, AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd_naturality] |
| 90 | _ = _ := hu |
| 91 | _ = (s.hom ≫ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso q).hom) ≫ |
| 92 | AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) (q.appTop u.val) := by |
| 93 | rw [AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd_pullback, AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd_naturality, Category.assoc] |
| 94 | _ = _ := by rw [hs, AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd_mul, Category.assoc] |
| 95 | apply Units.ext |
| 96 | have hv := congrArg AlgebraicGeometry.Picard.PoincareBundle.Line.FrameUnits.scalar |
| 97 | ((cancel_epi (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso p).hom).mp he) |
| 98 | change p.appTop.hom u.val = d.val * q.appTop.hom u.val |
| 99 | simpa only [scalar_value] using hv |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.NumberTheory.PadicHodge.IntegralComparison.LineTrivializationCoboundary |