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.Projective.Numerics |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Projective.SectionFiniteness |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.PresentationSections |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.GlobalSectionsMono |
| 5 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.ExactSequenceFinrank |
| 6 | |
| 7 | /-! # Hilbert Additivity -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.HilbertAdditivity |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Canonical Hilbert polynomials are additive for actual short exact |
| 14 | sequences of coherent projective modules. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 19 | |
| 20 | namespace Construction |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 25 | |
| 26 | variable {K : Type u} [Field K] {r : ℕ} |
| 27 | |
| 28 | theorem projectiveHilbertFunction_eventually_add_of_shortExact |
| 29 | (T : ShortComplex (Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)).Modules) |
| 30 | (hT : T.ShortExact) |
| 31 | [T.X₁.IsQuasicoherent] [T.X₂.IsQuasicoherent] [T.X₃.IsQuasicoherent] |
| 32 | [T.X₁.IsFiniteType] [T.X₂.IsFiniteType] [T.X₃.IsFiniteType] |
| 33 | (j : Fin (r + 1)) : |
| 34 | ∃ b : ℕ, ∀ n : ℕ, b ≤ n → |
| 35 | Projective.Numerics.Construction.projectiveHilbertFunction T.X₂ j n = |
| 36 | Projective.Numerics.Construction.projectiveHilbertFunction T.X₁ j n + Projective.Numerics.Construction.projectiveHilbertFunction T.X₃ j n := by |
| 37 | have : Epi T.g := hT.epi_g |
| 38 | obtain ⟨b, hb⟩ := SheafCohomology.Projective.PresentationSections.MvPolynomial.finiteType_exact_eventually_projectiveTwist_sections T hT.exact j |
| 39 | refine ⟨b, fun n hn => ?_⟩ |
| 40 | let F := (SheafCohomology.Projective.PositiveTwistEquivalence.MvPolynomial.coordinateHyperplanePoleSheafPowerTensorEquivalence (R := K) j n).functor |
| 41 | let G := SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor |
| 42 | (SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := K) (σ := Fin (r + 1))) |
| 43 | have hTF : (T.map F).ShortExact := hT.map_of_exact F |
| 44 | have : Mono (F.map T.f) := hTF.mono_f |
| 45 | have : (F.obj T.X₂).IsQuasicoherent := |
| 46 | SheafCohomology.Projective.PositiveTwistEquivalence.MvPolynomial.moduleTensorCoordinateHyperplanePoleSheafPower_isQuasicoherent T.X₂ j n |
| 47 | have : (F.obj T.X₂).IsFiniteType := |
| 48 | SheafCohomology.Projective.PositiveTwistEquivalence.MvPolynomial.moduleTensorCoordinateHyperplanePoleSheafPower_isFiniteType T.X₂ j n |
| 49 | have : Module.Finite Γ(Spec (CommRingCat.of K), ⊤) (G.obj (F.obj T.X₂)) := |
| 50 | Projective.SectionFiniteness.Construction.projectiveGlobalSections_finite (F.obj T.X₂) |
| 51 | let : Field Γ(Spec (CommRingCat.of K), ⊤) := Projective.Numerics.Construction.fieldSpec_sections_isField.toField |
| 52 | let f := (G.map (F.map T.f)).hom |
| 53 | let g := (G.map (F.map T.g)).hom |
| 54 | have he : Function.Exact f g := (hb n hn).1 |
| 55 | have hf : Function.Injective f := SheafCohomology.Projective.GlobalSectionsMono.globalSections_injective_of_mono (F.map T.f) |
| 56 | have hg : Function.Surjective g := (hb n hn).2 |
| 57 | have hd := SheafCohomology.Projective.ExactSequenceFinrank.finrank_eq_ranges_of_exact f g he |
| 58 | rw [LinearMap.finrank_range_of_inj hf, LinearMap.range_eq_top.mpr hg, finrank_top] at hd |
| 59 | change (Module.finrank Γ(Spec (CommRingCat.of K), ⊤) (G.obj (F.obj T.X₂)) : ℚ) = |
| 60 | (Module.finrank Γ(Spec (CommRingCat.of K), ⊤) (G.obj (F.obj T.X₁)) : ℚ) + |
| 61 | (Module.finrank Γ(Spec (CommRingCat.of K), ⊤) (G.obj (F.obj T.X₃)) : ℚ) |
| 62 | exact_mod_cast hd |
| 63 | |
| 64 | theorem projectiveHilbertPolynomial_add_of_shortExact |
| 65 | (T : ShortComplex (Proj (MvPolynomial.homogeneousSubmodule (Fin (r + 1)) K)).Modules) |
| 66 | (hT : T.ShortExact) |
| 67 | [T.X₁.IsQuasicoherent] [T.X₂.IsQuasicoherent] [T.X₃.IsQuasicoherent] |
| 68 | [T.X₁.IsFiniteType] [T.X₂.IsFiniteType] [T.X₃.IsFiniteType] |
| 69 | (j : Fin (r + 1)) : |
| 70 | Projective.Numerics.Construction.projectiveHilbertPolynomial T.X₂ j = |
| 71 | Projective.Numerics.Construction.projectiveHilbertPolynomial T.X₁ j + Projective.Numerics.Construction.projectiveHilbertPolynomial T.X₃ j := by |
| 72 | obtain ⟨b, hb⟩ := projectiveHilbertFunction_eventually_add_of_shortExact T hT j |
| 73 | unfold Projective.Numerics.Construction.projectiveHilbertPolynomial |
| 74 | rw [← EventualPolynomial.Construction.eventualPolynomialValue_add] |
| 75 | apply EventualPolynomial.Construction.eventualPolynomialValue_congr _ _ b hb |
| 76 | |
| 77 | end Construction |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.HilbertAdditivity |