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.GlobalSurface.Center |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalComponent.CenterRestriction |
| 3 | |
| 4 | /-! # Center Etale Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The fixed-level native surface center has its exact formula on every étale affine chart. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} {n : ℕ} |
| 15 | |
| 16 | theorem GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.surfaceCenter_restrict_etale (A : GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (ℓ : ℕ) |
| 17 | (hb : ∀ i, (A.choice i).HasBound (ℓ + 1)) |
| 18 | (hd : ∀ i, ringKrullDim (A.rings i) ≤ 2) (hlevel : (n + 1).factorial ≤ ℓ + 1) |
| 19 | (R : CommRingCat) |
| 20 | [Algebra ℂ R] [Algebra ℚ R] [Algebra.Smooth ℂ R] |
| 21 | (j : Spec R ⟶ X) [Etale j] |
| 22 | (hj : j ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R) (L : Ideal R) (hL : J.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel L) |
| 23 | (C : Surface.TangentCenterChoice.Construction.SurfaceTangentCenterChoice ℂ R L n ℓ) (hdR : ringKrullDim R ≤ 2) : |
| 24 | (A.surfaceCenter ℓ hb hd hlevel).comap j = Affine.QuotientKernel.Construction.affineQuotientKernel C.center := by |
| 25 | let : IsNoetherianRing R := Algebra.FiniteType.isNoetherianRing ℂ R |
| 26 | have hcover : (⨆ i, (pullback.snd (A.map i) j).opensRange) = ⊤ := by |
| 27 | simp_rw [Scheme.Hom.opensRange_pullbackSnd] |
| 28 | rw [← Scheme.Hom.preimage_iSup, A.cover, Scheme.Hom.preimage_top] |
| 29 | let 𝒰 : (Spec R).OpenCover := Scheme.Cover.mkOfCovers A.indices |
| 30 | (fun i => pullback (A.map i) j) (fun i => pullback.snd (A.map i) j) |
| 31 | (by |
| 32 | intro x |
| 33 | have hx : x ∈ ⨆ i, (pullback.snd (A.map i) j).opensRange := by rw [hcover]; trivial |
| 34 | exact TopologicalSpace.Opens.mem_iSup.mp hx) |
| 35 | (fun _ => inferInstance) |
| 36 | apply IdealSheaf.EqualityGluing.Construction.idealSheaf_eq_of_openCover _ _ 𝒰 |
| 37 | intro i |
| 38 | change A.indices at i |
| 39 | change ((A.surfaceCenter ℓ hb hd hlevel).comap j).comap (pullback.snd (A.map i) j) = |
| 40 | (Affine.QuotientKernel.Construction.affineQuotientKernel C.center).comap (pullback.snd (A.map i) j) |
| 41 | rw [← Scheme.IdealSheafData.comap_comp, ← pullback.condition, |
| 42 | Scheme.IdealSheafData.comap_comp, A.surfaceCenter_restrict ℓ hb hd hlevel i] |
| 43 | apply GlobalCoefficient.ComponentGluing.Construction.idealSheaf_eq_of_fromSpec |
| 44 | intro W |
| 45 | let P := pullback (A.map i) j |
| 46 | let S := Γ(P, W) |
| 47 | let u : Spec (.of S) ⟶ Spec (A.rings i) := W.2.fromSpec ≫ pullback.fst (A.map i) j |
| 48 | let v : Spec (.of S) ⟶ Spec R := W.2.fromSpec ≫ pullback.snd (A.map i) j |
| 49 | let φ : A.rings i →+* S := (Spec.preimage u).hom |
| 50 | let ψ : R →+* S := (Spec.preimage v).hom |
| 51 | have hφ : Spec.map (CommRingCat.ofHom φ) = u := Spec.map_preimage u |
| 52 | have hψ : Spec.map (CommRingCat.ofHom ψ) = v := Spec.map_preimage v |
| 53 | have hcomm : u ≫ A.map i = v ≫ j := by |
| 54 | dsimp only [u, v] |
| 55 | rw [Category.assoc, Category.assoc, pullback.condition] |
| 56 | have hbase : φ.comp (algebraMap ℂ (A.rings i)) = ψ.comp (algebraMap ℂ R) := by |
| 57 | have he : CommRingCat.ofHom (φ.comp (algebraMap ℂ (A.rings i))) = |
| 58 | CommRingCat.ofHom (ψ.comp (algebraMap ℂ R)) := by |
| 59 | apply Spec.map_injective |
| 60 | change Spec.map (CommRingCat.ofHom (algebraMap ℂ (A.rings i)) ≫ CommRingCat.ofHom φ) = |
| 61 | Spec.map (CommRingCat.ofHom (algebraMap ℂ R) ≫ CommRingCat.ofHom ψ) |
| 62 | rw [Spec.map_comp, Spec.map_comp, hφ, hψ] |
| 63 | change u ≫ ComplexAffineDifferentialIdeal.Construction.complexSpecStructure (A.rings i) = v ≫ ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R |
| 64 | rw [← A.ground i, ← hj] |
| 65 | simpa only [Category.assoc] using congrArg (fun m => m ≫ f) hcomm |
| 66 | exact congrArg CommRingCat.Hom.hom he |
| 67 | let : Algebra ℂ S := (φ.comp (algebraMap ℂ (A.rings i))).toAlgebra |
| 68 | let φₖ : A.rings i →ₐ[ℂ] S := { __ := φ, commutes' := fun _ => rfl } |
| 69 | let ψₖ : R →ₐ[ℂ] S := { __ := ψ, commutes' := fun c => (RingHom.congr_fun hbase c).symm } |
| 70 | let : IsOpenImmersion W.2.fromSpec := W.2.isOpenImmersion_fromSpec |
| 71 | have hφe : φₖ.toRingHom.Etale := by |
| 72 | apply (HasRingHomProperty.Spec_iff (P := @Etale)).mp |
| 73 | rw [Spec.map_preimage] |
| 74 | exact inferInstanceAs (Etale u) |
| 75 | have hψe : ψₖ.toRingHom.Etale := by |
| 76 | apply (HasRingHomProperty.Spec_iff (P := @Etale)).mp |
| 77 | rw [Spec.map_preimage] |
| 78 | exact inferInstanceAs (Etale v) |
| 79 | have hJL : (A.ideals i).map φ = L.map ψ := by |
| 80 | apply (GlobalCoefficient.ComponentGluing.Construction.affineQuotientKernel_eq_iff _ _).mp |
| 81 | rw [← Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, ← Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, hφ, hψ, |
| 82 | ← A.ideal_eq i, ← hL, ← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp, hcomm] |
| 83 | have hc := Surface.TangentCenterChoice.Construction.SurfaceTangentCenterChoice.center_eq_on_common_refinement φₖ ψₖ hφe hψe hJL |
| 84 | ((A.choice i).toSurfaceTangentChoice ℓ (hb i)) C (hd i) hdR hlevel |
| 85 | rw [← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp] |
| 86 | change (Affine.QuotientKernel.Construction.affineQuotientKernel ((A.choice i).toSurfaceTangentChoice ℓ (hb i)).center).comap u = (Affine.QuotientKernel.Construction.affineQuotientKernel C.center).comap v |
| 87 | rw [← hφ, ← hψ, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom] |
| 88 | exact congrArg Affine.QuotientKernel.Construction.affineQuotientKernel hc |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Resolution.Blowups |