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.Sites.Fpqc |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Product.Covers |
| 3 | |
| 4 | /-! # Effective Over Quotient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.EffectiveOverQuotient |
| 7 | |
| 8 | /-! Effective quotient morphisms over the specified scheme base. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | section |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] |
| 18 | |
| 19 | /-- Relations in the slice detect the underlying relations. -/ |
| 20 | theorem over_coequalizes_left {S : C} {A B W : Over S} |
| 21 | (f : A ⟶ B) (g : A ⟶ W) |
| 22 | (hg : ∀ {T : Over S} (x y : T ⟶ A), |
| 23 | x ≫ f = y ≫ f → x ≫ g = y ≫ g) : |
| 24 | ∀ {T : C} (x y : T ⟶ A.left), |
| 25 | x ≫ f.left = y ≫ f.left → x ≫ g.left = y ≫ g.left := by |
| 26 | intro T x y hxy |
| 27 | let T' : Over S := Over.mk (x ≫ A.hom) |
| 28 | let x' : T' ⟶ A := Over.homMk x rfl |
| 29 | let y' : T' ⟶ A := Over.homMk y (by |
| 30 | change y ≫ A.hom = x ≫ A.hom |
| 31 | rw [← Over.w f, ← Category.assoc, ← Category.assoc, hxy]) |
| 32 | exact congrArg Over.Hom.left (hg x' y' (Over.OverMorphism.ext hxy)) |
| 33 | |
| 34 | /-- Effective epimorphisms of the underlying objects remain effective |
| 35 | epimorphisms in a slice category. -/ |
| 36 | theorem effectiveEpi_over_of_left {S : C} {A B : Over S} |
| 37 | (f : A ⟶ B) [EffectiveEpi f.left] : EffectiveEpi f := by |
| 38 | constructor |
| 39 | refine ⟨{ |
| 40 | desc := fun {W} g hg => ?_ |
| 41 | fac := ?_ |
| 42 | uniq := ?_ |
| 43 | }⟩ |
| 44 | · have hrel : ∀ {T : C} (x y : T ⟶ A.left), |
| 45 | x ≫ f.left = y ≫ f.left → x ≫ g.left = y ≫ g.left := |
| 46 | over_coequalizes_left f g hg |
| 47 | let d := EffectiveEpi.desc f.left g.left hrel |
| 48 | refine Over.homMk d ?_ |
| 49 | apply (cancel_epi f.left).mp |
| 50 | rw [← Category.assoc, EffectiveEpi.fac, Over.w g, Over.w f] |
| 51 | · intro W g hg |
| 52 | apply Over.OverMorphism.ext |
| 53 | dsimp |
| 54 | apply EffectiveEpi.fac |
| 55 | exact over_coequalizes_left f g hg |
| 56 | · intro W g hg m hm |
| 57 | apply Over.OverMorphism.ext |
| 58 | exact EffectiveEpi.uniq f.left g.left (over_coequalizes_left f g hg) |
| 59 | m.left (congrArg Over.Hom.left hm) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | /-- An affine flat surjection is an effective quotient over its actual scheme base. -/ |
| 64 | theorem affine_effective {S : Scheme.{u}} {A B : Over S} (f : A ⟶ B) |
| 65 | [IsAffineHom f.left] [Flat f.left] [Surjective f.left] : EffectiveEpi f := |
| 66 | effectiveEpi_over_of_left f |
| 67 | |
| 68 | /-- The square of an affine flat surjection is an effective quotient over the same base. -/ |
| 69 | theorem tensor_effective {S : Scheme.{u}} {A B : Over S} (f : A ⟶ B) |
| 70 | [IsAffineHom f.left] [Flat f.left] [Surjective f.left] : EffectiveEpi (f ⊗ₘ f) := by |
| 71 | have : IsAffineHom (f ⊗ₘ f).left := Product.Covers.tensorAffine f f |
| 72 | have : Flat (f ⊗ₘ f).left := Product.Covers.tensorFlat f f |
| 73 | have : Surjective (f ⊗ₘ f).left := Product.Covers.tensorSurjective f f |
| 74 | exact affine_effective (f ⊗ₘ f) |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.EffectiveOverQuotient |