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.Punctured.FunctionField |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Punctured.DeformationFlat |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Laurent.DivisorPullback |
| 4 | |
| 5 | /-! # Divisor Pullback -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Punctured.DivisorPullback.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: complete global rational-divisor pullback to the punctured deformation -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 14 | open _root_.AlgebraicGeometry.Scheme.AffineZariskiSite |
| 15 | |
| 16 | variable {X : Scheme.{0}} (I : X.IdealSheafData) |
| 17 | |
| 18 | def puncturedCycleExtension : (X →₀ ℚ) →ₗ[ℚ] (Deformation.ChowLocalization.BundleCycles.globalDeformationPunctured I →₀ ℚ) := |
| 19 | Finsupp.lmapDomain ℚ ℚ (DeformationFlat.BundleCycles.puncturedFiberGenericPoint I) |
| 20 | |
| 21 | variable [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 22 | |
| 23 | theorem puncturedOrder_on_chart (U : X.AffineZariskiSite) [Nonempty U.1] |
| 24 | (g : X.functionField) (P : Spec (CommRingCat.of (LaurentPolynomial Γ(X, U.1)))) : |
| 25 | (Deformation.ChowLocalization.BundleCycles.globalDeformationPunctured I).ord (FunctionField.BundleCycles.puncturedFunctionFieldMap I g) (DeformationCharts.BundleCycles.puncturedLaurentChart I U P) = |
| 26 | (Spec (CommRingCat.of (LaurentPolynomial Γ(X, U.1)))).ord |
| 27 | (Laurent.FiberGenericPoint.BundleCycles.laurentFunctionFieldMap Γ(X, U.1) (RationalDivisorRestriction.BundleCycles.openFunctionFieldMap U.2.fromSpec g)) P := by |
| 28 | have h := congrArg (fun k => k g) (FunctionField.BundleCycles.puncturedFunctionFieldMap_on_chart I U) |
| 29 | exact (RationalDivisorRestriction.BundleCycles.ord_openImmersion (DeformationCharts.BundleCycles.puncturedLaurentChart I U) (FunctionField.BundleCycles.puncturedFunctionFieldMap I g) P).symm.trans |
| 30 | (congrArg (fun a => (Spec (CommRingCat.of (LaurentPolynomial Γ(X, U.1)))).ord a P) h) |
| 31 | |
| 32 | theorem puncturedProjection_order (x : X) (g : X.functionField) : |
| 33 | (Deformation.ChowLocalization.BundleCycles.globalDeformationPunctured I).ord (FunctionField.BundleCycles.puncturedFunctionFieldMap I g) (DeformationFlat.BundleCycles.puncturedFiberGenericPoint I x) = |
| 34 | X.ord g x := by |
| 35 | let U : X.AffineZariskiSite := (directedCover X).idx x |
| 36 | obtain ⟨y, hy⟩ := (directedCover X).covers x |
| 37 | have hx : x ∈ (U.1 : Set X) := hy ▸ y.property |
| 38 | have : Nonempty U.1 := ⟨⟨x, hx⟩⟩ |
| 39 | obtain ⟨p, hp⟩ := (congrArg (fun s : Set X => x ∈ s) U.2.range_fromSpec).mpr hx |
| 40 | have he := DeformationFlat.BundleCycles.puncturedFiberGenericPoint_on_chart I U p |
| 41 | rw [hp] at he |
| 42 | rw [he] |
| 43 | exact (puncturedOrder_on_chart I U g (Laurent.FiberGenericPoint.BundleCycles.laurentPrimePoint Γ(X, U.1) p)).trans |
| 44 | ((Laurent.DivisorPullback.BundleCycles.laurentProjection_order Γ(X, U.1) p (RationalDivisorRestriction.BundleCycles.openFunctionFieldMap U.2.fromSpec g)).trans |
| 45 | ((RationalDivisorRestriction.BundleCycles.ord_openImmersion U.2.fromSpec g p).trans (congrArg (X.ord g) hp))) |
| 46 | |
| 47 | theorem puncturedPulledDivisor_support (g : X.functionField) (hg : g ≠ 0) |
| 48 | (y : Deformation.ChowLocalization.BundleCycles.globalDeformationPunctured I) |
| 49 | (hy : (Deformation.ChowLocalization.BundleCycles.globalDeformationPunctured I).ord (FunctionField.BundleCycles.puncturedFunctionFieldMap I g) y ≠ 0) : |
| 50 | y ∈ Set.range (DeformationFlat.BundleCycles.puncturedFiberGenericPoint I) := by |
| 51 | obtain ⟨U, P, rfl⟩ := DeformationCharts.BundleCycles.puncturedLaurentChart_covers I y |
| 52 | have hp : U.2.fromSpec (Laurent.FiberGenericPoint.BundleCycles.laurentProjection Γ(X, U.1) P) ∈ (U.1 : Set X) := by |
| 53 | rw [← U.2.range_fromSpec] |
| 54 | exact ⟨_, rfl⟩ |
| 55 | have : Nonempty U.1 := ⟨⟨_, hp⟩⟩ |
| 56 | have hg' : RationalDivisorRestriction.BundleCycles.openFunctionFieldMap U.2.fromSpec g ≠ 0 := |
| 57 | (map_ne_zero_iff _ (RationalDivisorRestriction.BundleCycles.openFunctionFieldMap U.2.fromSpec).hom.injective).mpr hg |
| 58 | have hP : (Spec (CommRingCat.of (LaurentPolynomial Γ(X, U.1)))).ord |
| 59 | (Laurent.FiberGenericPoint.BundleCycles.laurentFunctionFieldMap Γ(X, U.1) (RationalDivisorRestriction.BundleCycles.openFunctionFieldMap U.2.fromSpec g)) P ≠ 0 := |
| 60 | fun hz => hy ((puncturedOrder_on_chart I U g P).trans hz) |
| 61 | obtain ⟨p, rfl⟩ := Laurent.DivisorPullback.BundleCycles.laurentPulledDivisor_support Γ(X, U.1) _ hg' P hP |
| 62 | exact ⟨U.2.fromSpec p, DeformationFlat.BundleCycles.puncturedFiberGenericPoint_on_chart I U p⟩ |
| 63 | |
| 64 | theorem puncturedPrincipalDivisor_pullback (g : X.functionField) (hg : g ≠ 0) : |
| 65 | RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Deformation.ChowLocalization.BundleCycles.globalDeformationPunctured I) (FunctionField.BundleCycles.puncturedFunctionFieldMap I g) = |
| 66 | puncturedCycleExtension I (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor X g) := by |
| 67 | ext y |
| 68 | by_cases hy : y ∈ Set.range (DeformationFlat.BundleCycles.puncturedFiberGenericPoint I) |
| 69 | · obtain ⟨x, rfl⟩ := hy |
| 70 | change _ = Finsupp.mapDomain (DeformationFlat.BundleCycles.puncturedFiberGenericPoint I) _ (DeformationFlat.BundleCycles.puncturedFiberGenericPoint I x) |
| 71 | rw [Finsupp.mapDomain_apply_of_injective (DeformationFlat.BundleCycles.puncturedFiberGenericPoint_injective I), |
| 72 | RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor_apply, RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor_apply, puncturedProjection_order] |
| 73 | · have hz : (Deformation.ChowLocalization.BundleCycles.globalDeformationPunctured I).ord (FunctionField.BundleCycles.puncturedFunctionFieldMap I g) y = 0 := by |
| 74 | by_contra hn |
| 75 | exact hy (puncturedPulledDivisor_support I g hg y hn) |
| 76 | change _ = Finsupp.mapDomain (DeformationFlat.BundleCycles.puncturedFiberGenericPoint I) _ y |
| 77 | rw [Finsupp.mapDomain_of_notMem_range _ _ hy, RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor_apply, hz, Int.cast_zero] |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Punctured.DivisorPullback.BundleCycles |