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.AugmentedOrdered.CechSingleTopCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechCoefficientTop |
| 3 | import Mathlib.Data.Int.Order.Units |
| 4 | |
| 5 | /-! # Single Diagonal Class Image -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.SingleDiagonalClassImage |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! In the diagonal degree, the genuine single-coefficient map carries |
| 12 | the ordinary top class to the literal total residue with its original |
| 13 | interchange sign. No vanishing of the target complex is needed. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.HomologicalComplex |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechSingleTopCoordinates |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u v w |
| 19 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 20 | {ι : Type u} [LinearOrder ι] [Fintype ι] (U : ι → C) |
| 21 | {R : Type v} [CommRing R] [HasProducts.{u} (ModuleCat.{w} R)] |
| 22 | (N : Cᵒᵖ ⥤ ModuleCat.{w} R) (g : ℕ) (hg : Fintype.card ι = g) |
| 23 | (z : N.obj (op (AugmentedOrdered.CechCoordinates.topObject U g hg))) |
| 24 | |
| 25 | def sourceClass := AugmentedOrdered.CechLargeTop.topTotalClass U (AugmentedOrdered.CechSingleTopCoordinates.coefficientSingle N g) |
| 26 | g hg g (AugmentedOrdered.CechSingleTopCoordinates.singleValue U N g hg g z) (AugmentedOrdered.CechSingleTopCoordinates.singleValue_closed U N g hg g z) |
| 27 | |
| 28 | theorem coordinates : |
| 29 | (Functor.SingleTotal.homologyIso (AugmentedOrdered.CechFunctor.functor U) N g g).hom (sourceClass U N g hg z) = |
| 30 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) g g • AugmentedOrdered.CechTopClass.topClass U N g hg z := by |
| 31 | have h := AugmentedOrdered.CechSingleTopCoordinates.topTotalClass_coordinates U N g hg g z (AugmentedOrdered.CechSingleTopCoordinates.singleValue_closed U N g hg g z) |
| 32 | convert h using 1; rfl |
| 33 | |
| 34 | theorem inverse : |
| 35 | (Functor.SingleTotal.homologyIso (AugmentedOrdered.CechFunctor.functor U) N g g).inv (AugmentedOrdered.CechTopClass.topClass U N g hg z) = |
| 36 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) g g • sourceClass U N g hg z := by |
| 37 | let e := Functor.SingleTotal.homologyIso (AugmentedOrdered.CechFunctor.functor U) N g g |
| 38 | let s := ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) g g |
| 39 | have h : e.hom (s • sourceClass U N g hg z) = s • (s • AugmentedOrdered.CechTopClass.topClass U N g hg z) := by |
| 40 | change e.hom ((s : ℤ) • sourceClass U N g hg z) = _ |
| 41 | rw [map_zsmul, coordinates] |
| 42 | rfl |
| 43 | rw [smul_smul, Int.units_mul_self, one_smul] at h |
| 44 | apply (ModuleCat.mono_iff_injective e.hom).mp inferInstance |
| 45 | exact (ConcreteCategory.congr_hom e.inv_hom_id (AugmentedOrdered.CechTopClass.topClass U N g hg z)).trans h.symm |
| 46 | |
| 47 | variable (K : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{w} R) ℕ) |
| 48 | (a : AugmentedOrdered.CechSingleTopCoordinates.coefficientSingle N g ⟶ K) |
| 49 | |
| 50 | def image := (a.f g).app (op (AugmentedOrdered.CechCoordinates.topObject U g hg)) (AugmentedOrdered.CechSingleTopCoordinates.singleValue U N g hg g z) |
| 51 | |
| 52 | omit [HasProducts (ModuleCat R)] in |
| 53 | theorem image_closed : (K.d g (g+1)).app (op (AugmentedOrdered.CechCoordinates.topObject U g hg)) (image U N g hg z K a) = 0 := |
| 54 | AugmentedOrdered.CechCoefficientTop.mapped_coefficient_closed U a g hg g |
| 55 | (AugmentedOrdered.CechSingleTopCoordinates.singleValue U N g hg g z) (AugmentedOrdered.CechSingleTopCoordinates.singleValue_closed U N g hg g z) |
| 56 | |
| 57 | theorem map_apply : |
| 58 | homologyMap (AugmentedOrdered.CechCoefficientTop.totalMap U a) (g+g) |
| 59 | ((Functor.SingleTotal.homologyIso (AugmentedOrdered.CechFunctor.functor U) N g g).inv (AugmentedOrdered.CechTopClass.topClass U N g hg z)) = |
| 60 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) g g • |
| 61 | AugmentedOrdered.CechLargeTop.topTotalClass U K g hg g (image U N g hg z K a) |
| 62 | (image_closed U N g hg z K a) := by |
| 63 | rw [inverse] |
| 64 | simp only [Units.smul_def, map_zsmul] |
| 65 | exact congrArg (fun x => |
| 66 | ((ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) g g : ℤˣ) : ℤ) • x) |
| 67 | (AugmentedOrdered.CechCoefficientTop.topTotalClass_naturality U a g hg g |
| 68 | (AugmentedOrdered.CechSingleTopCoordinates.singleValue U N g hg g z) (AugmentedOrdered.CechSingleTopCoordinates.singleValue_closed U N g hg g z)) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.SingleDiagonalClassImage |