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.AbelianModuli.ReferenceFamily.Intrinsic.HolomorphicTensor |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.AlgebraicHyperplaneBundle |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.ClosedGlobalGeneration |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TensorSections |
| 5 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineBundleFree |
| 6 | |
| 7 | /-! # Common Generated Twist -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CommonGeneratedTwist |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Two arbitrary algebraic line bundles on the original projective |
| 14 | variety acquire actual finite generating section families after one |
| 15 | common hyperplane twist. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.TensorSections OAI.AlgebraicGeometry.SheafCohomology.Projective.ClosedGlobalGeneration.Dimension |
| 19 | |
| 20 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 21 | |
| 22 | local instance commonGeneratedTwist_monoidal : MonoidalCategory V.carrier.Modules := |
| 23 | SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory V.carrier |
| 24 | local instance commonGeneratedTwist_integral : IsIntegral V.carrier := V.property |
| 25 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 26 | |
| 27 | private theorem commonGeneratedTwist_finiteType (L : HilbertConstruction.Line.Bundles.LineBundle V.carrier) : L.sheaf.IsFiniteType := by |
| 28 | let D := SheafCohomology.Projective.InvertibleFinitePresentation.invertibleRankOneCover (Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.invertible L) |
| 29 | refine { exists_localGeneratorsData := ⟨SheafCohomology.Projective.InvertibleFinitePresentation.rankOneCoverLocalGenerators D, ?_⟩ } |
| 30 | constructor |
| 31 | intro i |
| 32 | exact SheafCohomology.Projective.InvertibleFinitePresentation.rankOneGenerators_finite _ _ (D.frame i) |
| 33 | |
| 34 | theorem exists_common_generated_twist (L K : HilbertConstruction.Line.Bundles.LineBundle V.carrier) : |
| 35 | ∃ H : HilbertConstruction.Line.Bundles.LineBundle V.carrier, |
| 36 | SheafCohomology.Projective.FiniteGlobalGenerators.HasFiniteGlobalGenerators (L.tensor H).sheaf ∧ SheafCohomology.Projective.FiniteGlobalGenerators.HasFiniteGlobalGenerators (K.tensor H).sheaf := by |
| 37 | let f := V.presentation.projective.embedding |
| 38 | let : IsClosedImmersion f := V.presentation.projective.closedImmersion |
| 39 | let : L.sheaf.IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent L |
| 40 | let : L.sheaf.IsFiniteType := commonGeneratedTwist_finiteType V L |
| 41 | let : K.sheaf.IsQuasicoherent := Quotients.FiniteDescent.LineBundleFree.Construction.LineBundleCoherence.quasicoherent K |
| 42 | let : K.sheaf.IsFiniteType := commonGeneratedTwist_finiteType V K |
| 43 | obtain ⟨a, ha⟩ := SheafCohomology.Projective.ClosedGlobalGeneration.Dimension.closedProjective_eventually_hasFiniteGlobalGenerators |
| 44 | (R := ℂ) (σ := Fin (V.ambientDimension + 1)) (X := V.carrier) f L.sheaf 0 |
| 45 | obtain ⟨b, hb⟩ := SheafCohomology.Projective.ClosedGlobalGeneration.Dimension.closedProjective_eventually_hasFiniteGlobalGenerators |
| 46 | (R := ℂ) (σ := Fin (V.ambientDimension + 1)) (X := V.carrier) f K.sheaf 0 |
| 47 | let d := max a b |
| 48 | let P := RepresentationTheory.Theta.Geometric.AlgebraicHyperplaneBundle.lineBundleOfInvertible |
| 49 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := ℂ) (0 : Fin (V.ambientDimension + 1)) d) |
| 50 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower_isInvertible 0 d) |
| 51 | let H := P.pullback f |
| 52 | exact ⟨H, (ha d (le_max_left a b)).of_iso (SheafCohomology.Projective.TensorSections.monoidalTensorObjIso L.sheaf H.sheaf), |
| 53 | (hb d (le_max_right a b)).of_iso (SheafCohomology.Projective.TensorSections.monoidalTensorObjIso K.sheaf H.sheaf)⟩ |
| 54 | |
| 55 | theorem finiteGlobalGenerators_numbered_sections (L : HilbertConstruction.Line.Bundles.LineBundle V.carrier) |
| 56 | (hL : SheafCohomology.Projective.FiniteGlobalGenerators.HasFiniteGlobalGenerators L.sheaf) : |
| 57 | ∃ (n : ℕ) (s : Fin (n + 1) → (HilbertConstruction.Line.Bundles.structureModule V.carrier ⟶ L.sheaf)), |
| 58 | ∀ x : V.carrier, ∃ i, x ∈ HilbertConstruction.Ample.LineBundles.sectionNonvanishing (s i) := by |
| 59 | obtain ⟨I, hI, s, hs⟩ := hL.section_cover L |
| 60 | let : Fintype I := hI |
| 61 | have hne : Nonempty I := by |
| 62 | obtain ⟨x⟩ := (inferInstance : Nonempty V.carrier) |
| 63 | obtain ⟨i, _⟩ := hs x |
| 64 | exact ⟨i⟩ |
| 65 | let : Nonempty I := hne |
| 66 | let n := Fintype.card I - 1 |
| 67 | have hn : Fintype.card I = n + 1 := by |
| 68 | have hpos : 0 < Fintype.card I := Fintype.card_pos |
| 69 | dsimp [n] |
| 70 | omega |
| 71 | let e : I ≃ Fin (n + 1) := (Fintype.equivFin I).trans (finCongr hn) |
| 72 | refine ⟨n, fun i => s (e.symm i), ?_⟩ |
| 73 | intro x |
| 74 | obtain ⟨i, hi⟩ := hs x |
| 75 | refine ⟨e i, ?_⟩ |
| 76 | simpa only [Equiv.symm_apply_apply] using hi |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.CommonGeneratedTwist |