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.NumberTheory.PadicHodge.IntegralComparison.LineTrivializationCoboundary |
| 2 | |
| 3 | /-! # Line Frame -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.LineFrame.Comparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An isomorphism of two globally defined lines compares their local |
| 10 | frames by a unit. Their normalized transition functions differ by the |
| 11 | coboundary of that actual unit. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {X Y T : Scheme.{u}} (f : Y ⟶ X) {L M : X.Modules} |
| 23 | (s : (Scheme.Modules.pullback f).obj L ≅ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) |
| 24 | (t : (Scheme.Modules.pullback f).obj M ≅ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) |
| 25 | (e : L ≅ M) |
| 26 | |
| 27 | def correction : Γ(Y, ⊤)ˣ := |
| 28 | AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.structureAutUnit (s.symm ≪≫ (Scheme.Modules.pullback f).mapIso e ≪≫ t) |
| 29 | |
| 30 | theorem correction_spec : |
| 31 | s.hom ≫ AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) (correction f s t e).val = |
| 32 | (Scheme.Modules.pullback f).map e.hom ≫ t.hom := by |
| 33 | erw [correction, AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd_structureAut] |
| 34 | simp only [Iso.trans_hom, Iso.symm_hom, Functor.mapIso_hom, |
| 35 | Iso.hom_inv_id_assoc] |
| 36 | |
| 37 | def frameAt (p : T ⟶ Y) := |
| 38 | (Scheme.Modules.pullback p).mapIso s ≪≫ AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso p |
| 39 | |
| 40 | theorem correction_at (p : T ⟶ Y) : |
| 41 | (Scheme.Modules.pullback p).map ((Scheme.Modules.pullback f).map e.hom) ≫ |
| 42 | (frameAt f t p).hom = |
| 43 | (frameAt f s p).hom ≫ AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) |
| 44 | (p.appTop (correction f s t e).val) := by |
| 45 | change (Scheme.Modules.pullback p).map ((Scheme.Modules.pullback f).map e.hom) ≫ |
| 46 | ((Scheme.Modules.pullback p).map t.hom ≫ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso p).hom) = |
| 47 | ((Scheme.Modules.pullback p).map s.hom ≫ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso p).hom) ≫ _ |
| 48 | rw [← Category.assoc, ← Functor.map_comp, ← correction_spec f s t e, Functor.map_comp] |
| 49 | rw [AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd_pullback, Category.assoc, AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd_naturality] |
| 50 | simp only [Category.assoc] |
| 51 | |
| 52 | theorem equation (p q : T ⟶ Y) (h : p ≫ f = q ≫ f) |
| 53 | (dL dM : Γ(T, ⊤)ˣ) |
| 54 | (hL : (AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization.standardGluing f p q h).hom.app L ≫ (frameAt f s q).hom = |
| 55 | (frameAt f s p).hom ≫ AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) dL.val) |
| 56 | (hM : (AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization.standardGluing f p q h).hom.app M ≫ (frameAt f t q).hom = |
| 57 | (frameAt f t p).hom ≫ AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) dM.val) : |
| 58 | Units.map p.appTop.hom.toMonoidHom (correction f s t e) * dM = |
| 59 | dL * Units.map q.appTop.hom.toMonoidHom (correction f s t e) := by |
| 60 | let u := correction f s t e |
| 61 | have hn : (Scheme.Modules.pullback p).map ((Scheme.Modules.pullback f).map e.hom) ≫ |
| 62 | (AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization.standardGluing f p q h).hom.app M = |
| 63 | (AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization.standardGluing f p q h).hom.app L ≫ |
| 64 | (Scheme.Modules.pullback q).map ((Scheme.Modules.pullback f).map e.hom) := |
| 65 | (AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization.standardGluing f p q h).hom.naturality e.hom |
| 66 | have he : (frameAt f s p).hom ≫ |
| 67 | AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) (p.appTop u.val * dM.val) = |
| 68 | (frameAt f s p).hom ≫ |
| 69 | AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) (dL.val * q.appTop u.val) := by |
| 70 | calc |
| 71 | _ = ((frameAt f s p).hom ≫ AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) (p.appTop u.val)) ≫ |
| 72 | AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) dM.val := by rw [AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd_mul, Category.assoc] |
| 73 | _ = ((Scheme.Modules.pullback p).map ((Scheme.Modules.pullback f).map e.hom) ≫ |
| 74 | (frameAt f t p).hom) ≫ AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) dM.val := by |
| 75 | rw [← correction_at] |
| 76 | _ = (Scheme.Modules.pullback p).map ((Scheme.Modules.pullback f).map e.hom) ≫ |
| 77 | (AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization.standardGluing f p q h).hom.app M ≫ (frameAt f t q).hom := by |
| 78 | rw [Category.assoc, ← hM] |
| 79 | _ = (AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization.standardGluing f p q h).hom.app L ≫ |
| 80 | (Scheme.Modules.pullback q).map ((Scheme.Modules.pullback f).map e.hom) ≫ |
| 81 | (frameAt f t q).hom := by rw [← Category.assoc, hn, Category.assoc] |
| 82 | _ = (AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization.standardGluing f p q h).hom.app L ≫ (frameAt f s q).hom ≫ |
| 83 | AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) (q.appTop u.val) := by rw [correction_at] |
| 84 | _ = _ := by rw [← Category.assoc, hL, Category.assoc, ← AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd_mul] |
| 85 | apply Units.ext |
| 86 | have hv := congrArg AlgebraicGeometry.Picard.PoincareBundle.Line.FrameUnits.scalar |
| 87 | ((cancel_epi (frameAt f s p).hom).mp he) |
| 88 | change p.appTop.hom u.val * dM.val = dL.val * q.appTop.hom u.val |
| 89 | simpa only [LineTrivializationCoboundary.scalar_value] using hv |
| 90 | |
| 91 | theorem quotient_equation (p q : T ⟶ Y) (h : p ≫ f = q ≫ f) |
| 92 | (dL dM : Γ(T, ⊤)ˣ) |
| 93 | (hL : (AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization.standardGluing f p q h).hom.app L ≫ (frameAt f s q).hom = |
| 94 | (frameAt f s p).hom ≫ AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) dL.val) |
| 95 | (hM : (AlgebraicGeometry.Picard.PoincareBundle.Cech.MateNormalization.standardGluing f p q h).hom.app M ≫ (frameAt f t q).hom = |
| 96 | (frameAt f t p).hom ≫ AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar.scalarEnd (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.structureModule T) dM.val) : |
| 97 | dL / dM = Units.map p.appTop.hom.toMonoidHom (correction f s t e) / |
| 98 | Units.map q.appTop.hom.toMonoidHom (correction f s t e) := by |
| 99 | apply div_eq_div_iff_mul_eq_mul.mpr |
| 100 | simpa only [mul_comm dM _] using (equation f s t e p q h dL dM hL hM).symm |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.NumberTheory.PadicHodge.IntegralComparison.LineFrame.Comparison |