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.Intrinsic.Action |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FormsPrimitive |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.AlbaneseProjectivity |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RationalExtension |
| 5 | |
| 6 | /-! # Forms Pullback -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Rational endomorphisms act on the actual Albanese one-forms by |
| 13 | the unique pullback compatible with every positive denominator clearing. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj TensorProduct |
| 18 | |
| 19 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 20 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 21 | {Index Ga MpR MpF MpA : Type} [Fintype Index] [DecidableEq Index] |
| 22 | [Group Ga] [TopologicalSpace Ga] [Group MpR] [Group MpF] [Group MpA] |
| 23 | (D : Data.ActiveHeckeThetaData E K s q Index Ga MpR MpF MpA) |
| 24 | (hg : D.pel.HasIntegralModelGeometry) |
| 25 | |
| 26 | local instance Data.ActiveHeckeThetaData.rationalForms_group : GrpObj D.pel.complexAlbanese.X := D.pel.complexAlbanese.grp |
| 27 | local instance Data.ActiveHeckeThetaData.rationalForms_comm : IsCommMonObj D.pel.complexAlbanese.X := D.pel.complexAlbanese.comm |
| 28 | local instance Data.ActiveHeckeThetaData.rationalForms_addGroup : AddCommGroup D.pel.OneFormsA := |
| 29 | Module.addCommMonoidToAddCommGroup ℂ |
| 30 | |
| 31 | include hg in |
| 32 | theorem Data.ActiveHeckeThetaData.pullbackForms_add (a b : D.pel.EndK) : |
| 33 | D.pel.pullbackForms (a + b) = D.pel.pullbackForms a + D.pel.pullbackForms b := by |
| 34 | apply LinearMap.ext |
| 35 | intro ω |
| 36 | unfold AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.pullbackForms |
| 37 | rw [AlgebraicGeometry.AbelianScheme.TateComparison.BaseChange.endSchemeMap_add, Functor.map_mul] |
| 38 | exact AlgebraicGeometry.AbelianScheme.TateComparison.FormsPrimitive.abelian_formsPullback_mul (D.pel.actualComplexAlbaneseVariety hg) |
| 39 | (D.pel.actualComplexAlbaneseVariety hg).variety _ _ ω |
| 40 | |
| 41 | include hg in |
| 42 | theorem Data.ActiveHeckeThetaData.pullbackForms_zero : D.pel.pullbackForms 0 = 0 := by |
| 43 | have h := D.pullbackForms_add hg 0 0 |
| 44 | rw [zero_add] at h |
| 45 | exact (add_left_cancel (a := D.pel.pullbackForms 0) ((add_zero _).trans h)).symm |
| 46 | |
| 47 | def Data.ActiveHeckeThetaData.integralFormsPullbackAddHom : D.pel.EndK →+ Module.End ℂ D.pel.OneFormsA where |
| 48 | toFun := D.pel.pullbackForms |
| 49 | map_zero' := D.pullbackForms_zero hg |
| 50 | map_add' := D.pullbackForms_add hg |
| 51 | |
| 52 | def Data.ActiveHeckeThetaData.rationalFormsPullback : D.pel.EndQ →ₗ[ℚ] Module.End ℂ D.pel.OneFormsA := |
| 53 | AlgebraicGeometry.AbelianScheme.TateComparison.RationalExtension.rationalExtensionOfAddHom (D.integralFormsPullbackAddHom hg) |
| 54 | |
| 55 | theorem Data.ActiveHeckeThetaData.rationalFormsPullback_integral (a : D.pel.EndK) : |
| 56 | D.rationalFormsPullback hg (D.pel.toRational a) = D.pel.pullbackForms a := by |
| 57 | change AlgebraicGeometry.AbelianScheme.TateComparison.RationalExtension.rationalExtensionOfAddHom (D.integralFormsPullbackAddHom hg) (1 ⊗ₜ[ℤ] a) = _ |
| 58 | rw [AlgebraicGeometry.AbelianScheme.TateComparison.RationalExtension.rationalExtensionOfAddHom_tmul, one_smul] |
| 59 | rfl |
| 60 | |
| 61 | theorem Data.ActiveHeckeThetaData.rationalFormsPullback_spec (a : D.pel.EndQ) : |
| 62 | D.IsRationalFormsPullback a (D.rationalFormsPullback hg a) := by |
| 63 | obtain ⟨n, hn, b, hb⟩ := D.pel.endQ_positive_denominator a |
| 64 | refine ⟨⟨n, hn, b, hb⟩, ?_⟩ |
| 65 | intro m _ b hb |
| 66 | have h := congrArg (D.rationalFormsPullback hg) hb |
| 67 | rw [map_nsmul, Data.ActiveHeckeThetaData.rationalFormsPullback_integral] at h |
| 68 | exact (Nat.cast_smul_eq_nsmul ℂ m _).trans h |
| 69 | |
| 70 | theorem Data.ActiveHeckeThetaData.rationalFormsPullback_unique (a : D.pel.EndQ) (f g : Module.End ℂ D.pel.OneFormsA) |
| 71 | (hf : D.IsRationalFormsPullback a f) (hg' : D.IsRationalFormsPullback a g) : f = g := by |
| 72 | obtain ⟨n, hn, b, hb⟩ := hf.1 |
| 73 | have h := (hf.2 n hn b hb).trans (hg'.2 n hn b hb).symm |
| 74 | exact (smul_right_injective (M := Module.End ℂ D.pel.OneFormsA) |
| 75 | (Nat.cast_ne_zero.mpr (Nat.ne_of_gt hn))) h |
| 76 | |
| 77 | def Data.ActiveHeckeThetaData.heckeRationalForms (A : TateComparison.Action D.pel) : |
| 78 | SphericalGU.Spherical.FullHecke q s →ₗ[ℚ] Module.End ℂ D.pel.OneFormsA := |
| 79 | (D.rationalFormsPullback hg).comp A.algebraAction.toLinearMap |
| 80 | |
| 81 | theorem Data.ActiveHeckeThetaData.heckeRationalForms_spec (A : TateComparison.Action D.pel) (h : SphericalGU.Spherical.FullHecke q s) : |
| 82 | D.IsRationalFormsPullback (A.algebraAction h) (D.heckeRationalForms hg A h) := |
| 83 | D.rationalFormsPullback_spec hg (A.algebraAction h) |
| 84 | |
| 85 | include hg in |
| 86 | theorem Data.ActiveHeckeThetaData.exists_heckeRationalForms (A : TateComparison.Action D.pel) : |
| 87 | ∃ rhoForms : SphericalGU.Spherical.FullHecke q s →ₗ[ℚ] Module.End ℂ D.pel.OneFormsA, |
| 88 | ∀ h, D.IsRationalFormsPullback (A.algebraAction h) (rhoForms h) := |
| 89 | ⟨D.heckeRationalForms hg A, D.heckeRationalForms_spec hg A⟩ |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.RepresentationTheory.Theta.Geometric |