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.KernelTowerCechHomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KernelTowerMap |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ComputedHomologyNaturality |
| 4 | |
| 5 | /-! # Kernel Tower Cech Naturality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.KernelTowerCechNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native Čech dimension shifts and computed tower homology are |
| 12 | natural for genuine compatible maps of coherent kernel towers. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X S : Scheme.{u}} (π : X ⟶ S) [X.IsSeparated] |
| 19 | {ι : Type u} [Fintype ι] [LinearOrder ι] (U : ι → X.Opens) |
| 20 | (hU : ∀ i, IsAffineOpen (U i)) |
| 21 | {T T' : KernelTowerResolution.Tower (C := X.Modules)} |
| 22 | [∀ n, (T.object n).IsQuasicoherent] [∀ n, (T.term n).IsQuasicoherent] |
| 23 | [∀ n, (T'.object n).IsQuasicoherent] [∀ n, (T'.term n).IsQuasicoherent] |
| 24 | (a : KernelTowerMap.Hom T T') |
| 25 | |
| 26 | def sequenceMap (n : ℕ) : T.sequence n ⟶ T'.sequence n where |
| 27 | τ₁ := a.object (n + 1) |
| 28 | τ₂ := a.term n |
| 29 | τ₃ := a.object n |
| 30 | comm₁₂ := a.inclusion n |
| 31 | comm₂₃ := a.projection n |
| 32 | |
| 33 | def cechSequenceMap (n : ℕ) : |
| 34 | KernelTowerCechShift.sequence π U T n ⟶ KernelTowerCechShift.sequence π U T' n := |
| 35 | (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechComplexFunctor π U).mapShortComplex.map (sequenceMap a n) |
| 36 | |
| 37 | omit [Fintype ι] in |
| 38 | theorem connecting (n q : ℕ) : |
| 39 | (KernelTowerCechShift.sequence_shortExact π U hU T n).δ q (q + 1) (by simp) ≫ |
| 40 | (TopCechRightExact.functor π U (q + 1)).map (a.object (n + 1)) = |
| 41 | (TopCechRightExact.functor π U q).map (a.object n) ≫ |
| 42 | (KernelTowerCechShift.sequence_shortExact π U hU T' n).δ q (q + 1) (by simp) := |
| 43 | HomologicalComplex.HomologySequence.δ_naturality (cechSequenceMap π U a n) |
| 44 | (KernelTowerCechShift.sequence_shortExact π U hU T n) |
| 45 | (KernelTowerCechShift.sequence_shortExact π U hU T' n) q (q + 1) (by simp) |
| 46 | |
| 47 | omit [Fintype ι] in |
| 48 | theorem shift (n q : ℕ) |
| 49 | (h : IsZero ((TopCechRightExact.functor π U q).obj (T.term n))) |
| 50 | (h' : IsZero ((TopCechRightExact.functor π U (q + 1)).obj (T.term n))) |
| 51 | (hT : IsZero ((TopCechRightExact.functor π U q).obj (T'.term n))) |
| 52 | (hT' : IsZero ((TopCechRightExact.functor π U (q + 1)).obj (T'.term n))) : |
| 53 | (KernelTowerCechShift.shiftIso π U hU T n q h h').hom ≫ |
| 54 | (TopCechRightExact.functor π U (q + 1)).map (a.object (n + 1)) = |
| 55 | (TopCechRightExact.functor π U q).map (a.object n) ≫ |
| 56 | (KernelTowerCechShift.shiftIso π U hU T' n q hT hT').hom := |
| 57 | connecting π U hU a n q |
| 58 | |
| 59 | omit [Fintype ι] in |
| 60 | theorem iteratedShift (q n : ℕ) |
| 61 | (h : ∀ m < n, |
| 62 | IsZero ((TopCechRightExact.functor π U (q + m)).obj (T.term m)) ∧ |
| 63 | IsZero ((TopCechRightExact.functor π U (q + m + 1)).obj (T.term m))) |
| 64 | (h' : ∀ m < n, |
| 65 | IsZero ((TopCechRightExact.functor π U (q + m)).obj (T'.term m)) ∧ |
| 66 | IsZero ((TopCechRightExact.functor π U (q + m + 1)).obj (T'.term m))) : |
| 67 | (KernelTowerCechShift.iteratedShiftIso π U hU T q n h).hom ≫ |
| 68 | (TopCechRightExact.functor π U (q + n)).map (a.object n) = |
| 69 | (TopCechRightExact.functor π U q).map (a.object 0) ≫ |
| 70 | (KernelTowerCechShift.iteratedShiftIso π U hU T' q n h').hom := by |
| 71 | induction n with |
| 72 | | zero => |
| 73 | change 𝟙 _ ≫ (TopCechRightExact.functor π U q).map (a.object 0) = |
| 74 | (TopCechRightExact.functor π U q).map (a.object 0) ≫ 𝟙 _ |
| 75 | rw [Category.id_comp, Category.comp_id] |
| 76 | | succ n ih => |
| 77 | let h0 := fun m hm => h m (Nat.lt_trans hm (Nat.lt_succ_self n)) |
| 78 | let h0' := fun m hm => h' m (Nat.lt_trans hm (Nat.lt_succ_self n)) |
| 79 | let e := KernelTowerCechShift.iteratedShiftIso π U hU T q n h0 |
| 80 | let e' := KernelTowerCechShift.iteratedShiftIso π U hU T' q n h0' |
| 81 | let s := KernelTowerCechShift.shiftIso π U hU T n (q + n) |
| 82 | (h n (Nat.lt_succ_self n)).1 (h n (Nat.lt_succ_self n)).2 |
| 83 | let s' := KernelTowerCechShift.shiftIso π U hU T' n (q + n) |
| 84 | (h' n (Nat.lt_succ_self n)).1 (h' n (Nat.lt_succ_self n)).2 |
| 85 | have hs := shift π U hU a n (q + n) |
| 86 | (h n (Nat.lt_succ_self n)).1 (h n (Nat.lt_succ_self n)).2 |
| 87 | (h' n (Nat.lt_succ_self n)).1 (h' n (Nat.lt_succ_self n)).2 |
| 88 | exact (Category.assoc _ _ _).trans |
| 89 | ((congrArg (fun b => e.hom ≫ b) hs).trans |
| 90 | ((Category.assoc _ _ _).symm.trans |
| 91 | ((congrArg (fun b => b ≫ s'.hom) (ih h0 h0')).trans (Category.assoc _ _ _)))) |
| 92 | |
| 93 | def complexMap (N : ℕ) : KernelTowerCechHomology.complex π U T N ⟶ |
| 94 | KernelTowerCechHomology.complex π U T' N := |
| 95 | ((TopCechRightExact.functor π U N).mapHomologicalComplex (.down ℕ)).map a.chainMap |
| 96 | |
| 97 | theorem zero (N : ℕ) (hN : Fintype.card ι ≤ N + 1) : |
| 98 | HomologicalComplex.homologyMap (complexMap π U a N) 0 ≫ |
| 99 | (KernelTowerCechHomology.zeroIso π U hU T' N hN).hom = |
| 100 | (KernelTowerCechHomology.zeroIso π U hU T N hN).hom ≫ |
| 101 | (TopCechRightExact.functor π U N).map (a.object 0) := by |
| 102 | let F := TopCechRightExact.functor π U N |
| 103 | let ep : Epi (F.map (T.projection 0)) := TopCechRightExact.map_epi π U hU N hN (T.projection 0) |
| 104 | let eq : Epi (F.map (T'.projection 0)) := TopCechRightExact.map_epi π U hU N hN (T'.projection 0) |
| 105 | have h : F.map (a.term 0) ≫ F.map (T'.projection 0) = |
| 106 | F.map (T.projection 0) ≫ F.map (a.object 0) := |
| 107 | (F.map_comp _ _).symm.trans ((congrArg F.map (a.projection 0)).trans (F.map_comp _ _)) |
| 108 | exact ComputedHomologyNaturality.chainZero (hp_epi := ep) (hq_epi := eq) (complexMap π U a N) |
| 109 | (F.map (T.projection 0)) _ _ (F.map (T'.projection 0)) _ _ (F.map (a.object 0)) h |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.NumberTheory.PadicHodge.IntegralComparison.KernelTowerCechNaturality |