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.AlgebraicGeometry.AbelianScheme.TateComparison.Neighbors |
| 2 | import OAI.AlgebraicGeometry.Betti.Scheme |
| 3 | import Mathlib.RingTheory.Kaehler.Basic |
| 4 | import Mathlib.Algebra.Category.CommAlgCat.Basic |
| 5 | |
| 6 | /-! # Form Constants -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! |
| 15 | Algebraic one-forms are compatible Kahler differentials on affine test |
| 16 | schemes. This is the functor-of-points description of global sections of |
| 17 | the sheaf of relative differentials. Pullback is constructed by composing |
| 18 | the test-scheme maps. No trace map or Hecke formula is assumed. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 22 | |
| 23 | /-- An affine complex test scheme with its specified structure morphism. -/ |
| 24 | abbrev affineComplexTest (R : CommAlgCat.{0} ℂ) : Over Foundations.Scheme.ProjectiveSpace.complexBase := |
| 25 | Over.mk (Spec.map (CommRingCat.ofHom (algebraMap ℂ R))) |
| 26 | |
| 27 | /-- A homomorphism of complex algebras induces the actual affine scheme map. -/ |
| 28 | def affineComplexMap {R S : CommAlgCat.{0} ℂ} (f : R ⟶ S) : |
| 29 | affineComplexTest S ⟶ affineComplexTest R := |
| 30 | Over.homMk (Spec.map (CommRingCat.ofHom f.hom.toRingHom)) (by |
| 31 | change Spec.map _ ≫ Spec.map _ = Spec.map _ |
| 32 | rw [← Spec.map_comp] |
| 33 | apply congrArg Spec.map |
| 34 | apply CommRingCat.hom_ext |
| 35 | exact RingHom.ext (fun x => f.hom.commutes x)) |
| 36 | |
| 37 | /-- The actual induced map of Kahler differentials, restricted to complex scalars. -/ |
| 38 | def differentialMap {R S : CommAlgCat.{0} ℂ} (f : R ⟶ S) : |
| 39 | KaehlerDifferential ℂ R →ₗ[ℂ] KaehlerDifferential ℂ S := by |
| 40 | let : Algebra R S := f.hom.toAlgebra |
| 41 | let : IsScalarTower ℂ R S := IsScalarTower.of_algebraMap_eq |
| 42 | (fun x => (f.hom.commutes x).symm) |
| 43 | exact (KaehlerDifferential.map ℂ ℂ R S).restrictScalars ℂ |
| 44 | |
| 45 | /-- Compatible differentials on all affine tests, with their pointwise |
| 46 | complex vector-space structure. -/ |
| 47 | def globalOneForms (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 48 | Submodule ℂ (∀ (R : CommAlgCat.{0} ℂ), |
| 49 | (affineComplexTest R ⟶ X) → KaehlerDifferential ℂ R) where |
| 50 | carrier := {ω | ∀ (R S : CommAlgCat.{0} ℂ) (f : R ⟶ S) (x : affineComplexTest R ⟶ X), |
| 51 | differentialMap f (ω R x) = ω S (affineComplexMap f ≫ x)} |
| 52 | zero_mem' R S f x := map_zero _ |
| 53 | add_mem' hω hη R S f x := by |
| 54 | change differentialMap f (_ + _) = _ + _ |
| 55 | rw [map_add, hω R S f x, hη R S f x] |
| 56 | smul_mem' c ω hω R S f x := by |
| 57 | change differentialMap f (c • _) = c • _ |
| 58 | rw [map_smul, hω R S f x] |
| 59 | |
| 60 | abbrev OneForms (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) := globalOneForms X |
| 61 | |
| 62 | /-- Pullback of one-forms along the actual algebraic scheme morphism. -/ |
| 63 | def formsPullback {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) : |
| 64 | OneForms Y →ₗ[ℂ] OneForms X where |
| 65 | toFun ω := ⟨fun R x => ω.val R (x ≫ f), by |
| 66 | intro R S g x |
| 67 | exact (ω.property R S g (x ≫ f)).trans |
| 68 | (congrArg (ω.val S) (Category.assoc _ _ _).symm)⟩ |
| 69 | map_add' ω η := rfl |
| 70 | map_smul' c ω := rfl |
| 71 | |
| 72 | @[simp] |
| 73 | theorem formsPullback_id (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) : |
| 74 | formsPullback (𝟙 X) = LinearMap.id := by |
| 75 | apply LinearMap.ext |
| 76 | intro ω |
| 77 | apply Subtype.ext |
| 78 | funext R x |
| 79 | exact congrArg (ω.val R) (Category.comp_id x) |
| 80 | |
| 81 | theorem formsPullback_comp {X Y Z : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 82 | (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 83 | formsPullback (f ≫ g) = (formsPullback f).comp (formsPullback g) := by |
| 84 | apply LinearMap.ext |
| 85 | intro ω |
| 86 | apply Subtype.ext |
| 87 | funext R x |
| 88 | exact congrArg (ω.val R) (Category.assoc x f g).symm |
| 89 | |
| 90 | end |
| 91 | |
| 92 | /-! Actual affine-test one-forms vanish on constant maps. This removes |
| 93 | the base-point normalization term in Albanese pullbacks. -/ |
| 94 | |
| 95 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 96 | |
| 97 | def scalarAffineTestIso : affineComplexTest (CommAlgCat.of ℂ ℂ) ≅ Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) := |
| 98 | Over.isoMk (Iso.refl _) (by simp [affineComplexTest]) |
| 99 | |
| 100 | def scalarTestAlgebraMap (R : CommAlgCat.{0} ℂ) : CommAlgCat.of ℂ ℂ ⟶ R := |
| 101 | CommAlgCat.ofHom (Algebra.ofId ℂ R) |
| 102 | |
| 103 | theorem forms_at_constant {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} (ω : OneForms X) |
| 104 | (p : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ X) (R : CommAlgCat.{0} ℂ) |
| 105 | (a : affineComplexTest R ⟶ Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase)) : ω.val R (a ≫ p) = 0 := by |
| 106 | have : Subsingleton (KaehlerDifferential ℂ ℂ) := |
| 107 | KaehlerDifferential.subsingleton_of_surjective ℂ ℂ (fun z => ⟨z, rfl⟩) |
| 108 | have hz : ω.val (CommAlgCat.of ℂ ℂ) (scalarAffineTestIso.hom ≫ p) = 0 := Subsingleton.elim _ _ |
| 109 | have h := ω.property (CommAlgCat.of ℂ ℂ) R (scalarTestAlgebraMap R) (scalarAffineTestIso.hom ≫ p) |
| 110 | rw [hz, map_zero] at h |
| 111 | have ha : affineComplexMap (scalarTestAlgebraMap R) ≫ scalarAffineTestIso.hom = a := |
| 112 | Over.mkIdTerminal.hom_ext _ _ |
| 113 | have hp : affineComplexMap (scalarTestAlgebraMap R) ≫ scalarAffineTestIso.hom ≫ p = a ≫ p := |
| 114 | (Category.assoc _ _ _).symm.trans (congrArg (· ≫ p) ha) |
| 115 | exact (congrArg (ω.val R) hp).symm.trans h.symm |
| 116 | |
| 117 | theorem formsPullback_constant {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} |
| 118 | (p : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ Y) (a : X ⟶ Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase)) : |
| 119 | formsPullback (a ≫ p) = 0 := by |
| 120 | apply LinearMap.ext |
| 121 | intro ω |
| 122 | apply Subtype.ext |
| 123 | funext R x |
| 124 | change ω.val R (x ≫ a ≫ p) = 0 |
| 125 | rw [← Category.assoc] |
| 126 | exact forms_at_constant ω p R (x ≫ a) |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FormConstants |