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.Resolution.Blowups.Smooth.DifferentialIdealSheaf |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.DifferentialOrderBound |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.Data |
| 4 | import Mathlib.Analysis.Complex.Polynomial.Basic |
| 5 | import Mathlib.AlgebraicGeometry.Morphisms.QuasiCompact |
| 6 | |
| 7 | /-! # Differential Order Bound -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global.DifferentialOrderBound.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Finite intrinsic differential-order bounds on compact smooth integral complex schemes. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {X : Scheme} [IsIntegral X] (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] |
| 18 | |
| 19 | /-- Each affine open has a finite relative differential bound, including |
| 20 | empty opens. Nonempty opens retain the original nonzero ideal. -/ |
| 21 | theorem exists_affine_complex_differential_order_bound (J : X.IdealSheafData) (hJ : J ≠ ⊥) |
| 22 | (U : X.affineOpens) : letI := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 23 | ∃ n : ℕ, Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ (J.ideal U) n = ⊤ := by |
| 24 | classical |
| 25 | let : Algebra ℂ Γ(X, U) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 26 | by_cases hR : Nontrivial Γ(X, U) |
| 27 | · let : Nontrivial Γ(X, U) := hR |
| 28 | let q : PrimeSpectrum Γ(X, U) := Nonempty.some inferInstance |
| 29 | let : Nonempty U.1 := ⟨U.2.isoSpec.inv q⟩ |
| 30 | let : Algebra.Smooth ℂ Γ(X, U) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra_smooth f U |
| 31 | exact Blowups.Smooth.DifferentialOrderBound.Construction.exists_smooth_relative_differential_order_bound ℂ (J.ideal U) |
| 32 | (Blowup.BlowupRestriction.Construction.nonzero_idealSheaf_on_affineOpen J hJ U) |
| 33 | · let : Subsingleton Γ(X, U) := not_nontrivial_iff_subsingleton.mp hR |
| 34 | exact ⟨0, Subsingleton.elim _ _⟩ |
| 35 | |
| 36 | variable [CompactSpace X] |
| 37 | |
| 38 | /-- Compactness supplies one finite differential-order bound for the |
| 39 | original global ideal sheaf on a smooth integral complex scheme. -/ |
| 40 | theorem exists_global_complex_differential_order_bound (J : X.IdealSheafData) (hJ : J ≠ ⊥) : |
| 41 | ∃ n : ℕ, Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n = ⊤ := by |
| 42 | classical |
| 43 | choose b hb using exists_affine_complex_differential_order_bound f J hJ |
| 44 | obtain ⟨s, hs, hcover⟩ := |
| 45 | (isCompact_and_isOpen_iff_finite_and_eq_biUnion_affineOpens (X := X) (U := Set.univ)).mp |
| 46 | ⟨isCompact_univ, isOpen_univ⟩ |
| 47 | let N := hs.toFinset.sup b |
| 48 | let T := Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J N |
| 49 | refine ⟨N, (Scheme.IdealSheafData.support_eq_bot_iff T).mp ?_⟩ |
| 50 | apply SetLike.coe_injective |
| 51 | apply Set.eq_empty_iff_forall_notMem.mpr |
| 52 | intro x hx |
| 53 | have hxcover : x ∈ ⋃ U ∈ s, (U : Set X) := hcover ▸ Set.mem_univ x |
| 54 | obtain ⟨U, hU, hxU⟩ := Set.mem_iUnion₂.mp hxcover |
| 55 | have hNU : b U ≤ N := Finset.le_sup (hs.mem_toFinset.mpr hU) |
| 56 | have htop : T.ideal U = ⊤ := by |
| 57 | let : Algebra ℂ Γ(X, U) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 58 | have h := Coefficient.UnitCriterion.Construction.iteratedRelativeDifferentialIdeal_monotone_order ℂ (J.ideal U) hNU |
| 59 | rw [hb U] at h |
| 60 | exact top_le_iff.mp h |
| 61 | have hz := (Scheme.IdealSheafData.mem_support_iff_of_mem (I := T) hxU).mp hx |
| 62 | rw [htop] at hz |
| 63 | change x ∈ X.zeroLocus (Set.univ : Set Γ(X, U)) at hz |
| 64 | rw [Scheme.zeroLocus_univ] at hz |
| 65 | exact hz hxU |
| 66 | |
| 67 | /-- A nonzero proper ideal sheaf has a last proper differential ideal and |
| 68 | a following unit ideal. This selects the intrinsic maximum-order center. -/ |
| 69 | theorem exists_global_last_proper_differential_ideal (J : X.IdealSheafData) |
| 70 | (hJ : J ≠ ⊥) (hproper : J ≠ ⊤) : |
| 71 | ∃ n : ℕ, Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n ≠ ⊤ ∧ |
| 72 | Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J (n + 1) = ⊤ := by |
| 73 | classical |
| 74 | have hex := exists_global_complex_differential_order_bound f J hJ |
| 75 | have hzero : Nat.find hex ≠ 0 := by |
| 76 | intro he |
| 77 | have h := Nat.find_spec hex |
| 78 | rw [he, Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf_zero] at h |
| 79 | exact hproper h |
| 80 | obtain ⟨n, hn⟩ := Nat.exists_eq_succ_of_ne_zero hzero |
| 81 | refine ⟨n, Nat.find_min hex (by omega), ?_⟩ |
| 82 | simpa only [hn, Nat.succ_eq_add_one] using Nat.find_spec hex |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global.DifferentialOrderBound.Construction |