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.HilbertConstruction.NegativeTwist.CoverTensorVanishing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.TwistedRelationCech |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.CechHomologyBound |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.VanishingHomologyExactSequences |
| 5 | |
| 6 | /-! # Serre Cech Vanishing -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SerreCechVanishing |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Uniform Serre vanishing for actual coordinate Čech cohomology of every coherent projective sheaf. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 19 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 20 | |
| 21 | theorem projectiveSerreCech_descending_step (q : ℕ) |
| 22 | (h : ∀ K : (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient I).Modules, K.IsQuasicoherent → K.IsFiniteType → |
| 23 | ∃ B : ℕ, ∀ d : ℕ, B ≤ d → ∀ j : ℕ, q + 1 ≤ j → |
| 24 | IsZero ((TwistedCech.projectiveTwistedCech I K d).homology (j + 1))) |
| 25 | (M : (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient I).Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 26 | ∃ B : ℕ, ∀ d : ℕ, B ≤ d → ∀ j : ℕ, q ≤ j → |
| 27 | IsZero ((TwistedCech.projectiveTwistedCech I M d).homology (j + 1)) := by |
| 28 | rename_i hMq hMt |
| 29 | change (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Modules at M |
| 30 | dsimp only [HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient] at * |
| 31 | let : M.IsQuasicoherent := hMq |
| 32 | let : M.IsFiniteType := hMt |
| 33 | let D := @NegativeTwistCover.ProjectiveNegativeTwistCover.ofFiniteType R _ n I M |
| 34 | ‹M.IsQuasicoherent› ‹M.IsFiniteType› |
| 35 | obtain ⟨BK, hK⟩ := h D.relations |
| 36 | (@NegativeTwistCover.ProjectiveNegativeTwistCover.relations_quasicoherent R _ n I M D ‹M.IsQuasicoherent›) |
| 37 | (@NegativeTwistCover.ProjectiveNegativeTwistCover.relations_finiteType R _ n I M _ D ‹M.IsQuasicoherent›) |
| 38 | obtain ⟨BP, hP⟩ := D.source_tensorCech_eventually_vanish |
| 39 | refine ⟨max BK BP, fun d hd j hj ↦ ?_⟩ |
| 40 | let L := ProjectiveTwisting.Bundle.projectiveTwistingBundle I d |
| 41 | let S := (D.relationSequence.map (LineBundle.TensorEquivalence.lineBundleRightTensorEquivalence L).functor).map |
| 42 | (CoefficientCechFunctor.projectiveCoefficientCechFunctor I) |
| 43 | have hS : S.ShortExact := D.twistedRelationCech_shortExact L |
| 44 | have h₁ : IsZero (S.X₁.homology (j + 2)) := |
| 45 | hK d ((le_max_left BK BP).trans hd) (j + 1) (Nat.succ_le_succ hj) |
| 46 | have h₂ : IsZero (S.X₂.homology (j + 1)) := hP d ((le_max_right BK BP).trans hd) j |
| 47 | exact VanishingHomologyExactSequences.shortExact_homology_X3_isZero hS (j + 1) (j + 2) |
| 48 | (by change j + 1 + 1 = j + 2; omega) h₂ h₁ |
| 49 | |
| 50 | theorem projectiveCoherentCech_eventually_vanish |
| 51 | (M : (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient I).Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 52 | ∃ B : ℕ, ∀ d : ℕ, B ≤ d → ∀ q : ℕ, |
| 53 | IsZero ((TwistedCech.projectiveTwistedCech I M d).homology (q + 1)) := by |
| 54 | rename_i hMq hMt |
| 55 | change (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Modules at M |
| 56 | dsimp only [HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient] at * |
| 57 | let : M.IsQuasicoherent := hMq |
| 58 | let : M.IsFiniteType := hMt |
| 59 | have h : ∀ K : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Modules, K.IsQuasicoherent → K.IsFiniteType → |
| 60 | ∃ B : ℕ, ∀ d : ℕ, B ≤ d → ∀ j : ℕ, 0 ≤ j → |
| 61 | IsZero ((TwistedCech.projectiveTwistedCech I K d).homology (j + 1)) := by |
| 62 | apply Nat.decreasingInduction (n := n) |
| 63 | (motive := fun q _ ↦ ∀ K : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Modules, |
| 64 | K.IsQuasicoherent → K.IsFiniteType → ∃ B : ℕ, ∀ d : ℕ, B ≤ d → |
| 65 | ∀ j : ℕ, q ≤ j → IsZero ((TwistedCech.projectiveTwistedCech I K d).homology (j + 1))) |
| 66 | (of_succ := ?_) (self := ?_) (Nat.zero_le n) |
| 67 | · intro q _ hq K hKq hKt |
| 68 | exact @projectiveSerreCech_descending_step R _ _ n I q hq K hKq hKt |
| 69 | · intro K _ _ |
| 70 | refine ⟨0, fun d _ j hj ↦ ?_⟩ |
| 71 | exact CechHomologyBound.projectiveCech_homology_isZero I |
| 72 | ((LineBundle.TensorEquivalence.lineBundleRightTensorEquivalence (ProjectiveTwisting.Bundle.projectiveTwistingBundle I d)).functor.obj K) |
| 73 | (j + 1) (Nat.succ_le_succ hj) |
| 74 | obtain ⟨B, hB⟩ := h M inferInstance inferInstance |
| 75 | exact ⟨B, fun d hd q ↦ hB d hd q (Nat.zero_le q)⟩ |
| 76 | |
| 77 | theorem projectiveCoherentTensorCech_eventually_vanish |
| 78 | (M : (HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient I).Modules) [M.IsQuasicoherent] [M.IsFiniteType] : |
| 79 | ∃ B : ℕ, ∀ d : ℕ, B ≤ d → ∀ q : ℕ, |
| 80 | IsZero (((CoefficientCechFunctor.projectiveCoefficientCechFunctor I).obj |
| 81 | (Tensor.ProductSheaf.tensorModule M (ProjectiveTwisting.Bundle.projectiveTwistingBundle I d).sheaf)).homology (q + 1)) := by |
| 82 | rename_i hMq hMt |
| 83 | change (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Modules at M |
| 84 | dsimp only [HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotient] at * |
| 85 | let : M.IsQuasicoherent := hMq |
| 86 | let : M.IsFiniteType := hMt |
| 87 | obtain ⟨B, hB⟩ := |
| 88 | @projectiveCoherentCech_eventually_vanish R _ _ n I M hMq hMt |
| 89 | refine ⟨B, fun d hd q ↦ ?_⟩ |
| 90 | exact (hB d hd q).of_iso |
| 91 | (((HomologicalComplex.homologyFunctor (ModuleCat.{u} R) (ComplexShape.up ℕ) (q + 1)).mapIso |
| 92 | (TwistedCech.projectiveTwistedCechActualIso I M d)).symm) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SerreCechVanishing |