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.StandardProjectiveChartOver |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.ProductCharts |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Segre.ChartProjections |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StandardProjectiveCharts |
| 5 | |
| 6 | /-! # Product Chart Cover -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProductChartCover |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual affine product charts cover the product of two projective spaces. -/ |
| 13 | |
| 14 | open _root_.MvPolynomial _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R : CommRingCat.{u}) {n m : ℕ} (p : Segre.ChartProjections.SegreProjectiveIndex.{u} n m) |
| 19 | |
| 20 | def projectiveProductChart : Scheme.{u} := |
| 21 | pullback (StandardProjectiveChartOver.projectiveStandardChartOver R n p.1.down).hom (StandardProjectiveChartOver.projectiveStandardChartOver R m p.2.down).hom |
| 22 | |
| 23 | def projectiveProductChartMap : projectiveProductChart R p ⟶ |
| 24 | pullback (ProjectivePresentations.affineProjectiveSpace R n).hom (ProjectivePresentations.affineProjectiveSpace R m).hom := |
| 25 | pullback.map _ _ _ _ (StandardProjectiveChartOver.projectiveStandardChartInclusion R n p.1.down) |
| 26 | (StandardProjectiveChartOver.projectiveStandardChartInclusion R m p.2.down) (𝟙 (Spec R)) |
| 27 | ((Category.comp_id _).trans (StandardProjectiveChartOver.projectiveStandardChartInclusion_over R n p.1.down).symm) |
| 28 | ((Category.comp_id _).trans (StandardProjectiveChartOver.projectiveStandardChartInclusion_over R m p.2.down).symm) |
| 29 | |
| 30 | instance projectiveProductChartMap_isOpenImmersion : IsOpenImmersion (projectiveProductChartMap R p) := |
| 31 | MorphismProperty.pullbackMap (P := @IsOpenImmersion) inferInstance inferInstance |
| 32 | (StandardProjectiveChartOver.projectiveStandardChartInclusion_over R n p.1.down).symm |
| 33 | (StandardProjectiveChartOver.projectiveStandardChartInclusion_over R m p.2.down).symm |
| 34 | |
| 35 | theorem projectiveProductChartMap_fst : |
| 36 | projectiveProductChartMap R p ≫ pullback.fst _ _ = |
| 37 | pullback.fst _ _ ≫ StandardProjectiveChartOver.projectiveStandardChartInclusion R n p.1.down := pullback.lift_fst _ _ _ |
| 38 | |
| 39 | theorem projectiveProductChartMap_snd : |
| 40 | projectiveProductChartMap R p ≫ pullback.snd _ _ = |
| 41 | pullback.snd _ _ ≫ StandardProjectiveChartOver.projectiveStandardChartInclusion R m p.2.down := pullback.lift_snd _ _ _ |
| 42 | |
| 43 | theorem projectiveProductChartMap_opensRange : |
| 44 | (projectiveProductChartMap R p).opensRange = |
| 45 | (pullback.fst (ProjectivePresentations.affineProjectiveSpace R n).hom (ProjectivePresentations.affineProjectiveSpace R m).hom ⁻¹ᵁ |
| 46 | Proj.basicOpen (ProjectivePresentations.coordinateGrading R n) (X p.1.down)) ⊓ |
| 47 | (pullback.snd (ProjectivePresentations.affineProjectiveSpace R n).hom (ProjectivePresentations.affineProjectiveSpace R m).hom ⁻¹ᵁ |
| 48 | Proj.basicOpen (ProjectivePresentations.coordinateGrading R m) (X p.2.down)) := by |
| 49 | let a := StandardProjectiveChartOver.projectiveStandardChartInclusion R n p.1.down |
| 50 | let b := StandardProjectiveChartOver.projectiveStandardChartInclusion R m p.2.down |
| 51 | let f := (ProjectivePresentations.affineProjectiveSpace R n).hom |
| 52 | let g := (ProjectivePresentations.affineProjectiveSpace R m).hom |
| 53 | let e := pullback.congrHom (StandardProjectiveChartOver.projectiveStandardChartInclusion_over R n p.1.down).symm |
| 54 | (StandardProjectiveChartOver.projectiveStandardChartInclusion_over R m p.2.down).symm |
| 55 | have hfst : e.hom ≫ pullback.fst (a ≫ f) (b ≫ g) = |
| 56 | pullback.fst (StandardProjectiveChartOver.projectiveStandardChartOver R n p.1.down).hom |
| 57 | (StandardProjectiveChartOver.projectiveStandardChartOver R m p.2.down).hom := |
| 58 | (pullback.lift_fst _ _ _).trans (Category.comp_id _) |
| 59 | have hsnd : e.hom ≫ pullback.snd (a ≫ f) (b ≫ g) = |
| 60 | pullback.snd (StandardProjectiveChartOver.projectiveStandardChartOver R n p.1.down).hom |
| 61 | (StandardProjectiveChartOver.projectiveStandardChartOver R m p.2.down).hom := |
| 62 | (pullback.lift_snd _ _ _).trans (Category.comp_id _) |
| 63 | have he : e.hom ≫ Open.ProductCharts.openProductChartMap f g a b = projectiveProductChartMap R p := by |
| 64 | apply pullback.hom_ext |
| 65 | · exact (Category.assoc e.hom (Open.ProductCharts.openProductChartMap f g a b) (pullback.fst f g)).trans |
| 66 | ((congrArg (fun k => e.hom ≫ k) (Open.ProductCharts.openProductChartMap_fst f g a b)).trans |
| 67 | ((Category.assoc e.hom (pullback.fst (a ≫ f) (b ≫ g)) a).symm.trans |
| 68 | ((congrArg (fun k => k ≫ a) hfst).trans (projectiveProductChartMap_fst R p).symm))) |
| 69 | · exact (Category.assoc e.hom (Open.ProductCharts.openProductChartMap f g a b) (pullback.snd f g)).trans |
| 70 | ((congrArg (fun k => e.hom ≫ k) (Open.ProductCharts.openProductChartMap_snd f g a b)).trans |
| 71 | ((Category.assoc e.hom (pullback.snd (a ≫ f) (b ≫ g)) b).symm.trans |
| 72 | ((congrArg (fun k => k ≫ b) hsnd).trans (projectiveProductChartMap_snd R p).symm))) |
| 73 | have h₀ : (projectiveProductChartMap R p).opensRange = (e.hom ≫ Open.ProductCharts.openProductChartMap f g a b).opensRange := |
| 74 | TopologicalSpace.Opens.ext (congrArg (fun h : projectiveProductChart R p ⟶ pullback f g => Set.range h) he.symm) |
| 75 | have h := h₀.trans |
| 76 | ((Scheme.Hom.opensRange_comp_of_isIso e.hom (Open.ProductCharts.openProductChartMap f g a b)).trans |
| 77 | (Open.ProductCharts.openProductChartMap_opensRange f g a b)) |
| 78 | exact h.trans (congrArg₂ (fun U V => (pullback.fst f g ⁻¹ᵁ U) ⊓ (pullback.snd f g ⁻¹ᵁ V)) |
| 79 | (StandardProjectiveChartOver.projectiveStandardChartInclusion_opensRange R n p.1.down) |
| 80 | (StandardProjectiveChartOver.projectiveStandardChartInclusion_opensRange R m p.2.down)) |
| 81 | |
| 82 | theorem projectiveProductCharts_cover |
| 83 | (x : (pullback (ProjectivePresentations.affineProjectiveSpace R n).hom (ProjectivePresentations.affineProjectiveSpace R m).hom : Scheme.{u})) : |
| 84 | ∃ p : Segre.ChartProjections.SegreProjectiveIndex.{u} n m, ∃ y : projectiveProductChart R p, |
| 85 | projectiveProductChartMap R p y = x := by |
| 86 | obtain ⟨i, hi⟩ := StandardProjectiveCharts.standardProjectiveCharts_cover R n |
| 87 | (pullback.fst (ProjectivePresentations.affineProjectiveSpace R n).hom (ProjectivePresentations.affineProjectiveSpace R m).hom x) |
| 88 | obtain ⟨j, hj⟩ := StandardProjectiveCharts.standardProjectiveCharts_cover R m |
| 89 | (pullback.snd (ProjectivePresentations.affineProjectiveSpace R n).hom (ProjectivePresentations.affineProjectiveSpace R m).hom x) |
| 90 | let p : Segre.ChartProjections.SegreProjectiveIndex.{u} n m := (ULift.up i, ULift.up j) |
| 91 | have hx : x ∈ (projectiveProductChartMap R p).opensRange := |
| 92 | (congrArg (fun U => x ∈ U) (projectiveProductChartMap_opensRange R p)).mpr ⟨hi, hj⟩ |
| 93 | exact ⟨p, hx⟩ |
| 94 | |
| 95 | def projectiveProductOpenCover (n m : ℕ) : |
| 96 | (pullback (ProjectivePresentations.affineProjectiveSpace R n).hom (ProjectivePresentations.affineProjectiveSpace R m).hom).OpenCover where |
| 97 | I₀ := Segre.ChartProjections.SegreProjectiveIndex.{u} n m |
| 98 | X p := projectiveProductChart R p |
| 99 | f p := projectiveProductChartMap R p |
| 100 | mem₀ := by |
| 101 | rw [Scheme.presieve₀_mem_precoverage_iff] |
| 102 | exact ⟨projectiveProductCharts_cover R, inferInstance⟩ |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProductChartCover |