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.FiltrationTransportT |
| 2 | |
| 3 | /-! # Product Filtration -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ProductFiltration.FiltrationTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Product filtrations have the sum of the actual Hodge numbers. -/ |
| 10 | |
| 11 | variable {K V W : Type*} [Field K] [AddCommGroup V] [Module K V] |
| 12 | [AddCommGroup W] [Module K W] |
| 13 | |
| 14 | def product (F : Linear.FiniteFiltration K V) (G : Linear.FiniteFiltration K W) : Linear.FiniteFiltration K (V × W) where |
| 15 | step i := (F.step i).prod (G.step i) |
| 16 | antitone_step _ _ hij := Submodule.prod_mono (F.antitone_step hij) (G.antitone_step hij) |
| 17 | eventually_top := by |
| 18 | obtain ⟨a, ha⟩ := F.eventually_top |
| 19 | obtain ⟨b, hb⟩ := G.eventually_top |
| 20 | refine ⟨min a b, ?_⟩ |
| 21 | rw [F.step_eq_top ha (min_le_left _ _), G.step_eq_top hb (min_le_right _ _), Submodule.prod_top] |
| 22 | eventually_bot := by |
| 23 | obtain ⟨a, ha⟩ := F.eventually_bot |
| 24 | obtain ⟨b, hb⟩ := G.eventually_bot |
| 25 | refine ⟨max a b, ?_⟩ |
| 26 | rw [F.step_eq_bot ha (le_max_left _ _), G.step_eq_bot hb (le_max_right _ _), Submodule.prod_bot] |
| 27 | |
| 28 | def productSubmoduleEquiv (P : Submodule K V) (Q : Submodule K W) : (P × Q) ≃ₗ[K] P.prod Q where |
| 29 | toFun x := ⟨(x.1, x.2), x.1.property, x.2.property⟩ |
| 30 | invFun x := (⟨x.1.1, x.2.1⟩, ⟨x.1.2, x.2.2⟩) |
| 31 | left_inv _ := rfl |
| 32 | right_inv _ := rfl |
| 33 | map_add' _ _ := rfl |
| 34 | map_smul' _ _ := rfl |
| 35 | |
| 36 | variable [FiniteDimensional K V] [FiniteDimensional K W] |
| 37 | |
| 38 | theorem product_step_finrank (F : Linear.FiniteFiltration K V) (G : Linear.FiniteFiltration K W) (i : ℤ) : |
| 39 | Module.finrank K ((product F G).step i) = Module.finrank K (F.step i) + Module.finrank K (G.step i) := |
| 40 | (productSubmoduleEquiv (F.step i) (G.step i)).finrank_eq.symm.trans Module.finrank_prod |
| 41 | |
| 42 | theorem product_graded_finrank (F : Linear.FiniteFiltration K V) (G : Linear.FiniteFiltration K W) (i : ℤ) : |
| 43 | Module.finrank K ((product F G).Graded i) = Module.finrank K (F.Graded i) + Module.finrank K (G.Graded i) := by |
| 44 | have h₀ := product_step_finrank F G i |
| 45 | have h₁ := product_step_finrank F G (i + 1) |
| 46 | have hF := F.graded_finrank_add i |
| 47 | have hG := G.graded_finrank_add i |
| 48 | have hFG := (product F G).graded_finrank_add i |
| 49 | omega |
| 50 | |
| 51 | theorem product_tH (F : Linear.FiniteFiltration K V) (G : Linear.FiniteFiltration K W) : |
| 52 | (product F G).tH = F.tH + G.tH := by |
| 53 | unfold WeakAdmissibility.FilteredRepresentations.Construction.FiniteFiltration.tH |
| 54 | rw [← finsum_add_distrib F.hodge_summand_finite_support G.hodge_summand_finite_support] |
| 55 | congr 1 |
| 56 | funext i |
| 57 | rw [product_graded_finrank, Nat.cast_add, mul_add] |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ProductFiltration.FiltrationTransport |