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.Global.ReducedReesComparison |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.EtaleAffineFactorization |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.EtaleBlowupCover |
| 4 | |
| 5 | /-! # Reduced Rees Point Cover -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global.ReducedReesPointCover.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every chosen generating family gives actual pointed global Rees comparisons over an étale affine chart. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem exists_globalReducedReesComparison_of_factorization |
| 16 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 17 | (I : X.IdealSheafData) (hI : I ≠ ⊥) (R : CommRingCat) [_root_.IsReduced R] |
| 18 | (q : Spec R ⟶ X) (A : Ideal R) (hA : I.comap q = Affine.QuotientKernel.Construction.affineQuotientKernel A) |
| 19 | (U : X.affineOpens) (φ : Γ(X, U) →+* R) (hφ : φ.Etale) |
| 20 | (hq : q = Spec.map (CommRingCat.ofHom φ) ≫ U.2.fromSpec) |
| 21 | {κ : Type} (g : κ → A) (hgen : Ideal.span (Set.range (fun i => (g i).val)) = A) |
| 22 | (x : GlobalBlowup.Data.Construction.globalBlowup I hI) (p : PrimeSpectrum R) (hp : q p = GlobalBlowup.Data.Construction.globalBlowupToBase I hI x) : |
| 23 | ∃ i, ∃ P : PrimeSpectrum (Blowup.Charts.Construction.blowupChart A (g i)), ReducedReesComparison.Construction.globalReducedReesComparison I hI R q A hA (g i) P = x := by |
| 24 | subst q |
| 25 | have he : A = (I.ideal U).map φ := by |
| 26 | apply (GlobalCoefficient.ComponentGluing.Construction.affineQuotientKernel_eq_iff _ _).mp |
| 27 | exact hA.symm.trans (Affine.IdealSheafIdentification.Construction.idealSheaf_comap_affineMap_eq_quotient_kernel I U φ) |
| 28 | subst A |
| 29 | obtain ⟨i, P, hP⟩ := EtaleBlowupCover.Construction.exists_generated_globalBlowup_baseChangeReesChart I hI U φ |
| 30 | (RingHom.Etale.iff_flat_and_formallyUnramified.mp hφ).1 g hgen x p hp.symm |
| 31 | refine ⟨i, P, ?_⟩ |
| 32 | rw [ReducedReesComparison.Construction.globalReducedReesComparison_eq_baseChange] |
| 33 | exact hP |
| 34 | |
| 35 | theorem exists_generated_globalReducedReesComparison_point |
| 36 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 37 | (I : X.IdealSheafData) (hI : I ≠ ⊥) (R : CommRingCat) [_root_.IsReduced R] |
| 38 | (q : Spec R ⟶ X) [Etale q] (A : Ideal R) (hA : I.comap q = Affine.QuotientKernel.Construction.affineQuotientKernel A) |
| 39 | {κ : Type} (g : κ → A) (hgen : Ideal.span (Set.range (fun i => (g i).val)) = A) |
| 40 | (x : GlobalBlowup.Data.Construction.globalBlowup I hI) (p : PrimeSpectrum R) (hp : q p = GlobalBlowup.Data.Construction.globalBlowupToBase I hI x) : |
| 41 | ∃ i, ∃ P : PrimeSpectrum (Blowup.Charts.Construction.blowupChart A (g i)), ReducedReesComparison.Construction.globalReducedReesComparison I hI R q A hA (g i) P = x := by |
| 42 | obtain ⟨U, S, φ, ψ, hopen, hψ, hcomm, Q, hQ⟩ := Pointed.EtaleAffineFactorization.Construction.exists_pointed_etale_affine_factorization R q p |
| 43 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom φ)) := hopen |
| 44 | let : AlgebraicGeometry.IsReduced (Spec S) := isReduced_of_isOpenImmersion (Spec.map (CommRingCat.ofHom φ)) |
| 45 | let : _root_.IsReduced S := (affine_isReduced_iff S).mp inferInstance |
| 46 | have hS : I.comap (Spec.map (CommRingCat.ofHom φ) ≫ q) = Affine.QuotientKernel.Construction.affineQuotientKernel (A.map φ) := by |
| 47 | rw [Scheme.IdealSheafData.comap_comp, hA, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom] |
| 48 | let gS : κ → A.map φ := fun i => ⟨φ (g i).val, Ideal.mem_map_of_mem φ (g i).property⟩ |
| 49 | have hgenS : Ideal.span (Set.range (fun i => (gS i).val)) = A.map φ := by |
| 50 | have h := congrArg (Ideal.map φ) hgen |
| 51 | rw [Ideal.map_span, ← Set.range_comp] at h |
| 52 | exact h |
| 53 | have hQx : (Spec.map (CommRingCat.ofHom φ) ≫ q) Q = GlobalBlowup.Data.Construction.globalBlowupToBase I hI x := by |
| 54 | change q (PrimeSpectrum.comap φ Q) = _ |
| 55 | rw [hQ] |
| 56 | exact hp |
| 57 | obtain ⟨i, P, hP⟩ := exists_globalReducedReesComparison_of_factorization I hI S _ (A.map φ) hS |
| 58 | U ψ hψ hcomm gS hgenS x Q hQx |
| 59 | refine ⟨i, PrimeSpectrum.comap (ChartLift.Construction.blowupChartMap A φ (g i)) P, ?_⟩ |
| 60 | have he := ReducedReesComparison.Construction.globalReducedReesComparison_refinement I hI R S q A hA (g i) φ hS |
| 61 | have h := congrArg (fun u => u P) he |
| 62 | exact h.trans hP |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global.ReducedReesPointCover.Construction |