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 Mathlib.Algebra.Category.ModuleCat.ChangeOfRings |
| 2 | import Mathlib.RingTheory.Finiteness.Basic |
| 3 | import Mathlib.LinearAlgebra.TensorProduct.Basic |
| 4 | |
| 5 | /-! # Section Generators -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Scalar.SectionGenerators |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Generators of an original module generate every surjective scalar |
| 12 | extension through the images of their canonical pure tensors. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.CategoryTheory |
| 16 | open scoped TensorProduct ChangeOfRings |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem scalar_images_span_of_surjective |
| 21 | {R A : Type u} [CommRing R] [CommRing A] (f : R →+* A) |
| 22 | (M : ModuleCat.{u} R) (N : ModuleCat.{u} A) |
| 23 | (b : (ModuleCat.extendScalars f).obj M ⟶ N) (hb : Function.Surjective b) |
| 24 | {ι : Type*} (v : ι → M) (hv : Submodule.span R (Set.range v) = ⊤) : |
| 25 | Submodule.span A (Set.range (fun i => b ((1 : A) ⊗ₜ[R,f] v i))) = ⊤ := by |
| 26 | let : Algebra R A := f.toAlgebra |
| 27 | let q := (ModuleCat.extendRestrictScalarsAdj f).homEquiv M N b |
| 28 | let ψ : M →ₛₗ[f] N := |
| 29 | { q.hom.toAddHom with map_smul' := fun r m => q.hom.map_smul r m } |
| 30 | let Q := Submodule.span A (Set.range (fun i => b ((1 : A) ⊗ₜ[R,f] v i))) |
| 31 | have hψ (m : M) : ψ m ∈ Q := by |
| 32 | apply (Submodule.image_span_subset ψ (Set.range v) Q).mpr _ ⟨m, ?_, rfl⟩ |
| 33 | · rintro _ ⟨i, rfl⟩ |
| 34 | exact Submodule.subset_span ⟨i, rfl⟩ |
| 35 | · rw [hv] |
| 36 | trivial |
| 37 | apply top_unique |
| 38 | intro y hy |
| 39 | clear hy |
| 40 | obtain ⟨z, rfl⟩ := hb y |
| 41 | change b z ∈ Q |
| 42 | induction z using TensorProduct.inductionOn with |
| 43 | | tmul a m => |
| 44 | let a' : A := a |
| 45 | let m' : M := m |
| 46 | change b (a' ⊗ₜ[R] m') ∈ Q |
| 47 | have he : a' ⊗ₜ[R] m' = a' • ((1 : A) ⊗ₜ[R] m') := by |
| 48 | rw [TensorProduct.smul_tmul', smul_eq_mul, mul_one] |
| 49 | rw [he, b.hom.map_smul] |
| 50 | exact Q.smul_mem a' (hψ m') |
| 51 | | add z w hz hw => |
| 52 | rw [map_add] |
| 53 | exact Q.add_mem hz hw |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Scalar.SectionGenerators |