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.AbelianModuli.ReferenceFamily.Dual.Derivation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.NumberCoefficients |
| 3 | |
| 4 | /-! # Map Constant Reduction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.MapConstantReduction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! An actual map of dual-number products fixing the base parameter |
| 13 | transports differences between lifts by its original reduced map. |
| 14 | The extra first-order term cancels for lifts with the same reduction. -/ |
| 15 | |
| 16 | variable {k A B : Type*} [CommRing k] [CommRing A] [CommRing B] |
| 17 | [Algebra k A] [Algebra k B] (q : A →ₐ[k] B) |
| 18 | (f : DualNumber A →ₐ[k] DualNumber B) |
| 19 | (hred : ∀ u, (f u).fst = q u.fst) |
| 20 | (heps : f DualNumber.eps = DualNumber.eps) |
| 21 | |
| 22 | include hred heps |
| 23 | |
| 24 | theorem dualMap_inr (a : A) : f (TrivSqZeroExt.inr a) = TrivSqZeroExt.inr (q a) := by |
| 25 | have ha : (TrivSqZeroExt.inr a : DualNumber A) = |
| 26 | TrivSqZeroExt.inl a * DualNumber.eps := by |
| 27 | apply TrivSqZeroExt.ext <;> simp |
| 28 | rw [ha, map_mul, heps] |
| 29 | apply TrivSqZeroExt.ext |
| 30 | · simp |
| 31 | · simp only [DualNumber.snd_mul, DualNumber.snd_eps, DualNumber.fst_eps, |
| 32 | mul_one, mul_zero, add_zero, TrivSqZeroExt.snd_inr] |
| 33 | exact hred (TrivSqZeroExt.inl a) |
| 34 | |
| 35 | theorem dualMap_sameReduction_difference (u v : DualNumber A) (h : u.fst = v.fst) : |
| 36 | (f u).snd - (f v).snd = q (u.snd - v.snd) := by |
| 37 | have huv : u - v = TrivSqZeroExt.inr (u.snd - v.snd) := by |
| 38 | apply TrivSqZeroExt.ext |
| 39 | · exact sub_eq_zero.mpr h |
| 40 | · rfl |
| 41 | have hm := congrArg TrivSqZeroExt.snd (congrArg f huv) |
| 42 | rw [map_sub, dualMap_inr q f hred heps] at hm |
| 43 | exact hm |
| 44 | |
| 45 | end |
| 46 | |
| 47 | /-! On a dual-number element whose reduction is a base scalar, an |
| 48 | actual deformed coefficient map equals its ordinary coefficient map. |
| 49 | The deformation term vanishes on that original scalar. -/ |
| 50 | |
| 51 | variable {k C D : Type*} [CommRing k] [CommRing C] [CommRing D] |
| 52 | [Algebra k C] [Algebra k D] (q : C →ₐ[k] D) |
| 53 | (f : DualNumber C →ₐ[k] DualNumber D) |
| 54 | (hred : ∀ u, (f u).fst = q u.fst) |
| 55 | (heps : f DualNumber.eps = DualNumber.eps) |
| 56 | |
| 57 | include hred heps |
| 58 | |
| 59 | theorem dualMap_constantReduction (u : DualNumber C) (r : k) (h : u.fst = algebraMap k C r) : |
| 60 | f u = NumberCoefficients.dualNumberAlgMap q u := by |
| 61 | have hu : u = algebraMap k (DualNumber C) r + TrivSqZeroExt.inr u.snd := by |
| 62 | rw [IsScalarTower.algebraMap_apply k C (DualNumber C), TrivSqZeroExt.algebraMap_eq_inl] |
| 63 | apply TrivSqZeroExt.ext |
| 64 | · simpa only [TrivSqZeroExt.fst_add, TrivSqZeroExt.fst_inl, TrivSqZeroExt.fst_inr, add_zero] using h |
| 65 | · simp |
| 66 | rw [hu, map_add, map_add, f.commutes, (NumberCoefficients.dualNumberAlgMap q).commutes, |
| 67 | dualMap_inr q f hred heps] |
| 68 | congr 1 |
| 69 | apply TrivSqZeroExt.ext |
| 70 | · exact (map_zero q).symm |
| 71 | · rfl |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.MapConstantReduction |