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.GlobalBlowup.MapGluing |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalControlled.Chart |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.GeneratedBlowupCover |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf.EqualityGluing |
| 5 | |
| 6 | /-! # Chosen Global Rees Cover -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.ChosenGlobalReesCover.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual global Rees covers adapted to chosen boundary equation opens and center generators. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem exists_generated_affineBlowupChart_point |
| 19 | {R : Type u} [CommRing R] (I : Ideal R) {κ : Type u} (g : κ → I) |
| 20 | (hgen : Ideal.span (Set.range (fun j => (g j).val)) = I) (x : ReesGrading.Construction.affineBlowup I) : |
| 21 | ∃ j, ∃ p : PrimeSpectrum (Blowup.Charts.Construction.blowupChart I (g j)), |
| 22 | Proj.awayι (ReesGrading.Construction.reesGrade I) (Blowup.Charts.Construction.reesGenerator I (g j)) (Blowup.Charts.Construction.reesGenerator_mem I (g j)) (by decide) p = x := by |
| 23 | have hx : x ∈ ⨆ j, Proj.basicOpen (ReesGrading.Construction.reesGrade I) (Blowup.Charts.Construction.reesGenerator I (g j)) := by |
| 24 | rw [GeneratedBlowupCover.Construction.affineBlowup_generator_chart_cover I g hgen] |
| 25 | trivial |
| 26 | obtain ⟨j, hj⟩ := TopologicalSpace.Opens.mem_iSup.mp hx |
| 27 | have hrange : x ∈ (Proj.awayι (ReesGrading.Construction.reesGrade I) (Blowup.Charts.Construction.reesGenerator I (g j)) |
| 28 | (Blowup.Charts.Construction.reesGenerator_mem I (g j)) (by decide)).opensRange := by |
| 29 | rw [Proj.opensRange_awayι] |
| 30 | exact hj |
| 31 | obtain ⟨p, hp⟩ := hrange |
| 32 | exact ⟨j, p, hp⟩ |
| 33 | |
| 34 | variable {X : Scheme.{u}} [IsIntegral X] [IsLocallyNoetherian X] |
| 35 | (I : X.IdealSheafData) (hI : I ≠ ⊥) |
| 36 | {ι : Type u} (U : ι → X.affineOpens) (hcover : ⨆ i, (U i).1 = ⊤) |
| 37 | (κ : ι → Type u) (g : ∀ i, κ i → I.ideal (U i)) |
| 38 | (hgen : ∀ i, Ideal.span (Set.range (fun j => (g i j).val)) = I.ideal (U i)) |
| 39 | |
| 40 | include hcover hgen in |
| 41 | theorem exists_chosen_globalReesChart (x : GlobalBlowup.Data.Construction.globalBlowup I hI) : |
| 42 | ∃ p : Σ i, κ i, x ∈ Set.range (GlobalControlled.Chart.Construction.globalBlowupReesChart I hI (U p.1) (g p.1 p.2)) := by |
| 43 | have hx : GlobalBlowup.Data.Construction.globalBlowupToBase I hI x ∈ ⨆ i, (U i).1 := by rw [hcover]; trivial |
| 44 | obtain ⟨i, hi⟩ := TopologicalSpace.Opens.mem_iSup.mp hx |
| 45 | have hrange : x ∈ (GlobalBlowup.Data.Construction.globalBlowupChart I hI (U i)).opensRange := by |
| 46 | rw [GlobalBlowup.MapGluing.Construction.globalBlowupChart_opensRange] |
| 47 | exact hi |
| 48 | obtain ⟨y, hy⟩ := hrange |
| 49 | obtain ⟨j, z, hz⟩ := exists_generated_affineBlowupChart_point (I.ideal (U i)) (g i) (hgen i) y |
| 50 | refine ⟨⟨i, j⟩, z, ?_⟩ |
| 51 | change GlobalBlowup.Data.Construction.globalBlowupChart I hI (U i) |
| 52 | (Proj.awayι (ReesGrading.Construction.reesGrade (I.ideal (U i))) (Blowup.Charts.Construction.reesGenerator (I.ideal (U i)) (g i j)) |
| 53 | (Blowup.Charts.Construction.reesGenerator_mem (I.ideal (U i)) (g i j)) (by decide) z) = x |
| 54 | exact (congrArg (GlobalBlowup.Data.Construction.globalBlowupChart I hI (U i)) hz).trans hy |
| 55 | |
| 56 | def globalBlowupChosenReesAffineCover : (GlobalBlowup.Data.Construction.globalBlowup I hI).AffineOpenCover where |
| 57 | I₀ := Σ i, κ i |
| 58 | X p := .of (Blowup.Charts.Construction.blowupChart (I.ideal (U p.1)) (g p.1 p.2)) |
| 59 | f p := GlobalControlled.Chart.Construction.globalBlowupReesChart I hI (U p.1) (g p.1 p.2) |
| 60 | idx x := (exists_chosen_globalReesChart I hI U hcover κ g hgen x).choose |
| 61 | covers x := (exists_chosen_globalReesChart I hI U hcover κ g hgen x).choose_spec |
| 62 | |
| 63 | include hcover hgen in |
| 64 | theorem idealSheaf_eq_of_chosen_globalReesCharts (J K : (GlobalBlowup.Data.Construction.globalBlowup I hI).IdealSheafData) |
| 65 | (h : ∀ i j, J.comap (GlobalControlled.Chart.Construction.globalBlowupReesChart I hI (U i) (g i j)) = |
| 66 | K.comap (GlobalControlled.Chart.Construction.globalBlowupReesChart I hI (U i) (g i j))) : J = K := |
| 67 | IdealSheaf.EqualityGluing.Construction.idealSheaf_eq_of_openCover J K (globalBlowupChosenReesAffineCover I hI U hcover κ g hgen).openCover |
| 68 | (fun p => h p.1 p.2) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.Resolution.Blowups.ChosenGlobalReesCover.Construction |