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