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.CoherentTwistInjections |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.PolynomialComparison |
| 3 | |
| 4 | /-! # Coherent Hilbert Leading -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.CoherentHilbertLeading |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Tensoring a coherent module by any line bundle preserves its Hilbert |
| 11 | degree and leading coefficient when global functions form an infinite field. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | |
| 23 | variable {K : Type u} [Field K] {r : ℕ} {X : Scheme.{u}} |
| 24 | [IsLocallyNoetherian X] [CompactSpace X] [Infinite Γ(X, ⊤)] |
| 25 | (hfield : IsField Γ(X, ⊤)) |
| 26 | (f : X ⟶ Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)) [IsClosedImmersion f] |
| 27 | |
| 28 | include hfield |
| 29 | |
| 30 | theorem coherentLineBundle_hilbert_degree_leadingCoeff_of_nonzero |
| 31 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] (hM : ¬ IsZero M) |
| 32 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (j : Fin (r + 1)) : |
| 33 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor M L) j).natDegree = |
| 34 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f M j).natDegree ∧ |
| 35 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor M L) j).leadingCoeff = |
| 36 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f M j).leadingCoeff := by |
| 37 | obtain ⟨n, hn⟩ := CoherentTwistInjections.Construction.closedProjectiveModuleLineBundle_eventually_injections hfield f M L j |
| 38 | obtain ⟨a, c, ha, hc⟩ := hn n le_rfl |
| 39 | have := ha |
| 40 | have := hc |
| 41 | obtain ⟨b₁, hb₁⟩ := ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial_eventually_le_of_mono f a j |
| 42 | obtain ⟨b₂, hb₂⟩ := ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial_eventually_le_of_mono f c j |
| 43 | have hN : ¬ IsZero (CoherentLineBundleTensor.Construction.coherentLineBundleTensor M L) := |
| 44 | fun h => hM ((CoherentLineBundleTensor.Construction.coherentLineBundleTensor_isZero_iff M L).mp h) |
| 45 | apply PolynomialComparison.Construction.polynomial_degree_leadingCoeff_eq_of_mutual_shift_bounds _ _ |
| 46 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial_leadingCoeff_pos f _ j hN) |
| 47 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial_leadingCoeff_pos f M j hM) (max b₁ b₂) n |
| 48 | · intro m hm |
| 49 | simpa only [ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial_twist, Polynomial.taylor_eval] using |
| 50 | hb₂ m ((le_max_right _ _).trans hm) |
| 51 | · intro m hm |
| 52 | simpa only [ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial_twist, Polynomial.taylor_eval] using |
| 53 | hb₁ m ((le_max_left _ _).trans hm) |
| 54 | |
| 55 | theorem coherentLineBundle_hilbert_degree_leadingCoeff |
| 56 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] |
| 57 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (j : Fin (r + 1)) : |
| 58 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor M L) j).natDegree = |
| 59 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f M j).natDegree ∧ |
| 60 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor M L) j).leadingCoeff = |
| 61 | (ClosedHilbertNumerics.Construction.closedProjectiveHilbertPolynomial f M j).leadingCoeff := by |
| 62 | by_cases hM : IsZero M |
| 63 | · have hN := (CoherentLineBundleTensor.Construction.coherentLineBundleTensor_isZero_iff M L).mpr hM |
| 64 | have hp := HilbertPositivity.Construction.projectiveHilbertPolynomial_eq_zero_of_isZero (ClosedHilbertNumerics.Construction.coherentClosedDirectImage f M) j |
| 65 | ((Scheme.Modules.pushforward f).map_isZero hM) |
| 66 | have hq := HilbertPositivity.Construction.projectiveHilbertPolynomial_eq_zero_of_isZero |
| 67 | (ClosedHilbertNumerics.Construction.coherentClosedDirectImage f (CoherentLineBundleTensor.Construction.coherentLineBundleTensor M L)) j |
| 68 | ((Scheme.Modules.pushforward f).map_isZero hN) |
| 69 | change (Projective.Numerics.Construction.projectiveHilbertPolynomial _ _).natDegree = (Projective.Numerics.Construction.projectiveHilbertPolynomial _ _).natDegree ∧ |
| 70 | (Projective.Numerics.Construction.projectiveHilbertPolynomial _ _).leadingCoeff = (Projective.Numerics.Construction.projectiveHilbertPolynomial _ _).leadingCoeff |
| 71 | rw [hp, hq] |
| 72 | exact ⟨rfl, rfl⟩ |
| 73 | · exact coherentLineBundle_hilbert_degree_leadingCoeff_of_nonzero hfield f M hM L j |
| 74 | |
| 75 | end Construction |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.CoherentHilbertLeading |