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.Smooth.AffineModels |
| 2 | |
| 3 | /-! # Affine Diagram Model -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.AffineDiagramModel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Smooth affine diagram models record the actual arrows and their recovery, over one coefficient ring. -/ |
| 10 | |
| 11 | open TensorProduct _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | structure SmoothAffineDiagramModel |
| 16 | (R : Type u) [CommRing R] {I : Type v} (A : I → Type u) |
| 17 | [∀ i, CommRing (A i)] [∀ i, Algebra R (A i)] |
| 18 | {J : Type w} (s t : J → I) (φ : ∀ j, A (s j) →ₐ[R] A (t j)) where |
| 19 | coefficients : Subalgebra ℤ R |
| 20 | finiteType : Algebra.FiniteType ℤ coefficients |
| 21 | algebra : I → CommAlgCat.{u} coefficients |
| 22 | smooth : ∀ i, Algebra.Smooth coefficients (algebra i) |
| 23 | arrow : ∀ j, algebra (s j) →ₐ[coefficients] algebra (t j) |
| 24 | recovery : ∀ i, A i ≃ₐ[R] R ⊗[coefficients] algebra i |
| 25 | recovery_naturality : ∀ j a, recovery (t j) (φ j a) = |
| 26 | Algebra.TensorProduct.map (AlgHom.id R R) (arrow j) (recovery (s j) a) |
| 27 | arrow_open : ∀ j, IsOpenImmersion (Spec.map (CommRingCat.ofHom (arrow j).toRingHom)) |
| 28 | |
| 29 | attribute [instance] SmoothAffineDiagramModel.finiteType SmoothAffineDiagramModel.smooth |
| 30 | attribute [instance] SmoothAffineDiagramModel.arrow_open |
| 31 | |
| 32 | namespace SmoothAffineDiagramModel |
| 33 | |
| 34 | variable {R : Type u} [CommRing R] {I : Type v} {A : I → Type u} |
| 35 | variable [∀ i, CommRing (A i)] [∀ i, Algebra R (A i)] |
| 36 | variable {J : Type w} {s t : J → I} {φ : ∀ j, A (s j) →ₐ[R] A (t j)} |
| 37 | |
| 38 | instance coefficients_noetherian (M : SmoothAffineDiagramModel R A s t φ) : |
| 39 | IsNoetherianRing M.coefficients := Algebra.FiniteType.isNoetherianRing ℤ M.coefficients |
| 40 | |
| 41 | instance algebra_noetherian (M : SmoothAffineDiagramModel R A s t φ) (i : I) : |
| 42 | IsNoetherianRing (M.algebra i) := Algebra.FiniteType.isNoetherianRing M.coefficients (M.algebra i) |
| 43 | |
| 44 | end SmoothAffineDiagramModel |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.AffineDiagramModel |