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.LineBundleHilbertCoefficients |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.GeneratedAmpleBundle |
| 3 | |
| 4 | /-! # Picard Numerical Degree -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.PicardNumericalDegree |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The next-to-leading Hilbert coefficient defines an additive numerical |
| 11 | degree on the actual Picard group of an integral closed projective scheme. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.Polynomial |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra SheafCohomology.Projective.Monoidal.Scheme.Modules.monoidalCategory |
| 22 | |
| 23 | variable {K : Type u} [Field K] {r : ℕ} {X : Scheme.{u}} [IsIntegral X] |
| 24 | (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) [IsClosedImmersion f] |
| 25 | |
| 26 | theorem lineBundleHilbertDifference_natDegree_le (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (j : Fin (r + 1)) : |
| 27 | (EffectiveHilbertDifference.Construction.lineBundleHilbertDifference f L j).natDegree ≤ |
| 28 | (EffectiveHilbertDifference.Construction.lineBundleHilbertPolynomial f (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X) j).natDegree - 1 := by |
| 29 | by_cases h : EffectiveHilbertDifference.Construction.lineBundleHilbertDifference f L j = 0 |
| 30 | · simp only [h, natDegree_zero, Nat.zero_le] |
| 31 | · have hd := natDegree_lt_natDegree h (EffectiveHilbertDifference.Construction.lineBundleHilbertDifference_degree_lt f L j) |
| 32 | omega |
| 33 | |
| 34 | def lineBundleNumericalDegree (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (j : Fin (r + 1)) : ℚ := |
| 35 | LineBundleHilbertCoefficients.Construction.lineBundleHilbertCoefficient f L j |
| 36 | ((EffectiveHilbertDifference.Construction.lineBundleHilbertPolynomial f (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X) j).natDegree - 1) |
| 37 | |
| 38 | omit [IsIntegral X] in |
| 39 | theorem lineBundleNumericalDegree_iso (L B : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (e : L.sheaf ≅ B.sheaf) |
| 40 | (j : Fin (r + 1)) : lineBundleNumericalDegree f L j = lineBundleNumericalDegree f B j := |
| 41 | LineBundleHilbertCoefficients.Construction.lineBundleHilbertCoefficient_iso f L B e j _ |
| 42 | |
| 43 | omit [IsIntegral X] in |
| 44 | theorem lineBundleNumericalDegree_trivial (j : Fin (r + 1)) : |
| 45 | lineBundleNumericalDegree f (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial X) j = 0 := by |
| 46 | unfold lineBundleNumericalDegree LineBundleHilbertCoefficients.Construction.lineBundleHilbertCoefficient EffectiveHilbertDifference.Construction.lineBundleHilbertDifference |
| 47 | rw [sub_self, coeff_zero] |
| 48 | |
| 49 | theorem lineBundleNumericalDegree_tensor_generated_left [Infinite K] |
| 50 | (B L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (hB : Frame.SectionDetection.Construction.HasFrameSections B.sheaf) (j : Fin (r + 1)) : |
| 51 | lineBundleNumericalDegree f (B.tensor L) j = |
| 52 | lineBundleNumericalDegree f B j + lineBundleNumericalDegree f L j := |
| 53 | LineBundleHilbertCoefficients.Construction.lineBundleHilbertCoefficient_tensor_generated_left f B L hB j _ |
| 54 | (lineBundleHilbertDifference_natDegree_le f B j) |
| 55 | |
| 56 | theorem lineBundleNumericalDegree_tensor [Infinite K] (B L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (j : Fin (r + 1)) : |
| 57 | lineBundleNumericalDegree f (B.tensor L) j = |
| 58 | lineBundleNumericalDegree f B j + lineBundleNumericalDegree f L j := by |
| 59 | obtain ⟨n, hn⟩ := Projective.SectionGeneration.Construction.closedProjectiveLineBundleTwist_eventually_hasFrameSections f B j |
| 60 | let P := (Frame.SectionDetection.Construction.coordinatePositiveTwist_hasFrameSections (R := K) j n).lineBundle |
| 61 | let T := P.pullback f |
| 62 | have hT : Frame.SectionDetection.Construction.HasFrameSections T.sheaf := |
| 63 | (Frame.SectionDetection.Construction.coordinatePositiveTwist_hasFrameSections (R := K) j n).pullback f |
| 64 | have hBT : Frame.SectionDetection.Construction.HasFrameSections (B.tensor T).sheaf := |
| 65 | (hn n le_rfl).of_iso (Quotients.FiniteDescent.MonoidalLine.Construction.MonoidalLineBundles.tensorIso B.sheaf T.sheaf) |
| 66 | have h₁ := lineBundleNumericalDegree_tensor_generated_left f (B.tensor T) L hBT j |
| 67 | have h₂ := lineBundleNumericalDegree_tensor_generated_left f T B hT j |
| 68 | have h₃ := lineBundleNumericalDegree_tensor_generated_left f T (B.tensor L) hT j |
| 69 | have he₂ : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (B.tensor T) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (T.tensor B) := |
| 70 | mul_comm (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf B) (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf T) |
| 71 | have he₁ : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf ((B.tensor T).tensor L) = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (T.tensor (B.tensor L)) := |
| 72 | (mul_assoc (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf B) (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf T) (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf L)).trans |
| 73 | (mul_left_comm (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf B) (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf T) (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf L)) |
| 74 | obtain ⟨e₁⟩ := Quotient.exact he₁ |
| 75 | obtain ⟨e₂⟩ := Quotient.exact he₂ |
| 76 | rw [lineBundleNumericalDegree_iso f _ _ e₁ j, lineBundleNumericalDegree_iso f _ _ e₂ j] at h₁ |
| 77 | linarith |
| 78 | |
| 79 | def picardNumericalDegreeValue (j : Fin (r + 1)) : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass X → ℚ := |
| 80 | Quotient.lift (fun L => lineBundleNumericalDegree f L j) |
| 81 | (fun L B ⟨e⟩ => lineBundleNumericalDegree_iso f L B e j) |
| 82 | |
| 83 | theorem picardNumericalDegreeValue_mul [Infinite K] (j : Fin (r + 1)) |
| 84 | (q t : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass X) : |
| 85 | picardNumericalDegreeValue f j (q * t) = picardNumericalDegreeValue f j q + picardNumericalDegreeValue f j t := by |
| 86 | induction q using Quotient.inductionOn with |
| 87 | | h L => |
| 88 | induction t using Quotient.inductionOn with |
| 89 | | h B => exact lineBundleNumericalDegree_tensor f L B j |
| 90 | |
| 91 | def picardNumericalDegree [Infinite K] (j : Fin (r + 1)) : Additive (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass X) →+ ℚ where |
| 92 | toFun q := picardNumericalDegreeValue f j q.toMul |
| 93 | map_zero' := lineBundleNumericalDegree_trivial f j |
| 94 | map_add' q t := picardNumericalDegreeValue_mul f j q.toMul t.toMul |
| 95 | |
| 96 | end Construction |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.PicardNumericalDegree |