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.NumberCoefficients |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LieRanks |
| 3 | |
| 4 | /-! # Coefficient Scalars -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.CoefficientScalars |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Scalar change of the square-zero coordinate is an actual ring |
| 11 | map, natural in coefficient rings and compatible with native dual scalars. -/ |
| 12 | |
| 13 | def dualCoefficientScale {R : Type*} [CommRing R] (a : R) : DualNumber R →ₐ[R] DualNumber R := |
| 14 | TrivSqZeroExt.map (a • (LinearMap.id : R →ₗ[R] R)) |
| 15 | |
| 16 | theorem dualCoefficientScale_fst {R : Type*} [CommRing R] (a : R) (x : DualNumber R) : |
| 17 | (dualCoefficientScale a x).fst = x.fst := TrivSqZeroExt.fst_map _ x |
| 18 | |
| 19 | theorem dualCoefficientScale_snd {R : Type*} [CommRing R] (a : R) (x : DualNumber R) : |
| 20 | (dualCoefficientScale a x).snd = a * x.snd := TrivSqZeroExt.snd_map _ x |
| 21 | |
| 22 | theorem dualCoefficientScale_natural {R S : Type*} [CommRing R] [CommRing S] |
| 23 | (f : R →+* S) (a : R) (x : DualNumber R) : |
| 24 | NumberCoefficients.dualNumberRingMap f (dualCoefficientScale a x) = dualCoefficientScale (f a) (NumberCoefficients.dualNumberRingMap f x) := by |
| 25 | apply TrivSqZeroExt.ext |
| 26 | · change f (dualCoefficientScale a x).fst = (dualCoefficientScale (f a) (NumberCoefficients.dualNumberRingMap f x)).fst |
| 27 | rw [dualCoefficientScale_fst, dualCoefficientScale_fst] |
| 28 | rfl |
| 29 | · change f (dualCoefficientScale a x).snd = (dualCoefficientScale (f a) (NumberCoefficients.dualNumberRingMap f x)).snd |
| 30 | rw [dualCoefficientScale_snd, dualCoefficientScale_snd] |
| 31 | exact map_mul f a x.snd |
| 32 | |
| 33 | theorem dualCoefficientScale_complex {R : Type} [CommRing R] [Algebra ℂ R] |
| 34 | (p : R →ₐ[ℂ] ℂ) (c : ℂ) (x : DualNumber R) : |
| 35 | NumberCoefficients.dualNumberAlgMap p (dualCoefficientScale (algebraMap ℂ R c) x) = |
| 36 | LieRanks.dualNumberScale ℂ c (NumberCoefficients.dualNumberAlgMap p x) := by |
| 37 | apply TrivSqZeroExt.ext |
| 38 | · change p (dualCoefficientScale (algebraMap ℂ R c) x).fst = |
| 39 | (LieRanks.dualNumberScale ℂ c (NumberCoefficients.dualNumberAlgMap p x)).fst |
| 40 | rw [dualCoefficientScale_fst] |
| 41 | exact (TrivSqZeroExt.fst_map _ (NumberCoefficients.dualNumberAlgMap p x)).symm |
| 42 | · change p (dualCoefficientScale (algebraMap ℂ R c) x).snd = |
| 43 | (LieRanks.dualNumberScale ℂ c (NumberCoefficients.dualNumberAlgMap p x)).snd |
| 44 | rw [dualCoefficientScale_snd] |
| 45 | have h : (LieRanks.dualNumberScale ℂ c (NumberCoefficients.dualNumberAlgMap p x)).snd = c * (NumberCoefficients.dualNumberAlgMap p x).snd := |
| 46 | TrivSqZeroExt.snd_map _ _ |
| 47 | rw [h] |
| 48 | change p (algebraMap ℂ R c * x.snd) = c * p x.snd |
| 49 | rw [map_mul, p.commutes] |
| 50 | rfl |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.CoefficientScalars |