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.IntersectionTheory.ProjectionFormula.DisjointProjectiveBlocks |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.DisjointClosedCoproduct |
| 3 | import OAI.ArithmeticGeometry.Models.SpreadingOut.ProperCoproducts |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective |
| 5 | |
| 6 | /-! # Projective Blocks -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.ProjectiveBlocks |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Construct one actual projective embedding for a finite coproduct |
| 13 | of projective varieties by assigning disjoint coordinate blocks. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective |
| 18 | |
| 19 | theorem finite_projective_varieties_embedding {I : Type} [Finite I] |
| 20 | (V : I → Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : |
| 21 | ∃ (n : ℕ) (e : (ArithmeticGeometry.Models.SpreadingOut.ProperCoproducts.Construction.overSigma (fun i => (V i).toOver)).left ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n), |
| 22 | IsClosedImmersion e ∧ |
| 23 | e ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n = (ArithmeticGeometry.Models.SpreadingOut.ProperCoproducts.Construction.overSigma (fun i => (V i).toOver)).hom := by |
| 24 | classical |
| 25 | let : Fintype I := Fintype.ofFinite I |
| 26 | let J := Σ i : I, Fin ((V i).ambientDimension + 1) |
| 27 | let n := Fintype.card J |
| 28 | let j (i : I) (a : Fin ((V i).ambientDimension + 1)) : Fin (n + 1) := |
| 29 | ((Fintype.equivFin J) ⟨i, a⟩).castSucc |
| 30 | have hj (i : I) : Function.Injective (j i) := by |
| 31 | intro a b h |
| 32 | exact eq_of_heq ((Sigma.mk.inj_iff.mp ((Fintype.equivFin J).injective |
| 33 | (Fin.castSucc_injective _ h))).2) |
| 34 | have hd : Pairwise (fun i k => Disjoint (Set.range (j i)) (Set.range (j k))) := by |
| 35 | intro i k hik |
| 36 | rw [Set.disjoint_left] |
| 37 | rintro _ ⟨a, rfl⟩ ⟨b, h⟩ |
| 38 | have he := (Fintype.equivFin J).injective (Fin.castSucc_injective _ h) |
| 39 | exact hik (congrArg Sigma.fst he).symm |
| 40 | let f (i : I) : (V i).carrier ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace n := |
| 41 | (V i).embedding ≫ IntersectionTheory.ProjectionFormula.CoordinateBlockMap.map (j i) (hj i) |
| 42 | have hf (i : I) : IsClosedImmersion (f i) := |
| 43 | inferInstanceAs (IsClosedImmersion ((V i).embedding ≫ IntersectionTheory.ProjectionFormula.CoordinateBlockMap.map (j i) (hj i))) |
| 44 | have hdis : Pairwise (fun i k => Disjoint (Set.range (f i)) (Set.range (f k))) := by |
| 45 | intro i k hik |
| 46 | exact (IntersectionTheory.ProjectionFormula.DisjointProjectiveBlocks.disjoint (j i) (hj i) (j k) (hj k) (hd hik)).mono |
| 47 | (by rintro _ ⟨x, rfl⟩; exact ⟨(V i).embedding x, rfl⟩) |
| 48 | (by rintro _ ⟨x, rfl⟩; exact ⟨(V k).embedding x, rfl⟩) |
| 49 | refine ⟨n, Sigma.desc f, @DisjointClosedCoproduct.finite_disjoint_closed_sigmaDesc I inferInstance |
| 50 | (fun i => (V i).carrier) (Foundations.Scheme.ProjectiveSpace.projectiveSpace n) f hf hdis, ?_⟩ |
| 51 | change Sigma.desc f ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n = Sigma.desc (fun i => (V i).structureMap) |
| 52 | apply Sigma.hom_ext |
| 53 | intro i |
| 54 | rw [Sigma.ι_comp_desc_assoc] |
| 55 | change ((V i).embedding ≫ IntersectionTheory.ProjectionFormula.CoordinateBlockMap.map (j i) (hj i)) ≫ |
| 56 | Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n = Sigma.ι (fun i => (V i).carrier) i ≫ |
| 57 | Sigma.desc (fun i => (V i).structureMap) |
| 58 | rw [Category.assoc, IntersectionTheory.ProjectionFormula.CoordinateBlockMap.over_base, (V i).embedding_over, Sigma.ι_comp_desc] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.ProjectiveBlocks |