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.NumberTheory.PadicHodge.IntegralComparison.Coherent.HilbertFiltration |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.ClosedGlobalGeneration |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.FilteredEndomorphismDifference |
| 4 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.MonoidalLine |
| 5 | |
| 6 | /-! # Tensor Nilpotence -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Coherent.TensorNilpotence.ProjectiveK |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Tensor differences for arbitrary actual invertible sheaves lower the |
| 13 | Hilbert filtration in any characteristic. Mixed products therefore vanish |
| 14 | once their total order exceeds the Hilbert degree of the class. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry MonoidalCategory _root_.TopologicalSpace |
| 17 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.FilteredEndomorphismDifference OAI.AlgebraicGeometry.SheafCohomology.Projective.ClosedGlobalGeneration.Dimension |
| 18 | |
| 19 | universe u |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory |
| 21 | AlgebraicGeometry.SheafCohomology.Projective.Monoidal.Scheme.Modules.symmetricCategory |
| 22 | |
| 23 | def lineBundleOfInvertible {A : Scheme.{u}} (L : A.Modules) |
| 24 | (hL : AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.IsInvertible L) : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A where |
| 25 | sheaf := L |
| 26 | locallyTrivial x := by |
| 27 | obtain ⟨ι, U, hU, he⟩ := hL |
| 28 | have hx : x ∈ ⨆ i, U i := by rw [hU]; trivial |
| 29 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp hx |
| 30 | exact ⟨U i, hi, he i⟩ |
| 31 | |
| 32 | variable {K : Type u} [Field K] [Infinite K] {r : ℕ} {A : Scheme.{u}} [IsIntegral A] |
| 33 | (f : A ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) |
| 34 | [IsClosedImmersion f] (j : Fin (r + 1)) |
| 35 | |
| 36 | theorem coherentTensorDifference_mem_hilbertFiltration |
| 37 | (L : A.Modules) (hL : AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.IsInvertible L) (d : ℕ) |
| 38 | (x : KTheory.Projective.CoherentK0 A) (hx : x ∈ HilbertFiltration.ProjectiveK.coherentHilbertFiltration f j (d + 1)) : |
| 39 | KTheory.Projective.coherentTensorDifference L hL x ∈ HilbertFiltration.ProjectiveK.coherentHilbertFiltration f j d := by |
| 40 | let : L.IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent hL |
| 41 | let : L.IsFiniteType := |
| 42 | AlgebraicGeometry.SheafCohomology.Projective.PolynomialQuotient.Dimension.isFiniteType_of_isLineBundle L (lineBundleOfInvertible L hL).locallyTrivial |
| 43 | obtain ⟨b, hb⟩ := AlgebraicGeometry.SheafCohomology.Projective.ClosedGlobalGeneration.Dimension.closedProjective_eventually_hasFiniteGlobalGenerators f L j |
| 44 | let H := (Scheme.Modules.pullback f).obj |
| 45 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := K) j b) |
| 46 | have hH : AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.IsInvertible H := |
| 47 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower_isInvertible j b).pullback f |
| 48 | let HB := lineBundleOfInvertible H hH |
| 49 | let D := AlgebraicGeometry.Quotients.FiniteDescent.DualLine.Construction.DualLineBundle.dual HB |
| 50 | have hD : AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.IsInvertible D.sheaf := AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible D |
| 51 | have hLH : AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.IsInvertible (L ⊗ H) := |
| 52 | (hL.tensorObj hH).of_iso (AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalTensorObjIso L H) |
| 53 | let T := KTheory.Projective.coherentTensorEnd L hL |
| 54 | let U := KTheory.Projective.coherentTensorEnd H hH |
| 55 | let V := KTheory.Projective.coherentTensorEnd D.sheaf hD |
| 56 | have hUV : U * V = 1 := by |
| 57 | change (KTheory.Projective.coherentTensorK0 H hH).comp (KTheory.Projective.coherentTensorK0 D.sheaf hD) = |
| 58 | AddMonoidHom.id (KTheory.Projective.CoherentK0 A) |
| 59 | rw [KTheory.Projective.coherentTensorK0_comp] |
| 60 | have e : D.sheaf ⊗ H ≅ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj A := |
| 61 | AlgebraicGeometry.Quotients.FiniteDescent.MonoidalLine.Construction.MonoidalLineBundles.evaluation_swap HB ≪≫ AlgebraicGeometry.SheafCohomology.Projective.TensorSections.monoidalUnitObjIso A |
| 62 | exact (KTheory.Projective.coherentTensorK0_congr _ AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.isInvertible_unit e).trans |
| 63 | (KTheory.Projective.coherentTensorK0_unit A) |
| 64 | have hTU : T * U = KTheory.Projective.coherentTensorEnd (L ⊗ H) hLH := by |
| 65 | change (KTheory.Projective.coherentTensorK0 L hL).comp (KTheory.Projective.coherentTensorK0 H hH) = |
| 66 | KTheory.Projective.coherentTensorK0 (L ⊗ H) hLH |
| 67 | rw [KTheory.Projective.coherentTensorK0_comp] |
| 68 | exact KTheory.Projective.coherentTensorK0_congr _ hLH (β_ H L) |
| 69 | apply AlgebraicGeometry.SheafCohomology.Projective.FilteredEndomorphismDifference.endomorphism_difference_mem_of_product |
| 70 | (HilbertFiltration.ProjectiveK.coherentHilbertFiltration f j (d + 1)) (HilbertFiltration.ProjectiveK.coherentHilbertFiltration f j d) |
| 71 | T U V hUV ?_ ?_ ?_ x hx |
| 72 | · intro y hy |
| 73 | exact HilbertFiltration.ProjectiveK.coherentTensorK0_mem_hilbertFiltration f j D (d + 1) y hy |
| 74 | · intro y hy |
| 75 | rw [hTU] |
| 76 | exact HilbertFiltration.ProjectiveK.generated_tensorDifference_mem_hilbertFiltration f j |
| 77 | (lineBundleOfInvertible (L ⊗ H) hLH) (hb b le_rfl) d y hy |
| 78 | · intro y hy |
| 79 | exact HilbertFiltration.ProjectiveK.generated_tensorDifference_mem_hilbertFiltration f j HB |
| 80 | ((AlgebraicGeometry.SheafCohomology.Projective.GlobalGeneration.Dimension.positiveTwist_hasFiniteGlobalGenerators (R := K) j b).pullback f) d y hy |
| 81 | |
| 82 | theorem coherentTensorDifference_pow_mem_hilbertFiltration |
| 83 | (L : A.Modules) (hL : AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.IsInvertible L) (n d : ℕ) |
| 84 | (x : KTheory.Projective.CoherentK0 A) (hx : x ∈ HilbertFiltration.ProjectiveK.coherentHilbertFiltration f j (d + n)) : |
| 85 | (KTheory.Projective.coherentTensorDifference L hL ^ n) x ∈ HilbertFiltration.ProjectiveK.coherentHilbertFiltration f j d := |
| 86 | AlgebraicGeometry.SheafCohomology.Projective.FilteredEndomorphismDifference.endomorphism_pow_mem_filtration (HilbertFiltration.ProjectiveK.coherentHilbertFiltration f j) |
| 87 | (KTheory.Projective.coherentTensorDifference L hL) |
| 88 | (coherentTensorDifference_mem_hilbertFiltration f j L hL) n d x hx |
| 89 | |
| 90 | theorem coherentTensorDifference_pow_eq_zero_of_hilbertFiltration |
| 91 | (L : A.Modules) (hL : AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.IsInvertible L) (d : ℕ) |
| 92 | (x : KTheory.Projective.CoherentK0 A) (hx : x ∈ HilbertFiltration.ProjectiveK.coherentHilbertFiltration f j d) : |
| 93 | (KTheory.Projective.coherentTensorDifference L hL ^ d) x = 0 := |
| 94 | AlgebraicGeometry.SheafCohomology.Projective.FilteredEndomorphismDifference.endomorphism_pow_eq_zero_of_filtration (HilbertFiltration.ProjectiveK.coherentHilbertFiltration f j) |
| 95 | (HilbertFiltration.ProjectiveK.coherentHilbertFiltration_zero f j) (KTheory.Projective.coherentTensorDifference L hL) |
| 96 | (coherentTensorDifference_mem_hilbertFiltration f j L hL) d x hx |
| 97 | |
| 98 | theorem coherentTensorDifference_mixed_eq_zero |
| 99 | (L M N : A.Modules) (hL : AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.IsInvertible L) |
| 100 | (hM : AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.IsInvertible M) (hN : AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.IsInvertible N) |
| 101 | (a b c d : ℕ) (hd : d ≤ a + b + c) (x : KTheory.Projective.CoherentK0 A) |
| 102 | (hx : x ∈ HilbertFiltration.ProjectiveK.coherentHilbertFiltration f j d) : |
| 103 | (KTheory.Projective.coherentTensorDifference L hL ^ a) |
| 104 | ((KTheory.Projective.coherentTensorDifference M hM ^ b) |
| 105 | ((KTheory.Projective.coherentTensorDifference N hN ^ c) x)) = 0 := by |
| 106 | have hx' : x ∈ HilbertFiltration.ProjectiveK.coherentHilbertFiltration f j (a + b + c) := |
| 107 | HilbertFiltration.ProjectiveK.coherentHilbertFiltration_mono f j hd hx |
| 108 | have hn := coherentTensorDifference_pow_mem_hilbertFiltration f j N hN c (a + b) x hx' |
| 109 | have hm := coherentTensorDifference_pow_mem_hilbertFiltration f j M hM b a |
| 110 | ((KTheory.Projective.coherentTensorDifference N hN ^ c) x) hn |
| 111 | exact coherentTensorDifference_pow_eq_zero_of_hilbertFiltration f j L hL a _ hm |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Coherent.TensorNilpotence.ProjectiveK |