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 Mathlib.Algebra.DualNumber |
| 2 | import Mathlib.RingTheory.Derivation.Basic |
| 3 | |
| 4 | /-! # Numbers -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.Dual.Numbers |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Point derivations are precisely maps to the dual numbers with fixed |
| 11 | reduction. This construction is valid over every field. -/ |
| 12 | |
| 13 | variable {k R : Type*} [Field k] [CommRing R] [Algebra k R] |
| 14 | [Algebra R k] [IsScalarTower k R k] |
| 15 | |
| 16 | def derivationDualNumber (δ : Derivation k R k) : R →ₐ[k] DualNumber k where |
| 17 | toFun a := (algebraMap R k a, δ a) |
| 18 | map_zero' := by |
| 19 | apply TrivSqZeroExt.ext |
| 20 | · exact map_zero (algebraMap R k) |
| 21 | · exact map_zero δ |
| 22 | map_one' := by |
| 23 | apply TrivSqZeroExt.ext |
| 24 | · exact map_one (algebraMap R k) |
| 25 | · exact δ.map_one_eq_zero |
| 26 | map_add' a b := by |
| 27 | apply TrivSqZeroExt.ext |
| 28 | · exact map_add (algebraMap R k) a b |
| 29 | · exact map_add δ a b |
| 30 | map_mul' a b := by |
| 31 | apply TrivSqZeroExt.ext |
| 32 | · exact map_mul (algebraMap R k) a b |
| 33 | · change δ (a * b) = algebraMap R k a * δ b + δ a * algebraMap R k b |
| 34 | simpa only [Algebra.smul_def, mul_comm] using δ.leibniz a b |
| 35 | commutes' c := by |
| 36 | apply TrivSqZeroExt.ext |
| 37 | · exact (IsScalarTower.algebraMap_apply k R k c).symm |
| 38 | · exact δ.map_algebraMap c |
| 39 | |
| 40 | def dualNumberPointDerivation |
| 41 | (f : {f : R →ₐ[k] DualNumber k // ∀ a, (f a).fst = algebraMap R k a}) : |
| 42 | Derivation k R k where |
| 43 | toFun a := (f.val a).snd |
| 44 | map_add' a b := by rw [map_add, TrivSqZeroExt.snd_add] |
| 45 | map_smul' c a := by |
| 46 | rw [map_smul, TrivSqZeroExt.snd_smul] |
| 47 | rfl |
| 48 | map_one_eq_zero' := by |
| 49 | change (f.val 1).snd = 0 |
| 50 | rw [map_one]; rfl |
| 51 | leibniz' a b := by |
| 52 | change (f.val (a * b)).snd = a • (f.val b).snd + b • (f.val a).snd |
| 53 | rw [map_mul, TrivSqZeroExt.snd_mul, f.property a, f.property b] |
| 54 | simp [Algebra.smul_def, add_comm, mul_comm] |
| 55 | |
| 56 | def derivationDualNumberEquiv : Derivation k R k ≃ |
| 57 | {f : R →ₐ[k] DualNumber k // ∀ a, (f a).fst = algebraMap R k a} where |
| 58 | toFun δ := ⟨derivationDualNumber δ, fun _ => rfl⟩ |
| 59 | invFun := dualNumberPointDerivation |
| 60 | left_inv δ := by apply Derivation.ext; intro a; rfl |
| 61 | right_inv f := by |
| 62 | apply Subtype.ext |
| 63 | apply AlgHom.ext |
| 64 | intro a |
| 65 | apply TrivSqZeroExt.ext |
| 66 | · exact (f.property a).symm |
| 67 | · rfl |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.RepresentationTheory.Theta.Geometric.Dual.Numbers |