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.Affine.Tangents |
| 2 | import Mathlib.RingTheory.Kaehler.Basic |
| 3 | import Mathlib.RingTheory.TensorProduct.Basic |
| 4 | |
| 5 | /-! # Point Cotangent -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.PointCotangent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Point derivations are the dual of the actual cotangent fiber, with |
| 12 | arbitrary coefficient modules. This is the algebraic comparison needed |
| 13 | when the complex point is extended to a larger geometric field. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | variable (k A : Type) [Field k] [CommRing A] [Algebra k A] |
| 18 | [Algebra A k] |
| 19 | |
| 20 | abbrev pointCotangent := k ⊗[A] KaehlerDifferential k A |
| 21 | |
| 22 | variable (V : Type) [AddCommGroup V] [Module k V] [Module A V] |
| 23 | [IsScalarTower k A V] [IsScalarTower A k V] |
| 24 | |
| 25 | def pointDerivationEquiv : Derivation k A V ≃ₗ[k] (pointCotangent k A →ₗ[k] V) := |
| 26 | ((KaehlerDifferential.linearMapEquivDerivation k A).symm.restrictScalars k).trans |
| 27 | (LinearMap.liftBaseChangeEquiv k) |
| 28 | |
| 29 | theorem pointDerivationEquiv_D (δ : Derivation k A V) (a : A) : |
| 30 | pointDerivationEquiv k A V δ (1 ⊗ₜ[A] KaehlerDifferential.D k A a) = δ a := by |
| 31 | change δ.liftKaehlerDifferential.liftBaseChange k (1 ⊗ₜ[A] KaehlerDifferential.D k A a) = _ |
| 32 | rw [LinearMap.liftBaseChange_tmul, one_smul, Derivation.liftKaehlerDifferential_comp_D] |
| 33 | |
| 34 | variable {V} |
| 35 | |
| 36 | theorem pointCotangent_linearMap_ext (f g : pointCotangent k A →ₗ[k] V) |
| 37 | (h : ∀ a : A, f (1 ⊗ₜ[A] KaehlerDifferential.D k A a) = |
| 38 | g (1 ⊗ₜ[A] KaehlerDifferential.D k A a)) : f = g := by |
| 39 | apply (pointDerivationEquiv k A V).symm.injective |
| 40 | apply Derivation.ext |
| 41 | intro a |
| 42 | have hf := pointDerivationEquiv_D k A V ((pointDerivationEquiv k A V).symm f) a |
| 43 | have hg := pointDerivationEquiv_D k A V ((pointDerivationEquiv k A V).symm g) a |
| 44 | rw [LinearEquiv.apply_symm_apply] at hf hg |
| 45 | exact hf.symm.trans ((h a).trans hg) |
| 46 | |
| 47 | variable {W : Type} [AddCommGroup W] [Module k W] [Module A W] |
| 48 | [IsScalarTower k A W] [IsScalarTower A k W] |
| 49 | |
| 50 | theorem pointDerivationEquiv_coefficients (f : V →ₗ[k] W) (δ : Derivation k A V) : |
| 51 | pointDerivationEquiv k A W (δ.llcomp (f.restrictScalars A)) = |
| 52 | f.comp (pointDerivationEquiv k A V δ) := by |
| 53 | apply pointCotangent_linearMap_ext k A |
| 54 | intro a |
| 55 | rw [pointDerivationEquiv_D, LinearMap.comp_apply, pointDerivationEquiv_D] |
| 56 | rfl |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.RepresentationTheory.Theta.Geometric.PointCotangent |