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.AlbaneseRationalEnd |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Cohomology |
| 3 | |
| 4 | /-! # Rational Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Extending an additive actual integral H1 pullback gives precisely |
| 11 | the statement's all-denominator rational pullback relation. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | def RationalExtension.rationalExtensionOfAddHom {M V : Type*} [AddCommGroup M] [AddCommGroup V] [Module ℚ V] |
| 17 | (f : M →+ V) : ℚ ⊗[ℤ] M →ₗ[ℚ] V := |
| 18 | TensorProduct.AlgebraTensorModule.lift (LinearMap.toSpanSingleton ℚ (M →ₗ[ℤ] V) f.toIntLinearMap) |
| 19 | |
| 20 | theorem RationalExtension.rationalExtensionOfAddHom_tmul {M V : Type*} [AddCommGroup M] [AddCommGroup V] [Module ℚ V] |
| 21 | (f : M →+ V) (r : ℚ) (a : M) : RationalExtension.rationalExtensionOfAddHom f (r ⊗ₜ[ℤ] a) = r • f a := rfl |
| 22 | |
| 23 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 24 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 25 | (D : Data.SphericalPELAlbaneseData E K s q) |
| 26 | |
| 27 | theorem Data.SphericalPELAlbaneseData.pullbackH1Integral_zero : D.pullbackH1Integral 0 = 0 := by |
| 28 | unfold Data.SphericalPELAlbaneseData.pullbackH1Integral |
| 29 | rw [BaseChange.endSchemeMap_zero, Functor.map_one] |
| 30 | exact PELModuli.IntegralModel.Product.bettiPullbackQ_one 1 (by decide) |
| 31 | |
| 32 | def Data.SphericalPELAlbaneseData.integralH1PullbackAddHom |
| 33 | (hadd : ∀ a b : D.EndK, D.pullbackH1Integral (a + b) = D.pullbackH1Integral a + D.pullbackH1Integral b) : |
| 34 | D.EndK →+ Module.End ℚ D.H1 where |
| 35 | toFun := D.pullbackH1Integral |
| 36 | map_zero' := D.pullbackH1Integral_zero |
| 37 | map_add' := hadd |
| 38 | |
| 39 | def Data.SphericalPELAlbaneseData.rationalH1Pullback |
| 40 | (hadd : ∀ a b : D.EndK, D.pullbackH1Integral (a + b) = D.pullbackH1Integral a + D.pullbackH1Integral b) : |
| 41 | D.EndQ →ₗ[ℚ] Module.End ℚ D.H1 := |
| 42 | RationalExtension.rationalExtensionOfAddHom (D.integralH1PullbackAddHom hadd) |
| 43 | |
| 44 | theorem Data.SphericalPELAlbaneseData.rationalH1Pullback_integral |
| 45 | (hadd : ∀ a b : D.EndK, D.pullbackH1Integral (a + b) = D.pullbackH1Integral a + D.pullbackH1Integral b) |
| 46 | (a : D.EndK) : D.rationalH1Pullback hadd (D.toRational a) = D.pullbackH1Integral a := by |
| 47 | change RationalExtension.rationalExtensionOfAddHom (D.integralH1PullbackAddHom hadd) (1 ⊗ₜ[ℤ] a) = _ |
| 48 | rw [RationalExtension.rationalExtensionOfAddHom_tmul, one_smul] |
| 49 | rfl |
| 50 | |
| 51 | theorem Data.SphericalPELAlbaneseData.rationalH1Pullback_spec |
| 52 | (hadd : ∀ a b : D.EndK, D.pullbackH1Integral (a + b) = D.pullbackH1Integral a + D.pullbackH1Integral b) |
| 53 | (x : D.EndQ) : D.IsRationalH1Pullback x (D.rationalH1Pullback hadd x) := by |
| 54 | obtain ⟨m, hm, a, ha⟩ := D.endQ_positive_denominator x |
| 55 | refine ⟨⟨m, hm, a, ha⟩, ?_⟩ |
| 56 | intro n _ a ha |
| 57 | have h := congrArg (D.rationalH1Pullback hadd) ha |
| 58 | rw [map_nsmul, Data.SphericalPELAlbaneseData.rationalH1Pullback_integral] at h |
| 59 | exact (Nat.cast_smul_eq_nsmul ℚ n _).trans h |
| 60 | |
| 61 | theorem Data.SphericalPELAlbaneseData.isRationalH1Pullback_unique (x : D.EndQ) (f g : Module.End ℚ D.H1) |
| 62 | (hf : D.IsRationalH1Pullback x f) (hg : D.IsRationalH1Pullback x g) : f = g := by |
| 63 | obtain ⟨n, hn, a, ha⟩ := hf.1 |
| 64 | have he := (hf.2 n hn a ha).trans (hg.2 n hn a ha).symm |
| 65 | exact (smul_right_injective (M := Module.End ℚ D.H1) (Nat.cast_ne_zero.mpr (Nat.ne_of_gt hn))) he |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |