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.Graph.NonzeroSection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.OppositeTranslations |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OppositeTranslateOpenPoints |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ReducedSectionNonvanishing |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.SectionNonvanishing |
| 6 | |
| 7 | /-! # Square Generation -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! At tame full level, the square of the original graph bundle is globally |
| 14 | generated over an algebraically closed field. Opposite translates construct the sections. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | universe u |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | variable {K : Type u} [Field K] [IsAlgClosed K] {g N : ℕ} {δ : Fin g → ℕ} |
| 22 | variable (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 23 | |
| 24 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_square_pointwise_sections (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) : |
| 25 | ∀ x : A.abelian.scheme.left, |
| 26 | ∃ t : Line.Bundles.structureModule A.abelian.scheme.left ⟶ (A.graphBundle.tensorPower 2).sheaf, |
| 27 | x ∈ Ample.LineBundles.sectionNonvanishing t := by |
| 28 | have : IsReduced A.abelian.scheme.left := A.abelian.reduced_overField |
| 29 | have : JacobsonSpace A.abelian.scheme.left := LocallyOfFiniteType.jacobsonSpace A.abelian.scheme.hom |
| 30 | obtain ⟨s, hs⟩ := A.graphBundle_exists_nonzero_section hN hNk |
| 31 | have hU : (Ample.LineBundles.sectionNonvanishing s : Set A.abelian.scheme.left).Nonempty := |
| 32 | A.graphBundle.exists_nonvanishing_of_ne_zero s hs |
| 33 | apply Closed.PointSectionGeneration.lineBundle_pointwise_sections_of_closedPoints (A.graphBundle.tensorPower 2) |
| 34 | intro x hx |
| 35 | let b : 𝟙_ (Over (Spec (.of K))) ⟶ A.abelian.scheme := |
| 36 | Over.homMk (pointOfClosedPoint A.abelian.scheme.hom x hx) |
| 37 | (pointOfClosedPoint_comp A.abelian.scheme.hom x hx) |
| 38 | have hb : b.left (IsLocalRing.closedPoint K) = x := |
| 39 | pointOfClosedPoint_apply A.abelian.scheme.hom x hx _ |
| 40 | obtain ⟨a, ha, hai⟩ := A.abelian.exists_oppositeTranslations_mem_open (Ample.LineBundles.sectionNonvanishing s) hU b |
| 41 | have ha' : (A.abelian.basePointTranslation a).left x ∈ Ample.LineBundles.sectionNonvanishing s := by |
| 42 | simpa only [hb] using ha |
| 43 | have hai' : (A.abelian.basePointTranslation a⁻¹).left x ∈ Ample.LineBundles.sectionNonvanishing s := by |
| 44 | simpa only [hb] using hai |
| 45 | let f := (A.abelian.basePointTranslation a).left |
| 46 | let fi := (A.abelian.basePointTranslation a⁻¹).left |
| 47 | have : IsIso f := ((Over.forget _).mapIso (A.abelian.basePointTranslationIso a)).isIso_hom |
| 48 | have : IsIso fi := ((Over.forget _).mapIso (A.abelian.basePointTranslationIso a⁻¹)).isIso_hom |
| 49 | let t := Tensor.ProductSections.tensorProductSection (Ample.LineBundles.pullbackSection f s) (Ample.LineBundles.pullbackSection fi s) |
| 50 | let e : ((A.graphBundle.pullback f).tensor (A.graphBundle.pullback fi)).sheaf ≅ |
| 51 | (A.graphBundle.tensorPower 2).sheaf := |
| 52 | Graph.OppositeTranslations.poincareGraphOppositeTranslationsIso A.dual A.polarization.isogeny.hom a |
| 53 | refine ⟨t ≫ e.hom, ?_⟩ |
| 54 | erw [Ample.Powers.sectionNonvanishing_comp_iso] |
| 55 | change x ∈ Ample.LineBundles.sectionNonvanishing |
| 56 | (Tensor.ProductSections.tensorProductSection (Ample.LineBundles.pullbackSection f s) (Ample.LineBundles.pullbackSection fi s)) |
| 57 | rw [Tensor.SectionNonvanishing.sectionNonvanishing_tensorProduct (A.graphBundle.pullback f) (A.graphBundle.pullback fi), |
| 58 | Section.Nonvanishing.sectionNonvanishing_pullback, Section.Nonvanishing.sectionNonvanishing_pullback] |
| 59 | exact ⟨ha', hai'⟩ |
| 60 | |
| 61 | theorem PolarizationData.PolarizedAbelianWithFullLevel.graphBundle_square_finite_section_cover (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) : |
| 62 | ∃ (n : ℕ) (s : Fin (n + 1) → |
| 63 | (Line.Bundles.structureModule A.abelian.scheme.left ⟶ (A.graphBundle.tensorPower 2).sheaf)), |
| 64 | ∀ x : A.abelian.scheme.left, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i) := by |
| 65 | classical |
| 66 | have : CompactSpace A.abelian.scheme.left := |
| 67 | QuasiCompact.compactSpace_of_compactSpace A.abelian.scheme.hom |
| 68 | choose s hs using A.graphBundle_square_pointwise_sections hN hNk |
| 69 | obtain ⟨t, ht⟩ := isCompact_univ.elim_finite_subcover |
| 70 | (fun x => (Ample.LineBundles.sectionNonvanishing (s x) : Set A.abelian.scheme.left)) |
| 71 | (fun x => (Ample.LineBundles.sectionNonvanishing (s x)).isOpen) |
| 72 | (fun x _ => Set.mem_iUnion.mpr ⟨x, hs x⟩) |
| 73 | let e := Fintype.equivFin t |
| 74 | let v : Fin (Fintype.card t + 1) → |
| 75 | (Line.Bundles.structureModule A.abelian.scheme.left ⟶ (A.graphBundle.tensorPower 2).sheaf) := |
| 76 | Fin.lastCases 0 (fun i => s (e.symm i).val) |
| 77 | refine ⟨Fintype.card t, v, fun x => ?_⟩ |
| 78 | obtain ⟨y, hy, hxy⟩ := Set.mem_iUnion₂.mp (ht (Set.mem_univ x)) |
| 79 | refine ⟨(e ⟨y, hy⟩).castSucc, ?_⟩ |
| 80 | have he : (e.symm (e ⟨y, hy⟩)).val = y := congrArg Subtype.val (e.symm_apply_apply ⟨y, hy⟩) |
| 81 | simpa only [v, Fin.lastCases_castSucc, he] using |
| 82 | (show x ∈ Ample.LineBundles.sectionNonvanishing (s y) from hxy) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |