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.ArithmeticGeometry.OrdinaryLocus.Openness.ModuleBaseChangeComplex |
| 2 | import Mathlib.RingTheory.Flat.Basic |
| 3 | |
| 4 | /-! # Flat Base Change Kernel -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FlatBaseChangeKernel.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical comparison between the tensor of a kernel and the kernel after flat base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {R : Type u} (K : Type u) [CommRing R] [CommRing K] [Algebra R K] |
| 18 | {M N : Type v} [AddCommGroup M] [AddCommGroup N] [Module R M] [Module R N] (f : M →ₗ[R] N) |
| 19 | |
| 20 | theorem baseChange_kernel_subtype_comp : |
| 21 | (f.baseChange K).comp (f.ker.subtype.baseChange K) = 0 := by |
| 22 | rw [← LinearMap.baseChange_comp] |
| 23 | have h : f.comp f.ker.subtype = 0 := by |
| 24 | ext x |
| 25 | exact x.property |
| 26 | rw [h, LinearMap.baseChange_zero] |
| 27 | |
| 28 | def baseChangeKernelMap : (K ⊗[R] f.ker) →ₗ[K] (f.baseChange K).ker := |
| 29 | (f.ker.subtype.baseChange K).codRestrict _ (fun x ↦ |
| 30 | LinearMap.congr_fun (baseChange_kernel_subtype_comp K f) x) |
| 31 | |
| 32 | theorem baseChangeKernelMap_bijective [Module.Flat R K] : Function.Bijective (baseChangeKernelMap K f) := by |
| 33 | constructor |
| 34 | · intro x y h |
| 35 | exact Module.Flat.lTensor_preserves_injective_linearMap (M := K) f.ker.subtype |
| 36 | Subtype.val_injective (congrArg Subtype.val h) |
| 37 | · intro z |
| 38 | have he := Module.Flat.lTensor_exact K f.exact_subtype_ker_map |
| 39 | obtain ⟨x, hx⟩ := (he z.val).mp z.property |
| 40 | exact ⟨x, Subtype.ext hx⟩ |
| 41 | |
| 42 | def flatBaseChangeKernelEquiv [Module.Flat R K] : |
| 43 | (K ⊗[R] f.ker) ≃ₗ[K] (f.baseChange K).ker := |
| 44 | LinearEquiv.ofBijective (baseChangeKernelMap K f) (baseChangeKernelMap_bijective K f) |
| 45 | |
| 46 | theorem flatBaseChangeKernelEquiv_tmul [Module.Flat R K] (a : K) (x : f.ker) : |
| 47 | (flatBaseChangeKernelEquiv K f (a ⊗ₜ[R] x)).val = a ⊗ₜ[R] x.val := rfl |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FlatBaseChangeKernel.Construction |