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.Affine.PrincipalCoefficientPresentation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PrincipalOpenImmersionDescent |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.CoefficientImmersionFlattening |
| 4 | |
| 5 | /-! # Affine Open Immersion Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.AffineOpenImmersionDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Open immersions between flat finite type affine models descend to finite coefficients. -/ |
| 12 | |
| 13 | open TensorProduct _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem exists_flat_affine_openImmersion_descent |
| 18 | {C R A B : Type u} [CommRing C] [CommRing R] [CommRing A] [CommRing B] |
| 19 | [Algebra C R] [Algebra C A] [Algebra C B] |
| 20 | [Algebra.FiniteType C A] [Algebra.FiniteType C B] |
| 21 | [Module.Flat C A] [Module.Flat C B] (φ : A →ₐ[C] B) |
| 22 | [IsOpenImmersion (Spec.map (CommRingCat.ofHom |
| 23 | (Algebra.TensorProduct.map (AlgHom.id R R) φ).toRingHom))] |
| 24 | (E : Subalgebra C R) (hE : E.FG) : |
| 25 | ∃ F : Subalgebra C R, E ≤ F ∧ F.FG ∧ |
| 26 | IsOpenImmersion (Spec.map (CommRingCat.ofHom |
| 27 | (Algebra.TensorProduct.map (AlgHom.id F F) φ).toRingHom)) := by |
| 28 | obtain ⟨D, hED, hD, k, f, hcover, hiso⟩ := |
| 29 | Affine.PrincipalCoefficientPresentation.exists_affine_principal_coefficient_presentation φ E hE |
| 30 | let φD := Algebra.TensorProduct.map (AlgHom.id D D) φ |
| 31 | obtain ⟨F, _, hF, _, _, hopen⟩ := PrincipalOpenImmersionDescent.exists_principal_openImmersion_descent |
| 32 | φD f hcover hiso (⊥ : Subalgebra D R) Subalgebra.fg_bot |
| 33 | have := hopen |
| 34 | obtain ⟨hDF, hfg, hImm⟩ := Finite.CoefficientImmersionFlattening.finite_coefficient_immersion_flatten D F hD hF φ |
| 35 | exact ⟨F.restrictScalars C, hED.trans hDF, hfg, hImm⟩ |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.AffineOpenImmersionDescent |