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.RepresentationTheory.Theta.Geometric.DerivationBaseChange |
| 2 | |
| 3 | /-! # Dual Numbers -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.DualNumbers |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Infinitesimal points over an extended residue field are actual algebra |
| 10 | maps to that field's dual numbers. -/ |
| 11 | |
| 12 | variable {k A F : Type} [Field k] [CommRing A] [Field F] |
| 13 | [Algebra k A] [Algebra k F] [Algebra A F] [IsScalarTower k A F] |
| 14 | |
| 15 | def geometricDerivationJet (δ : Derivation k A F) : A →ₐ[k] DualNumber F where |
| 16 | toFun a := (algebraMap A F a, δ a) |
| 17 | map_zero' := by |
| 18 | apply TrivSqZeroExt.ext |
| 19 | · exact map_zero (algebraMap A F) |
| 20 | · exact map_zero δ |
| 21 | map_one' := by |
| 22 | apply TrivSqZeroExt.ext |
| 23 | · exact map_one (algebraMap A F) |
| 24 | · exact δ.map_one_eq_zero |
| 25 | map_add' a b := by |
| 26 | apply TrivSqZeroExt.ext |
| 27 | · exact map_add (algebraMap A F) a b |
| 28 | · exact map_add δ a b |
| 29 | map_mul' a b := by |
| 30 | apply TrivSqZeroExt.ext |
| 31 | · exact map_mul (algebraMap A F) a b |
| 32 | · change δ (a * b) = algebraMap A F a * δ b + δ a * algebraMap A F b |
| 33 | simpa only [Algebra.smul_def, mul_comm] using δ.leibniz a b |
| 34 | commutes' c := by |
| 35 | apply TrivSqZeroExt.ext |
| 36 | · exact (IsScalarTower.algebraMap_apply k A F c).symm |
| 37 | · exact δ.map_algebraMap c |
| 38 | |
| 39 | def geometricJetDerivation |
| 40 | (f : {f : A →ₐ[k] DualNumber F // ∀ a, (f a).fst = algebraMap A F a}) : |
| 41 | Derivation k A F where |
| 42 | toFun a := (f.val a).snd |
| 43 | map_add' a b := by rw [map_add, TrivSqZeroExt.snd_add] |
| 44 | map_smul' c a := by rw [map_smul, TrivSqZeroExt.snd_smul]; rfl |
| 45 | map_one_eq_zero' := by |
| 46 | change (f.val 1).snd = 0 |
| 47 | rw [map_one]; rfl |
| 48 | leibniz' a b := by |
| 49 | change (f.val (a * b)).snd = a • (f.val b).snd + b • (f.val a).snd |
| 50 | rw [map_mul, TrivSqZeroExt.snd_mul, f.property a, f.property b] |
| 51 | simp [Algebra.smul_def, add_comm, mul_comm] |
| 52 | |
| 53 | @[simp] theorem geometricDerivationJet_fst (δ : Derivation k A F) (a : A) : |
| 54 | (geometricDerivationJet δ a).fst = algebraMap A F a := rfl |
| 55 | |
| 56 | @[simp] theorem geometricDerivationJet_snd (δ : Derivation k A F) (a : A) : |
| 57 | (geometricDerivationJet δ a).snd = δ a := rfl |
| 58 | |
| 59 | def geometricDerivationJetEquiv : Derivation k A F ≃ |
| 60 | {f : A →ₐ[k] DualNumber F // ∀ a, (f a).fst = algebraMap A F a} where |
| 61 | toFun δ := ⟨geometricDerivationJet δ, fun _ => rfl⟩ |
| 62 | invFun := geometricJetDerivation |
| 63 | left_inv δ := by apply Derivation.ext; intro a; rfl |
| 64 | right_inv f := by |
| 65 | apply Subtype.ext |
| 66 | apply AlgHom.ext |
| 67 | intro a |
| 68 | apply TrivSqZeroExt.ext |
| 69 | · exact (f.property a).symm |
| 70 | · rfl |
| 71 | |
| 72 | theorem geometricDerivationJet_add_snd (δ ε : Derivation k A F) (a : A) : |
| 73 | (geometricDerivationJet (δ + ε) a).snd = |
| 74 | (geometricDerivationJet δ a).snd + (geometricDerivationJet ε a).snd := rfl |
| 75 | |
| 76 | theorem geometricDerivationJet_smul_snd (c : F) (δ : Derivation k A F) (a : A) : |
| 77 | (geometricDerivationJet (c • δ) a).snd = c * (geometricDerivationJet δ a).snd := rfl |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.RepresentationTheory.Theta.Geometric.DualNumbers |