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.PointedSectionComponentCuts |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ReducedClosedSubschemes |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Noetherian.ZeroDimensionalFinite |
| 4 | |
| 5 | /-! # Pointed Section Cuts -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Iterated.PointedSectionCuts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Repeated sections through a fixed rational point reduce a |
| 12 | dimension-d scheme mapping quasi-finitely to the ambient scheme to a |
| 13 | finite common zero set after exactly d cuts. Reduced closed subschemes |
| 14 | are used only to carry the intermediate underlying closed sets. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | universe u |
| 17 | variable {K : Type u} [Field K] [Infinite K] {X : Scheme.{u}} |
| 18 | |
| 19 | def reducedClosedSubschemeHomeomorph (Y : Scheme.{u}) (C : Closeds Y) : |
| 20 | ReducedClosedSubschemes.reducedClosedSubscheme Y C ≃ₜ (C : Set Y) := |
| 21 | (IsClosedImmersion.isClosedEmbedding (ReducedClosedSubschemes.reducedClosedInclusion Y C)).isEmbedding.toHomeomorph.trans |
| 22 | (Homeomorph.setCongr (ReducedClosedSubschemes.reducedClosedInclusion_range Y C)) |
| 23 | |
| 24 | theorem exists_pointed_sections_with_finite_common_zeros |
| 25 | (p : X ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle X) {n : ℕ} |
| 26 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 27 | (hcover : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 28 | (ha : ∀ i, IsAffineOpen (Ample.LineBundles.sectionNonvanishing (s i))) |
| 29 | (hgen : Section.ProjectivePresentation.SectionRatiosGenerate p s) |
| 30 | (z : Spec (.of K) ⟶ X) (hz : z ≫ p = 𝟙 _) (d : ℕ) : |
| 31 | ∀ (Y : Scheme.{u}) [NoetherianSpace Y] |
| 32 | (f : Y ⟶ X) [LocallyQuasiFinite f], |
| 33 | topologicalKrullDim Y ≤ d → |
| 34 | ∃ ts : List (Line.Bundles.structureModule X ⟶ L.sheaf), |
| 35 | ts.length = d ∧ |
| 36 | (∀ t ∈ ts, z (IsLocalRing.closedPoint K) ∉ Ample.LineBundles.sectionNonvanishing t) ∧ |
| 37 | {y : Y | ∀ t ∈ ts, f y ∉ Ample.LineBundles.sectionNonvanishing t}.Finite := by |
| 38 | induction d with |
| 39 | | zero => |
| 40 | intro Y _ f _ hdim |
| 41 | let : Finite Y := Noetherian.ZeroDimensionalFinite.finite_of_noetherian_topologicalKrullDim_nonpos Y hdim |
| 42 | exact ⟨[], rfl, by simp, Set.toFinite _⟩ |
| 43 | | succ d ih => |
| 44 | intro Y _ f _ hdim |
| 45 | obtain ⟨t, htz, ht⟩ := PointedSectionComponentCuts.exists_pointed_section_dropping_dimension |
| 46 | p L s hcover ha hgen z hz f d hdim |
| 47 | let C : Closeds Y := ⟨{y : Y | f y ∉ Ample.LineBundles.sectionNonvanishing t}, |
| 48 | ((Ample.LineBundles.sectionNonvanishing t).isOpen.preimage f.continuous).isClosed_compl⟩ |
| 49 | let V := ReducedClosedSubschemes.reducedClosedSubscheme Y C |
| 50 | let j := ReducedClosedSubschemes.reducedClosedInclusion Y C |
| 51 | let : NoetherianSpace V := |
| 52 | (IsClosedImmersion.isClosedEmbedding j).isEmbedding.isInducing.noetherianSpace |
| 53 | let : LocallyQuasiFinite (j ≫ f) := inferInstance |
| 54 | have hdimV : topologicalKrullDim V ≤ d := |
| 55 | (reducedClosedSubschemeHomeomorph Y C).isInducing.topologicalKrullDim_le.trans ht |
| 56 | obtain ⟨ts, hlen, hzts, hfinite⟩ := ih V (j ≫ f) hdimV |
| 57 | refine ⟨t :: ts, by simp only [List.length_cons, hlen], ?_, ?_⟩ |
| 58 | · intro a ha |
| 59 | rcases List.mem_cons.mp ha with rfl | ha |
| 60 | · exact htz |
| 61 | · exact hzts a ha |
| 62 | · apply (hfinite.image j).subset |
| 63 | intro y hy |
| 64 | have hyC : y ∈ (C : Set Y) := hy t (by simp) |
| 65 | have hyrange : y ∈ Set.range j := by |
| 66 | rw [show Set.range j = (C : Set Y) from ReducedClosedSubschemes.reducedClosedInclusion_range Y C] |
| 67 | exact hyC |
| 68 | obtain ⟨w, hw⟩ := hyrange |
| 69 | refine ⟨w, ?_, hw⟩ |
| 70 | intro a ha |
| 71 | change f (j w) ∉ Ample.LineBundles.sectionNonvanishing a |
| 72 | rw [hw] |
| 73 | exact hy a (List.mem_cons_of_mem _ ha) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Iterated.PointedSectionCuts |