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.RingTheory.TensorProduct.Finite |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.PointCotangent |
| 3 | import Mathlib.RingTheory.TensorProduct.IsBaseChangeHom |
| 4 | |
| 5 | /-! # Derivation Base Change -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.DerivationBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Extending the residue field extends the actual point-derivation space |
| 14 | by tensor product, with the expected formula on every regular function. -/ |
| 15 | |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | variable (k A F : Type) [Field k] [CommRing A] [Field F] |
| 19 | [Algebra k A] [Algebra A k] [IsScalarTower k A k] |
| 20 | [Algebra k F] [Algebra A F] [IsScalarTower k A F] [IsScalarTower A k F] |
| 21 | |
| 22 | def coefficientPointDerivationEquiv : |
| 23 | Derivation k A F ≃ₗ[F] (PointCotangent.pointCotangent k A →ₗ[k] F) where |
| 24 | toEquiv := (PointCotangent.pointDerivationEquiv k A F).toEquiv |
| 25 | map_add' := (PointCotangent.pointDerivationEquiv k A F).map_add |
| 26 | map_smul' c δ := by |
| 27 | apply PointCotangent.pointCotangent_linearMap_ext k A |
| 28 | intro a |
| 29 | change PointCotangent.pointDerivationEquiv k A F (c • δ) (1 ⊗ₜ[A] KaehlerDifferential.D k A a) = |
| 30 | c • PointCotangent.pointDerivationEquiv k A F δ (1 ⊗ₜ[A] KaehlerDifferential.D k A a) |
| 31 | rw [PointCotangent.pointDerivationEquiv_D] |
| 32 | change c • δ a = c • PointCotangent.pointDerivationEquiv k A F δ (1 ⊗ₜ[A] KaehlerDifferential.D k A a) |
| 33 | rw [PointCotangent.pointDerivationEquiv_D] |
| 34 | |
| 35 | variable [Algebra.EssFiniteType k A] |
| 36 | |
| 37 | def pointDerivationBaseChange : F ⊗[k] Derivation k A k ≃ₗ[F] Derivation k A F := |
| 38 | ((PointCotangent.pointDerivationEquiv k A k).baseChange k F _ _).trans |
| 39 | ((IsBaseChange.linearMapRightBaseChangeEquiv (PointCotangent.pointCotangent k A) |
| 40 | (IsBaseChange.linearMap k F)).trans (coefficientPointDerivationEquiv k A F).symm) |
| 41 | |
| 42 | theorem pointDerivationBaseChange_tmul (c : F) (δ : Derivation k A k) (a : A) : |
| 43 | pointDerivationBaseChange k A F (c ⊗ₜ[k] δ) a = c * algebraMap k F (δ a) := by |
| 44 | have h := PointCotangent.pointDerivationEquiv_D k A F (pointDerivationBaseChange k A F (c ⊗ₜ[k] δ)) a |
| 45 | rw [← h] |
| 46 | change coefficientPointDerivationEquiv k A F |
| 47 | (pointDerivationBaseChange k A F (c ⊗ₜ[k] δ)) (1 ⊗ₜ[A] KaehlerDifferential.D k A a) = _ |
| 48 | unfold pointDerivationBaseChange |
| 49 | simp only [LinearEquiv.trans_apply, LinearEquiv.apply_symm_apply] |
| 50 | change c • algebraMap k F |
| 51 | (PointCotangent.pointDerivationEquiv k A k δ (1 ⊗ₜ[A] KaehlerDifferential.D k A a)) = _ |
| 52 | rw [PointCotangent.pointDerivationEquiv_D, smul_eq_mul] |
| 53 | |
| 54 | end |
| 55 | |
| 56 | /-! Residue-field extension commutes with the actual pullback of point |
| 57 | derivations along an algebra morphism. -/ |
| 58 | |
| 59 | open scoped TensorProduct |
| 60 | |
| 61 | variable (k A B F : Type) [Field k] [CommRing A] [CommRing B] [Field F] |
| 62 | [Algebra k A] [Algebra k B] [Algebra A B] [IsScalarTower k A B] |
| 63 | [Algebra k F] [Algebra A F] [Algebra B F] |
| 64 | [IsScalarTower k A F] [IsScalarTower k B F] [IsScalarTower A B F] |
| 65 | |
| 66 | def pointDerivationComap : Derivation k B F →ₗ[F] Derivation k A F where |
| 67 | toFun δ := δ.compAlgebraMap A |
| 68 | map_add' _ _ := rfl |
| 69 | map_smul' _ _ := rfl |
| 70 | |
| 71 | variable [Algebra A k] [Algebra B k] |
| 72 | [IsScalarTower k A k] [IsScalarTower k B k] [IsScalarTower A B k] |
| 73 | [IsScalarTower A k F] [IsScalarTower B k F] |
| 74 | [Algebra.EssFiniteType k A] [Algebra.EssFiniteType k B] |
| 75 | |
| 76 | theorem pointDerivationBaseChange_comap (z : F ⊗[k] Derivation k B k) : |
| 77 | pointDerivationBaseChange k A F ((pointDerivationComap k A B k).baseChange F z) = |
| 78 | pointDerivationComap k A B F (pointDerivationBaseChange k B F z) := by |
| 79 | induction z using TensorProduct.inductionOn with |
| 80 | | add z w hz hw => simp only [map_add, hz, hw] |
| 81 | | tmul c δ => |
| 82 | apply Derivation.ext |
| 83 | intro a |
| 84 | rw [LinearMap.baseChange_tmul, pointDerivationBaseChange_tmul] |
| 85 | change c * algebraMap k F (δ (algebraMap A B a)) = |
| 86 | pointDerivationBaseChange k B F (c ⊗ₜ[k] δ) (algebraMap A B a) |
| 87 | exact (pointDerivationBaseChange_tmul k B F c δ (algebraMap A B a)).symm |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.RepresentationTheory.Theta.Geometric.DerivationBaseChange |