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.AbelianModuli.HilbertConstruction.LineBundle.TensorEquivalence |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.MonoidalTensorNaturality |
| 3 | |
| 4 | /-! # Pairing Retraction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.PairingRetraction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Tensor cancellation by a line bundle converts a retraction of an inverse pairing into an actual retraction of module sheaves. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem lineBundlePairing_exists_retraction {X : Scheme.{u}} (K : Line.Bundles.LineBundle X) |
| 15 | {M P Q : X.Modules} (i : M ⟶ P) (e : Tensor.ProductSheaf.tensorModule M K.sheaf ≅ Q) |
| 16 | (q : Tensor.ProductSheaf.tensorModule P K.sheaf ⟶ Q) |
| 17 | (h : Tensor.Bifunctor.tensorModuleMap i (𝟙 K.sheaf) ≫ q = e.hom) : |
| 18 | ∃ r : P ⟶ M, i ≫ r = 𝟙 M := by |
| 19 | let F := (TensorEquivalence.lineBundleRightTensorEquivalence K).functor |
| 20 | let a := TensorEquivalence.lineBundleRightTensorEquivalence_objIso K M |
| 21 | let b := TensorEquivalence.lineBundleRightTensorEquivalence_objIso K P |
| 22 | let d : F.obj P ⟶ F.obj M := b.hom ≫ q ≫ e.inv ≫ a.inv |
| 23 | refine ⟨F.preimage d, ?_⟩ |
| 24 | apply F.map_injective |
| 25 | rw [F.map_comp, F.map_preimage, F.map_id] |
| 26 | have hn : F.map i ≫ b.hom = a.hom ≫ Tensor.Bifunctor.tensorModuleMap i (𝟙 K.sheaf) := |
| 27 | Module.MonoidalTensorNaturality.moduleMonoidalTensorIso_natural_left i K.sheaf |
| 28 | have hd : F.map i ≫ d = a.hom ≫ (Tensor.Bifunctor.tensorModuleMap i (𝟙 K.sheaf) ≫ q) ≫ e.inv ≫ a.inv := by |
| 29 | dsimp only [d] |
| 30 | rw [← Category.assoc, hn] |
| 31 | simp only [Category.assoc] |
| 32 | rw [h] at hd |
| 33 | exact hd.trans (by |
| 34 | simp only [Iso.hom_inv_id_assoc, Iso.hom_inv_id] |
| 35 | rfl) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.PairingRetraction |