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.IntegralComparison.FiniteEtale.PresheafTrace |
| 2 | import Mathlib.Algebra.Category.Grp.ForgetCorepresentable |
| 3 | |
| 4 | /-! # Presheaf Trace Elements -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.PresheafTraceElements |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Elementwise finite-étale trace detection in the genuine additive |
| 11 | cohomology groups, without imposing linearity on the cohomology functor. -/ |
| 12 | open _root_.CategoryTheory |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u v w |
| 17 | variable {C : Type v} [Category C] (R B : Type u) [CommRing R] [CommRing B] |
| 18 | [Algebra R B] [Module.Free R B] [Module.Finite R B] [Algebra.Etale R B] |
| 19 | (P : C ⥤ ModuleCat.{u} R) |
| 20 | (F : (C ⥤ ModuleCat.{u} R) ⥤ AddCommGrpCat.{w}) [F.Additive] |
| 21 | |
| 22 | theorem jointly_injective (a b : F.obj (PresheafTrace.tensor R B P)) |
| 23 | (h : ∀ x : B, F.map (PresheafTrace.pairing R B P x) a = F.map (PresheafTrace.pairing R B P x) b) : a = b := by |
| 24 | let a₀ : AddCommGrpCat.of (ULift.{w} ℤ) ⟶ F.obj (PresheafTrace.tensor R B P) := |
| 25 | AddCommGrpCat.ofHom (uliftZMultiplesHom _ a) |
| 26 | let b₀ : AddCommGrpCat.of (ULift.{w} ℤ) ⟶ F.obj (PresheafTrace.tensor R B P) := |
| 27 | AddCommGrpCat.ofHom (uliftZMultiplesHom _ b) |
| 28 | have he : a₀ = b₀ := by |
| 29 | apply PresheafTrace.jointly_monic R B P F |
| 30 | intro x |
| 31 | apply AddCommGrpCat.hom_ext |
| 32 | apply AddMonoidHom.ext |
| 33 | intro n |
| 34 | change F.map (PresheafTrace.pairing R B P x) (n.down • a) = F.map (PresheafTrace.pairing R B P x) (n.down • b) |
| 35 | rw [map_zsmul, map_zsmul, h] |
| 36 | have hn := ConcreteCategory.congr_hom he (ULift.up (1 : ℤ)) |
| 37 | change (1 : ℤ) • a = (1 : ℤ) • b at hn |
| 38 | simpa only [one_zsmul] using hn |
| 39 | |
| 40 | theorem equals_inserted_element (a : F.obj (PresheafTrace.tensor R B P)) (y : F.obj P) (z : B) |
| 41 | (h : ∀ x : B, F.map (PresheafTrace.pairing R B P x) a = |
| 42 | F.map (PresheafTrace.scalar R P (Algebra.trace R B (z*x))) y) : |
| 43 | a = F.map (PresheafTrace.insertion R B P z) y := by |
| 44 | apply jointly_injective R B P F |
| 45 | intro x |
| 46 | have hm := ConcreteCategory.congr_hom |
| 47 | (congrArg F.map (PresheafTrace.insertion_pairing R B P z x)) y |
| 48 | rw [F.map_comp] at hm |
| 49 | exact (h x).trans hm.symm |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.PresheafTraceElements |