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.NumberTheory.PadicHodge.GeometricComparison.HeckeCommutation |
| 2 | import Mathlib.RingTheory.Flat.FaithfullyFlat.Basic |
| 3 | |
| 4 | /-! # Hecke Commutation Transport -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.HeckeCommutationTransport.GeneralizedHecke |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pairwise commutation transports through actual comparisons and descends along a field extension. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | variable {K V W : Type*} [Field K] [AddCommGroup V] [Module K V] |
| 15 | [AddCommGroup W] [Module K W] |
| 16 | |
| 17 | theorem commute_transport (e : V ≃ₗ[K] W) (T₁ T₂ : Module.End K V) (U₁ U₂ : Module.End K W) |
| 18 | (h₁ : ∀ x, e (T₁ x) = U₁ (e x)) (h₂ : ∀ x, e (T₂ x) = U₂ (e x)) |
| 19 | (h : Commute T₁ T₂) : Commute U₁ U₂ := by |
| 20 | rw [HeckeCommutation.GeneralizedHecke.eq_conjugate e T₁ U₁ h₁, HeckeCommutation.GeneralizedHecke.eq_conjugate e T₂ U₂ h₂] |
| 21 | exact h.map e.conjRingEquiv.toMonoidHom |
| 22 | |
| 23 | theorem commute_reflect (e : V ≃ₗ[K] W) (T₁ T₂ : Module.End K V) (U₁ U₂ : Module.End K W) |
| 24 | (h₁ : ∀ x, e (T₁ x) = U₁ (e x)) (h₂ : ∀ x, e (T₂ x) = U₂ (e x)) |
| 25 | (h : Commute U₁ U₂) : Commute T₁ T₂ := by |
| 26 | change T₁ * T₂ = T₂ * T₁ |
| 27 | apply LinearMap.ext |
| 28 | intro x |
| 29 | apply e.injective |
| 30 | change e (T₁ (T₂ x)) = e (T₂ (T₁ x)) |
| 31 | rw [h₁, h₂, h₂, h₁] |
| 32 | exact LinearMap.congr_fun h.eq (e x) |
| 33 | |
| 34 | theorem baseChange_eq_reflect (L : Type*) [Field L] [Algebra K L] |
| 35 | (f g : Module.End K V) (h : f.baseChange L = g.baseChange L) : f = g := by |
| 36 | apply LinearMap.ext |
| 37 | intro x |
| 38 | have hx : (1 : L) ⊗ₜ[K] (f x - g x) = 0 := by |
| 39 | rw [TensorProduct.tmul_sub] |
| 40 | exact sub_eq_zero.mpr (LinearMap.congr_fun h ((1 : L) ⊗ₜ[K] x)) |
| 41 | exact sub_eq_zero.mp ((Module.FaithfullyFlat.one_tmul_eq_zero_iff (R := K) V (A := L) (f x - g x)).mp hx) |
| 42 | |
| 43 | theorem commute_baseChange_reflect (L : Type*) [Field L] [Algebra K L] |
| 44 | (f g : Module.End K V) (h : Commute (f.baseChange L) (g.baseChange L)) : Commute f g := by |
| 45 | change f * g = g * f |
| 46 | apply baseChange_eq_reflect L |
| 47 | exact ((Module.End.baseChangeHom K L V).map_mul f g).trans |
| 48 | (h.eq.trans ((Module.End.baseChangeHom K L V).map_mul g f).symm) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.GeometricComparison.HeckeCommutationTransport.GeneralizedHecke |