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.Divisors.LineBundles.Scheme.SectionImmersionPair |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Smooth.ClosedEquationQuotient |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.ThomOpenRestriction |
| 4 | |
| 5 | /-! # Principal Immersion Pair -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.PrincipalImmersionPair.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Normal coordinates for a global section are constructed from the literal principal kernel of its smooth closed zero scheme. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open scoped _root_.Manifold ContDiff |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation |
| 18 | |
| 19 | variable {Y X : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral Y.left] [Smooth Y.hom] |
| 20 | [IsIntegral X.left] [Smooth X.hom] (i : Y ⟶ X) [IsClosedImmersion i.left] |
| 21 | (s : Γ(X.left, ⊤)) (hs : s ≠ 0) |
| 22 | (hzero : Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) = Set.range (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage X s)) |
| 23 | (hd : Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom + 1 = |
| 24 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) |
| 25 | |
| 26 | include hs hzero hd in |
| 27 | theorem schemePrincipalImmersion_exists_normalPair |
| 28 | (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y) (U : X.left.Opens) (hU : IsAffineOpen U) |
| 29 | (hxU : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i x ∈ CycleClass.Thom.Scheme.SectionEvaluation.Constructions.analyticOpen X U) |
| 30 | (hk : RingHom.ker (i.left.app U).hom = |
| 31 | Ideal.span {X.left.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op s}) : |
| 32 | ∃ P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ) |
| 33 | (Fin 1 → ℂ) (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) x, |
| 34 | P.ambientChart.MDifferentiable |
| 35 | 𝓘(ℂ, Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ) |
| 36 | 𝓘(ℂ, (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom) → ℂ) × (Fin 1 → ℂ)) ∧ |
| 37 | ∀ y : P.neighborhood, P.normalCoordinate y = CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionEquation X s y.val := by |
| 38 | let : Nonempty U := ⟨⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.underlying (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i x), hxU⟩⟩ |
| 39 | let sU := X.left.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op s |
| 40 | have hsU : sU ≠ 0 := (map_ne_zero_iff _ |
| 41 | (map_injective_of_isIntegral X.left (homOfLE (show U ≤ ⊤ from le_top)))).mpr hs |
| 42 | let := Foundations.Scheme.SpecScalarTransport.specSectionScalarAlgebra X.hom U |
| 43 | let : Algebra.Smooth ℂ (Γ(X.left, U) ⧸ Ideal.span {sU}) := LineBundles.Smooth.ClosedEquationQuotient.BundleCycles.smoothClosedEquation_quotient i U hU sU hk |
| 44 | let Q := Γ(X.left, U) ⧸ Ideal.span {sU} |
| 45 | let a : Q := Ideal.Quotient.mk (Ideal.span {sU}) (1 : Γ(X.left, U)) |
| 46 | let : Algebra.Smooth Q (Localization.Away a) := Algebra.Smooth.of_isLocalization_Away a |
| 47 | have hsm : Algebra.Smooth ℂ (Localization.Away a) := Algebra.Smooth.comp ℂ Q (Localization.Away a) |
| 48 | have hb : CycleClass.Thom.Scheme.SectionEvaluation.Constructions.sectionEvaluationOn X U (1 : Γ(X.left, U)) ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i x, hxU⟩ ≠ 0 := |
| 49 | CycleClass.Thom.Scheme.SectionEvaluation.Constructions.sectionEvaluationOn_unit_ne_zero X U 1 ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i x, hxU⟩ |
| 50 | exact SectionImmersionPair.BundleCycles.schemeSectionImmersion_exists_normalPair i s hzero hd x U hU hxU hsU 1 hsm hb |
| 51 | |
| 52 | end |
| 53 | |
| 54 | /-! The global section class is the actual Thom class of its smooth closed zero scheme. The equation charts are constructed from its principal kernels. -/ |
| 55 | |
| 56 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 57 | open scoped _root_.Manifold ContDiff |
| 58 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.SectionEvaluation.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation |
| 59 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ClosedImmersion.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Degree.Constructions.ThomClass |
| 60 | |
| 61 | variable {Y X : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral Y.left] [Smooth Y.hom] |
| 62 | [IsIntegral X.left] [Smooth X.hom] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 63 | (i : Y ⟶ X) [IsClosedImmersion i.left] (s : Γ(X.left, ⊤)) |
| 64 | (hzero : Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i) = Set.range (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage X s)) |
| 65 | |
| 66 | include hzero in |
| 67 | omit [AlgebraicGeometry.IsIntegral Y.left] [Smooth Y.hom] [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [IsClosedImmersion (Over.Hom.left i)] in |
| 68 | theorem schemePrincipalImmersion_equation_mapsTo : Set.MapsTo (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionEquation X s) |
| 69 | (Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i))ᶜ Principal.Boundary.BundleCycles.puncturedComplexLine := by |
| 70 | intro x hx |
| 71 | apply CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionEquation_mapsTo X s |
| 72 | rwa [← hzero] |
| 73 | |
| 74 | include hzero in |
| 75 | omit [AlgebraicGeometry.IsIntegral Y.left] [Smooth Y.hom] [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [IsClosedImmersion (Over.Hom.left i)] in |
| 76 | theorem schemePrincipalImmersion_section_mapsTo : Set.MapsTo (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X))) |
| 77 | (Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i))ᶜ (Set.range (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionZeroImage X s))ᶜ := by |
| 78 | intro x hx |
| 79 | rwa [← hzero] |
| 80 | |
| 81 | variable (hs : s ≠ 0) |
| 82 | (hd : Betti.AffineDimension.Realization.functionFieldDifferentialDimension Y.hom + 1 = |
| 83 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) |
| 84 | (hlocal : ∀ x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y, ∃ (U : X.left.Opens), IsAffineOpen U ∧ |
| 85 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i x ∈ CycleClass.Thom.Scheme.SectionEvaluation.Constructions.analyticOpen X U ∧ |
| 86 | RingHom.ker (i.left.app U).hom = |
| 87 | Ideal.span {X.left.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op s}) |
| 88 | |
| 89 | include hs hlocal in |
| 90 | theorem schemePrincipalImmersion_equationClass_eq_Thom : |
| 91 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionEquation X s) |
| 92 | (schemePrincipalImmersion_equation_mapsTo i s hzero) 2 (CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass 1) = |
| 93 | (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i 1 hd).regularThomClass := by |
| 94 | classical |
| 95 | choose U hU hxU hk using hlocal |
| 96 | have he := fun x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y => |
| 97 | schemePrincipalImmersion_exists_normalPair i s hs hzero hd x (U x) (hU x) (hxU x) (hk x) |
| 98 | choose P hP hcoord using he |
| 99 | let Z := CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i 1 hd |
| 100 | apply CycleClass.Thom.Degree.Constructions.ThomClass.complexThomClassInDegree_unique Z.regularComplementInclusion Z.holomorphic |
| 101 | Z.differential_injective Z.closed 1 Z.regularComplement_complexImmersionCodimension P hP |
| 102 | intro x |
| 103 | rw [(P x).rationalClassFin_eq_normalPullback] |
| 104 | let j := CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)) (P x).neighborhood |
| 105 | have hj : Set.MapsTo j (P x).relativeComplement (Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i))ᶜ := fun _ hx => hx |
| 106 | have hc := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) j (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionEquation X s) |
| 107 | hj (schemePrincipalImmersion_equation_mapsTo i s hzero) 2 |
| 108 | have hmap : j ≫ CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionEquation X s = (P x).normalCoordinate := by |
| 109 | ext y a |
| 110 | exact congrFun (hcoord x y).symm a |
| 111 | have hm := CycleClass.Thom.ThomOpenRestriction.Constructions.pairMap_congr hmap |
| 112 | ((schemePrincipalImmersion_equation_mapsTo i s hzero).comp hj) (P x).normalCoordinate_mapsTo 2 |
| 113 | exact ConcreteCategory.congr_hom (hc.trans hm) (CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass 1) |
| 114 | |
| 115 | include hs hlocal in |
| 116 | theorem schemePrincipalImmersion_sectionClass_eq_Thom : |
| 117 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X))) |
| 118 | (schemePrincipalImmersion_section_mapsTo i s hzero) 2 (Finite.GlobalSectionClassRestriction.BundleCycles.schemeSectionSupportedClass X s) = |
| 119 | (CycleClass.Thom.Scheme.ClosedImmersion.Constructions.schemeClosedImmersion i 1 hd).regularThomClass := by |
| 120 | have h := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) |
| 121 | (𝟙 (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X))) (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionEquation X s) |
| 122 | (schemePrincipalImmersion_section_mapsTo i s hzero) (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionEquation_mapsTo X s) 2 |
| 123 | have he := CycleClass.Thom.ThomOpenRestriction.Constructions.pairMap_congr |
| 124 | (Category.id_comp (CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionEquation X s)) |
| 125 | ((CycleClass.Thom.GlobalSectionUnitEvaluation.Constructions.SchemeEquation.sectionEquation_mapsTo X s).comp (schemePrincipalImmersion_section_mapsTo i s hzero)) |
| 126 | (schemePrincipalImmersion_equation_mapsTo i s hzero) 2 |
| 127 | exact (ConcreteCategory.congr_hom (h.trans he) (CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass 1)).trans |
| 128 | (schemePrincipalImmersion_equationClass_eq_Thom i s hzero hs hd hlocal) |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.PrincipalImmersionPair.BundleCycles |