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.Diagonal.OpenZero |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalSubmersion |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.BaseOpenLiftAnalytic |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.EquationThomClass |
| 5 | import OAI.AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal |
| 6 | |
| 7 | /-! # Open Normal -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenNormal.Constructions |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The exact diagonal section vector used in the Serre local formula |
| 14 | represents the actual diagonal Thom class on a coordinate neighborhood. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open scoped MonoidalCategory TensorProduct _root_.Manifold ContDiff |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.Ambient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenVector.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenEquations.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.ComplexImmersion.Constructions |
| 20 | open OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenZero.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalSubmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.DiagonalEvaluation.Constructions |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Thom.BaseOpenLiftAnalytic.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.BaseSectionVector.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.IntrinsicGraphBaseProjection.Constructions.Intrinsic |
| 22 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GoodSmoothMap.Constructions.AffineOpen OAI.AlgebraicGeometry.CycleClass.Thom.EtaleSectionVector.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Section.VectorHeadChange.Constructions |
| 23 | open OAI.AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.BaseVectorNormal.Constructions.SectionSupport OAI.AlgebraicGeometry.CycleClass.Thom.EquationThomClass.Constructions.Raw |
| 24 | |
| 25 | set_option backward.isDefEq.respectTransparency false |
| 26 | set_option backward.isDefEq.respectTransparency.types false |
| 27 | |
| 28 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) (j : X ⟶ V.toOver) |
| 29 | [IsAffine X.left] [IsIntegral X.left] [Smooth X.hom] [IsOpenImmersion j.left] |
| 30 | |
| 31 | local instance : IsIntegral (X ⊗ X).left := Affine.ProductIs.Constructions.affineProduct_isIntegral X X |
| 32 | local instance : Smooth (X ⊗ X).hom := inferInstanceAs (Smooth (pullback.fst X.hom X.hom ≫ X.hom)) |
| 33 | local instance : IsIntegral (Ambient.Constructions.productVariety V V).toOver.left := (Ambient.Constructions.productVariety V V).property |
| 34 | local instance : Smooth (Ambient.Constructions.productVariety V V).toOver.hom := (Ambient.Constructions.productVariety V V).presentation.smooth |
| 35 | local instance : Nonempty (OpenEquations.Constructions.productOpen V X j) := |
| 36 | ⟨⟨OpenEquations.Constructions.center V X j (genericPoint X.left), OpenEquations.Constructions.center_mem V X j (genericPoint X.left)⟩⟩ |
| 37 | |
| 38 | variable (U : Opens (Ambient.Constructions.productVariety V V).analyticSpace) |
| 39 | (hU : (U : Set (Ambient.Constructions.productVariety V V).analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (OpenVector.Constructions.productOpenOverMap V X j))) |
| 40 | (hUB : (U : Set (Ambient.Constructions.productVariety V V).analyticSpace) ⊆ Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion (OpenEquations.Constructions.productOpen V X j)))) |
| 41 | |
| 42 | local instance : ChartedSpace (Ambient.Constructions.productVariety V V).analyticModel U := |
| 43 | inferInstanceAs (ChartedSpace (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension |
| 44 | (Ambient.Constructions.productVariety V V).toOver.hom) → ℂ) U) |
| 45 | |
| 46 | section Differential |
| 47 | |
| 48 | variable (n : ℕ) [Algebra (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 49 | [IsScalarTower ℂ (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 50 | |
| 51 | include hU in |
| 52 | theorem diagonalBaseVector_analytic : |
| 53 | ContMDiff 𝓘(ℂ, (Ambient.Constructions.productVariety V V).analyticModel) 𝓘(ℂ, Fin n → ℂ) ω |
| 54 | (BaseSectionVector.Constructions.baseSectionVector (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion (OpenEquations.Constructions.productOpen V X j)) U hUB n (OpenEquations.Constructions.diagonalSection V X j n)) := by |
| 55 | rw [OpenVector.Constructions.diagonalBaseVector_eq V X j n U hU hUB] |
| 56 | exact (Affine.DiagonalSubmersion.Constructions.diagonalVector_analytic X n).comp (BaseOpenLiftAnalytic.Constructions.baseOpenLift_analytic (OpenVector.Constructions.productOpenOverMap V X j) U hU) |
| 57 | |
| 58 | variable [Algebra.FormallyEtale (MvPolynomial (Fin n) ℂ) Γ(X.left, ⊤)] |
| 59 | |
| 60 | include hU in |
| 61 | theorem diagonalBaseVector_submersion (u : U) : |
| 62 | Function.Surjective (mfderiv 𝓘(ℂ, (Ambient.Constructions.productVariety V V).analyticModel) 𝓘(ℂ, Fin n → ℂ) |
| 63 | (BaseSectionVector.Constructions.baseSectionVector (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion (OpenEquations.Constructions.productOpen V X j)) U hUB n (OpenEquations.Constructions.diagonalSection V X j n)) u) := by |
| 64 | rw [OpenVector.Constructions.diagonalBaseVector_eq V X j n U hU hUB] |
| 65 | have h := mfderiv_comp u ((Affine.DiagonalSubmersion.Constructions.diagonalVector_analytic X n).mdifferentiableAt (by simp)) |
| 66 | ((BaseOpenLiftAnalytic.Constructions.baseOpenLift_analytic (OpenVector.Constructions.productOpenOverMap V X j) U hU).mdifferentiableAt (by simp)) |
| 67 | exact (congrArg (fun L : (Ambient.Constructions.productVariety V V).analyticModel →L[ℂ] (Fin n → ℂ) => Function.Surjective L) h).mpr |
| 68 | ((Affine.DiagonalSubmersion.Constructions.diagonalVector_submersion X n _).comp |
| 69 | (BaseOpenLiftAnalytic.Constructions.baseOpenLift_differential_bijective (OpenVector.Constructions.productOpenOverMap V X j) U hU u).2) |
| 70 | |
| 71 | end Differential |
| 72 | |
| 73 | variable [Algebra (MvPolynomial (Fin V.complexDimension) ℂ) Γ(X.left, ⊤)] |
| 74 | [IsScalarTower ℂ (MvPolynomial (Fin V.complexDimension) ℂ) Γ(X.left, ⊤)] |
| 75 | [Algebra.FormallyEtale (MvPolynomial (Fin V.complexDimension) ℂ) Γ(X.left, ⊤)] |
| 76 | (O : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) |
| 77 | (hi : Set.InjOn (Section.VectorHeadChange.Constructions.sectionVectorEquation X V.complexDimension (EtaleSectionVector.Constructions.coordinateSections X V.complexDimension)) O) |
| 78 | (hO : ∀ u : U, (Scheme.PointProduct.Constructions.schemePointProductHomeomorph X X |
| 79 | (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (OpenVector.Constructions.productOpenOverMap V X j) U hU u)).1 ∈ O ∧ |
| 80 | (Scheme.PointProduct.Constructions.schemePointProductHomeomorph X X |
| 81 | (IntrinsicGraphBaseProjection.Constructions.Intrinsic.baseOpenLift (OpenVector.Constructions.productOpenOverMap V X j) U hU u)).2 ∈ O) |
| 82 | |
| 83 | include hi hO in |
| 84 | omit [Algebra.FormallyEtale (MvPolynomial (Fin V.complexDimension) ℂ) Γ(X.left, ⊤)] in |
| 85 | theorem diagonalEquation_mapsTo : |
| 86 | Set.MapsTo (BaseSectionVector.Constructions.baseSectionVector (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion (OpenEquations.Constructions.productOpen V X j)) U hUB V.complexDimension |
| 87 | (OpenEquations.Constructions.diagonalSection V X j V.complexDimension)) |
| 88 | (Set.range (ComplexImmersion.Constructions.diagonalOpenImmersion V U).regularComplementInclusion)ᶜ ({0}ᶜ) := |
| 89 | fun u hu hz => hu ((OpenZero.Constructions.diagonalBaseVector_zero_iff V X j U hU hUB V.complexDimension O hi hO u).mpr hz) |
| 90 | |
| 91 | theorem diagonalEquation_Thom : |
| 92 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 93 | (BaseSectionVector.Constructions.baseSectionVector (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion (OpenEquations.Constructions.productOpen V X j)) U hUB V.complexDimension |
| 94 | (OpenEquations.Constructions.diagonalSection V X j V.complexDimension)) |
| 95 | (diagonalEquation_mapsTo V X j U hU hUB O hi hO) (2 * V.complexDimension) |
| 96 | (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass V.complexDimension) = (ComplexImmersion.Constructions.diagonalOpenImmersion V U).regularThomClass := by |
| 97 | let D := ComplexImmersion.Constructions.diagonalOpenImmersion V U |
| 98 | exact EquationThomClass.Constructions.Raw.equation_pullback_eq_Thom D.regularComplementInclusion D.holomorphic D.differential_injective D.closed |
| 99 | V.complexDimension D.regularComplement_complexImmersionCodimension |
| 100 | (by simpa only [Module.finrank_fin_fun] using D.regularComplexDimension_add_codimension) |
| 101 | (BaseSectionVector.Constructions.baseSectionVector (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion (OpenEquations.Constructions.productOpen V X j)) U hUB V.complexDimension |
| 102 | (OpenEquations.Constructions.diagonalSection V X j V.complexDimension)) |
| 103 | (OpenZero.Constructions.diagonalBaseVector_zero_iff V X j U hU hUB V.complexDimension O hi hO) |
| 104 | (diagonalBaseVector_analytic V X j U hU hUB V.complexDimension) |
| 105 | (fun _ => diagonalBaseVector_submersion V X j U hU hUB V.complexDimension _) |
| 106 | |
| 107 | include hi hO in |
| 108 | omit [Algebra.FormallyEtale (MvPolynomial (Fin V.complexDimension) ℂ) Γ(X.left, ⊤)] in |
| 109 | theorem diagonalNormal_mapsTo : Set.MapsTo (𝟙 (TopCat.of U)) |
| 110 | (Set.range (ComplexImmersion.Constructions.diagonalOpenImmersion V U).regularComplementInclusion)ᶜ |
| 111 | (Set.range (BaseVectorNormal.Constructions.SectionSupport.vectorZeroImage (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion (OpenEquations.Constructions.productOpen V X j)) U hUB V.complexDimension |
| 112 | (OpenEquations.Constructions.diagonalSection V X j V.complexDimension)))ᶜ := by |
| 113 | intro u hu hz |
| 114 | rw [BaseVectorNormal.Constructions.SectionSupport.vectorZeroImage_range] at hz |
| 115 | exact hu ((OpenZero.Constructions.diagonalBaseVector_zero_iff V X j U hU hUB V.complexDimension O hi hO u).mpr hz) |
| 116 | |
| 117 | theorem diagonalVectorNormalClass_Thom : |
| 118 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of U)) |
| 119 | (diagonalNormal_mapsTo V X j U hU hUB O hi hO) (2 * V.complexDimension) |
| 120 | (BaseVectorNormal.Constructions.Class.vectorNormalClass (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion (OpenEquations.Constructions.productOpen V X j)) U hUB V.complexDimension |
| 121 | (OpenEquations.Constructions.diagonalSection V X j V.complexDimension)) = (ComplexImmersion.Constructions.diagonalOpenImmersion V U).regularThomClass := by |
| 122 | have h := ConcreteCategory.congr_hom (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) |
| 123 | (𝟙 (TopCat.of U)) (BaseSectionVector.Constructions.baseSectionVector (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion (OpenEquations.Constructions.productOpen V X j)) U hUB V.complexDimension |
| 124 | (OpenEquations.Constructions.diagonalSection V X j V.complexDimension)) |
| 125 | (diagonalNormal_mapsTo V X j U hU hUB O hi hO) |
| 126 | (BaseVectorNormal.Constructions.SectionSupport.vectorZeroImage_mapsTo (Normalization.GoodSmoothMap.Constructions.AffineOpen.baseInclusion (OpenEquations.Constructions.productOpen V X j)) U hUB V.complexDimension |
| 127 | (OpenEquations.Constructions.diagonalSection V X j V.complexDimension)) (2 * V.complexDimension)) |
| 128 | (Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass V.complexDimension) |
| 129 | simp only [Category.id_comp, ConcreteCategory.comp_apply] at h |
| 130 | exact h.trans (diagonalEquation_Thom V X j U hU hUB O hi hO) |
| 131 | |
| 132 | end |
| 133 | |
| 134 | end OAI.AlgebraicGeometry.CycleClass.Thom.Diagonal.OpenNormal.Constructions |