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.GroupJetCoordinates |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.PointCotangent |
| 3 | |
| 4 | /-! # Invariant Algebraic Forms -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.InvariantAlgebraicForms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Covectors at the identity give actual algebraic one-forms: their |
| 11 | values are Kähler differentials on every affine test scheme, and the |
| 12 | compatibility condition is proved from the universal group jet. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped TensorProduct _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | attribute [local instance] Universal.DifferentialJet.differentialOppositeModule |
| 18 | |
| 19 | variable {G U : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} [GrpObj G] [IsAffine U.left] |
| 20 | (i : U ⟶ G) [IsOpenImmersion i.left] |
| 21 | (e : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints U) (he : e ≫ i = 1) |
| 22 | |
| 23 | @[instance_reducible] def identityChartPointAlgebra : Algebra Γ(U.left, ⊤) ℂ := |
| 24 | (AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv U e).toRingHom.toAlgebra |
| 25 | |
| 26 | variable [Algebra Γ(U.left, ⊤) ℂ] [IsScalarTower ℂ Γ(U.left, ⊤) ℂ] |
| 27 | (hscalar : ∀ a : Γ(U.left, ⊤), algebraMap Γ(U.left, ⊤) ℂ a = AlgebraicGeometry.Foundations.Scheme.AffineSchemeComplexPoints.affineNativePointEquiv U e a) |
| 28 | |
| 29 | abbrev identityChartCotangent (U : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine U.left] |
| 30 | [Algebra Γ(U.left, ⊤) ℂ] := |
| 31 | PointCotangent.pointCotangent ℂ Γ(U.left, ⊤) |
| 32 | |
| 33 | def identityCotangentTestValue (R : CommAlgCat.{0} ℂ) (x : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest R ⟶ G) : |
| 34 | identityChartCotangent U →ₗ[ℂ] KaehlerDifferential ℂ R := by |
| 35 | letI : CommRing (Universal.DifferentialJet.differentialJetRing R) := inferInstance |
| 36 | letI : Algebra ℂ (Universal.DifferentialJet.differentialJetRing R) := inferInstance |
| 37 | letI : Module Γ(U.left, ⊤) (KaehlerDifferential ℂ R) := |
| 38 | Module.compHom _ (algebraMap Γ(U.left, ⊤) ℂ) |
| 39 | letI : IsScalarTower Γ(U.left, ⊤) ℂ (KaehlerDifferential ℂ R) := |
| 40 | IsScalarTower.of_compHom _ _ _ |
| 41 | letI : IsScalarTower ℂ Γ(U.left, ⊤) (KaehlerDifferential ℂ R) := by |
| 42 | constructor |
| 43 | intro c a v |
| 44 | change algebraMap Γ(U.left, ⊤) ℂ (c • a) • v = |
| 45 | c • (algebraMap Γ(U.left, ⊤) ℂ a • v) |
| 46 | rw [Algebra.smul_def, map_mul, ← IsScalarTower.algebraMap_apply, |
| 47 | Algebra.algebraMap_self, RingHom.id_apply, mul_smul] |
| 48 | let δ : Derivation ℂ Γ(U.left, ⊤) (KaehlerDifferential ℂ R) := { |
| 49 | toFun a := (GroupJetCoordinates.universalGroupJetCoordinates i e he R x a).snd |
| 50 | map_add' a b := by rw [map_add, TrivSqZeroExt.snd_add] |
| 51 | map_smul' c a := by rw [map_smul, TrivSqZeroExt.snd_smul]; rfl |
| 52 | map_one_eq_zero' := by |
| 53 | change (GroupJetCoordinates.universalGroupJetCoordinates i e he R x 1).snd = 0 |
| 54 | rw [map_one]; rfl |
| 55 | leibniz' a b := by |
| 56 | change (GroupJetCoordinates.universalGroupJetCoordinates i e he R x (a * b)).snd = _ |
| 57 | rw [map_mul, TrivSqZeroExt.snd_mul] |
| 58 | change (GroupJetCoordinates.universalGroupJetCoordinates i e he R x a).fst • |
| 59 | (GroupJetCoordinates.universalGroupJetCoordinates i e he R x b).snd + |
| 60 | (GroupJetCoordinates.universalGroupJetCoordinates i e he R x b).fst • |
| 61 | (GroupJetCoordinates.universalGroupJetCoordinates i e he R x a).snd = _ |
| 62 | rw [GroupJetCoordinates.universalGroupJetCoordinates_fst, GroupJetCoordinates.universalGroupJetCoordinates_fst, |
| 63 | IsScalarTower.algebraMap_smul, IsScalarTower.algebraMap_smul, |
| 64 | ← hscalar a, ← hscalar b] |
| 65 | rfl } |
| 66 | exact PointCotangent.pointDerivationEquiv ℂ Γ(U.left, ⊤) (KaehlerDifferential ℂ R) δ |
| 67 | |
| 68 | set_option backward.isDefEq.respectTransparency false in |
| 69 | theorem identityCotangentTestValue_D (R : CommAlgCat.{0} ℂ) |
| 70 | (x : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest R ⟶ G) (a : Γ(U.left, ⊤)) : |
| 71 | identityCotangentTestValue i e he hscalar R x |
| 72 | (1 ⊗ₜ[Γ(U.left, ⊤)] KaehlerDifferential.D ℂ Γ(U.left, ⊤) a) = |
| 73 | (GroupJetCoordinates.universalGroupJetCoordinates i e he R x a).snd := by |
| 74 | unfold identityCotangentTestValue |
| 75 | rw [PointCotangent.pointDerivationEquiv_D] |
| 76 | rfl |
| 77 | |
| 78 | theorem identityCotangentTestValue_naturality {R S : CommAlgCat.{0} ℂ} (f : R ⟶ S) |
| 79 | (x : AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexTest R ⟶ G) : |
| 80 | (AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.differentialMap f).comp (identityCotangentTestValue i e he hscalar R x) = |
| 81 | identityCotangentTestValue i e he hscalar S (AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.affineComplexMap f ≫ x) := by |
| 82 | let : Module Γ(U.left, ⊤) (KaehlerDifferential ℂ S) := |
| 83 | Module.compHom _ (algebraMap Γ(U.left, ⊤) ℂ) |
| 84 | let : IsScalarTower Γ(U.left, ⊤) ℂ (KaehlerDifferential ℂ S) := |
| 85 | IsScalarTower.of_compHom _ _ _ |
| 86 | let : IsScalarTower ℂ Γ(U.left, ⊤) (KaehlerDifferential ℂ S) := by |
| 87 | constructor |
| 88 | intro c a v |
| 89 | change algebraMap Γ(U.left, ⊤) ℂ (c • a) • v = |
| 90 | c • (algebraMap Γ(U.left, ⊤) ℂ a • v) |
| 91 | rw [Algebra.smul_def, map_mul, ← IsScalarTower.algebraMap_apply, |
| 92 | Algebra.algebraMap_self, RingHom.id_apply, mul_smul] |
| 93 | apply PointCotangent.pointCotangent_linearMap_ext ℂ Γ(U.left, ⊤) |
| 94 | intro a |
| 95 | rw [LinearMap.comp_apply, identityCotangentTestValue_D, identityCotangentTestValue_D] |
| 96 | exact congrArg TrivSqZeroExt.snd |
| 97 | (AlgHom.congr_fun (GroupJetCoordinates.universalGroupJetCoordinates_naturality i e he f x) a) |
| 98 | |
| 99 | def identityCotangentOneForm : identityChartCotangent U →ₗ[ℂ] AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants.OneForms G where |
| 100 | toFun a := ⟨fun R x => identityCotangentTestValue i e he hscalar R x a, by |
| 101 | intro R S f x |
| 102 | exact LinearMap.congr_fun (identityCotangentTestValue_naturality i e he hscalar f x) a⟩ |
| 103 | map_add' a b := by |
| 104 | apply Subtype.ext |
| 105 | funext R x |
| 106 | exact map_add (identityCotangentTestValue i e he hscalar R x) a b |
| 107 | map_smul' c a := by |
| 108 | apply Subtype.ext |
| 109 | funext R x |
| 110 | exact map_smul (identityCotangentTestValue i e he hscalar R x) c a |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.RepresentationTheory.Theta.Geometric.InvariantAlgebraicForms |