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.Homology.DerivedCategory.Ext.ExactSequences |
| 2 | import Mathlib.Algebra.Homology.DerivedCategory.Ext.Linear |
| 3 | |
| 4 | /-! # Dimension Shift -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.DimensionShift |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: dimension shifting through actual short exact sequences |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | open Abelian |
| 17 | |
| 18 | universe u v z |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 21 | (X : C) {S : ShortComplex C} (hS : S.ShortExact) (m : ℕ) |
| 22 | |
| 23 | abbrev connecting : Ext.{z} X S.X₃ m →+ Ext.{z} X S.X₁ (m + 1) := |
| 24 | hS.extClass.postcomp X rfl |
| 25 | |
| 26 | theorem connecting_injective [Subsingleton (Ext.{z} X S.X₂ m)] : |
| 27 | Function.Injective (connecting X hS m) := by |
| 28 | apply (AddMonoidHom.ker_eq_bot_iff (connecting X hS m)).mp |
| 29 | rw [AddSubgroup.eq_bot_iff_forall] |
| 30 | intro x hx |
| 31 | obtain ⟨y, hy⟩ := Ext.covariant_sequence_exact₃ X hS x rfl hx |
| 32 | exact hy.symm.trans (by rw [Subsingleton.elim y 0, Ext.zero_comp]) |
| 33 | |
| 34 | theorem connecting_surjective [Subsingleton (Ext.{z} X S.X₂ (m + 1))] : |
| 35 | Function.Surjective (connecting X hS m) := by |
| 36 | intro x |
| 37 | exact Ext.covariant_sequence_exact₁ X hS x (Subsingleton.elim _ _) rfl |
| 38 | |
| 39 | def equivalence [Subsingleton (Ext.{z} X S.X₂ m)] [Subsingleton (Ext.{z} X S.X₂ (m + 1))] : |
| 40 | Ext.{z} X S.X₃ m ≃+ Ext.{z} X S.X₁ (m + 1) := |
| 41 | AddEquiv.ofBijective (connecting X hS m) ⟨connecting_injective X hS m, connecting_surjective X hS m⟩ |
| 42 | |
| 43 | def linearEquivalence (R : Type*) [CommRing R] [Linear R C] |
| 44 | [Subsingleton (Ext.{z} X S.X₂ m)] [Subsingleton (Ext.{z} X S.X₂ (m + 1))] : |
| 45 | Ext.{z} X S.X₃ m ≃ₗ[R] Ext.{z} X S.X₁ (m + 1) := |
| 46 | LinearEquiv.ofBijective (hS.extClass.postcompOfLinear R X rfl) |
| 47 | ⟨connecting_injective X hS m, connecting_surjective X hS m⟩ |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.DimensionShift |