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.Divisors.LineBundles.Symmetric.ScalarMap |
| 2 | import Mathlib.RingTheory.Ideal.Cotangent |
| 3 | |
| 4 | /-! # Conormal Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Conormal.ConormalRestriction.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! # LineBundleCycles: actual conormal and symmetric-algebra restriction maps -/ |
| 13 | |
| 14 | variable {R S : Type} [CommRing R] [CommRing S] |
| 15 | |
| 16 | def cotangentCoefficientMap (I : Ideal R) (J : Ideal S) (f : R →+* S) (hf : I ≤ J.comap f) : |
| 17 | I.Cotangent →ₛₗ[Ideal.quotientMap J f hf] J.Cotangent := by |
| 18 | let : Algebra R S := f.toAlgebra |
| 19 | let h : I.Cotangent →ₗ[R] J.Cotangent := Ideal.mapCotangent I J (Algebra.ofId R S) hf |
| 20 | exact { |
| 21 | toFun := h |
| 22 | map_add' := h.map_add |
| 23 | map_smul' := fun r m => by |
| 24 | obtain ⟨r, rfl⟩ := Ideal.Quotient.mk_surjective r |
| 25 | rw [Ideal.quotientMap_mk] |
| 26 | change h ((algebraMap R (R ⧸ I) r) • m) = (algebraMap S (S ⧸ J) (f r)) • h m |
| 27 | rw [algebraMap_smul, map_smul, algebraMap_smul] |
| 28 | rfl |
| 29 | } |
| 30 | |
| 31 | theorem cotangentCoefficientMap_toCotangent (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 32 | (hf : I ≤ J.comap f) (r : I) : |
| 33 | cotangentCoefficientMap I J f hf (I.toCotangent r) = J.toCotangent ⟨f r.val, hf r.property⟩ := rfl |
| 34 | |
| 35 | def conormalSymmetricRestriction (I : Ideal R) (J : Ideal S) (f : R →+* S) (hf : I ≤ J.comap f) : |
| 36 | SymmetricAlgebra (R ⧸ I) I.Cotangent →+* SymmetricAlgebra (S ⧸ J) J.Cotangent := |
| 37 | Symmetric.ScalarMap.BundleCycles.symmetricScalarMap (Ideal.quotientMap J f hf) (cotangentCoefficientMap I J f hf) |
| 38 | |
| 39 | theorem conormalSymmetricRestriction_generator (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 40 | (hf : I ≤ J.comap f) (r : I) : |
| 41 | conormalSymmetricRestriction I J f hf (SymmetricAlgebra.ι (R ⧸ I) I.Cotangent (I.toCotangent r)) = |
| 42 | SymmetricAlgebra.ι (S ⧸ J) J.Cotangent (J.toCotangent ⟨f r.val, hf r.property⟩) := |
| 43 | Symmetric.ScalarMap.BundleCycles.symmetricScalarMap_generator _ _ _ |
| 44 | |
| 45 | theorem conormalSymmetricRestriction_algebraMap (I : Ideal R) (J : Ideal S) (f : R →+* S) |
| 46 | (hf : I ≤ J.comap f) (r : R ⧸ I) : |
| 47 | conormalSymmetricRestriction I J f hf (algebraMap (R ⧸ I) (SymmetricAlgebra (R ⧸ I) I.Cotangent) r) = |
| 48 | algebraMap (S ⧸ J) (SymmetricAlgebra (S ⧸ J) J.Cotangent) (Ideal.quotientMap J f hf r) := |
| 49 | Symmetric.ScalarMap.BundleCycles.symmetricScalarMap_algebraMap _ _ _ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | /-! # LineBundleCycles: identity and composition for actual conormal symmetric restrictions -/ |
| 54 | |
| 55 | variable {R S T : Type} [CommRing R] [CommRing S] [CommRing T] |
| 56 | |
| 57 | theorem conormalSymmetricRestriction_congr (I : Ideal R) (J : Ideal S) |
| 58 | {f g : R →+* S} (h : f = g) (hf : I ≤ J.comap f) (hg : I ≤ J.comap g) : |
| 59 | conormalSymmetricRestriction I J f hf = conormalSymmetricRestriction I J g hg := by |
| 60 | subst g |
| 61 | rfl |
| 62 | |
| 63 | theorem conormalIdeal_le_comap_id (I : Ideal R) : I ≤ I.comap (RingHom.id R) := fun _ h => h |
| 64 | |
| 65 | theorem conormalIdeal_le_comap_comp (I : Ideal R) (J : Ideal S) (K : Ideal T) |
| 66 | (f : R →+* S) (g : S →+* T) (hf : I ≤ J.comap f) (hg : J ≤ K.comap g) : |
| 67 | I ≤ K.comap (g.comp f) := fun _ h => hg (hf h) |
| 68 | |
| 69 | theorem conormalSymmetricRestriction_id (I : Ideal R) : |
| 70 | conormalSymmetricRestriction I I (RingHom.id R) (conormalIdeal_le_comap_id I) = |
| 71 | RingHom.id (SymmetricAlgebra (R ⧸ I) I.Cotangent) := by |
| 72 | apply Symmetric.ScalarMap.BundleCycles.symmetricRingHom_ext |
| 73 | · intro a |
| 74 | rw [conormalSymmetricRestriction_algebraMap I I (RingHom.id R) (conormalIdeal_le_comap_id I)] |
| 75 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 76 | rfl |
| 77 | · intro a |
| 78 | obtain ⟨a, rfl⟩ := I.toCotangent_surjective a |
| 79 | rw [conormalSymmetricRestriction_generator I I (RingHom.id R) (conormalIdeal_le_comap_id I)] |
| 80 | rfl |
| 81 | |
| 82 | theorem conormalSymmetricRestriction_comp (I : Ideal R) (J : Ideal S) (K : Ideal T) |
| 83 | (f : R →+* S) (g : S →+* T) (hf : I ≤ J.comap f) (hg : J ≤ K.comap g) : |
| 84 | (conormalSymmetricRestriction J K g hg).comp (conormalSymmetricRestriction I J f hf) = |
| 85 | conormalSymmetricRestriction I K (g.comp f) (conormalIdeal_le_comap_comp I J K f g hf hg) := by |
| 86 | apply Symmetric.ScalarMap.BundleCycles.symmetricRingHom_ext |
| 87 | · intro a |
| 88 | change conormalSymmetricRestriction J K g hg |
| 89 | (conormalSymmetricRestriction I J f hf (algebraMap _ _ a)) = _ |
| 90 | rw [conormalSymmetricRestriction_algebraMap I J f hf, |
| 91 | conormalSymmetricRestriction_algebraMap J K g hg, |
| 92 | conormalSymmetricRestriction_algebraMap I K (g.comp f) (conormalIdeal_le_comap_comp I J K f g hf hg)] |
| 93 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 94 | rfl |
| 95 | · intro a |
| 96 | obtain ⟨a, rfl⟩ := I.toCotangent_surjective a |
| 97 | change conormalSymmetricRestriction J K g hg |
| 98 | (conormalSymmetricRestriction I J f hf (SymmetricAlgebra.ι _ _ _)) = _ |
| 99 | rw [conormalSymmetricRestriction_generator I J f hf, |
| 100 | conormalSymmetricRestriction_generator J K g hg, |
| 101 | conormalSymmetricRestriction_generator I K (g.comp f) (conormalIdeal_le_comap_comp I J K f g hf hg)] |
| 102 | rfl |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Conormal.ConormalRestriction.BundleCycles |