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.SquareKoszulSectionSurjectivity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.KoszulTopTensorPower |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.KoszulPreviousPowerCopies |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.RetractSectionFactorization |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.MapSectionFactorization |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.MultiplicationProduct |
| 7 | |
| 8 | /-! # Square Section Multiplication Surjectivity -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SquareSectionMultiplicationSurjectivity |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! A covering square-section Koszul complex forces high-power sections |
| 15 | to be sums of products of square sections and sections two degrees lower. -/ |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open scoped BigOperators |
| 18 | universe u |
| 19 | |
| 20 | theorem lineBundleSquare_powerSections_products |
| 21 | {X : Scheme.{u}} (G : Line.Bundles.LineBundle X) |
| 22 | (hG : ∀ b : ℕ, 0 < b → ∀ q : ℕ, Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (G.tensorPower b).sheaf (q + 1))) |
| 23 | (ss : List (Line.Bundles.structureModule X ⟶ (G.tensorPower 2).sheaf)) |
| 24 | (hcover : ∀ x : X, ∃ s ∈ ss, x ∈ Ample.LineBundles.sectionNonvanishing s) (hss : 0 < ss.length) |
| 25 | (b : ℕ) (hb : 0 < b) : |
| 26 | ∀ t : Line.Bundles.structureModule X ⟶ (G.tensorPower (2 + ((ss.length - 1) * 2 + b))).sheaf, |
| 27 | ∃ (n : ℕ) (s : Fin n → (Line.Bundles.structureModule X ⟶ (G.tensorPower 2).sheaf)) |
| 28 | (v : Fin n → (Line.Bundles.structureModule X ⟶ (G.tensorPower ((ss.length - 1) * 2 + b)).sheaf)), |
| 29 | t = ∑ i, Tensor.ProductSections.tensorProductSection (s i) (v i) ≫ |
| 30 | (G.tensorPowerAddIso 2 ((ss.length - 1) * 2 + b)).inv := by |
| 31 | let q := (ss.length - 1) * 2 + b |
| 32 | let K := LineBundle.SectionKoszulComplex.lineBundleSectionKoszulComplex (G.tensorPower 2) (G.tensorPower b).sheaf ss |
| 33 | have heq : ss.length * 2 + b = 2 + q := by dsimp [q]; omega |
| 34 | let e : K.X 0 ≅ (G.tensorPower (2 + q)).sheaf := |
| 35 | KoszulTopTensorPower.lineBundleSquareKoszulTopPowerIso G ss b ≪≫ |
| 36 | eqToIso (congrArg (fun n => (G.tensorPower n).sheaf) heq) |
| 37 | let f : K.X (-1) ⟶ (G.tensorPower (2 + q)).sheaf := K.d (-1) 0 ≫ e.hom |
| 38 | have hd : Function.Surjective ((K.d (-1) 0).app ⊤) := |
| 39 | SquareKoszulSectionSurjectivity.lineBundleSquareKoszul_last_sections_surjective G hG ss hcover b hb |
| 40 | have hf : Function.Surjective (f.app ⊤) := |
| 41 | (ConcreteCategory.bijective_of_isIso (e.hom.app ⊤)).surjective.comp hd |
| 42 | intro t |
| 43 | obtain ⟨n, v, a, ht⟩ := (KoszulPreviousPowerCopies.lineBundleSquareKoszul_previousTerm_finiteRetractCopies G ss b).sections_factor f (Finite.RetractSectionFactorization.section_postcomp_surjective_of_global_surjective f hf) t |
| 44 | choose s hs using fun i => LineBundle.MapSectionFactorization.tensorPowerMap_exists_multiplying_section G 2 q (a i) |
| 45 | refine ⟨n, s, v, ht.trans ?_⟩ |
| 46 | apply Finset.sum_congr rfl |
| 47 | intro i _ |
| 48 | exact (congrArg (fun a => v i ≫ a) (hs i).symm).trans |
| 49 | ((Category.assoc _ _ _).symm.trans |
| 50 | (congrArg (fun z => z ≫ (G.tensorPowerAddIso 2 q).inv) |
| 51 | (Section.MultiplicationProduct.section_comp_moduleSectionMultiply (G.tensorPower 2) (G.tensorPower q).sheaf |
| 52 | (s i) (v i)))) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.SquareSectionMultiplicationSurjectivity |