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.Support.PuncturedFunctionField |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Laurent.DivisorPullback |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Support.SpecializationLocality |
| 4 | |
| 5 | /-! # Punctured Divisor -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Support.PuncturedDivisor.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: full rational divisors on punctured deformations of arbitrary integral supports -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | open _root_.AlgebraicGeometry.Scheme.AffineZariskiSite |
| 15 | |
| 16 | variable {X : Scheme.{0}} (I P : X.IdealSheafData) |
| 17 | |
| 18 | def supportPuncturedCycleExtension : (P.subscheme →₀ ℚ) →ₗ[ℚ] (LaurentChart.BundleCycles.supportPuncturedDeformation I P →₀ ℚ) := |
| 19 | Finsupp.lmapDomain ℚ ℚ (PuncturedGenericPoint.BundleCycles.supportPuncturedGenericPoint I P) |
| 20 | |
| 21 | variable [IsIntegral P.subscheme] [AlgebraicGeometry.IsNoetherian X] |
| 22 | |
| 23 | instance supportDivisorBase_noetherian : AlgebraicGeometry.IsNoetherian P.subscheme := by |
| 24 | have : IsLocallyNoetherian P.subscheme := LocallyOfFiniteType.isLocallyNoetherian P.subschemeι |
| 25 | have : CompactSpace P.subscheme := QuasiCompact.compactSpace_of_compactSpace P.subschemeι |
| 26 | exact ⟨⟩ |
| 27 | |
| 28 | theorem supportPuncturedOrder_on_chart (U : X.AffineZariskiSite) |
| 29 | [Nonempty (Spec ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)))] |
| 30 | (g : P.subscheme.functionField) |
| 31 | (Q : Spec (CommRingCat.of (LaurentPolynomial ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U))))) : |
| 32 | (LaurentChart.BundleCycles.supportPuncturedDeformation I P).ord (PuncturedFunctionField.BundleCycles.supportPuncturedFunctionFieldMap I P g) |
| 33 | (LaurentChart.BundleCycles.supportPuncturedLaurentChart I P U Q) = |
| 34 | (Spec (CommRingCat.of (LaurentPolynomial ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U))))).ord |
| 35 | (Laurent.FiberGenericPoint.BundleCycles.laurentFunctionFieldMap ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) |
| 36 | (RationalDivisorRestriction.BundleCycles.openFunctionFieldMap (Projection.BundleCycles.supportCoefficientChart P U) g)) Q := by |
| 37 | have h := congrArg (fun k => k g) (PuncturedFunctionField.BundleCycles.supportPuncturedFunctionFieldMap_on_chart I P U) |
| 38 | exact (RationalDivisorRestriction.BundleCycles.ord_openImmersion (LaurentChart.BundleCycles.supportPuncturedLaurentChart I P U) |
| 39 | (PuncturedFunctionField.BundleCycles.supportPuncturedFunctionFieldMap I P g) Q).symm.trans |
| 40 | (congrArg (fun a => (Spec (CommRingCat.of |
| 41 | (LaurentPolynomial ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U))))).ord a Q) h) |
| 42 | |
| 43 | theorem supportPuncturedProjection_order (x : P.subscheme) (g : P.subscheme.functionField) : |
| 44 | (LaurentChart.BundleCycles.supportPuncturedDeformation I P).ord (PuncturedFunctionField.BundleCycles.supportPuncturedFunctionFieldMap I P g) |
| 45 | (PuncturedGenericPoint.BundleCycles.supportPuncturedGenericPoint I P x) = P.subscheme.ord g x := by |
| 46 | obtain ⟨U, p, hp⟩ := P.subschemeCover.openCover.exists_eq x |
| 47 | change X.AffineZariskiSite at U |
| 48 | have : Nonempty (Spec ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U))) := ⟨p⟩ |
| 49 | have : IsDomain ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) := Integrality.BundleCycles.supportCoefficientRing_isDomain P U |
| 50 | have he := PuncturedGenericPoint.BundleCycles.supportPuncturedGenericPoint_on_chart I P U p |
| 51 | exact (congrArg (fun z => (LaurentChart.BundleCycles.supportPuncturedDeformation I P).ord (PuncturedFunctionField.BundleCycles.supportPuncturedFunctionFieldMap I P g) |
| 52 | (PuncturedGenericPoint.BundleCycles.supportPuncturedGenericPoint I P z)) hp.symm).trans |
| 53 | ((congrArg ((LaurentChart.BundleCycles.supportPuncturedDeformation I P).ord (PuncturedFunctionField.BundleCycles.supportPuncturedFunctionFieldMap I P g)) he).trans |
| 54 | ((supportPuncturedOrder_on_chart I P U g _).trans |
| 55 | ((@Laurent.DivisorPullback.BundleCycles.laurentProjection_order ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) _ |
| 56 | (Integrality.BundleCycles.supportCoefficientRing_isDomain P U) (SpecializationLocality.BundleCycles.supportCoefficientRing_noetherian P U) p |
| 57 | (RationalDivisorRestriction.BundleCycles.openFunctionFieldMap (Projection.BundleCycles.supportCoefficientChart P U) g)).trans |
| 58 | ((RationalDivisorRestriction.BundleCycles.ord_openImmersion (Projection.BundleCycles.supportCoefficientChart P U) g p).trans |
| 59 | (congrArg (P.subscheme.ord g) hp))))) |
| 60 | |
| 61 | theorem supportPuncturedPulledDivisor_support (g : P.subscheme.functionField) (hg : g ≠ 0) |
| 62 | (y : LaurentChart.BundleCycles.supportPuncturedDeformation I P) |
| 63 | (hy : (LaurentChart.BundleCycles.supportPuncturedDeformation I P).ord (PuncturedFunctionField.BundleCycles.supportPuncturedFunctionFieldMap I P g) y ≠ 0) : |
| 64 | y ∈ Set.range (PuncturedGenericPoint.BundleCycles.supportPuncturedGenericPoint I P) := by |
| 65 | obtain ⟨U, Q, rfl⟩ := LaurentChart.BundleCycles.supportPuncturedLaurentChart_covers I P y |
| 66 | change X.AffineZariskiSite at U |
| 67 | have : Nonempty (Spec ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U))) := |
| 68 | ⟨Laurent.FiberGenericPoint.BundleCycles.laurentProjection ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) Q⟩ |
| 69 | have : IsDomain ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) := Integrality.BundleCycles.supportCoefficientRing_isDomain P U |
| 70 | have hg' : RationalDivisorRestriction.BundleCycles.openFunctionFieldMap (Projection.BundleCycles.supportCoefficientChart P U) g ≠ 0 := |
| 71 | (map_ne_zero_iff _ (RationalDivisorRestriction.BundleCycles.openFunctionFieldMap (Projection.BundleCycles.supportCoefficientChart P U)).hom.injective).mpr hg |
| 72 | have hQ : (Spec (CommRingCat.of (LaurentPolynomial ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U))))).ord |
| 73 | (Laurent.FiberGenericPoint.BundleCycles.laurentFunctionFieldMap ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) |
| 74 | (RationalDivisorRestriction.BundleCycles.openFunctionFieldMap (Projection.BundleCycles.supportCoefficientChart P U) g)) Q ≠ 0 := |
| 75 | fun hz => hy ((supportPuncturedOrder_on_chart I P U g Q).trans hz) |
| 76 | obtain ⟨p, rfl⟩ := @Laurent.DivisorPullback.BundleCycles.laurentPulledDivisor_support ((CoefficientDiagram.BundleCycles.supportCoefficientDiagram P).obj (.op U)) _ |
| 77 | (Integrality.BundleCycles.supportCoefficientRing_isDomain P U) (SpecializationLocality.BundleCycles.supportCoefficientRing_noetherian P U) _ hg' Q hQ |
| 78 | exact ⟨Projection.BundleCycles.supportCoefficientChart P U p, PuncturedGenericPoint.BundleCycles.supportPuncturedGenericPoint_on_chart I P U p⟩ |
| 79 | |
| 80 | theorem supportPuncturedPrincipalDivisor_pullback (g : P.subscheme.functionField) (hg : g ≠ 0) : |
| 81 | RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (LaurentChart.BundleCycles.supportPuncturedDeformation I P) (PuncturedFunctionField.BundleCycles.supportPuncturedFunctionFieldMap I P g) = |
| 82 | supportPuncturedCycleExtension I P (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor P.subscheme g) := by |
| 83 | ext y |
| 84 | by_cases hy : y ∈ Set.range (PuncturedGenericPoint.BundleCycles.supportPuncturedGenericPoint I P) |
| 85 | · obtain ⟨x, rfl⟩ := hy |
| 86 | change _ = Finsupp.mapDomain (PuncturedGenericPoint.BundleCycles.supportPuncturedGenericPoint I P) _ (PuncturedGenericPoint.BundleCycles.supportPuncturedGenericPoint I P x) |
| 87 | rw [Finsupp.mapDomain_apply_of_injective (PuncturedGenericPoint.BundleCycles.supportPuncturedGenericPoint_injective I P), |
| 88 | RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor_apply, RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor_apply, supportPuncturedProjection_order] |
| 89 | · have hz : (LaurentChart.BundleCycles.supportPuncturedDeformation I P).ord (PuncturedFunctionField.BundleCycles.supportPuncturedFunctionFieldMap I P g) y = 0 := by |
| 90 | by_contra hn |
| 91 | exact hy (supportPuncturedPulledDivisor_support I P g hg y hn) |
| 92 | change _ = Finsupp.mapDomain (PuncturedGenericPoint.BundleCycles.supportPuncturedGenericPoint I P) _ y |
| 93 | rw [Finsupp.mapDomain_of_notMem_range _ _ hy, RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor_apply, hz, Int.cast_zero] |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Support.PuncturedDivisor.BundleCycles |