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.Iterated.TensorImmersion |
| 2 | import Mathlib.RingTheory.Finiteness.Subalgebra |
| 3 | |
| 4 | /-! # Coefficient Immersion Flattening -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.CoefficientImmersionFlattening |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Two finite coefficient extensions give one finite extension carrying the same open immersion. -/ |
| 11 | |
| 12 | open TensorProduct _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem finite_coefficient_immersion_flatten |
| 17 | {C R A B : Type u} [CommRing C] [CommRing R] [CommRing A] [CommRing B] |
| 18 | [Algebra C R] [Algebra C A] [Algebra C B] |
| 19 | (D : Subalgebra C R) (F : Subalgebra D R) (hD : D.FG) (hF : F.FG) |
| 20 | (φ : A →ₐ[C] B) |
| 21 | [IsOpenImmersion (Spec.map (CommRingCat.ofHom |
| 22 | (R := F ⊗[D] (D ⊗[C] A)) (S := F ⊗[D] (D ⊗[C] B)) |
| 23 | (Algebra.TensorProduct.map (AlgHom.id F F) |
| 24 | (Algebra.TensorProduct.map (AlgHom.id D D) φ)).toRingHom))] : |
| 25 | D ≤ F.restrictScalars C ∧ (F.restrictScalars C).FG ∧ |
| 26 | IsOpenImmersion (Spec.map (CommRingCat.ofHom |
| 27 | (R := (F.restrictScalars C) ⊗[C] A) (S := (F.restrictScalars C) ⊗[C] B) |
| 28 | (Algebra.TensorProduct.map (AlgHom.id (F.restrictScalars C) (F.restrictScalars C)) |
| 29 | φ).toRingHom)) := by |
| 30 | have : Algebra.FiniteType C D := (Subalgebra.fg_iff_finiteType D).mp hD |
| 31 | have : Algebra.FiniteType D F := (Subalgebra.fg_iff_finiteType F).mp hF |
| 32 | have : Algebra.FiniteType C F := |
| 33 | Algebra.FiniteType.trans (S := D) (inferInstanceAs (Algebra.FiniteType C D)) |
| 34 | (inferInstanceAs (Algebra.FiniteType D F)) |
| 35 | refine ⟨?_, ?_, ?_⟩ |
| 36 | · intro r hr |
| 37 | exact F.algebraMap_mem (⟨r, hr⟩ : D) |
| 38 | · exact (Subalgebra.fg_iff_finiteType (F.restrictScalars C)).mpr |
| 39 | (inferInstanceAs (Algebra.FiniteType C F)) |
| 40 | · exact Iterated.TensorImmersion.isOpenImmersion_of_iterated_tensorMap (C := C) (D := D) (F := F) φ |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.CoefficientImmersionFlattening |