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.Proper |
| 2 | import Mathlib.CategoryTheory.Limits.MorphismProperty |
| 3 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Products |
| 4 | |
| 5 | /-! # Proper Products -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.ProperProducts.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite products of proper schemes over a common base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | structure ProperFamilyProduct {S : Scheme.{u}} {ι : Type u} (P : ι → Over S) where |
| 18 | obj : Over S |
| 19 | proper : IsProper obj.hom |
| 20 | projection : ∀ i, obj ⟶ P i |
| 21 | isLimit : IsLimit (Fan.mk obj projection) |
| 22 | |
| 23 | theorem proper_family_has_product |
| 24 | {S : Scheme.{u}} {ι : Type u} [Finite ι] (P : ι → Over S) |
| 25 | (hP : ∀ i, IsProper (P i).hom) : Nonempty (ProperFamilyProduct P) := by |
| 26 | have : MorphismProperty.HasOfPostcompProperty @IsProper @IsProper := |
| 27 | ⟨fun f g hg hfg ↦ by have := hg; have := hfg; exact IsProper.of_comp f g⟩ |
| 28 | let : Category (MorphismProperty.Over (@IsProper : MorphismProperty Scheme.{u}) ⊤ S) := |
| 29 | MorphismProperty.Comma.instCategory (𝟭 Scheme.{u}) (Functor.fromPUnit.{0} S) |
| 30 | @IsProper ⊤ ⊤ |
| 31 | let : HasFiniteLimits |
| 32 | (MorphismProperty.Over (@IsProper : MorphismProperty Scheme.{u}) ⊤ S) := |
| 33 | MorphismProperty.Over.hasFiniteLimits @IsProper S |
| 34 | let : Fintype ι := Fintype.ofFinite ι |
| 35 | let Q : ι → MorphismProperty.Over (@IsProper : MorphismProperty Scheme.{u}) ⊤ S := |
| 36 | fun i ↦ MorphismProperty.Over.mk ⊤ (P i).hom (hP i) |
| 37 | let F : (MorphismProperty.Over (@IsProper : MorphismProperty Scheme.{u}) |
| 38 | (⊤ : MorphismProperty Scheme.{u}) S) ⥤ Over S := |
| 39 | MorphismProperty.Over.forget @IsProper ⊤ S |
| 40 | have : PreservesFiniteLimits F := |
| 41 | MorphismProperty.Over.instPreservesFiniteLimitsTopOverForget @IsProper S |
| 42 | let A := ∏ᶜ Q |
| 43 | refine ⟨{ |
| 44 | obj := F.obj A |
| 45 | proper := A.prop |
| 46 | projection := fun i ↦ F.map (Pi.π Q i) |
| 47 | isLimit := isLimitOfHasProductOfPreservesLimit F Q |
| 48 | }⟩ |
| 49 | |
| 50 | def ProperFamilyProduct.baseChange |
| 51 | {S T : Scheme.{u}} {ι : Type u} (g : T ⟶ S) {P : ι → Over S} |
| 52 | (M : ProperFamilyProduct P) : |
| 53 | ProperFamilyProduct (fun i ↦ (Over.pullback g).obj (P i)) where |
| 54 | obj := (Over.pullback g).obj M.obj |
| 55 | proper := by |
| 56 | have := M.proper |
| 57 | exact inferInstanceAs (IsProper (pullback.snd M.obj.hom g)) |
| 58 | projection := fun i ↦ (Over.pullback g).map (M.projection i) |
| 59 | isLimit := isLimitFanMkObjOfIsLimit (Over.pullback g) P M.projection M.isLimit |
| 60 | |
| 61 | def ProperFamilyProduct.lift |
| 62 | {S : Scheme.{u}} {ι : Type u} {P : ι → Over S} (M : ProperFamilyProduct P) |
| 63 | (X : Over S) (f : ∀ i, X ⟶ P i) : X ⟶ M.obj := |
| 64 | M.isLimit.lift (Fan.mk X f) |
| 65 | |
| 66 | @[reassoc (attr := simp)] |
| 67 | theorem ProperFamilyProduct.lift_projection |
| 68 | {S : Scheme.{u}} {ι : Type u} {P : ι → Over S} (M : ProperFamilyProduct P) |
| 69 | (X : Over S) (f : ∀ i, X ⟶ P i) (i : ι) : |
| 70 | M.lift X f ≫ M.projection i = f i := |
| 71 | M.isLimit.fac (Fan.mk X f) ⟨i⟩ |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.ArithmeticGeometry.Models.SpreadingOut.ProperProducts.Construction |