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.FiniteAffine.SectionNeighborhood |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.GlobalSectionClassRestriction |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.RegularSupportedClassRestriction |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.ParentSection |
| 5 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.OpenClassSupportTransport |
| 6 | |
| 7 | /-! # Global Section Neighborhood -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.GlobalSectionNeighborhood.BundleCycles |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Every retained point of an actual affine chart has a neighborhood where the two original global supported classes agree. All graph, divisor, coefficient, and support comparisons are constructed. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Supported.Transport.Constructions.Class OAI.AlgebraicGeometry.CycleClass.Thom.ExteriorImageCup.Constructions.Restriction |
| 17 | |
| 18 | variable {S N : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral S.left] [Smooth S.hom] |
| 19 | [AlgebraicGeometry.IsNoetherian S.left] [IsIntegral N.left] [Smooth N.hom] |
| 20 | [AlgebraicGeometry.IsNoetherian N.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)] |
| 21 | (k : S ⟶ N) [IsFinite k.left] (B : N.left.Opens) |
| 22 | [Nonempty B] [Nonempty (k.left ⁻¹ᵁ B)] [IsAffine (FiniteAffine.OpenChart.BundleCycles.finiteAffineBase B).left] |
| 23 | (s : Γ(N.left, ⊤)) (p : ℕ) |
| 24 | (hp : Betti.AffineDimension.Realization.functionFieldDifferentialDimension S.hom + p = |
| 25 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension N.hom) |
| 26 | (n : ℕ) (hn : n + (p + 1) = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension N.hom) |
| 27 | |
| 28 | local instance finiteGlobalSectionNeighborhoodSourceTop : Nonempty (⊤ : S.left.Opens) := |
| 29 | ⟨⟨genericPoint S.left, Opens.mem_top _⟩⟩ |
| 30 | local instance finiteGlobalSectionNeighborhoodChartTop : Nonempty (⊤ : (FiniteAffine.OpenChart.BundleCycles.finiteAffineSource k B).left.Opens) := |
| 31 | ⟨⟨genericPoint (FiniteAffine.OpenChart.BundleCycles.finiteAffineSource k B).left, Opens.mem_top _⟩⟩ |
| 32 | |
| 33 | variable (hs : S.left.germToFunctionField ⊤ (k.left.appTop s) ≠ 0) |
| 34 | |
| 35 | include hs in |
| 36 | theorem finiteGlobalSection_exists_affine_neighborhood (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (FiniteAffine.OpenChart.BundleCycles.finiteAffineBase B)) |
| 37 | (hx : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (FiniteAffine.OpenChart.BundleCycles.finiteAffineBaseInclusion B) x ∈ |
| 38 | PrincipalBoundary.BundleCycles.finitePrincipalCommonOpen (S.left.germToFunctionField ⊤ (k.left.appTop s)) k) : |
| 39 | ∃ U : Opens (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N), |
| 40 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (FiniteAffine.OpenChart.BundleCycles.finiteAffineBaseInclusion B) x ∈ U ∧ |
| 41 | (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) ⊆ PrincipalBoundary.BundleCycles.finitePrincipalCommonOpen (S.left.germToFunctionField ⊤ (k.left.appTop s)) k ∧ |
| 42 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) |
| 43 | (RegularPrincipalSupport.BundleCycles.finiteRegularSectionSupport k s)ᶜ U (2 * (p + 1)) (GlobalSectionClassRestriction.BundleCycles.finiteGlobalSectionCup k s p hp) = |
| 44 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) |
| 45 | (RegularPrincipalSupport.BundleCycles.finiteRegularSectionSupport k s)ᶜ U (2 * (p + 1)) (RegularSupportedClassRestriction.BundleCycles.finiteRegularPrincipalSupportedClass k s p hp n hn) := by |
| 46 | let a := FiniteAffine.OpenChart.BundleCycles.finiteAffineSourceInclusion k B |
| 47 | let g := FiniteAffine.OpenChart.BundleCycles.finiteAffineMap k B |
| 48 | let j := FiniteAffine.OpenChart.BundleCycles.finiteAffineBaseInclusion B |
| 49 | have hfield := ParentSection.BundleCycles.finiteParentRationalFunction_baseSection a k g j (FiniteAffine.OpenChart.BundleCycles.finiteAffineChart_square k B) s |
| 50 | have hnonzero := ParentSection.BundleCycles.finiteChart_globalSection_germ_ne_zero k a g j (FiniteAffine.OpenChart.BundleCycles.finiteAffineChart_square k B) s hs |
| 51 | have hx' : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map j x ∈ PrincipalBoundary.BundleCycles.finitePrincipalCommonOpen |
| 52 | (ParentSection.BundleCycles.finiteParentRationalFunction a ((FiniteAffine.OpenChart.BundleCycles.finiteAffineSource k B).left.germToFunctionField ⊤ (g.left.appTop (j.left.appTop s)))) k := by |
| 53 | rw [hfield] |
| 54 | exact hx |
| 55 | obtain ⟨U, hU, hxU, hgood, he⟩ := FiniteAffine.SectionNeighborhood.BundleCycles.finiteAffine_exists_section_principal_neighborhood k B p hp |
| 56 | (j.left.appTop s) hnonzero n hn x hx' |
| 57 | rw [hfield] at hgood |
| 58 | refine ⟨U, hxU, hgood, ?_⟩ |
| 59 | have hraw := ParentSection.BundleCycles.finiteParentPrincipalCycle_baseSection k a g j (FiniteAffine.OpenChart.BundleCycles.finiteAffineChart_square k B) n s |
| 60 | rw [hraw] at he |
| 61 | have hT := GlobalSectionSupportRestriction.BundleCycles.globalSection_finiteIntersection_range j U hU s k |
| 62 | let e := CycleClass.Thom.Supported.Transport.Constructions.Class.supportDegreeTransport (n := 2 * (p + 1)) (TopCat.of U) (congrArg Set.compl hT.symm) rfl |
| 63 | apply CycleClass.Thom.Supported.Transport.Constructions.Class.supportDegreeTransport_injective (n := 2 * (p + 1)) (TopCat.of U) (congrArg Set.compl hT.symm) rfl |
| 64 | have hleft := CycleClass.Thom.ExteriorImageCup.Constructions.Restriction.relativeCohomologyMap_sourceCast |
| 65 | (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N))) |
| 66 | (congrArg Set.compl hT.symm) |
| 67 | (show Set.MapsTo (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N)) (U : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints N))) |
| 68 | (Subtype.val ⁻¹' RegularPrincipalSupport.BundleCycles.finiteRegularSectionSupport k s)ᶜ (RegularPrincipalSupport.BundleCycles.finiteRegularSectionSupport k s)ᶜ from fun _ hy => hy) |
| 69 | (GlobalSectionClassRestriction.BundleCycles.finiteGlobalSectionCup_mapsTo k s j U hU) (2 * (p + 1)) (GlobalSectionClassRestriction.BundleCycles.finiteGlobalSectionCup k s p hp) |
| 70 | have hright := RegularSupportedClassRestriction.BundleCycles.finiteRegularPrincipalSupportedClass_restrict k s p hp n hn U |
| 71 | have ht := Scheme.OpenClassSupportTransport.BundleCycles.schemeOpenRestrictedClass_supportTransport N U |
| 72 | (Subtype.val ⁻¹' RegularPrincipalSupport.BundleCycles.finiteRegularSectionSupport k s) _ hT.symm n (p + 1) hn |
| 73 | (GradedOverPushforward.BundleCycles.finiteOverGradedPushforward k n (Graded.RationalPointDivisor.BundleCycles.gradedRationalPointDivisor S.left S.hom n |
| 74 | (S.left.germToFunctionField ⊤ (k.left.appTop s)))) |
| 75 | exact hleft.trans ((GlobalSectionClassRestriction.BundleCycles.finiteGlobalSectionCup_restriction k s p hp j U hU).trans |
| 76 | (he.trans (ht.symm.trans (congrArg e hright.symm)))) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.GlobalSectionNeighborhood.BundleCycles |