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.IdealSheaf.CongruentMaps |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf.AffinePullback |
| 3 | |
| 4 | /-! # Ideal Sheaf Congruence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Affine.IdealSheafCongruence.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The proved algebraic congruence of comparison maps is intrinsic congruence of their actual affine scheme maps. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem scheme_maps_agree_on_kernel_of_closed |
| 17 | {Z U X : Scheme.{u}} (j : Z ⟶ U) [IsClosedImmersion j] (a b : U ⟶ X) (h : j ≫ a = j ≫ b) : |
| 18 | j.ker.subschemeι ≫ a = j.ker.subschemeι ≫ b := by |
| 19 | apply (cancel_epi j.toImage).mp |
| 20 | change j.toImage ≫ (j.imageι ≫ a) = j.toImage ≫ (j.imageι ≫ b) |
| 21 | simpa only [← Category.assoc, j.toImage_imageι] using h |
| 22 | |
| 23 | theorem idealSheafCongruent_Spec_of_congruence |
| 24 | {R S : Type u} [CommRing R] [CommRing S] (f g : R →+* S) (T : Ideal R) |
| 25 | (hT : T.map f = T.map g) (hdiff : ∀ x : R, g x - f x ∈ T.map f) : |
| 26 | IdealSheaf.CongruentMaps.Construction.IdealSheafCongruent (Spec.map (CommRingCat.ofHom f)) (Spec.map (CommRingCat.ofHom g)) |
| 27 | (QuotientKernel.Construction.affineQuotientKernel T) := by |
| 28 | let : IsClosedImmersion (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (T.map f)))) := |
| 29 | IsClosedImmersion.spec_of_surjective _ Ideal.Quotient.mk_surjective |
| 30 | constructor |
| 31 | · rw [IdealChartDescent.Construction.affineQuotientKernel_comap_hom, IdealChartDescent.Construction.affineQuotientKernel_comap_hom, hT] |
| 32 | · rw [IdealChartDescent.Construction.affineQuotientKernel_comap_hom] |
| 33 | apply scheme_maps_agree_on_kernel_of_closed |
| 34 | (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (T.map f)))) |
| 35 | have he : (Ideal.Quotient.mk (T.map f)).comp f = (Ideal.Quotient.mk (T.map f)).comp g := by |
| 36 | apply RingHom.ext |
| 37 | intro x |
| 38 | exact (Ideal.Quotient.eq.mpr (hdiff x)).symm |
| 39 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 40 | exact congrArg Spec.map (congrArg CommRingCat.ofHom he) |
| 41 | |
| 42 | theorem idealSheafCongruent_Spec_iff |
| 43 | {R S : Type u} [CommRing R] [CommRing S] (f g : R →+* S) (T : Ideal R) : |
| 44 | IdealSheaf.CongruentMaps.Construction.IdealSheafCongruent (Spec.map (CommRingCat.ofHom f)) (Spec.map (CommRingCat.ofHom g)) |
| 45 | (QuotientKernel.Construction.affineQuotientKernel T) ↔ T.map f = T.map g ∧ (∀ x : R, g x - f x ∈ T.map f) := by |
| 46 | constructor |
| 47 | · intro h |
| 48 | have hT : QuotientKernel.Construction.affineQuotientKernel (T.map f) = QuotientKernel.Construction.affineQuotientKernel (T.map g) := by |
| 49 | simpa only [IdealChartDescent.Construction.affineQuotientKernel_comap_hom] using h.1 |
| 50 | refine ⟨(GlobalCoefficient.ComponentGluing.Construction.affineQuotientKernel_eq_iff _ _).mp hT, ?_⟩ |
| 51 | let q := Ideal.Quotient.mk (T.map f) |
| 52 | let j := Spec.map (CommRingCat.ofHom q) |
| 53 | have hr : (QuotientKernel.Construction.affineQuotientKernel (T.map f)).subschemeι ≫ Spec.map (CommRingCat.ofHom f) = |
| 54 | (QuotientKernel.Construction.affineQuotientKernel (T.map f)).subschemeι ≫ Spec.map (CommRingCat.ofHom g) := by |
| 55 | rw [← IdealChartDescent.Construction.affineQuotientKernel_comap_hom] |
| 56 | exact h.2 |
| 57 | have hm := congrArg (fun m => j.toImage ≫ m) hr |
| 58 | have hspec : j ≫ Spec.map (CommRingCat.ofHom f) = j ≫ Spec.map (CommRingCat.ofHom g) := by |
| 59 | change j.toImage ≫ (j.imageι ≫ Spec.map (CommRingCat.ofHom f)) = |
| 60 | j.toImage ≫ (j.imageι ≫ Spec.map (CommRingCat.ofHom g)) at hm |
| 61 | simpa only [← Category.assoc, j.toImage_imageι] using hm |
| 62 | have he : CommRingCat.ofHom (q.comp f) = CommRingCat.ofHom (q.comp g) := by |
| 63 | apply Spec.map_injective |
| 64 | change Spec.map (CommRingCat.ofHom f ≫ CommRingCat.ofHom q) = |
| 65 | Spec.map (CommRingCat.ofHom g ≫ CommRingCat.ofHom q) |
| 66 | rw [Spec.map_comp, Spec.map_comp] |
| 67 | exact hspec |
| 68 | intro x |
| 69 | exact Ideal.Quotient.eq.mp (RingHom.congr_fun (congrArg CommRingCat.Hom.hom he) x).symm |
| 70 | · rintro ⟨hT, hdiff⟩ |
| 71 | exact idealSheafCongruent_Spec_of_congruence f g T hT hdiff |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Resolution.Blowups.Affine.IdealSheafCongruence.Construction |