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.Relative.NoetherianAffineTests |
| 2 | |
| 3 | /-! # Noetherian Affine Equivalences -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.NoetherianAffineEquivalences |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Natural equivalences on Noetherian affine test points give |
| 10 | actual relative scheme isomorphisms. Inverse naturality follows |
| 11 | from the forward naturality and bijectivity. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | structure RelativeNoetherianAffineTestEquiv {S : Scheme.{u}} (X Y : Over S) where |
| 18 | app : ∀ (R : CommRingCat.{u}) [IsNoetherianRing R] (f : Spec R ⟶ S), |
| 19 | (Over.mk f ⟶ X) ≃ (Over.mk f ⟶ Y) |
| 20 | naturality : ∀ (R A : CommRingCat.{u}) [IsNoetherianRing R] [IsNoetherianRing A] |
| 21 | (f : Spec R ⟶ S) (g : Spec A ⟶ S) (a : Over.mk g ⟶ Over.mk f) (x : Over.mk f ⟶ X), |
| 22 | app A g (a ≫ x) = a ≫ app R f x |
| 23 | |
| 24 | namespace RelativeNoetherianAffineTestEquiv |
| 25 | variable {S : Scheme.{u}} {X Y : Over S} (D : RelativeNoetherianAffineTestEquiv X Y) |
| 26 | |
| 27 | def forward : NoetherianAffineTests.RelativeNoetherianAffineTestData X Y where |
| 28 | app := by |
| 29 | intro R _ f x |
| 30 | exact D.app R f x |
| 31 | naturality := D.naturality |
| 32 | |
| 33 | def backward : NoetherianAffineTests.RelativeNoetherianAffineTestData Y X where |
| 34 | app := by |
| 35 | intro R _ f y |
| 36 | exact (D.app R f).symm y |
| 37 | naturality R A _ _ f g a y := by |
| 38 | apply (D.app A g).injective |
| 39 | rw [Equiv.apply_symm_apply, D.naturality, Equiv.apply_symm_apply] |
| 40 | |
| 41 | def toIso [IsLocallyNoetherian X.left] [IsLocallyNoetherian Y.left] : X ≅ Y := |
| 42 | D.forward.toIso D.backward |
| 43 | (by intro R _ f x; exact (D.app R f).symm_apply_apply x) |
| 44 | (by intro R _ f y; exact (D.app R f).apply_symm_apply y) |
| 45 | |
| 46 | theorem toIso_on_affine [IsLocallyNoetherian X.left] [IsLocallyNoetherian Y.left] |
| 47 | (R : CommRingCat.{u}) [IsNoetherianRing R] (f : Spec R ⟶ S) (x : Over.mk f ⟶ X) : |
| 48 | x ≫ D.toIso.hom = D.app R f x := D.forward.toHom_on_affine R f x |
| 49 | |
| 50 | end RelativeNoetherianAffineTestEquiv |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.NoetherianAffineEquivalences |