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.CycleClass.Thom.ClopenIntegralComponent |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportTo |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ProductIntegral |
| 4 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveComponent |
| 5 | |
| 6 | /-! # Component Product -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace AlgebraicGeometry.CycleClass.Thom.ComponentProduct.Constructions |
| 13 | |
| 14 | /-! The actual product of two integral components is an open-and-closed |
| 15 | integral component of the specified product presentation. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.ClopenIntegralComponent.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportTo.Constructions.PresentationMap OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportScheme.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ProductIntegral.Constructions |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | local instance (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : IsIntegral V.toOver.left := V.property |
| 25 | local instance (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) : LocallyOfFiniteType V.toOver.hom := |
| 26 | inferInstanceAs (LocallyOfFiniteType V.structureMap) |
| 27 | local instance (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (C : irreducibleComponents X.carrier) : |
| 28 | IsOpenImmersion (X.componentInclusionOver C).left := inferInstanceAs (IsOpenImmersion (X.componentInclusion C)) |
| 29 | local instance (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (C : irreducibleComponents X.carrier) : |
| 30 | IsClosedImmersion (X.componentInclusionOver C).left := inferInstanceAs (IsClosedImmersion (X.componentInclusion C)) |
| 31 | |
| 32 | variable (X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 33 | (C : irreducibleComponents X.carrier) (D : irreducibleComponents Y.carrier) |
| 34 | |
| 35 | local notation "CX" => OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.toOver (X.componentVariety C) |
| 36 | local notation "DY" => OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.toOver (Y.componentVariety D) |
| 37 | |
| 38 | def componentProductOver : Over Foundations.Scheme.ProjectiveSpace.complexBase := Over.mk (pullback.fst (CX).hom (DY).hom ≫ (CX).hom) |
| 39 | |
| 40 | instance componentProductOver_integral : IsIntegral (componentProductOver X Y C D).left := |
| 41 | Scheme.ProductIntegral.Constructions.schemeProduct_isIntegral CX DY |
| 42 | |
| 43 | def componentProductFst : componentProductOver X Y C D ⟶ CX := Over.homMk (pullback.fst (CX).hom (DY).hom) rfl |
| 44 | |
| 45 | def componentProductSnd : componentProductOver X Y C D ⟶ DY := Over.homMk (pullback.snd (CX).hom (DY).hom) pullback.condition.symm |
| 46 | |
| 47 | def componentProductIsLimit : IsLimit (BinaryFan.mk (componentProductFst X Y C D) (componentProductSnd X Y C D)) := |
| 48 | (pullbackIsPullback (CX).hom (DY).hom).pullbackConeEquivBinaryFanFunctor |
| 49 | |
| 50 | variable (Z : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (πX : Z.toOver ⟶ X.toOver) (πY : Z.toOver ⟶ Y.toOver) |
| 51 | (hprod : IsLimit (BinaryFan.mk πX πY)) |
| 52 | |
| 53 | def componentProductMap : componentProductOver X Y C D ⟶ Z.toOver := |
| 54 | Over.homMk (Product.SupportTo.Constructions.PresentationMap.productPresentationMap X.toOver Y.toOver Z.toOver πX πY hprod CX DY |
| 55 | (X.componentInclusionOver C) (Y.componentInclusionOver D)) |
| 56 | (Product.SupportTo.Constructions.PresentationMap.productPresentationMap_base X.toOver Y.toOver Z.toOver πX πY hprod CX DY |
| 57 | (X.componentInclusionOver C) (Y.componentInclusionOver D)) |
| 58 | |
| 59 | instance componentProductMap_open : IsOpenImmersion (componentProductMap X Y C D Z πX πY hprod).left := |
| 60 | inferInstanceAs (IsOpenImmersion (Product.SupportTo.Constructions.PresentationMap.productPresentationMap X.toOver Y.toOver Z.toOver πX πY hprod CX DY |
| 61 | (X.componentInclusionOver C) (Y.componentInclusionOver D))) |
| 62 | |
| 63 | instance componentProductMap_closed : IsClosedImmersion (componentProductMap X Y C D Z πX πY hprod).left := by |
| 64 | let i := X.componentInclusionOver C |
| 65 | let j := Y.componentInclusionOver D |
| 66 | let : IsClosedImmersion (pullback.map (CX).hom (DY).hom X.toOver.hom Y.toOver.hom i.left j.left (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) |
| 67 | ((Category.comp_id _).trans i.w.symm) ((Category.comp_id _).trans j.w.symm)) := |
| 68 | MorphismProperty.pullbackMap (P := @IsClosedImmersion) inferInstance inferInstance i.w.symm j.w.symm |
| 69 | change IsClosedImmersion (_ ≫ (Product.SupportScheme.Constructions.productPresentationIso X.toOver Y.toOver Z.toOver πX πY hprod).inv) |
| 70 | infer_instance |
| 71 | |
| 72 | def productComponent : irreducibleComponents Z.carrier := |
| 73 | ClopenIntegralComponent.Constructions.clopenImageComponent Z (componentProductMap X Y C D Z πX πY hprod).left |
| 74 | |
| 75 | theorem productComponent_range : (productComponent X Y C D Z πX πY hprod).val = |
| 76 | πX.left ⁻¹' C.val ∩ πY.left ⁻¹' D.val := by |
| 77 | rw [productComponent, ← ClopenIntegralComponent.Constructions.clopenImageComponent_range] |
| 78 | change Set.range (Product.SupportTo.Constructions.PresentationMap.productPresentationMap X.toOver Y.toOver Z.toOver πX πY hprod CX DY |
| 79 | (X.componentInclusionOver C) (Y.componentInclusionOver D)) = _ |
| 80 | rw [Product.SupportTo.Constructions.PresentationMap.productPresentationMap_range] |
| 81 | change πX.left ⁻¹' Set.range (X.componentInclusion C) ∩ πY.left ⁻¹' Set.range (Y.componentInclusion D) = _ |
| 82 | rw [X.componentInclusion_range, Y.componentInclusion_range] |
| 83 | |
| 84 | def componentProductOverIso : componentProductOver X Y C D ≅ |
| 85 | (Z.componentVariety (productComponent X Y C D Z πX πY hprod)).toOver := |
| 86 | Over.isoMk (ClopenIntegralComponent.Constructions.clopenComponentIso Z (componentProductMap X Y C D Z πX πY hprod).left) |
| 87 | ((ClopenIntegralComponent.Constructions.clopenComponentMap_base Z (componentProductMap X Y C D Z πX πY hprod).left).trans |
| 88 | (componentProductMap X Y C D Z πX πY hprod).w) |
| 89 | |
| 90 | @[reassoc] |
| 91 | theorem componentProductOverIso_inclusion : |
| 92 | (componentProductOverIso X Y C D Z πX πY hprod).hom ≫ |
| 93 | Z.componentInclusionOver (productComponent X Y C D Z πX πY hprod) = |
| 94 | componentProductMap X Y C D Z πX πY hprod := by |
| 95 | apply Over.OverMorphism.ext |
| 96 | exact ClopenIntegralComponent.Constructions.clopenComponentMap_inclusion Z (componentProductMap X Y C D Z πX πY hprod).left |
| 97 | |
| 98 | end AlgebraicGeometry.CycleClass.Thom.ComponentProduct.Constructions |
| 99 | |
| 100 | namespace AlgebraicGeometry.CycleClass.Thom.ComponentProduct.Constructions.Projections |
| 101 | |
| 102 | /-! Actual product projections from the native product component, with its |
| 103 | universal property and the genuine ambient inclusion squares. -/ |
| 104 | |
| 105 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 106 | |
| 107 | open OAI.AlgebraicGeometry.CycleClass.Thom.ComponentProduct.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportScheme.Constructions |
| 108 | |
| 109 | set_option backward.isDefEq.respectTransparency false |
| 110 | set_option backward.isDefEq.respectTransparency.types false |
| 111 | |
| 112 | variable (X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 113 | (C : irreducibleComponents X.carrier) (D : irreducibleComponents Y.carrier) |
| 114 | (Z : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (πX : Z.toOver ⟶ X.toOver) (πY : Z.toOver ⟶ Y.toOver) |
| 115 | (hprod : IsLimit (BinaryFan.mk πX πY)) |
| 116 | |
| 117 | @[reassoc] |
| 118 | theorem componentProductMap_fst : componentProductMap X Y C D Z πX πY hprod ≫ πX = |
| 119 | componentProductFst X Y C D ≫ X.componentInclusionOver C := by |
| 120 | apply Over.OverMorphism.ext |
| 121 | have he : (Product.SupportScheme.Constructions.productPresentationIso X.toOver Y.toOver Z.toOver πX πY hprod).inv ≫ πX.left = |
| 122 | pullback.fst X.toOver.hom Y.toOver.hom := by |
| 123 | rw [← Product.SupportScheme.Constructions.productPresentationIso_hom_fst X.toOver Y.toOver Z.toOver πX πY hprod] |
| 124 | exact (Product.SupportScheme.Constructions.productPresentationIso X.toOver Y.toOver Z.toOver πX πY hprod).inv_hom_id_assoc _ |
| 125 | change (_ ≫ (Product.SupportScheme.Constructions.productPresentationIso X.toOver Y.toOver Z.toOver πX πY hprod).inv) ≫ πX.left = _ |
| 126 | rw [Category.assoc, he] |
| 127 | exact pullback.lift_fst _ _ _ |
| 128 | |
| 129 | @[reassoc] |
| 130 | theorem componentProductMap_snd : componentProductMap X Y C D Z πX πY hprod ≫ πY = |
| 131 | componentProductSnd X Y C D ≫ Y.componentInclusionOver D := by |
| 132 | apply Over.OverMorphism.ext |
| 133 | have he : (Product.SupportScheme.Constructions.productPresentationIso X.toOver Y.toOver Z.toOver πX πY hprod).inv ≫ πY.left = |
| 134 | pullback.snd X.toOver.hom Y.toOver.hom := by |
| 135 | rw [← Product.SupportScheme.Constructions.productPresentationIso_hom_snd X.toOver Y.toOver Z.toOver πX πY hprod] |
| 136 | exact (Product.SupportScheme.Constructions.productPresentationIso X.toOver Y.toOver Z.toOver πX πY hprod).inv_hom_id_assoc _ |
| 137 | change (_ ≫ (Product.SupportScheme.Constructions.productPresentationIso X.toOver Y.toOver Z.toOver πX πY hprod).inv) ≫ πY.left = _ |
| 138 | rw [Category.assoc, he] |
| 139 | exact pullback.lift_snd _ _ _ |
| 140 | |
| 141 | def productComponentFst : (Z.componentVariety (productComponent X Y C D Z πX πY hprod)).toOver ⟶ |
| 142 | (X.componentVariety C).toOver := |
| 143 | (componentProductOverIso X Y C D Z πX πY hprod).inv ≫ componentProductFst X Y C D |
| 144 | |
| 145 | def productComponentSnd : (Z.componentVariety (productComponent X Y C D Z πX πY hprod)).toOver ⟶ |
| 146 | (Y.componentVariety D).toOver := |
| 147 | (componentProductOverIso X Y C D Z πX πY hprod).inv ≫ componentProductSnd X Y C D |
| 148 | |
| 149 | def productComponentIsLimit : IsLimit (BinaryFan.mk |
| 150 | (productComponentFst X Y C D Z πX πY hprod) (productComponentSnd X Y C D Z πX πY hprod)) := |
| 151 | IsLimit.ofIsoLimit (componentProductIsLimit X Y C D) |
| 152 | (BinaryFan.ext (componentProductOverIso X Y C D Z πX πY hprod) |
| 153 | (by simp only [BinaryFan.mk_fst, productComponentFst, Iso.hom_inv_id_assoc]) |
| 154 | (by simp only [BinaryFan.mk_snd, productComponentSnd, Iso.hom_inv_id_assoc])) |
| 155 | |
| 156 | @[reassoc] |
| 157 | theorem productComponentFst_inclusion : |
| 158 | productComponentFst X Y C D Z πX πY hprod ≫ X.componentInclusionOver C = |
| 159 | Z.componentInclusionOver (productComponent X Y C D Z πX πY hprod) ≫ πX := by |
| 160 | apply (cancel_epi (componentProductOverIso X Y C D Z πX πY hprod).hom).mp |
| 161 | simp only [productComponentFst, Category.assoc, Iso.hom_inv_id_assoc] |
| 162 | rw [← Category.assoc, componentProductOverIso_inclusion, componentProductMap_fst] |
| 163 | |
| 164 | @[reassoc] |
| 165 | theorem productComponentSnd_inclusion : |
| 166 | productComponentSnd X Y C D Z πX πY hprod ≫ Y.componentInclusionOver D = |
| 167 | Z.componentInclusionOver (productComponent X Y C D Z πX πY hprod) ≫ πY := by |
| 168 | apply (cancel_epi (componentProductOverIso X Y C D Z πX πY hprod).hom).mp |
| 169 | simp only [productComponentSnd, Category.assoc, Iso.hom_inv_id_assoc] |
| 170 | rw [← Category.assoc, componentProductOverIso_inclusion, componentProductMap_snd] |
| 171 | |
| 172 | end AlgebraicGeometry.CycleClass.Thom.ComponentProduct.Constructions.Projections |
| 173 | |
| 174 | end |
| 175 | |
| 176 | end OAI |