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.GlobalControlled.BaseChangeCharts |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ChosenGlobalReesCover |
| 3 | |
| 4 | /-! # Etale Blowup Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global.EtaleBlowupCover.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual global blowup charts obtained from covering étale coefficient algebras. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} [IsIntegral X] [IsLocallyNoetherian X] |
| 17 | |
| 18 | theorem globalBlowup_baseChange_isPullback (I : X.IdealSheafData) (hI : I ≠ ⊥) |
| 19 | (U : X.affineOpens) {S : Type u} [CommRing S] (φ : Γ(X, U) →+* S) (hφ : φ.Flat) : |
| 20 | IsPullback (ReesMap.Construction.affineBlowupMap (I.ideal U) φ ≫ GlobalBlowup.Data.Construction.globalBlowupChart I hI U) |
| 21 | (ReesGrading.Construction.affineBlowupToSpec ((I.ideal U).map φ)) (GlobalBlowup.Data.Construction.globalBlowupToBase I hI) |
| 22 | (Spec.map (CommRingCat.ofHom φ) ≫ U.2.fromSpec) := by |
| 23 | let : Algebra Γ(X, U) S := φ.toAlgebra |
| 24 | let : Module.Flat Γ(X, U) S := hφ |
| 25 | exact ((Blowup.FlatBaseChange.Construction.affineBlowup_flat_isPullback (S := S) (I.ideal U)).flip.paste_vert |
| 26 | (GlobalBlowup.MapGluing.Construction.globalBlowup_affineSpec_isPullback I hI U).flip).flip |
| 27 | |
| 28 | theorem exists_globalBlowup_baseChange_lift (I : X.IdealSheafData) (hI : I ≠ ⊥) |
| 29 | (U : X.affineOpens) {S : Type u} [CommRing S] (φ : Γ(X, U) →+* S) (hφ : φ.Flat) |
| 30 | (x : GlobalBlowup.Data.Construction.globalBlowup I hI) (q : PrimeSpectrum S) |
| 31 | (hq : GlobalBlowup.Data.Construction.globalBlowupToBase I hI x = (Spec.map (CommRingCat.ofHom φ) ≫ U.2.fromSpec) q) : |
| 32 | ∃ y : ReesGrading.Construction.affineBlowup ((I.ideal U).map φ), |
| 33 | (ReesMap.Construction.affineBlowupMap (I.ideal U) φ ≫ GlobalBlowup.Data.Construction.globalBlowupChart I hI U) y = x ∧ |
| 34 | ReesGrading.Construction.affineBlowupToSpec ((I.ideal U).map φ) y = q := |
| 35 | Scheme.exists_preimage_of_isPullback (globalBlowup_baseChange_isPullback I hI U φ hφ) x q hq |
| 36 | |
| 37 | theorem exists_generated_globalBlowup_baseChangeReesChart |
| 38 | (I : X.IdealSheafData) (hI : I ≠ ⊥) (U : X.affineOpens) |
| 39 | {S : Type u} [CommRing S] (φ : Γ(X, U) →+* S) (hφ : φ.Flat) |
| 40 | {κ : Type u} (g : κ → (I.ideal U).map φ) |
| 41 | (hgen : Ideal.span (Set.range (fun j => (g j).val)) = (I.ideal U).map φ) |
| 42 | (x : GlobalBlowup.Data.Construction.globalBlowup I hI) (q : PrimeSpectrum S) |
| 43 | (hq : GlobalBlowup.Data.Construction.globalBlowupToBase I hI x = (Spec.map (CommRingCat.ofHom φ) ≫ U.2.fromSpec) q) : |
| 44 | ∃ j, ∃ p : PrimeSpectrum (Blowup.Charts.Construction.blowupChart ((I.ideal U).map φ) (g j)), |
| 45 | GlobalControlled.BaseChangeCharts.Construction.globalBlowupBaseChangeReesChart I hI U φ (g j) p = x := by |
| 46 | obtain ⟨y, hy, _⟩ := exists_globalBlowup_baseChange_lift I hI U φ hφ x q hq |
| 47 | obtain ⟨j, p, hp⟩ := ChosenGlobalReesCover.Construction.exists_generated_affineBlowupChart_point ((I.ideal U).map φ) g hgen y |
| 48 | refine ⟨j, p, ?_⟩ |
| 49 | change (ReesMap.Construction.affineBlowupMap (I.ideal U) φ ≫ GlobalBlowup.Data.Construction.globalBlowupChart I hI U) |
| 50 | (Proj.awayι (ReesGrading.Construction.reesGrade ((I.ideal U).map φ)) (Blowup.Charts.Construction.reesGenerator ((I.ideal U).map φ) (g j)) |
| 51 | (Blowup.Charts.Construction.reesGenerator_mem ((I.ideal U).map φ) (g j)) (by decide) p) = x |
| 52 | exact (congrArg (ReesMap.Construction.affineBlowupMap (I.ideal U) φ ≫ GlobalBlowup.Data.Construction.globalBlowupChart I hI U) hp).trans hy |
| 53 | |
| 54 | theorem exists_globalBlowup_etaleReesChart_of_cover |
| 55 | (I : X.IdealSheafData) (hI : I ≠ ⊥) {ι : Type u} (U : ι → X.affineOpens) |
| 56 | (S : ι → Type u) [∀ i, CommRing (S i)] (φ : ∀ i, Γ(X, U i) →+* S i) |
| 57 | (hφ : ∀ i, (φ i).Etale) |
| 58 | (hcover : ∀ x : X, ∃ i, ∃ q : PrimeSpectrum (S i), |
| 59 | (Spec.map (CommRingCat.ofHom (φ i)) ≫ (U i).2.fromSpec) q = x) |
| 60 | (κ : ι → Type u) (g : ∀ i, κ i → (I.ideal (U i)).map (φ i)) |
| 61 | (hgen : ∀ i, Ideal.span (Set.range (fun j => (g i j).val)) = (I.ideal (U i)).map (φ i)) |
| 62 | (x : GlobalBlowup.Data.Construction.globalBlowup I hI) : |
| 63 | ∃ i, ∃ j, ∃ p : PrimeSpectrum (Blowup.Charts.Construction.blowupChart ((I.ideal (U i)).map (φ i)) (g i j)), |
| 64 | GlobalControlled.BaseChangeCharts.Construction.globalBlowupBaseChangeReesChart I hI (U i) (φ i) (g i j) p = x := by |
| 65 | obtain ⟨i, q, hq⟩ := hcover (GlobalBlowup.Data.Construction.globalBlowupToBase I hI x) |
| 66 | obtain ⟨j, p, hp⟩ := exists_generated_globalBlowup_baseChangeReesChart I hI (U i) (φ i) |
| 67 | (RingHom.Etale.iff_flat_and_formallyUnramified.mp (hφ i)).1 (g i) (hgen i) x q hq.symm |
| 68 | exact ⟨i, j, p, hp⟩ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global.EtaleBlowupCover.Construction |