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.FormalGeometry.Completion.CokernelTensorTopCoefficient |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.EffectiveHilbertDifference |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.TensorSectionMap |
| 4 | |
| 5 | /-! # Line Bundle Hilbert Coefficients -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.LineBundleHilbertCoefficients |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Coefficients of actual line-bundle Hilbert differences are additive |
| 12 | when a generated factor has no higher-degree contribution. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.Polynomial |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | |
| 24 | variable {K : Type u} [Field K] {r : ℕ} {X : Scheme.{u}} [IsIntegral X] |
| 25 | (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) [IsClosedImmersion f] |
| 26 | |
| 27 | def lineBundleHilbertCoefficient (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (j : Fin (r + 1)) (d : ℕ) : ℚ := |
| 28 | (EffectiveHilbertDifference.Construction.lineBundleHilbertDifference f L j).coeff d |
| 29 | |
| 30 | omit [IsIntegral X] in |
| 31 | theorem lineBundleHilbertPolynomial_iso (L B : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 32 | (e : L.sheaf ≅ B.sheaf) (j : Fin (r + 1)) : |
| 33 | EffectiveHilbertDifference.Construction.lineBundleHilbertPolynomial f L j = EffectiveHilbertDifference.Construction.lineBundleHilbertPolynomial f B j := by |
| 34 | have : L.sheaf.IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent L |
| 35 | have : L.sheaf.IsFinitePresentation := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.finitePresentation L |
| 36 | have : B.sheaf.IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent B |
| 37 | have : B.sheaf.IsFinitePresentation := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.finitePresentation B |
| 38 | exact ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial_iso f e j |
| 39 | |
| 40 | omit [IsIntegral X] in |
| 41 | theorem lineBundleHilbertCoefficient_iso (L B : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 42 | (e : L.sheaf ≅ B.sheaf) (j : Fin (r + 1)) (d : ℕ) : |
| 43 | lineBundleHilbertCoefficient f L j d = lineBundleHilbertCoefficient f B j d := by |
| 44 | unfold lineBundleHilbertCoefficient EffectiveHilbertDifference.Construction.lineBundleHilbertDifference |
| 45 | rw [lineBundleHilbertPolynomial_iso f L B e j] |
| 46 | |
| 47 | theorem lineBundleHilbertCoefficient_tensor_generated_left [Infinite K] |
| 48 | (B L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (hB : Frame.SectionDetection.Construction.HasFrameSections B.sheaf) (j : Fin (r + 1)) (d : ℕ) |
| 49 | (hd : (EffectiveHilbertDifference.Construction.lineBundleHilbertDifference f B j).natDegree ≤ d) : |
| 50 | lineBundleHilbertCoefficient f (B.tensor L) j d = |
| 51 | lineBundleHilbertCoefficient f B j d + lineBundleHilbertCoefficient f L j d := by |
| 52 | have : B.sheaf.IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent B |
| 53 | have : B.sheaf.IsFinitePresentation := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.finitePresentation B |
| 54 | have : L.sheaf.IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent L |
| 55 | have : L.sheaf.IsFinitePresentation := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.finitePresentation L |
| 56 | have : (B.tensor L).sheaf.IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent (B.tensor L) |
| 57 | have : (B.tensor L).sheaf.IsFinitePresentation := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.finitePresentation (B.tensor L) |
| 58 | have : (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X).IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X) |
| 59 | have : (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X).IsFinitePresentation := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.finitePresentation (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X) |
| 60 | obtain ⟨s, hs⟩ := hB (genericPoint X) |
| 61 | have : Mono s := IntegralSectionMono.Construction.integral_section_mono_of_nonempty_nonvanishing s ⟨genericPoint X, hs⟩ |
| 62 | have hC : ClosedHilbertAdditivity.Construction.closedProjectiveCokernelHilbertPolynomial f s j = EffectiveHilbertDifference.Construction.lineBundleHilbertDifference f B j := |
| 63 | ClosedHilbertAdditivity.Construction.closedProjectiveCokernelHilbertPolynomial_eq_sub f s j |
| 64 | have hc := CokernelTensorTopCoefficient.Construction.coherentCokernelTensor_coeff_eq f s L j d (hC.symm ▸ hd) |
| 65 | have hBL : ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor B.sheaf L) j = |
| 66 | EffectiveHilbertDifference.Construction.lineBundleHilbertPolynomial f (B.tensor L) j := |
| 67 | ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial_iso f (M := CoherentLineBundleTensor.Construction.coherentLineBundleTensor B.sheaf L) |
| 68 | (N := (B.tensor L).sheaf) (Quotients.FiniteDescent.MonoidalLine.Construction.MonoidalLineBundles.tensorIso B.sheaf L.sheaf) j |
| 69 | have hOL : ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) L) j = |
| 70 | EffectiveHilbertDifference.Construction.lineBundleHilbertPolynomial f L j := |
| 71 | ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial_iso f (M := CoherentLineBundleTensor.Construction.coherentLineBundleTensor (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) L) |
| 72 | (N := L.sheaf) (TensorSectionMap.Construction.structureLeftUnitor L.sheaf) j |
| 73 | rw [hBL, hOL] at hc |
| 74 | change (EffectiveHilbertDifference.Construction.lineBundleHilbertPolynomial f (B.tensor L) j - EffectiveHilbertDifference.Construction.lineBundleHilbertPolynomial f L j).coeff d = |
| 75 | (EffectiveHilbertDifference.Construction.lineBundleHilbertDifference f B j).coeff d at hc |
| 76 | unfold lineBundleHilbertCoefficient EffectiveHilbertDifference.Construction.lineBundleHilbertDifference at * |
| 77 | simp only [coeff_sub] at * |
| 78 | linarith |
| 79 | |
| 80 | end Construction |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.LineBundleHilbertCoefficients |