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.Comparison.Betti.OneFormRealization |
| 2 | |
| 3 | /-! # Kaehler Equivalence -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.KaehlerEquivalence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Identification of the degree-one presentation with Kähler differentials |
| 11 | |
| 12 | Both directions are constructed from the defining presentations. In particular, |
| 13 | injectivity of the realization is proved without imposing additional relations |
| 14 | or assuming the universal property for the constructed form quotient. |
| 15 | -/ |
| 16 | |
| 17 | universe u |
| 18 | variable (A : Type u) [CommRing A] [Algebra ℂ A] |
| 19 | |
| 20 | def oneSymbol (a b : A) : Algebraic.Forms.Form A 1 := Algebraic.Forms.formSymbol A ![a, b] |
| 21 | |
| 22 | omit [CommRing A] [Algebra ℂ A] in |
| 23 | @[simp] |
| 24 | theorem update_pair_zero (a b c : A) : Function.update ![a, b] 0 c = ![c, b] := by |
| 25 | ext i |
| 26 | fin_cases i <;> simp |
| 27 | |
| 28 | omit [CommRing A] [Algebra ℂ A] in |
| 29 | @[simp] |
| 30 | theorem update_pair_one (a b c : A) : Function.update ![a, b] 1 c = ![a, c] := by |
| 31 | ext i |
| 32 | fin_cases i <;> simp |
| 33 | |
| 34 | theorem oneSymbol_add_coeff (a b c : A) : |
| 35 | oneSymbol A (a + b) c = oneSymbol A a c + oneSymbol A b c := by |
| 36 | simpa [oneSymbol] using Algebraic.Forms.formSymbol_add A ![a, c] 0 a b |
| 37 | |
| 38 | theorem oneSymbol_smul_coeff (a b : A) (c : ℂ) : |
| 39 | oneSymbol A (c • a) b = c • oneSymbol A a b := by |
| 40 | simpa [oneSymbol] using Algebraic.Forms.formSymbol_smul A ![a, b] 0 c a |
| 41 | |
| 42 | theorem oneSymbol_add_diff (a b c : A) : |
| 43 | oneSymbol A a (b + c) = oneSymbol A a b + oneSymbol A a c := by |
| 44 | simpa [oneSymbol] using Algebraic.Forms.formSymbol_add A ![a, b] 1 b c |
| 45 | |
| 46 | theorem oneSymbol_mul_diff (a b c : A) : |
| 47 | oneSymbol A a (b * c) = oneSymbol A (a * b) c + oneSymbol A (a * c) b := by |
| 48 | have h := (Submodule.Quotient.mk_eq_zero (Algebraic.Forms.relations A 1)).mpr |
| 49 | (Submodule.subset_span (Algebraic.Forms.FormRelation.leibniz (A := A) 1 ![a, b] 0 b c)) |
| 50 | change (Algebraic.Forms.relations A 1).mkQ (_ - _ - _) = 0 at h |
| 51 | rw [map_sub, map_sub, sub_sub, sub_eq_zero] at h |
| 52 | simpa [oneSymbol, Algebraic.Forms.formSymbol] using h |
| 53 | |
| 54 | theorem oneSymbol_constant_diff (a : A) (c : ℂ) : |
| 55 | oneSymbol A a (algebraMap ℂ A c) = 0 := by |
| 56 | have h := (Submodule.Quotient.mk_eq_zero (Algebraic.Forms.relations A 1)).mpr |
| 57 | (Submodule.subset_span (Algebraic.Forms.FormRelation.constant (A := A) 1 ![a, a] 0 c)) |
| 58 | simpa [oneSymbol, Algebraic.Forms.formSymbol] using h |
| 59 | |
| 60 | def oneSymbolCoefficientMap (b : A) : A →ₗ[ℂ] Algebraic.Forms.Form A 1 where |
| 61 | toFun a := oneSymbol A a b |
| 62 | map_add' a c := oneSymbol_add_coeff A a c b |
| 63 | map_smul' c a := oneSymbol_smul_coeff A a b c |
| 64 | |
| 65 | /-- Send the finite sum ∑ aᵢ dbᵢ in the standard presentation to our symbols. -/ |
| 66 | def kaehlerPresentationMap : (A →₀ A) →ₗ[ℂ] Algebraic.Forms.Form A 1 := |
| 67 | Finsupp.lsum ℂ (oneSymbolCoefficientMap A) |
| 68 | |
| 69 | @[simp] |
| 70 | theorem kaehlerPresentationMap_single (a b : A) : |
| 71 | kaehlerPresentationMap A (Finsupp.single b a) = oneSymbol A a b := |
| 72 | Finsupp.lsum_single _ _ _ _ |
| 73 | |
| 74 | theorem kaehlerPresentationMap_kills_relations {r : A →₀ A} |
| 75 | (hr : r ∈ KaehlerDifferential.kerTotal ℂ A) : kaehlerPresentationMap A r = 0 := by |
| 76 | have h : ∀ c : A, kaehlerPresentationMap A (c • r) = 0 := by |
| 77 | induction hr using Submodule.span_induction with |
| 78 | | mem r hr => |
| 79 | rcases hr with ((⟨⟨x, y⟩, rfl⟩ | ⟨⟨x, y⟩, rfl⟩) | ⟨x, rfl⟩) |
| 80 | · intro c |
| 81 | simp only [smul_sub, smul_add, Finsupp.smul_single, smul_eq_mul, mul_one, |
| 82 | map_sub, map_add, kaehlerPresentationMap_single] |
| 83 | rw [oneSymbol_add_diff, sub_self] |
| 84 | · intro c |
| 85 | simp only [smul_sub, smul_add, Finsupp.smul_single, smul_eq_mul, mul_one, |
| 86 | map_sub, map_add, kaehlerPresentationMap_single] |
| 87 | rw [oneSymbol_mul_diff, sub_self] |
| 88 | · intro c |
| 89 | simp only [Finsupp.smul_single, smul_eq_mul, mul_one, |
| 90 | kaehlerPresentationMap_single, oneSymbol_constant_diff] |
| 91 | | zero => intro c; simp |
| 92 | | add r s hr hs ihr ihs => |
| 93 | intro c |
| 94 | rw [smul_add, map_add, ihr c, ihs c, add_zero] |
| 95 | | smul a r hr ihr => |
| 96 | intro c |
| 97 | rw [smul_smul] |
| 98 | exact ihr (c * a) |
| 99 | simpa only [one_smul] using h 1 |
| 100 | |
| 101 | def kaehlerPresentationQuotientMap : |
| 102 | ((A →₀ A) ⧸ (KaehlerDifferential.kerTotal ℂ A).restrictScalars ℂ) →ₗ[ℂ] Algebraic.Forms.Form A 1 := |
| 103 | ((KaehlerDifferential.kerTotal ℂ A).restrictScalars ℂ).liftQ |
| 104 | (kaehlerPresentationMap A) (fun _ hr => kaehlerPresentationMap_kills_relations A hr) |
| 105 | |
| 106 | /-- The inverse map uses the standard generators-and-relations theorem for Ω. -/ |
| 107 | def kaehlerToOneForm : KaehlerDifferential ℂ A →ₗ[ℂ] Algebraic.Forms.Form A 1 := |
| 108 | (kaehlerPresentationQuotientMap A).comp |
| 109 | (((Submodule.Quotient.restrictScalarsEquiv ℂ |
| 110 | (KaehlerDifferential.kerTotal ℂ A)).symm.toLinearMap).comp |
| 111 | ((KaehlerDifferential.quotKerTotalEquiv ℂ A).symm.toLinearMap.restrictScalars ℂ)) |
| 112 | |
| 113 | @[simp] |
| 114 | theorem kaehlerToOneForm_smul_D (a b : A) : |
| 115 | kaehlerToOneForm A (a • KaehlerDifferential.D ℂ A b) = oneSymbol A a b := by |
| 116 | change kaehlerPresentationQuotientMap A |
| 117 | ((Submodule.Quotient.restrictScalarsEquiv ℂ |
| 118 | (KaehlerDifferential.kerTotal ℂ A)).symm |
| 119 | ((KaehlerDifferential.quotKerTotalEquiv ℂ A).symm |
| 120 | (a • KaehlerDifferential.D ℂ A b))) = _ |
| 121 | rw [map_smul] |
| 122 | have h := congrArg (fun D : Derivation ℂ A |
| 123 | ((A →₀ A) ⧸ KaehlerDifferential.kerTotal ℂ A) => D b) |
| 124 | (KaehlerDifferential.quotKerTotalEquiv_symm_comp_D ℂ A) |
| 125 | change (KaehlerDifferential.quotKerTotalEquiv ℂ A).symm |
| 126 | (KaehlerDifferential.D ℂ A b) = _ at h |
| 127 | rw [h] |
| 128 | rw [KaehlerDifferential.derivationQuotKerTotal_apply, |
| 129 | ← map_smul (KaehlerDifferential.kerTotal ℂ A).mkQ a (Finsupp.single b 1)] |
| 130 | simp only [Submodule.mkQ_apply, Submodule.Quotient.restrictScalarsEquiv_symm_mk, |
| 131 | kaehlerPresentationQuotientMap, Finsupp.smul_single, smul_eq_mul, mul_one] |
| 132 | exact kaehlerPresentationMap_single A a b |
| 133 | |
| 134 | def oneFormKaehlerMap : Algebraic.Forms.Form A 1 →ₗ[ℂ] KaehlerDifferential ℂ A := |
| 135 | OneFormRealization.oneFormRealization (KaehlerDifferential.D ℂ A) |
| 136 | |
| 137 | @[simp] |
| 138 | theorem oneFormKaehlerMap_oneSymbol (a b : A) : |
| 139 | oneFormKaehlerMap A (oneSymbol A a b) = a • KaehlerDifferential.D ℂ A b := by |
| 140 | exact OneFormRealization.oneFormRealization_symbol (KaehlerDifferential.D ℂ A) ![a, b] |
| 141 | |
| 142 | theorem oneFormKaehler_leftInverse : |
| 143 | Function.LeftInverse (kaehlerToOneForm A) (oneFormKaehlerMap A) := by |
| 144 | intro x |
| 145 | obtain ⟨r, rfl⟩ := (Algebraic.Forms.relations A 1).mkQ_surjective x |
| 146 | induction r using Finsupp.induction_linear with |
| 147 | | zero => simp |
| 148 | | add r s ihr ihs => simp only [map_add, ihr, ihs] |
| 149 | | single a c => |
| 150 | have ha : a = ![a 0, a 1] := by ext i; fin_cases i <;> rfl |
| 151 | have hc : Finsupp.single a c = c • Algebraic.Forms.symbol A a := by simp [Algebraic.Forms.symbol] |
| 152 | rw [hc] |
| 153 | simp only [map_smul] |
| 154 | apply congrArg (c • ·) |
| 155 | change kaehlerToOneForm A (oneFormKaehlerMap A (Algebraic.Forms.formSymbol A a)) = Algebraic.Forms.formSymbol A a |
| 156 | rw [ha] |
| 157 | change kaehlerToOneForm A (oneFormKaehlerMap A (oneSymbol A (a 0) (a 1))) = _ |
| 158 | rw [oneFormKaehlerMap_oneSymbol, kaehlerToOneForm_smul_D] |
| 159 | rfl |
| 160 | |
| 161 | theorem oneFormKaehler_rightInverse : |
| 162 | Function.RightInverse (kaehlerToOneForm A) (oneFormKaehlerMap A) := by |
| 163 | intro x |
| 164 | obtain ⟨r, rfl⟩ := KaehlerDifferential.linearCombination_surjective ℂ A x |
| 165 | induction r using Finsupp.induction_linear with |
| 166 | | zero => simp |
| 167 | | add r s ihr ihs => simp only [map_add, ihr, ihs] |
| 168 | | single b a => simp only [Finsupp.linearCombination_single, |
| 169 | kaehlerToOneForm_smul_D, oneFormKaehlerMap_oneSymbol] |
| 170 | |
| 171 | /-- The degree-one algebraic form space is the actual Kähler differential module. -/ |
| 172 | def oneFormsKaehlerEquiv : Algebraic.Forms.Form A 1 ≃ₗ[ℂ] KaehlerDifferential ℂ A := |
| 173 | { oneFormKaehlerMap A with |
| 174 | invFun := kaehlerToOneForm A |
| 175 | left_inv := oneFormKaehler_leftInverse A |
| 176 | right_inv := oneFormKaehler_rightInverse A } |
| 177 | |
| 178 | end |
| 179 | |
| 180 | end OAI.AlgebraicGeometry.Comparison.Betti.KaehlerEquivalence |