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.DifferentialNaturality |
| 2 | import Mathlib.Algebra.TrivSqZeroExt.Basic |
| 3 | |
| 4 | /-! # Differential Jet -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.Universal.DifferentialJet |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The universal first-order jet of an affine complex test scheme. |
| 11 | Its square-zero coefficient is its actual module of Kähler differentials, |
| 12 | and base change uses the actual differential map. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | |
| 16 | @[instance_reducible] def differentialOppositeModule (A : Type) [CommRing A] [Algebra ℂ A] : |
| 17 | Module Aᵐᵒᵖ (KaehlerDifferential ℂ A) := |
| 18 | Module.compHom _ ((RingHom.id A).fromOpposite mul_comm) |
| 19 | |
| 20 | attribute [local instance] differentialOppositeModule |
| 21 | |
| 22 | instance differentialCentralScalar (A : Type) [CommRing A] [Algebra ℂ A] : |
| 23 | IsCentralScalar A (KaehlerDifferential ℂ A) := ⟨fun _ _ => rfl⟩ |
| 24 | |
| 25 | abbrev differentialJetRing (R : CommAlgCat.{0} ℂ) := |
| 26 | TrivSqZeroExt R (KaehlerDifferential ℂ R) |
| 27 | |
| 28 | def differentialJet (R : CommAlgCat.{0} ℂ) : R →ₐ[ℂ] differentialJetRing R where |
| 29 | toFun r := (r, KaehlerDifferential.D ℂ R r) |
| 30 | map_zero' := by apply TrivSqZeroExt.ext; rfl; exact map_zero _ |
| 31 | map_one' := by apply TrivSqZeroExt.ext; rfl; exact Derivation.map_one_eq_zero _ |
| 32 | map_add' r s := by apply TrivSqZeroExt.ext; rfl; exact map_add _ r s |
| 33 | map_mul' r s := by |
| 34 | apply TrivSqZeroExt.ext |
| 35 | · rfl |
| 36 | · exact (KaehlerDifferential.D ℂ R).leibniz r s |
| 37 | commutes' c := by |
| 38 | apply TrivSqZeroExt.ext |
| 39 | · rfl |
| 40 | · exact (KaehlerDifferential.D ℂ R).map_algebraMap c |
| 41 | |
| 42 | def differentialJetMap {R S : CommAlgCat.{0} ℂ} (f : R ⟶ S) : |
| 43 | differentialJetRing R →ₐ[ℂ] differentialJetRing S where |
| 44 | toFun z := (f.hom z.fst, AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.differentialMap f z.snd) |
| 45 | map_zero' := by apply TrivSqZeroExt.ext; exact map_zero _; exact map_zero _ |
| 46 | map_one' := by apply TrivSqZeroExt.ext; exact map_one _; exact map_zero _ |
| 47 | map_add' z w := by |
| 48 | apply TrivSqZeroExt.ext |
| 49 | · exact map_add _ _ _ |
| 50 | · exact map_add _ _ _ |
| 51 | map_mul' z w := by |
| 52 | apply TrivSqZeroExt.ext |
| 53 | · exact map_mul _ _ _ |
| 54 | · change AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.differentialMap f (z.fst • w.snd + w.fst • z.snd) = |
| 55 | f.hom z.fst • AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.differentialMap f w.snd + f.hom w.fst • AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.differentialMap f z.snd |
| 56 | rw [map_add, DifferentialNaturality.differentialMap_smul, DifferentialNaturality.differentialMap_smul] |
| 57 | commutes' c := by |
| 58 | apply TrivSqZeroExt.ext |
| 59 | · exact f.hom.commutes c |
| 60 | · exact map_zero _ |
| 61 | |
| 62 | theorem differentialJetMap_jet {R S : CommAlgCat.{0} ℂ} (f : R ⟶ S) : |
| 63 | (differentialJetMap f).comp (differentialJet R) = (differentialJet S).comp f.hom := by |
| 64 | apply AlgHom.ext |
| 65 | intro r |
| 66 | apply TrivSqZeroExt.ext |
| 67 | · rfl |
| 68 | · exact DifferentialNaturality.differentialMap_D f r |
| 69 | |
| 70 | theorem differentialJetMap_inl {R S : CommAlgCat.{0} ℂ} (f : R ⟶ S) : |
| 71 | (differentialJetMap f).comp (TrivSqZeroExt.inlAlgHom ℂ R (KaehlerDifferential ℂ R)) = |
| 72 | (TrivSqZeroExt.inlAlgHom ℂ S (KaehlerDifferential ℂ S)).comp f.hom := by |
| 73 | apply AlgHom.ext |
| 74 | intro r |
| 75 | apply TrivSqZeroExt.ext |
| 76 | · rfl |
| 77 | · exact map_zero _ |
| 78 | |
| 79 | theorem differentialJetMap_fst {R S : CommAlgCat.{0} ℂ} (f : R ⟶ S) : |
| 80 | (TrivSqZeroExt.fstHom ℂ S (KaehlerDifferential ℂ S)).comp (differentialJetMap f) = |
| 81 | f.hom.comp (TrivSqZeroExt.fstHom ℂ R (KaehlerDifferential ℂ R)) := rfl |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.RepresentationTheory.Theta.Geometric.Universal.DifferentialJet |