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.Closed.SupportImageIso |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.OpenSupportClosure |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs |
| 4 | |
| 5 | /-! # Support Analytic Image -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.CycleClass.Thom.Closed.SupportAnalyticImage.Constructions.RegularIso |
| 12 | |
| 13 | /-! The canonical isomorphism from a reduced support to its closed |
| 14 | image identifies their actual smooth strata over the complex base. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ProperSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SmoothSupportOpen.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Closed.SupportImageIso.Constructions |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] |
| 24 | (f : X ⟶ Y) [IsClosedImmersion f.left] (Z : IrreducibleCloseds X.left) |
| 25 | |
| 26 | def sourceRegularToImageSupport : Scheme.RegularSupport.Constructions.regularOver X Z ⟶ Scheme.RegularSupport.Constructions.supportOver Y (Scheme.ProperSupport.Constructions.imageSupport f Z) := |
| 27 | Scheme.SmoothSupportOpen.Constructions.regularToSupport X Z ≫ (SupportImageIso.Constructions.supportImageIso f Z).hom |
| 28 | |
| 29 | instance sourceRegularToImageSupport_open : IsOpenImmersion (sourceRegularToImageSupport f Z).left := by |
| 30 | change IsOpenImmersion ((Scheme.SmoothSupportOpen.Constructions.regularToSupport X Z).left ≫ (SupportImageIso.Constructions.supportImageIso f Z).hom.left) |
| 31 | infer_instance |
| 32 | |
| 33 | def targetRegularToSourceSupport : Scheme.RegularSupport.Constructions.regularOver Y (Scheme.ProperSupport.Constructions.imageSupport f Z) ⟶ Scheme.RegularSupport.Constructions.supportOver X Z := |
| 34 | Scheme.SmoothSupportOpen.Constructions.regularToSupport Y (Scheme.ProperSupport.Constructions.imageSupport f Z) ≫ (SupportImageIso.Constructions.supportImageIso f Z).inv |
| 35 | |
| 36 | instance targetRegularToSourceSupport_open : IsOpenImmersion (targetRegularToSourceSupport f Z).left := by |
| 37 | change IsOpenImmersion ((Scheme.SmoothSupportOpen.Constructions.regularToSupport Y (Scheme.ProperSupport.Constructions.imageSupport f Z)).left ≫ (SupportImageIso.Constructions.supportImageIso f Z).inv.left) |
| 38 | infer_instance |
| 39 | |
| 40 | def regularImageMap : Scheme.RegularSupport.Constructions.regularOver X Z ⟶ Scheme.RegularSupport.Constructions.regularOver Y (Scheme.ProperSupport.Constructions.imageSupport f Z) := |
| 41 | Scheme.OpenSupportClosure.Constructions.smoothOpenToRegular (Scheme.ProperSupport.Constructions.imageSupport f Z) (sourceRegularToImageSupport f Z) |
| 42 | |
| 43 | def regularImageInverse : Scheme.RegularSupport.Constructions.regularOver Y (Scheme.ProperSupport.Constructions.imageSupport f Z) ⟶ Scheme.RegularSupport.Constructions.regularOver X Z := |
| 44 | Scheme.OpenSupportClosure.Constructions.smoothOpenToRegular Z (targetRegularToSourceSupport f Z) |
| 45 | |
| 46 | theorem regularImageMap_inclusion : |
| 47 | regularImageMap f Z ≫ Scheme.SmoothSupportOpen.Constructions.regularToSupport Y (Scheme.ProperSupport.Constructions.imageSupport f Z) = |
| 48 | Scheme.SmoothSupportOpen.Constructions.regularToSupport X Z ≫ (SupportImageIso.Constructions.supportImageIso f Z).hom := |
| 49 | Scheme.OpenSupportClosure.Constructions.smoothOpenToRegular_inclusion (Scheme.ProperSupport.Constructions.imageSupport f Z) (sourceRegularToImageSupport f Z) |
| 50 | |
| 51 | theorem regularImageInverse_inclusion : |
| 52 | regularImageInverse f Z ≫ Scheme.SmoothSupportOpen.Constructions.regularToSupport X Z = |
| 53 | Scheme.SmoothSupportOpen.Constructions.regularToSupport Y (Scheme.ProperSupport.Constructions.imageSupport f Z) ≫ (SupportImageIso.Constructions.supportImageIso f Z).inv := |
| 54 | Scheme.OpenSupportClosure.Constructions.smoothOpenToRegular_inclusion Z (targetRegularToSourceSupport f Z) |
| 55 | |
| 56 | theorem regularImageMap_inverse : regularImageMap f Z ≫ regularImageInverse f Z = 𝟙 _ := by |
| 57 | let : Mono (Scheme.SmoothSupportOpen.Constructions.regularToSupport X Z) := (Over.forget Foundations.Scheme.ProjectiveSpace.complexBase).mono_of_mono_map |
| 58 | (inferInstanceAs (Mono (Scheme.SmoothSupportOpen.Constructions.regularToSupport X Z).left)) |
| 59 | apply (cancel_mono (Scheme.SmoothSupportOpen.Constructions.regularToSupport X Z)).mp |
| 60 | rw [Category.assoc, regularImageInverse_inclusion, ← Category.assoc, regularImageMap_inclusion, |
| 61 | Category.assoc, Iso.hom_inv_id, Category.comp_id, Category.id_comp] |
| 62 | |
| 63 | theorem regularImageInverse_map : regularImageInverse f Z ≫ regularImageMap f Z = 𝟙 _ := by |
| 64 | let : Mono (Scheme.SmoothSupportOpen.Constructions.regularToSupport Y (Scheme.ProperSupport.Constructions.imageSupport f Z)) := (Over.forget Foundations.Scheme.ProjectiveSpace.complexBase).mono_of_mono_map |
| 65 | (inferInstanceAs (Mono (Scheme.SmoothSupportOpen.Constructions.regularToSupport Y (Scheme.ProperSupport.Constructions.imageSupport f Z)).left)) |
| 66 | apply (cancel_mono (Scheme.SmoothSupportOpen.Constructions.regularToSupport Y (Scheme.ProperSupport.Constructions.imageSupport f Z))).mp |
| 67 | rw [Category.assoc, regularImageMap_inclusion, ← Category.assoc, regularImageInverse_inclusion, |
| 68 | Category.assoc, Iso.inv_hom_id, Category.comp_id, Category.id_comp] |
| 69 | |
| 70 | def regularSupportImageIso : Scheme.RegularSupport.Constructions.regularOver X Z ≅ Scheme.RegularSupport.Constructions.regularOver Y (Scheme.ProperSupport.Constructions.imageSupport f Z) where |
| 71 | hom := regularImageMap f Z |
| 72 | inv := regularImageInverse f Z |
| 73 | hom_inv_id := regularImageMap_inverse f Z |
| 74 | inv_hom_id := regularImageInverse_map f Z |
| 75 | |
| 76 | theorem regularSupportImageIso_ambient : |
| 77 | (regularSupportImageIso f Z).hom ≫ Scheme.RegularSupport.Constructions.regularToAmbient Y (Scheme.ProperSupport.Constructions.imageSupport f Z) = Scheme.RegularSupport.Constructions.regularToAmbient X Z ≫ f := by |
| 78 | change regularImageMap f Z ≫ Scheme.RegularSupport.Constructions.regularToAmbient Y (Scheme.ProperSupport.Constructions.imageSupport f Z) = _ |
| 79 | rw [← Scheme.SmoothSupportOpen.Constructions.regularToSupport_ambient, ← Category.assoc, regularImageMap_inclusion, |
| 80 | Category.assoc, SupportImageIso.Constructions.supportImageIso_inclusion, ← Category.assoc, Scheme.SmoothSupportOpen.Constructions.regularToSupport_ambient] |
| 81 | |
| 82 | end AlgebraicGeometry.CycleClass.Thom.Closed.SupportAnalyticImage.Constructions.RegularIso |
| 83 | |
| 84 | namespace AlgebraicGeometry.CycleClass.Thom.Closed.SupportAnalyticImage.Constructions |
| 85 | |
| 86 | /-! Actual full supports, regular loci, and singular boundaries are |
| 87 | carried to their actual analytic images by a closed algebraic immersion. -/ |
| 88 | |
| 89 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 90 | |
| 91 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ProperSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Closed.SupportImageIso.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Closed.SupportAnalyticImage.Constructions.RegularIso |
| 92 | |
| 93 | set_option backward.isDefEq.respectTransparency false |
| 94 | set_option backward.isDefEq.respectTransparency.types false |
| 95 | |
| 96 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] |
| 97 | (f : X ⟶ Y) [IsClosedImmersion f.left] (Z : IrreducibleCloseds X.left) |
| 98 | |
| 99 | omit [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] in |
| 100 | theorem supportMap_apply (t : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Scheme.RegularSupport.Constructions.supportOver X Z)) : |
| 101 | Scheme.RegularSupport.Constructions.supportInclusion Y (Scheme.ProperSupport.Constructions.imageSupport f Z) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (SupportImageIso.Constructions.supportImageIso f Z).hom t) = |
| 102 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f (Scheme.RegularSupport.Constructions.supportInclusion X Z t) := by |
| 103 | have h := congrArg (fun k : Scheme.RegularSupport.Constructions.supportOver X Z ⟶ Y => ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map k t) (SupportImageIso.Constructions.supportImageIso_inclusion f Z) |
| 104 | simpa only [ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp] using h |
| 105 | |
| 106 | omit [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] in |
| 107 | theorem supportImage_range : Set.range (Scheme.RegularSupport.Constructions.supportInclusion Y (Scheme.ProperSupport.Constructions.imageSupport f Z)) = |
| 108 | Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f ∘ Scheme.RegularSupport.Constructions.supportInclusion X Z) := by |
| 109 | ext y |
| 110 | constructor |
| 111 | · rintro ⟨u, rfl⟩ |
| 112 | let t := (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isoHomeomorph (SupportImageIso.Constructions.supportImageIso f Z)).symm u |
| 113 | refine ⟨t, (supportMap_apply f Z t).symm.trans ?_⟩ |
| 114 | exact congrArg (Scheme.RegularSupport.Constructions.supportInclusion Y (Scheme.ProperSupport.Constructions.imageSupport f Z)) |
| 115 | ((ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isoHomeomorph (SupportImageIso.Constructions.supportImageIso f Z)).apply_symm_apply u) |
| 116 | · rintro ⟨t, rfl⟩ |
| 117 | exact ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (SupportImageIso.Constructions.supportImageIso f Z).hom t, supportMap_apply f Z t⟩ |
| 118 | |
| 119 | theorem regularMap_apply (t : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Scheme.RegularSupport.Constructions.regularOver X Z)) : |
| 120 | Scheme.RegularSupport.Constructions.regularInclusion Y (Scheme.ProperSupport.Constructions.imageSupport f Z) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (RegularIso.regularSupportImageIso f Z).hom t) = |
| 121 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f (Scheme.RegularSupport.Constructions.regularInclusion X Z t) := by |
| 122 | have h := congrArg (fun k : Scheme.RegularSupport.Constructions.regularOver X Z ⟶ Y => ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map k t) (RegularIso.regularSupportImageIso_ambient f Z) |
| 123 | simpa only [ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map_comp] using h |
| 124 | |
| 125 | theorem regularImage_range : Set.range (Scheme.RegularSupport.Constructions.regularInclusion Y (Scheme.ProperSupport.Constructions.imageSupport f Z)) = |
| 126 | Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f ∘ Scheme.RegularSupport.Constructions.regularInclusion X Z) := by |
| 127 | ext y |
| 128 | constructor |
| 129 | · rintro ⟨u, rfl⟩ |
| 130 | let t := (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isoHomeomorph (RegularIso.regularSupportImageIso f Z)).symm u |
| 131 | refine ⟨t, (regularMap_apply f Z t).symm.trans ?_⟩ |
| 132 | exact congrArg (Scheme.RegularSupport.Constructions.regularInclusion Y (Scheme.ProperSupport.Constructions.imageSupport f Z)) |
| 133 | ((ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isoHomeomorph (RegularIso.regularSupportImageIso f Z)).apply_symm_apply u) |
| 134 | · rintro ⟨t, rfl⟩ |
| 135 | exact ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (RegularIso.regularSupportImageIso f Z).hom t, regularMap_apply f Z t⟩ |
| 136 | |
| 137 | theorem analyticBoundary_image : Scheme.RegularSupport.Constructions.analyticBoundary Y (Scheme.ProperSupport.Constructions.imageSupport f Z) = |
| 138 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f '' Scheme.RegularSupport.Constructions.analyticBoundary X Z := by |
| 139 | rw [Scheme.RegularSupport.Constructions.analyticBoundary_eq, supportImage_range, regularImage_range, Set.range_comp, Set.range_comp, |
| 140 | Scheme.RegularSupport.Constructions.analyticBoundary_eq, Set.image_sdiff (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isClosedEmbedding_map_of_isClosedImmersion f).injective] |
| 141 | |
| 142 | end AlgebraicGeometry.CycleClass.Thom.Closed.SupportAnalyticImage.Constructions |
| 143 | |
| 144 | end |
| 145 | |
| 146 | end OAI |