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.AugmentedCech.TopClassMap |
| 2 | |
| 3 | /-! # Top Class Coefficients -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.TopClassCoefficients |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Exact coefficient change preserves the actual full-intersection |
| 10 | class map, including its original cohomology comparison. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.HomologicalComplex |
| 12 | open OAI.NumberTheory.PadicHodge.IntegralComparison.TopHomologyCokernel |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u vA uA vB uB |
| 16 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 17 | {ι : Type u} [LinearOrder ι] [Fintype ι] (U : ι → C) |
| 18 | {A : Type uA} [Category.{vA} A] [Abelian A] [HasProducts.{u} A] |
| 19 | {B : Type uB} [Category.{vB} B] [Abelian B] [HasProducts.{u} B] |
| 20 | (G : A ⥤ B) [G.Additive] [PreservesLimitsOfSize.{u,u} G] [G.PreservesHomology] |
| 21 | (P : Cᵒᵖ ⥤ A) (m : ℕ) (hm : Fintype.card ι = m) |
| 22 | |
| 23 | omit [Abelian A] [Abelian B] [G.Additive] [G.PreservesHomology] in |
| 24 | theorem inclusion : |
| 25 | G.map (AugmentedOrdered.CechCoordinates.topInclusion U P m hm) ≫ |
| 26 | (CoefficientChange.objectIso U G P m).hom = |
| 27 | AugmentedOrdered.CechCoordinates.topInclusion U (P ⋙ G) m hm := by |
| 28 | apply Pi.hom_ext |
| 29 | intro a |
| 30 | rw [Category.assoc] |
| 31 | change G.map (AugmentedOrdered.CechCoordinates.topInclusion U P m hm) ≫ piComparison G _ ≫ _ = _ |
| 32 | erw [piComparison_comp_π, ← G.map_comp, AugmentedOrdered.CechCoordinates.topInclusion_comp_pi, AugmentedOrdered.CechCoordinates.topInclusion_comp_pi] |
| 33 | rfl |
| 34 | |
| 35 | def homologyIso : G.obj ((AugmentedOrdered.Cech.complex U P).homology m) ≅ (AugmentedOrdered.Cech.complex U (P ⋙ G)).homology m := |
| 36 | (((AugmentedOrdered.Cech.complex U P).sc m).mapHomologyIso G).symm ≪≫ |
| 37 | homologyMapIso (CoefficientChange.complexIso U G P) m |
| 38 | |
| 39 | theorem comparison : |
| 40 | G.map (TopClassMap.map U P m hm) ≫ (homologyIso U G P m).hom = |
| 41 | TopClassMap.map U (P ⋙ G) m hm := by |
| 42 | let K := AugmentedOrdered.Cech.complex U P |
| 43 | let L := (G.mapHomologicalComplex (.up ℕ)).obj K |
| 44 | let T := AugmentedOrdered.Cech.complex U (P ⋙ G) |
| 45 | let e := CoefficientChange.complexIso U G P |
| 46 | have hK : (K.sc m).g = 0 := TopClassMap.outgoing U P m hm |
| 47 | have hL : (L.sc m).g = 0 := by |
| 48 | change G.map (K.sc m).g = 0 |
| 49 | rw [hK, G.map_zero] |
| 50 | have hT : (T.sc m).g = 0 := TopClassMap.outgoing U (P ⋙ G) m hm |
| 51 | have hs : G.map (TopHomologyCokernel.shortClass (K.sc m) hK) ≫ ((K.sc m).mapHomologyIso G).inv = |
| 52 | TopHomologyCokernel.shortClass (L.sc m) hL := by |
| 53 | rw [← TopCycleBaseChange.shortClass_map G (K.sc m) hK hL, |
| 54 | Category.assoc, Iso.hom_inv_id, Category.comp_id] |
| 55 | rfl |
| 56 | have he : TopHomologyCokernel.shortClass (L.sc m) hL ≫ homologyMap e.hom m = |
| 57 | e.hom.f m ≫ TopHomologyCokernel.shortClass (T.sc m) hT := by |
| 58 | apply (cancel_mono (TopHomologyCokernel.shortIso (T.sc m) hT).hom).mp |
| 59 | erw [Category.assoc, TopHomologyCokernel.short_naturality |
| 60 | ((shortComplexFunctor B (.up ℕ) m).map e.hom) hL hT, |
| 61 | ← Category.assoc, TopHomologyCokernel.shortClass_iso (L.sc m) hL, |
| 62 | Category.assoc, TopHomologyCokernel.shortClass_iso (T.sc m) hT, cokernel.π_desc] |
| 63 | rfl |
| 64 | change G.map (AugmentedOrdered.CechCoordinates.topInclusion U P m hm ≫ TopHomologyCokernel.shortClass (K.sc m) hK) ≫ |
| 65 | (((K.sc m).mapHomologyIso G).inv ≫ homologyMap e.hom m) = |
| 66 | AugmentedOrdered.CechCoordinates.topInclusion U (P ⋙ G) m hm ≫ TopHomologyCokernel.shortClass (T.sc m) hT |
| 67 | rw [G.map_comp, Category.assoc, ← Category.assoc (G.map (TopHomologyCokernel.shortClass (K.sc m) hK)), hs, |
| 68 | he, ← Category.assoc] |
| 69 | exact congrArg (fun a => a ≫ TopHomologyCokernel.shortClass (T.sc m) hT) (inclusion U G P m hm) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.TopClassCoefficients |