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 Mathlib.AlgebraicGeometry.Pullbacks |
| 2 | import Mathlib.Algebra.Category.Ring.Constructions |
| 3 | |
| 4 | /-! # Model Cartesian -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ModelCartesian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An algebra tensor-product model gives an actual Cartesian diagram of affine schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry TensorProduct |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {C R A B : Type u} [CommRing C] [CommRing R] [CommRing A] [CommRing B] |
| 17 | variable [Algebra C R] [Algebra C B] [Algebra R A] |
| 18 | |
| 19 | theorem tensorModel_ring_isPushout (e : A ≃ₐ[R] R ⊗[C] B) : |
| 20 | IsPushout (CommRingCat.ofHom (algebraMap C R)) (CommRingCat.ofHom (algebraMap C B)) |
| 21 | (CommRingCat.ofHom (algebraMap R A)) |
| 22 | (CommRingCat.ofHom (e.symm.toRingHom.comp Algebra.TensorProduct.includeRight.toRingHom)) := by |
| 23 | refine (CommRingCat.isPushout_tensorProduct C R B).of_iso |
| 24 | (Iso.refl _) (Iso.refl _) (Iso.refl _) e.symm.toRingEquiv.toCommRingCatIso ?_ ?_ ?_ ?_ |
| 25 | · simp |
| 26 | · simp |
| 27 | · ext r |
| 28 | exact e.symm.commutes r |
| 29 | · rfl |
| 30 | |
| 31 | def tensorModelMap (e : A ≃ₐ[R] R ⊗[C] B) : Spec (.of A) ⟶ Spec (.of B) := |
| 32 | Spec.map (CommRingCat.ofHom (e.symm.toRingHom.comp Algebra.TensorProduct.includeRight.toRingHom)) |
| 33 | |
| 34 | theorem tensorModelMap_isPullback (e : A ≃ₐ[R] R ⊗[C] B) : |
| 35 | IsPullback (tensorModelMap e) (Spec.map (CommRingCat.ofHom (algebraMap R A))) |
| 36 | (Spec.map (CommRingCat.ofHom (algebraMap C B))) |
| 37 | (Spec.map (CommRingCat.ofHom (algebraMap C R))) := |
| 38 | (isPullback_SpecMap_of_isPushout _ _ _ _ (tensorModel_ring_isPushout e)).flip |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.ModelCartesian |