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.Line.IsoRatios |
| 2 | |
| 3 | /-! # Scaled Line Isomorphisms -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.ScaledLineIsomorphisms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Correct actual line isomorphisms by regular units and remove their composition defect. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.IsoRatios |
| 16 | |
| 17 | variable {X Y : Scheme.{u}} {M N P : X.Modules} |
| 18 | |
| 19 | /-- Rescale an actual isomorphism by a unit of the base scheme. -/ |
| 20 | def rescale (e : M ≅ N) (r : Γ(X, ⊤)ˣ) : M ≅ N := Isogenies.NeighborCounting.ModuleScalar.scalarIso M r ≪≫ e |
| 21 | |
| 22 | theorem rescale_one (e : M ≅ N) : rescale e 1 = e := by |
| 23 | apply Iso.ext |
| 24 | change Isogenies.NeighborCounting.ModuleScalar.scalarEnd M 1 ≫ e.hom = e.hom |
| 25 | rw [Isogenies.NeighborCounting.ModuleScalar.scalarEnd_one, Category.id_comp] |
| 26 | |
| 27 | theorem rescale_postcomp (e : M ≅ N) (f : N ≅ P) (r : Γ(X, ⊤)ˣ) : |
| 28 | rescale (e ≪≫ f) r = rescale e r ≪≫ f := (Iso.trans_assoc _ _ _).symm |
| 29 | |
| 30 | theorem rescale_precomp (e : M ≅ N) (f : N ≅ P) (r : Γ(X, ⊤)ˣ) : |
| 31 | rescale (e ≪≫ f) r = e ≪≫ rescale f r := by |
| 32 | apply Iso.ext |
| 33 | change Isogenies.NeighborCounting.ModuleScalar.scalarEnd M r.val ≫ e.hom ≫ f.hom = e.hom ≫ Isogenies.NeighborCounting.ModuleScalar.scalarEnd N r.val ≫ f.hom |
| 34 | simpa only [Category.assoc] using congrArg (fun m => m ≫ f.hom) (Isogenies.NeighborCounting.ModuleScalar.scalarEnd_naturality e.hom r.val) |
| 35 | |
| 36 | theorem rescale_rescale (e : M ≅ N) (r s : Γ(X, ⊤)ˣ) : |
| 37 | rescale (rescale e r) s = rescale e (s * r) := by |
| 38 | apply Iso.ext |
| 39 | change Isogenies.NeighborCounting.ModuleScalar.scalarEnd M s.val ≫ Isogenies.NeighborCounting.ModuleScalar.scalarEnd M r.val ≫ e.hom = Isogenies.NeighborCounting.ModuleScalar.scalarEnd M (s.val * r.val) ≫ e.hom |
| 40 | rw [Isogenies.NeighborCounting.ModuleScalar.scalarEnd_mul, Category.assoc] |
| 41 | |
| 42 | theorem rescale_trans (e : M ≅ N) (f : N ≅ P) (r s : Γ(X, ⊤)ˣ) : |
| 43 | rescale e r ≪≫ rescale f s = rescale (e ≪≫ f) (r * s) := by |
| 44 | apply Iso.ext |
| 45 | change (Isogenies.NeighborCounting.ModuleScalar.scalarEnd M r.val ≫ e.hom) ≫ Isogenies.NeighborCounting.ModuleScalar.scalarEnd N s.val ≫ f.hom = |
| 46 | Isogenies.NeighborCounting.ModuleScalar.scalarEnd M (r.val * s.val) ≫ e.hom ≫ f.hom |
| 47 | rw [Isogenies.NeighborCounting.ModuleScalar.scalarEnd_mul] |
| 48 | simpa only [Category.assoc] using |
| 49 | congrArg (fun m => Isogenies.NeighborCounting.ModuleScalar.scalarEnd M r.val ≫ m ≫ f.hom) (Isogenies.NeighborCounting.ModuleScalar.scalarEnd_naturality e.hom s.val).symm |
| 50 | |
| 51 | theorem rescale_pullback (a : Y ⟶ X) (e : M ≅ N) (r : Γ(X, ⊤)ˣ) : |
| 52 | (Scheme.Modules.pullback a).mapIso (rescale e r) = |
| 53 | rescale ((Scheme.Modules.pullback a).mapIso e) (Units.map a.appTop.hom r) := by |
| 54 | apply Iso.ext |
| 55 | change (Scheme.Modules.pullback a).map (Isogenies.NeighborCounting.ModuleScalar.scalarEnd M r.val ≫ e.hom) = |
| 56 | Isogenies.NeighborCounting.ModuleScalar.scalarEnd ((Scheme.Modules.pullback a).obj M) (a.appTop r.val) ≫ |
| 57 | (Scheme.Modules.pullback a).map e.hom |
| 58 | rw [Functor.map_comp, Isogenies.NeighborCounting.ModuleScalar.scalarEnd_pullback] |
| 59 | |
| 60 | /-- A solution of the unit-valued defect equation makes the corrected transports compose exactly. -/ |
| 61 | theorem corrected_comp (hM : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle M) (e : M ≅ N) (f : N ≅ P) (g : M ≅ P) |
| 62 | (r s v : Γ(X, ⊤)ˣ) (h : Line.IsoRatios.ratio hM (e ≪≫ f) g * v = r * s) : |
| 63 | rescale e r⁻¹ ≪≫ rescale f s⁻¹ = rescale g v⁻¹ := by |
| 64 | have hg : e ≪≫ f = rescale g (Line.IsoRatios.ratio hM (e ≪≫ f) g) := by |
| 65 | apply Iso.ext |
| 66 | exact (Line.IsoRatios.ratio_spec hM (e ≪≫ f) g).symm |
| 67 | have hc : (r⁻¹ * s⁻¹) * Line.IsoRatios.ratio hM (e ≪≫ f) g = v⁻¹ := by |
| 68 | apply eq_inv_iff_mul_eq_one.mpr |
| 69 | calc |
| 70 | ((r⁻¹ * s⁻¹) * Line.IsoRatios.ratio hM (e ≪≫ f) g) * v = |
| 71 | (r⁻¹ * s⁻¹) * (Line.IsoRatios.ratio hM (e ≪≫ f) g * v) := by ac_rfl |
| 72 | _ = (r⁻¹ * s⁻¹) * (r * s) := congrArg (fun z => (r⁻¹ * s⁻¹) * z) h |
| 73 | _ = 1 := by rw [mul_mul_mul_comm, inv_mul_cancel, inv_mul_cancel, mul_one] |
| 74 | rw [rescale_trans, hg, rescale_rescale, hc] |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.ScaledLineIsomorphisms |