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 Mathlib.RingTheory.ReesAlgebra |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 4 | |
| 5 | /-! # Cone -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.Cone.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: the affine normal cone in its Rees presentation |
| 13 | |
| 14 | For an ideal I of R, the normal-cone algebra is R[It] / I R[It]. |
| 15 | The base map and augmentation are induced by constants and evaluation at |
| 16 | degree zero. Their composite is the identity, giving the cone's canonical |
| 17 | closed zero section over Spec(R/I). |
| 18 | |
| 19 | This is the affine algebraic construction. The degreewise associated-graded |
| 20 | comparison, gluing over a general closed immersion, deformation space, and |
| 21 | specialization on Chow groups are separate steps still needed for refined Gysin. |
| 22 | -/ |
| 23 | |
| 24 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 25 | |
| 26 | universe u |
| 27 | |
| 28 | variable {R : Type u} [CommRing R] |
| 29 | |
| 30 | /-- Extension of I to its actual Rees algebra. -/ |
| 31 | def normalConeIdeal (I : Ideal R) : Ideal (reesAlgebra I) := |
| 32 | I.map (algebraMap R (reesAlgebra I)) |
| 33 | |
| 34 | /-- The standard Rees presentation of the affine normal-cone algebra. -/ |
| 35 | abbrev NormalConeRing (I : Ideal R) := (reesAlgebra I) ⧸ normalConeIdeal I |
| 36 | |
| 37 | /-- Constants induce the structure map from the closed base R/I. -/ |
| 38 | def normalConeBaseMap (I : Ideal R) : R ⧸ I →+* NormalConeRing I := |
| 39 | Ideal.Quotient.lift I |
| 40 | ((Ideal.Quotient.mk (normalConeIdeal I)).comp (algebraMap R (reesAlgebra I))) |
| 41 | (fun _ hr => Ideal.Quotient.eq_zero_iff_mem.mpr |
| 42 | (Ideal.mem_map_of_mem (algebraMap R (reesAlgebra I)) hr)) |
| 43 | |
| 44 | @[simp] |
| 45 | theorem normalConeBaseMap_mk (I : Ideal R) (r : R) : |
| 46 | normalConeBaseMap I (Ideal.Quotient.mk I r) = |
| 47 | Ideal.Quotient.mk (normalConeIdeal I) (algebraMap R (reesAlgebra I) r) := rfl |
| 48 | |
| 49 | /-- Degree-zero evaluation on the Rees subalgebra. -/ |
| 50 | def reesAugmentation (I : Ideal R) : reesAlgebra I →+* R := |
| 51 | Polynomial.constantCoeff.comp (reesAlgebra I).val.toRingHom |
| 52 | |
| 53 | @[simp] |
| 54 | theorem reesAugmentation_algebraMap (I : Ideal R) (r : R) : |
| 55 | reesAugmentation I (algebraMap R (reesAlgebra I) r) = r := by |
| 56 | simp [reesAugmentation] |
| 57 | |
| 58 | /-- The Rees augmentation carries the extended ideal into I. -/ |
| 59 | theorem normalConeIdeal_le_augmentation_ker (I : Ideal R) : |
| 60 | normalConeIdeal I ≤ |
| 61 | RingHom.ker ((Ideal.Quotient.mk I).comp (reesAugmentation I)) := by |
| 62 | apply Ideal.map_le_iff_le_comap.mpr |
| 63 | intro r hr |
| 64 | change Ideal.Quotient.mk I (reesAugmentation I (algebraMap R (reesAlgebra I) r)) = 0 |
| 65 | rw [reesAugmentation_algebraMap] |
| 66 | exact Ideal.Quotient.eq_zero_iff_mem.mpr hr |
| 67 | |
| 68 | /-- Augmentation of the normal-cone algebra to the closed base. -/ |
| 69 | def normalConeAugmentation (I : Ideal R) : NormalConeRing I →+* R ⧸ I := |
| 70 | Ideal.Quotient.lift (normalConeIdeal I) |
| 71 | ((Ideal.Quotient.mk I).comp (reesAugmentation I)) |
| 72 | (fun _ hr => normalConeIdeal_le_augmentation_ker I hr) |
| 73 | |
| 74 | @[simp] |
| 75 | theorem normalConeAugmentation_mk (I : Ideal R) (a : reesAlgebra I) : |
| 76 | normalConeAugmentation I (Ideal.Quotient.mk (normalConeIdeal I) a) = |
| 77 | Ideal.Quotient.mk I (reesAugmentation I a) := rfl |
| 78 | |
| 79 | /-- Constants followed by augmentation are the identity on the base ring. -/ |
| 80 | theorem normalConeAugmentation_comp_base (I : Ideal R) : |
| 81 | (normalConeAugmentation I).comp (normalConeBaseMap I) = RingHom.id (R ⧸ I) := by |
| 82 | apply Ideal.Quotient.ringHom_ext |
| 83 | ext r |
| 84 | change Ideal.Quotient.mk I (reesAugmentation I (algebraMap R (reesAlgebra I) r)) = |
| 85 | Ideal.Quotient.mk I r |
| 86 | rw [reesAugmentation_algebraMap] |
| 87 | |
| 88 | theorem normalConeBaseMap_injective (I : Ideal R) : |
| 89 | Function.Injective (normalConeBaseMap I) := |
| 90 | (show Function.LeftInverse (normalConeAugmentation I) (normalConeBaseMap I) from |
| 91 | fun r => DFunLike.congr_fun (normalConeAugmentation_comp_base I) r).injective |
| 92 | |
| 93 | theorem normalConeAugmentation_surjective (I : Ideal R) : |
| 94 | Function.Surjective (normalConeAugmentation I) := |
| 95 | (show Function.RightInverse (normalConeBaseMap I) (normalConeAugmentation I) from |
| 96 | fun r => DFunLike.congr_fun (normalConeAugmentation_comp_base I) r).surjective |
| 97 | |
| 98 | /-- The actual affine scheme of the normal cone. -/ |
| 99 | def affineNormalCone (I : Ideal R) : Scheme := Spec (CommRingCat.of (NormalConeRing I)) |
| 100 | |
| 101 | /-- The cone's projection to the closed subscheme Spec(R/I). -/ |
| 102 | def affineNormalConeProjection (I : Ideal R) : |
| 103 | affineNormalCone I ⟶ Spec (CommRingCat.of (R ⧸ I)) := |
| 104 | Spec.map (CommRingCat.ofHom (normalConeBaseMap I)) |
| 105 | |
| 106 | /-- The zero section defined by the actual augmentation. -/ |
| 107 | def affineNormalConeZeroSection (I : Ideal R) : |
| 108 | Spec (CommRingCat.of (R ⧸ I)) ⟶ affineNormalCone I := |
| 109 | Spec.map (CommRingCat.ofHom (normalConeAugmentation I)) |
| 110 | |
| 111 | theorem affineNormalConeZeroSection_projection (I : Ideal R) : |
| 112 | affineNormalConeZeroSection I ≫ affineNormalConeProjection I = |
| 113 | 𝟙 (Spec (CommRingCat.of (R ⧸ I))) := by |
| 114 | let b : CommRingCat.of (R ⧸ I) ⟶ CommRingCat.of (NormalConeRing I) := |
| 115 | CommRingCat.ofHom (normalConeBaseMap I) |
| 116 | let a : CommRingCat.of (NormalConeRing I) ⟶ CommRingCat.of (R ⧸ I) := |
| 117 | CommRingCat.ofHom (normalConeAugmentation I) |
| 118 | have h : b ≫ a = 𝟙 (CommRingCat.of (R ⧸ I)) := by |
| 119 | apply CommRingCat.hom_ext |
| 120 | exact normalConeAugmentation_comp_base I |
| 121 | exact (Spec.map_comp b a).symm.trans |
| 122 | ((congrArg Spec.map h).trans (Spec.map_id _)) |
| 123 | |
| 124 | /-- The canonical zero section is a closed immersion. -/ |
| 125 | instance affineNormalConeZeroSection_isClosedImmersion (I : Ideal R) : |
| 126 | IsClosedImmersion (affineNormalConeZeroSection I) := |
| 127 | IsClosedImmersion.spec_of_surjective _ (normalConeAugmentation_surjective I) |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.Cone.BundleCycles |