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.Section.Cup |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.BaseSectionChange |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Section.ClosedSupportRestriction |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.Section.Principal |
| 5 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportTransport |
| 6 | |
| 7 | /-! # Base Change -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Section.BaseChange.Constructions.Class |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The canonical section classes are compatible with restricting the |
| 14 | actual algebraic base and the original section. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Section.Cup.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.BaseSectionChange.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.ClosedSupportRestriction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.ClosedSupport.Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Section.Principal.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.Open.SupportTransport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.BaseRestriction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SectionFunction.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Principal.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.BaseImage.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.ParentGraphImage.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport.Constructions |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphSection.Constructions.IntrinsicClass OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.PulledBackSupport |
| 23 | open OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionCup.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.ImageIntersectionTo.Constructions.Restriction OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GraphSectionCup.Constructions |
| 24 | |
| 25 | set_option backward.isDefEq.respectTransparency false |
| 26 | set_option backward.isDefEq.respectTransparency.types false |
| 27 | |
| 28 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 29 | (B C : V.carrier.Opens) (hCB : C ≤ B) [Nonempty B] [Nonempty C] |
| 30 | (s : Γ((Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B).left, ⊤)) (U : Opens V.analyticSpace) |
| 31 | (hUB : (U : Set V.analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B))) |
| 32 | (hUC : (U : Set V.analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion C))) |
| 33 | |
| 34 | local instance : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier) |
| 35 | local instance : Smooth V.toOver.hom := inferInstanceAs (Smooth V.structureMap) |
| 36 | |
| 37 | local notation "sC" => Scheme.Hom.appTop (Scheme.homOfLE V.carrier hCB) s |
| 38 | local notation "FB" => OAI.AlgebraicGeometry.CycleClass.Thom.Section.ClosedSupport.Constructions.sectionClosedSupport D B s |
| 39 | local notation "FC" => OAI.AlgebraicGeometry.CycleClass.Thom.Section.ClosedSupport.Constructions.sectionClosedSupport D C sC |
| 40 | local notation "q" => OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.dimensionCodimension V D.val + 1 |
| 41 | local notation "DC" => OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.ParentGraphImage.Constructions.supportCycle V D.val |
| 42 | local notation "u" => OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.BaseImage.Constructions.Class.baseImage DC U |
| 43 | local notation "v" => OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport.Constructions.baseSectionImage (OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B) U hUB s |
| 44 | local notation "w" => OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.SectionSupport.Constructions.baseSectionImage (OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion C) U hUC sC |
| 45 | |
| 46 | omit hUB [Nonempty B] [Nonempty C] in |
| 47 | include hUC in |
| 48 | theorem sectionBaseChange_mapsTo : Set.MapsTo (𝟙 (TopCat.of U)) |
| 49 | {x : U | V.analyticUnderlying x.val ∈ FC}ᶜ {x : U | V.analyticUnderlying x.val ∈ FB}ᶜ := |
| 50 | fun _ hx hy => hx ((ClosedSupportRestriction.Constructions.sectionClosedSupport_restrict D B C hCB s U hUC).symm ▸ hy) |
| 51 | |
| 52 | omit hUB [Nonempty B] [Nonempty C] in |
| 53 | theorem sectionBaseChange_injective (n : ℕ) : |
| 54 | Function.Injective (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) |
| 55 | (sectionBaseChange_mapsTo D B C hCB s U hUC) n) := by |
| 56 | rw [Supported.Transport.Constructions.Class.identityMap_eq_supportCast (TopCat.of U) |
| 57 | (congrArg Set.compl (ClosedSupportRestriction.Constructions.sectionClosedSupport_restrict D B C hCB s U hUC).symm) |
| 58 | (sectionBaseChange_mapsTo D B C hCB s U hUC) n] |
| 59 | exact (ConcreteCategory.bijective_of_isIso _).injective |
| 60 | |
| 61 | theorem sectionCupClass_base_restrict : |
| 62 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) |
| 63 | (sectionBaseChange_mapsTo D B C hCB s U hUC) (2 * q) (Cup.Constructions.Class.sectionCupClass D B s U hUB) = |
| 64 | Cup.Constructions.Class.sectionCupClass D C sC U hUC := by |
| 65 | let k : Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase C ⟶ Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B := Thom.Scheme.SectionEvaluation.Constructions.openRestriction V.toOver hCB |
| 66 | have hk : k ≫ Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B = Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion C := Thom.Scheme.SectionEvaluation.Constructions.openRestriction_inclusion V.toOver hCB |
| 67 | let hf : Set.MapsTo (𝟙 (TopCat.of U)) (Set.range u)ᶜ (Set.range u)ᶜ := fun _ hx => hx |
| 68 | let hg := BaseSectionChange.Constructions.baseSectionChange_mapsTo (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B) (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion C) k hk U hUB hUC s |
| 69 | have hraw := ImageIntersectionTo.Constructions.Restriction.imageIntersectionCup_restriction u v u w (𝟙 (TopCat.of U)) hf hg |
| 70 | (Normalization.GraphSectionCup.Constructions.baseImage_openComplement DC U) |
| 71 | (ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage_openComplement (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B) U hUB) (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B) s) |
| 72 | (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_openComplement (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase B) s)) (Normalization.GraphSectionCup.Constructions.baseImage_openComplement DC U) |
| 73 | (ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage_openComplement (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion C) U hUC) (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase C) sC) |
| 74 | (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_openComplement (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase C) sC)) (Geometric.DimensionCycles.dimensionCodimension V D.val) 1 |
| 75 | (Normalization.BaseImage.Constructions.Class.baseImageCycleClass DC U) (IntrinsicGraphSection.Constructions.IntrinsicClass.baseSectionClass (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B) U hUB s) |
| 76 | have ha : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) hf |
| 77 | (2 * Geometric.DimensionCycles.dimensionCodimension V D.val) (Normalization.BaseImage.Constructions.Class.baseImageCycleClass DC U) = Normalization.BaseImage.Constructions.Class.baseImageCycleClass DC U := |
| 78 | ConcreteCategory.congr_hom (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_id (ModuleCat.of ℚ ℚ) (TopCat.of U) |
| 79 | (Set.range u)ᶜ (2 * Geometric.DimensionCycles.dimensionCodimension V D.val)) (Normalization.BaseImage.Constructions.Class.baseImageCycleClass DC U) |
| 80 | have hb := BaseSectionChange.Constructions.baseSectionClass_change (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion B) (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion C) k hk U hUB hUC s |
| 81 | have hclasses := congrArg₂ (ImageIntersectionCup.Constructions.imageIntersectionCup u w (Normalization.GraphSectionCup.Constructions.baseImage_openComplement DC U) |
| 82 | (ImageIntersectionTo.Constructions.PulledBackSupport.pulledBackImage_openComplement (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion C) U hUC) (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase C) sC) |
| 83 | (GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage_openComplement (Normalization.GoodSmoothMap.Constructions.AffineOpen.affineBase C) sC)) (Geometric.DimensionCycles.dimensionCodimension V D.val) 1) ha hb |
| 84 | have h₁ := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) (𝟙 (TopCat.of U)) |
| 85 | (sectionBaseChange_mapsTo D B C hCB s U hUC) (Cup.Constructions.Class.cupSupport_mapsTo D B s U hUB) (2 * q) |
| 86 | have h₂ := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) (𝟙 (TopCat.of U)) |
| 87 | (Cup.Constructions.Class.cupSupport_mapsTo D C sC U hUC) (ImageIntersectionTo.Constructions.Restriction.intersectionMapsTo u v u w (𝟙 (TopCat.of U)) hf hg) (2 * q) |
| 88 | exact (ConcreteCategory.congr_hom (h₁.trans h₂.symm) _).trans |
| 89 | (congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) |
| 90 | (Cup.Constructions.Class.cupSupport_mapsTo D C sC U hUC) (2 * q)) (hraw.trans hclasses)) |
| 91 | |
| 92 | variable [Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ B)] |
| 93 | [Nonempty ((Normalization.AmbientMap.Constructions.normalizationToAmbient V D.val).left ⁻¹ᵁ C)] |
| 94 | (hs : Affine.SectionFunction.Constructions.parentSectionFunction D B s ≠ 0) |
| 95 | (hsC : Affine.SectionFunction.Constructions.parentSectionFunction D C ((V.carrier.homOfLE hCB).appTop s) ≠ 0) |
| 96 | |
| 97 | omit hUB [Nonempty B] [Nonempty C] in |
| 98 | theorem sectionPrincipalClass_base_restrict : |
| 99 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) |
| 100 | (sectionBaseChange_mapsTo D B C hCB s U hUC) (2 * q) (Principal.Constructions.Class.sectionPrincipalClass D B s hs U) = |
| 101 | Principal.Constructions.Class.sectionPrincipalClass D C sC hsC U := by |
| 102 | have hc : Normalization.Principal.Constructions.normalizedPrincipalCycle V D.val (Affine.SectionFunction.Constructions.parentSectionFunction D B s) hs = |
| 103 | Normalization.Principal.Constructions.normalizedPrincipalCycle V D.val (Affine.SectionFunction.Constructions.parentSectionFunction D C sC) hsC := by |
| 104 | congr 1 |
| 105 | exact (BaseRestriction.Constructions.parentSectionFunction_restrict D B C hCB s).symm |
| 106 | have ht := Open.SupportTransport.Constructions.relativeClassMap_restrict_support_congr V U |
| 107 | {x : U | V.analyticUnderlying x.val ∈ FB} {x : U | V.analyticUnderlying x.val ∈ FC} |
| 108 | (ClosedSupportRestriction.Constructions.sectionClosedSupport_restrict D B C hCB s U hUC).symm q |
| 109 | (Normalization.Principal.Constructions.normalizedPrincipalCycle V D.val (Affine.SectionFunction.Constructions.parentSectionFunction D B s) hs) |
| 110 | have he := congrArg (fun c : Geometric.DimensionCycles.RationalDimensionCycle V q => |
| 111 | Open.SupportedLift.Constructions.Map.relativeClassMap V U {x : U | V.analyticUnderlying x.val ∈ FC} q |
| 112 | (Open.SupportedLift.Constructions.restrictCycle V U {x : U | V.analyticUnderlying x.val ∈ FC} q c)) hc |
| 113 | exact (congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) |
| 114 | (sectionBaseChange_mapsTo D B C hCB s U hUC) (2 * q)) (Principal.Constructions.Class.sectionPrincipalClass_eq_local D B s hs U)).trans |
| 115 | (ht.trans (he.trans (Principal.Constructions.Class.sectionPrincipalClass_eq_local D C sC hsC U).symm)) |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.CycleClass.Thom.Section.BaseChange.Constructions.Class |