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.ReesCoefficients |
| 2 | import Mathlib.RingTheory.Ideal.Cotangent |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Symmetric.Extension |
| 4 | |
| 5 | /-! # Cone Symmetric -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.ConeSymmetric.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! # LineBundleCycles: the canonical map from conormal vectors to the actual normal-cone algebra -/ |
| 14 | |
| 15 | open _root_.Polynomial |
| 16 | |
| 17 | variable {R : Type} [CommRing R] (I : Ideal R) |
| 18 | |
| 19 | def reesDegreeOne : I →ₗ[R] reesAlgebra I where |
| 20 | toFun r := ⟨monomial 1 r.1, reesAlgebra.monomial_mem.mpr (by simpa only [pow_one] using r.2)⟩ |
| 21 | map_add' r s := Subtype.ext (map_add (monomial 1) r.1 s.1) |
| 22 | map_smul' r s := Subtype.ext ((monomial 1 : R →ₗ[R] R[X]).map_smul r s.1) |
| 23 | |
| 24 | def normalConeDegreeOne : I →ₗ[R] Cone.BundleCycles.NormalConeRing I := |
| 25 | (Ideal.Quotient.mkₐ R (Cone.BundleCycles.normalConeIdeal I)).toLinearMap.comp (reesDegreeOne I) |
| 26 | |
| 27 | theorem normalConeDegreeOne_eq_zero (r : I) (hr : r.1 ∈ I ^ 2) : normalConeDegreeOne I r = 0 := by |
| 28 | apply Ideal.Quotient.eq_zero_iff_mem.mpr |
| 29 | apply (ReesCoefficients.BundleCycles.mem_normalConeIdeal_iff I (reesDegreeOne I r)).mpr |
| 30 | intro n |
| 31 | change (monomial 1 r.1).coeff n ∈ I ^ (n + 1) |
| 32 | rw [coeff_monomial] |
| 33 | split_ifs with hn |
| 34 | · subst n |
| 35 | exact hr |
| 36 | · exact Ideal.zero_mem _ |
| 37 | |
| 38 | def normalConeConormalLinear : I.Cotangent →ₗ[R] Cone.BundleCycles.NormalConeRing I := |
| 39 | (I • (⊤ : Submodule R I)).liftQ (normalConeDegreeOne I) (by |
| 40 | intro r hr |
| 41 | apply normalConeDegreeOne_eq_zero I r |
| 42 | apply (I.mem_toCotangent_ker).mp |
| 43 | exact (Submodule.ker_mkQ (I • (⊤ : Submodule R I))).symm ▸ hr) |
| 44 | |
| 45 | abbrev normalConeQuotientAlgebra : Algebra (R ⧸ I) (Cone.BundleCycles.NormalConeRing I) := |
| 46 | @RingHom.toAlgebra (R ⧸ I) (Cone.BundleCycles.NormalConeRing I) _ _ (Cone.BundleCycles.normalConeBaseMap I) |
| 47 | |
| 48 | attribute [local instance] normalConeQuotientAlgebra |
| 49 | |
| 50 | instance normalConeQuotient_scalarTower : IsScalarTower R (R ⧸ I) (Cone.BundleCycles.NormalConeRing I) := |
| 51 | IsScalarTower.of_algebraMap_eq fun _ => rfl |
| 52 | |
| 53 | def normalConeConormalMap : I.Cotangent →ₗ[R ⧸ I] Cone.BundleCycles.NormalConeRing I := |
| 54 | (LinearMap.extendScalarsOfSurjectiveEquiv (Ideal.Quotient.mk_surjective : |
| 55 | Function.Surjective (algebraMap R (R ⧸ I)))) (normalConeConormalLinear I) |
| 56 | |
| 57 | theorem normalConeConormalMap_toCotangent (r : I) : |
| 58 | normalConeConormalMap I (I.toCotangent r) = |
| 59 | Ideal.Quotient.mk (Cone.BundleCycles.normalConeIdeal I) (reesDegreeOne I r) := rfl |
| 60 | |
| 61 | def normalConeSymmetricData : |
| 62 | {g : SymmetricAlgebra (R ⧸ I) I.Cotangent →+* Cone.BundleCycles.NormalConeRing I // |
| 63 | (∀ r : I, g (SymmetricAlgebra.ι (R ⧸ I) I.Cotangent (I.toCotangent r)) = |
| 64 | Ideal.Quotient.mk (Cone.BundleCycles.normalConeIdeal I) (reesDegreeOne I r)) ∧ |
| 65 | ∀ a : R ⧸ I, g (algebraMap (R ⧸ I) (SymmetricAlgebra (R ⧸ I) I.Cotangent) a) = Cone.BundleCycles.normalConeBaseMap I a} := by |
| 66 | let e := @Symmetric.Extension.BundleCycles.symmetricExtension (R ⧸ I) I.Cotangent (Cone.BundleCycles.NormalConeRing I) (by infer_instance) |
| 67 | (by infer_instance) (by infer_instance) (by infer_instance) (normalConeQuotientAlgebra I) |
| 68 | (normalConeConormalMap I) |
| 69 | refine ⟨e.val, ?_, ?_⟩ |
| 70 | · intro r |
| 71 | exact (e.property.1 (I.toCotangent r)).trans (normalConeConormalMap_toCotangent I r) |
| 72 | · intro a |
| 73 | exact e.property.2 a |
| 74 | |
| 75 | def normalConeSymmetricMap : SymmetricAlgebra (R ⧸ I) I.Cotangent →+* Cone.BundleCycles.NormalConeRing I := |
| 76 | (normalConeSymmetricData I).val |
| 77 | |
| 78 | end |
| 79 | |
| 80 | section |
| 81 | |
| 82 | /-! # LineBundleCycles: the canonical conormal symmetric map on its actual generators -/ |
| 83 | |
| 84 | variable {R : Type} [CommRing R] (I : Ideal R) |
| 85 | attribute [local instance] normalConeQuotientAlgebra |
| 86 | |
| 87 | theorem normalConeSymmetricMap_generator (r : I) : |
| 88 | normalConeSymmetricMap I (SymmetricAlgebra.ι (R ⧸ I) I.Cotangent (I.toCotangent r)) = |
| 89 | Ideal.Quotient.mk (Cone.BundleCycles.normalConeIdeal I) (reesDegreeOne I r) := |
| 90 | (normalConeSymmetricData I).property.1 r |
| 91 | |
| 92 | theorem normalConeSymmetricMap_algebraMap (a : R ⧸ I) : |
| 93 | normalConeSymmetricMap I (algebraMap (R ⧸ I) (SymmetricAlgebra (R ⧸ I) I.Cotangent) a) = |
| 94 | Cone.BundleCycles.normalConeBaseMap I a := |
| 95 | (normalConeSymmetricData I).property.2 a |
| 96 | |
| 97 | end |
| 98 | |
| 99 | /-! # LineBundleCycles: the normal cone is the actual quotient of its conormal symmetric algebra -/ |
| 100 | |
| 101 | open _root_.Polynomial |
| 102 | open scoped BigOperators |
| 103 | |
| 104 | variable {R : Type} [CommRing R] (I : Ideal R) |
| 105 | |
| 106 | attribute [local instance] normalConeQuotientAlgebra |
| 107 | |
| 108 | def reesMonomial (n : ℕ) (r : R) (hr : r ∈ I ^ n) : reesAlgebra I := |
| 109 | ⟨monomial n r, reesAlgebra.monomial_mem.mpr hr⟩ |
| 110 | |
| 111 | theorem symmetricRange_contains_monomial (n : ℕ) (r : R) (hr : r ∈ I ^ n) : |
| 112 | ∃ p : reesAlgebra I, Ideal.Quotient.mk (Cone.BundleCycles.normalConeIdeal I) p ∈ (normalConeSymmetricMap I).rangeS ∧ |
| 113 | p.val = monomial n r := by |
| 114 | induction n generalizing r with |
| 115 | | zero => |
| 116 | refine ⟨algebraMap R (reesAlgebra I) r, ?_, rfl⟩ |
| 117 | exact ⟨algebraMap (R ⧸ I) (SymmetricAlgebra (R ⧸ I) I.Cotangent) (Ideal.Quotient.mk I r), |
| 118 | normalConeSymmetricMap_algebraMap I (Ideal.Quotient.mk I r)⟩ |
| 119 | | succ n ih => |
| 120 | rw [pow_succ'] at hr |
| 121 | refine Submodule.smul_induction_on hr ?_ ?_ |
| 122 | · intro a ha b hb |
| 123 | obtain ⟨p, hp, he⟩ := ih b hb |
| 124 | have ha' : Ideal.Quotient.mk (Cone.BundleCycles.normalConeIdeal I) (reesDegreeOne I ⟨a, ha⟩) ∈ |
| 125 | (normalConeSymmetricMap I).rangeS := |
| 126 | ⟨SymmetricAlgebra.ι (R ⧸ I) I.Cotangent (I.toCotangent ⟨a, ha⟩), normalConeSymmetricMap_generator I _⟩ |
| 127 | refine ⟨reesDegreeOne I ⟨a, ha⟩ * p, ?_, ?_⟩ |
| 128 | · rw [map_mul] |
| 129 | exact (normalConeSymmetricMap I).rangeS.mul_mem ha' hp |
| 130 | · change monomial 1 a * p.val = monomial (n + 1) (a * b) |
| 131 | rw [he, monomial_mul_monomial, Nat.add_comm 1 n] |
| 132 | · intro a b ha hb |
| 133 | obtain ⟨p, hp, he⟩ := ha |
| 134 | obtain ⟨q, hq, hf⟩ := hb |
| 135 | refine ⟨p + q, ?_, ?_⟩ |
| 136 | · rw [map_add] |
| 137 | exact (normalConeSymmetricMap I).rangeS.add_mem hp hq |
| 138 | · change p.val + q.val = _ |
| 139 | rw [he, hf, map_add] |
| 140 | |
| 141 | theorem normalConeMonomial_mem_symmetricRange (n : ℕ) (r : R) (hr : r ∈ I ^ n) : |
| 142 | Ideal.Quotient.mk (Cone.BundleCycles.normalConeIdeal I) (reesMonomial I n r hr) ∈ (normalConeSymmetricMap I).rangeS := by |
| 143 | obtain ⟨p, hp, he⟩ := symmetricRange_contains_monomial I n r hr |
| 144 | have h : p = reesMonomial I n r hr := Subtype.ext he |
| 145 | exact h ▸ hp |
| 146 | |
| 147 | theorem normalConeSymmetricMap_surjective : Function.Surjective (normalConeSymmetricMap I) := by |
| 148 | classical |
| 149 | intro x |
| 150 | obtain ⟨p, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 151 | change Ideal.Quotient.mk (Cone.BundleCycles.normalConeIdeal I) p ∈ (normalConeSymmetricMap I).rangeS |
| 152 | have he : p = ∑ n ∈ p.val.support, reesMonomial I n (p.val.coeff n) (p.property n) := by |
| 153 | apply Subtype.ext |
| 154 | change p.val = (reesAlgebra I).val (∑ n ∈ p.val.support, reesMonomial I n (p.val.coeff n) (p.property n)) |
| 155 | rw [map_sum] |
| 156 | exact p.val.as_sum_support |
| 157 | rw [he, map_sum] |
| 158 | exact (normalConeSymmetricMap I).rangeS.sum_mem fun n hn => normalConeMonomial_mem_symmetricRange I n _ _ |
| 159 | |
| 160 | end |
| 161 | |
| 162 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.ConeSymmetric.BundleCycles |