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.HilbertScheme.Presentations.ProductBaseCoefficients |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.CoefficientBaseChangeAssociativity |
| 3 | |
| 4 | /-! # Product Coefficient Assembly -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ProductCoefficientAssembly |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coefficient ideals on two affine base changes combine on their product. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable (R A B : CommRingCat.{u}) [Algebra R A] [Algebra R B] |
| 16 | variable {X : Scheme.{u}} (f : X ⟶ Spec R) [Flat f] (K : X.IdealSheafData) |
| 17 | |
| 18 | theorem affineIdealCoefficient_product_assembly (I : Ideal A) (J : Ideal B) |
| 19 | (hI : Affine.IdealCoefficientTests.IsAffineIdealCoefficient A |
| 20 | (pullback.snd f (Spec.map (CommRingCat.ofHom (algebraMap R A)))) |
| 21 | (K.comap (pullback.fst f (Spec.map (CommRingCat.ofHom (algebraMap R A))))) I) |
| 22 | (hJ : Affine.IdealCoefficientTests.IsAffineIdealCoefficient B |
| 23 | (pullback.snd f (Spec.map (CommRingCat.ofHom (algebraMap R B)))) |
| 24 | (K.comap (pullback.fst f (Spec.map (CommRingCat.ofHom (algebraMap R B))))) J) : |
| 25 | Affine.IdealCoefficientTests.IsAffineIdealCoefficient (CommRingCat.of (A × B)) |
| 26 | (pullback.snd f (Spec.map (CommRingCat.ofHom (algebraMap R (A × B))))) |
| 27 | (K.comap (pullback.fst f (Spec.map (CommRingCat.ofHom (algebraMap R (A × B)))))) (I.prod J) := by |
| 28 | let C := CommRingCat.of (A × B) |
| 29 | let φ : R ⟶ C := CommRingCat.ofHom (algebraMap R C) |
| 30 | let a : C ⟶ A := CommRingCat.ofHom (RingHom.fst A B) |
| 31 | let b : C ⟶ B := CommRingCat.ofHom (RingHom.snd A B) |
| 32 | have ha : φ ≫ a = CommRingCat.ofHom (algebraMap R A) := by |
| 33 | apply CommRingCat.hom_ext |
| 34 | apply RingHom.ext |
| 35 | intro r |
| 36 | rfl |
| 37 | have hb : φ ≫ b = CommRingCat.ofHom (algebraMap R B) := by |
| 38 | apply CommRingCat.hom_ext |
| 39 | apply RingHom.ext |
| 40 | intro r |
| 41 | rfl |
| 42 | apply ProductBaseCoefficients.affineIdealCoefficient_product_base A B |
| 43 | · apply CoefficientBaseChangeAssociativity.affineIdealCoefficient_iterated_baseChange f K φ a I |
| 44 | rw [ha] |
| 45 | exact hI |
| 46 | · apply CoefficientBaseChangeAssociativity.affineIdealCoefficient_iterated_baseChange f K φ b J |
| 47 | rw [hb] |
| 48 | exact hJ |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ProductCoefficientAssembly |