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.MultiplicativeFrameCoefficients |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections |
| 4 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.FrameRatioPullback |
| 5 | |
| 6 | /-! # Rescaled Line Frames -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.RescaledLineFrames |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Multiplying actual line frames by regular units and removing their multiplication coefficient. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections OAI.AlgebraicGeometry.Picard.PoincareBundle.Bilinear.ProductFrames OAI.AlgebraicGeometry.Picard.PoincareBundle.MultiplicativeFrameCoefficients |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar |
| 20 | |
| 21 | variable {X : Scheme.{u}} {M N P : X.Modules} |
| 22 | |
| 23 | /-- Rescale an actual sheaf frame by an invertible regular function. -/ |
| 24 | def rescale (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ≅ M) (r : Γ(X, ⊤)ˣ) : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ≅ M := |
| 25 | s ≪≫ Isogenies.NeighborCounting.ModuleScalar.scalarIso M r |
| 26 | |
| 27 | theorem rescale_one (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ≅ M) : rescale s 1 = s := by |
| 28 | apply Iso.ext |
| 29 | change s.hom ≫ Isogenies.NeighborCounting.ModuleScalar.scalarEnd M 1 = s.hom |
| 30 | rw [Isogenies.NeighborCounting.ModuleScalar.scalarEnd_one, Category.comp_id] |
| 31 | |
| 32 | theorem rescale_pullback {Y : Scheme.{u}} (f : Y ⟶ X) |
| 33 | (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ≅ M) (r : Γ(X, ⊤)ˣ) : |
| 34 | FrameRatioPullback.pullFrame f (rescale s r) = |
| 35 | rescale (FrameRatioPullback.pullFrame f s) (Units.map f.appTop.hom r) := by |
| 36 | apply Iso.ext |
| 37 | change (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).inv ≫ |
| 38 | (Scheme.Modules.pullback f).map (s.hom ≫ Isogenies.NeighborCounting.ModuleScalar.scalarEnd M (r : Γ(X, ⊤))) = |
| 39 | ((AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).inv ≫ (Scheme.Modules.pullback f).map s.hom) ≫ |
| 40 | Isogenies.NeighborCounting.ModuleScalar.scalarEnd ((Scheme.Modules.pullback f).obj M) (f.appTop (r : Γ(X, ⊤))) |
| 41 | rw [Functor.map_comp, Isogenies.NeighborCounting.ModuleScalar.scalarEnd_pullback, Category.assoc] |
| 42 | |
| 43 | theorem rescale_app_top (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ≅ M) (r : Γ(X, ⊤)ˣ) : |
| 44 | (rescale s r).hom.app ⊤ (1 : Γ(X, ⊤)) = |
| 45 | (r : Γ(X, ⊤)) • s.hom.app ⊤ (1 : Γ(X, ⊤)) := by |
| 46 | change (Isogenies.NeighborCounting.ModuleScalar.scalarEnd M (r : Γ(X, ⊤))).app ⊤ (s.hom.app ⊤ (1 : Γ(X, ⊤))) = _ |
| 47 | change X.presheaf.map (𝟙 (Opposite.op (⊤ : X.Opens))) (r : Γ(X, ⊤)) • |
| 48 | s.hom.app ⊤ (1 : Γ(X, ⊤)) = _ |
| 49 | rw [X.presheaf.map_id] |
| 50 | rfl |
| 51 | |
| 52 | /-- The coefficient equation gives equality of whole product frames after rescaling. -/ |
| 53 | theorem product_rescale (β : AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap M N P) [IsIso (Bilinear.BilinearPullback.toHom β)] |
| 54 | (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ≅ M) (t : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ≅ N) (v : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ≅ P) |
| 55 | (r s' t' : Γ(X, ⊤)ˣ) (h : MultiplicativeFrameCoefficients.coefficient β s t v * r * s' = t') : |
| 56 | Bilinear.ProductFrames.productFrame β (rescale s r) (rescale t s') = rescale v t' := by |
| 57 | apply Iso.ext |
| 58 | apply (AbelianModuli.HilbertConstruction.Global.Sections.moduleSectionHomEquiv P).injective |
| 59 | change (Bilinear.ProductFrames.productFrame β (rescale s r) (rescale t s')).hom.app ⊤ (1 : Γ(X, ⊤)) = |
| 60 | (rescale v t').hom.app ⊤ (1 : Γ(X, ⊤)) |
| 61 | rw [Bilinear.ProductFrames.productFrame_app] |
| 62 | simp only [rescale_app_top] |
| 63 | have hl := LinearMap.congr_fun ((β.app ⊤).map_smul |
| 64 | (r : Γ(X, ⊤)) (s.hom.app ⊤ (1 : Γ(X, ⊤)))) |
| 65 | ((s' : Γ(X, ⊤)) • t.hom.app ⊤ (1 : Γ(X, ⊤))) |
| 66 | erw [hl, LinearMap.smul_apply, map_smul, MultiplicativeFrameCoefficients.coefficient_action β s t v, smul_smul, smul_smul] |
| 67 | have hh := congrArg (fun a : Γ(X, ⊤) => a • v.hom.app ⊤ (1 : Γ(X, ⊤))) (congrArg Units.val h) |
| 68 | simpa only [Units.val_mul, mul_assoc, mul_comm, mul_left_comm] using hh |
| 69 | |
| 70 | /-- Rescaling by the inverse of a cocycle solution makes the actual frames multiplicative. -/ |
| 71 | theorem product_rescale_inverse (β : AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap M N P) [IsIso (Bilinear.BilinearPullback.toHom β)] |
| 72 | (s : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ≅ M) (t : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ≅ N) (v : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ≅ P) |
| 73 | (r s' t' : Γ(X, ⊤)ˣ) (h : MultiplicativeFrameCoefficients.coefficient β s t v * t' = r * s') : |
| 74 | Bilinear.ProductFrames.productFrame β (rescale s r⁻¹) (rescale t s'⁻¹) = rescale v t'⁻¹ := by |
| 75 | apply product_rescale β s t v |
| 76 | apply eq_inv_iff_mul_eq_one.mpr |
| 77 | calc |
| 78 | (MultiplicativeFrameCoefficients.coefficient β s t v * r⁻¹ * s'⁻¹) * t' = |
| 79 | (MultiplicativeFrameCoefficients.coefficient β s t v * t') * (r⁻¹ * s'⁻¹) := by ac_rfl |
| 80 | _ = (r * s') * (r⁻¹ * s'⁻¹) := congrArg (fun a => a * (r⁻¹ * s'⁻¹)) h |
| 81 | _ = 1 := by rw [mul_mul_mul_comm, mul_inv_cancel, mul_inv_cancel, mul_one] |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.RescaledLineFrames |