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.AutomorphismUnits |
| 2 | |
| 3 | /-! # Iso Ratios -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.IsoRatios |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Ratios of actual line isomorphisms, including composition and arbitrary pullback. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModuleScalar OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.AutomorphismUnits |
| 16 | |
| 17 | variable {X Y : Scheme.{u}} {M N P : X.Modules} (hM : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle M) |
| 18 | |
| 19 | /-- The unique scalar relating two actual isomorphisms with the same endpoints. -/ |
| 20 | def ratio (e f : M ≅ N) : Γ(X, ⊤)ˣ := AutomorphismUnits.unitOfAut hM (e ≪≫ f.symm) |
| 21 | |
| 22 | theorem ratio_spec (e f : M ≅ N) : |
| 23 | Isogenies.NeighborCounting.ModuleScalar.scalarEnd M (ratio hM e f).val ≫ f.hom = e.hom := by |
| 24 | have h := congrArg Iso.hom (AutomorphismUnits.scalarIso_unitOfAut hM (e ≪≫ f.symm)) |
| 25 | change Isogenies.NeighborCounting.ModuleScalar.scalarEnd M (ratio hM e f).val = e.hom ≫ f.inv at h |
| 26 | rw [h, Category.assoc, f.inv_hom_id, Category.comp_id] |
| 27 | |
| 28 | theorem ratio_eq_one_iff (e f : M ≅ N) : ratio hM e f = 1 ↔ e = f := by |
| 29 | constructor |
| 30 | · intro h |
| 31 | apply Iso.ext |
| 32 | have hs := ratio_spec hM e f |
| 33 | rw [h] at hs |
| 34 | simpa only [Units.val_one, Isogenies.NeighborCounting.ModuleScalar.scalarEnd_one, Category.id_comp] using hs.symm |
| 35 | · intro h |
| 36 | subst f |
| 37 | change AutomorphismUnits.unitOfAut hM (e ≪≫ e.symm) = 1 |
| 38 | simpa only [Iso.self_symm_id] using AutomorphismUnits.unitOfAut_refl hM |
| 39 | |
| 40 | theorem ratio_postcomp (e f : M ≅ N) (g : N ≅ P) : |
| 41 | ratio hM (e ≪≫ g) (f ≪≫ g) = ratio hM e f := by |
| 42 | apply congrArg (AutomorphismUnits.unitOfAut hM) |
| 43 | apply Iso.ext |
| 44 | simp only [Iso.trans_hom, Iso.symm_hom, Iso.trans_inv, Category.assoc, Iso.hom_inv_id_assoc] |
| 45 | |
| 46 | theorem ratio_precomp {Q : X.Modules} (hQ : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle Q) (s : Q ≅ M) (e f : M ≅ N) : |
| 47 | ratio hQ (s ≪≫ e) (s ≪≫ f) = ratio hM e f := by |
| 48 | have h := AutomorphismUnits.unitOfAut_conjugate hM hQ s.symm (e ≪≫ f.symm) |
| 49 | exact h |
| 50 | |
| 51 | theorem ratio_chain (e f g : M ≅ N) : |
| 52 | ratio hM e f * ratio hM f g = ratio hM e g := by |
| 53 | rw [ratio, ratio, ← AutomorphismUnits.unitOfAut_trans] |
| 54 | apply congrArg (AutomorphismUnits.unitOfAut hM) |
| 55 | apply Iso.ext |
| 56 | simp only [Iso.trans_hom, Iso.symm_hom, Category.assoc, Iso.inv_hom_id_assoc] |
| 57 | |
| 58 | theorem ratio_comp (hN : ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.IsLineBundle N) (e f : M ≅ N) (g h : N ≅ P) : |
| 59 | ratio hM (e ≪≫ g) (f ≪≫ h) = ratio hM e f * ratio hN g h := by |
| 60 | have hc := ratio_chain hM (e ≪≫ g) (f ≪≫ g) (f ≪≫ h) |
| 61 | rw [ratio_postcomp, ratio_precomp hN hM f] at hc |
| 62 | exact hc.symm |
| 63 | |
| 64 | /-- Ratios remain regular units on every scheme after arbitrary base change. -/ |
| 65 | theorem ratio_pullback (a : Y ⟶ X) (e f : M ≅ N) : |
| 66 | ratio (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.isLineBundle_pullback a M hM) |
| 67 | ((Scheme.Modules.pullback a).mapIso e) ((Scheme.Modules.pullback a).mapIso f) = |
| 68 | Units.map a.appTop.hom (ratio hM e f) := by |
| 69 | simpa only [ratio, Functor.mapIso_trans, Functor.mapIso_symm] using |
| 70 | AutomorphismUnits.unitOfAut_pullback hM a (e ≪≫ f.symm) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.IsoRatios |