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 Mathlib.AlgebraicGeometry.Morphisms.FiniteType |
| 2 | import Mathlib.AlgebraicGeometry.Noetherian |
| 3 | import Mathlib.AlgebraicGeometry.Pullbacks |
| 4 | |
| 5 | /-! # Test Monomorphism -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.TestMonomorphism |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A finite-type comparison from a locally Noetherian parameter is a |
| 12 | monomorphism once equality is detected on locally Noetherian tests. |
| 13 | The proof tests the two projections of the actual self-fiber product, |
| 14 | then uses its universal property for arbitrary test schemes. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | universe u |
| 18 | |
| 19 | theorem mono_of_locallyNoetherian_tests |
| 20 | {X Y : Scheme.{u}} [IsLocallyNoetherian X] |
| 21 | (f : X ⟶ Y) [LocallyOfFiniteType f] |
| 22 | (h : ∀ (T : Scheme.{u}) [IsLocallyNoetherian T] (a b : T ⟶ X), |
| 23 | a ≫ f = b ≫ f → a = b) : Mono f := by |
| 24 | let : IsLocallyNoetherian (pullback f f) := |
| 25 | LocallyOfFiniteType.isLocallyNoetherian (pullback.fst f f) |
| 26 | have hp : pullback.fst f f = pullback.snd f f := |
| 27 | h (pullback f f) (pullback.fst f f) (pullback.snd f f) pullback.condition |
| 28 | constructor |
| 29 | intro T a b hab |
| 30 | let l : T ⟶ pullback f f := pullback.lift a b hab |
| 31 | exact (pullback.lift_fst a b hab).symm.trans |
| 32 | ((congrArg (fun p => l ≫ p) hp).trans (pullback.lift_snd a b hab)) |
| 33 | |
| 34 | theorem over_mono_of_locallyNoetherian_tests |
| 35 | {S : Scheme.{u}} {X Y : Over S} [IsLocallyNoetherian X.left] |
| 36 | (f : X ⟶ Y) [LocallyOfFiniteType f.left] |
| 37 | (h : ∀ (T : Over S) [IsLocallyNoetherian T.left] (a b : T ⟶ X), |
| 38 | a ≫ f = b ≫ f → a = b) : Mono f := by |
| 39 | let : Mono f.left := mono_of_locallyNoetherian_tests f.left (by |
| 40 | intro T _ a b hab |
| 41 | let U : Over S := Over.mk (a ≫ X.hom) |
| 42 | let : IsLocallyNoetherian U.left := inferInstanceAs (IsLocallyNoetherian T) |
| 43 | let a' : U ⟶ X := Over.homMk a rfl |
| 44 | have hb : b ≫ X.hom = a ≫ X.hom := by |
| 45 | have hc := congrArg (fun p => p ≫ Y.hom) hab |
| 46 | simpa only [Category.assoc, f.w] using hc.symm |
| 47 | let b' : U ⟶ X := Over.homMk b hb |
| 48 | exact congrArg Over.Hom.left (h U a' b' (Over.OverMorphism.ext hab))) |
| 49 | exact Over.mono_of_mono_left f |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.TestMonomorphism |