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.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ResolutionCycleMaps |
| 2 | |
| 3 | /-! # Resolution Shift Naturality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ResolutionShiftNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Naturality of the iterated connecting isomorphism of an acyclic resolution. -/ |
| 10 | set_option backward.dsimp.instances true |
| 11 | set_option backward.dsimp.proofs true |
| 12 | set_option backward.isDefEq.respectTransparency.types false |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 16 | universe u |
| 17 | namespace IntrinsicCech |
| 18 | |
| 19 | private theorem castShift_naturality |
| 20 | (A B : Type*) [AddCommGroup A] [AddCommGroup B] |
| 21 | (P Q : ℕ → Type*) [∀ n, AddCommGroup (P n)] [∀ n, AddCommGroup (Q n)] |
| 22 | (a : A → B) (v : ∀ n, P n → Q n) |
| 23 | {i j : ℕ} (e : i = j) (p : A ≃+ P i) (q : B ≃+ Q i) (x : A) |
| 24 | (h : q (a x) = v i (p x)) : |
| 25 | (Eq.mpr (congrArg (fun n => B ≃+ Q n) e.symm) q) (a x) = |
| 26 | v j ((Eq.mpr (congrArg (fun n => A ≃+ P n) e.symm) p) x) := by |
| 27 | cases e |
| 28 | exact h |
| 29 | |
| 30 | variable {X : TopCat.{u}} |
| 31 | {K L : CochainComplex (TopCat.Sheaf AddCommGrpCat.{u} X) ℕ} |
| 32 | {F G : TopCat.Sheaf AddCommGrpCat.{u} X} |
| 33 | (eK : F ⟶ K.X 0) (wK : eK ≫ K.d 0 1 = 0) [heK : Mono eK] |
| 34 | (eL : G ⟶ L.X 0) (wL : eL ≫ L.d 0 1 = 0) [heL : Mono eL] |
| 35 | (haugK : (ShortComplex.mk eK (K.d 0 1) wK).Exact) |
| 36 | (haugL : (ShortComplex.mk eL (L.d 0 1) wL).Exact) |
| 37 | (hposK : ∀ n, (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K n).Exact) |
| 38 | (hposL : ∀ n, (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex L n).Exact) |
| 39 | (hK : ∀ p q, Subsingleton (CategoryTheory.Sheaf.H (K.X p) (q + 1))) |
| 40 | (hL : ∀ p q, Subsingleton (CategoryTheory.Sheaf.H (L.X p) (q + 1))) |
| 41 | (f : F ⟶ G) (ψ : K ⟶ L) (hψ : f ≫ eL = eK ≫ ψ.f 0) |
| 42 | |
| 43 | include hψ heK heL in |
| 44 | private theorem resolutionCycleCohomologyShift_naturality_zero (q : ℕ) |
| 45 | (x : CategoryTheory.Sheaf.H (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K 0).cycles (q + 1)) : |
| 46 | AcyclicResolutionDimensionShift.IntrinsicCech.resolutionCycleCohomologyShift L eL wL haugL hposL hL 0 q |
| 47 | (CategoryTheory.Sheaf.H.map |
| 48 | (ShortComplex.cyclesMap (ResolutionCycleMaps.IntrinsicCech.resolutionDifferentialShortComplexMap ψ 0)) (q + 1) x) = |
| 49 | CategoryTheory.Sheaf.H.map f (0 + q + 2) |
| 50 | (AcyclicResolutionDimensionShift.IntrinsicCech.resolutionCycleCohomologyShift K eK wK haugK hposK hK 0 q x) := by |
| 51 | have hh := ResolutionCycleMaps.IntrinsicCech.acyclicMiddleCohomologyShift_naturality |
| 52 | (@AcyclicSheafResolution.IntrinsicCech.initialResolutionCycleSequence_shortExact X K F eK wK heK haugK hposK) |
| 53 | (@AcyclicSheafResolution.IntrinsicCech.initialResolutionCycleSequence_shortExact X L G eL wL heL haugL hposL) |
| 54 | (ResolutionCycleMaps.IntrinsicCech.initialResolutionCycleSequenceMap eK wK eL wL f ψ hψ) (q + 1) |
| 55 | (hK 0 q) (hK 0 (q + 1)) (hL 0 q) (hL 0 (q + 1)) x |
| 56 | let eK0 := AcyclicResolutionDimensionShift.IntrinsicCech.acyclicMiddleCohomologyShift |
| 57 | (@AcyclicSheafResolution.IntrinsicCech.initialResolutionCycleSequence_shortExact X K F eK wK heK haugK hposK) |
| 58 | (q + 1) (hK 0 q) (hK 0 (q + 1)) |
| 59 | let eL0 := AcyclicResolutionDimensionShift.IntrinsicCech.acyclicMiddleCohomologyShift |
| 60 | (@AcyclicSheafResolution.IntrinsicCech.initialResolutionCycleSequence_shortExact X L G eL wL heL haugL hposL) |
| 61 | (q + 1) (hL 0 q) (hL 0 (q + 1)) |
| 62 | have hs := castShift_naturality |
| 63 | (CategoryTheory.Sheaf.H (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K 0).cycles (q + 1)) |
| 64 | (CategoryTheory.Sheaf.H (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex L 0).cycles (q + 1)) |
| 65 | (fun n => CategoryTheory.Sheaf.H F n) |
| 66 | (fun n => CategoryTheory.Sheaf.H G n) |
| 67 | (CategoryTheory.Sheaf.H.map (ShortComplex.cyclesMap (ResolutionCycleMaps.IntrinsicCech.resolutionDifferentialShortComplexMap ψ 0)) (q + 1)) |
| 68 | (fun n => CategoryTheory.Sheaf.H.map f n) |
| 69 | (by omega : (q + 1) + 1 = 0 + q + 2) |
| 70 | eK0 eL0 x (by exact hh) |
| 71 | simp only [eK0, eL0, AcyclicResolutionDimensionShift.IntrinsicCech.resolutionCycleCohomologyShift, Nat.recAux, Nat.rec_zero] at hs ⊢ |
| 72 | exact hs |
| 73 | |
| 74 | include hψ heK heL in |
| 75 | theorem resolutionCycleCohomologyShift_naturality (n q : ℕ) |
| 76 | (x : CategoryTheory.Sheaf.H (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K n).cycles (q + 1)) : |
| 77 | AcyclicResolutionDimensionShift.IntrinsicCech.resolutionCycleCohomologyShift L eL wL haugL hposL hL n q |
| 78 | (CategoryTheory.Sheaf.H.map |
| 79 | (ShortComplex.cyclesMap (ResolutionCycleMaps.IntrinsicCech.resolutionDifferentialShortComplexMap ψ n)) (q + 1) x) = |
| 80 | CategoryTheory.Sheaf.H.map f (n + q + 2) |
| 81 | (AcyclicResolutionDimensionShift.IntrinsicCech.resolutionCycleCohomologyShift K eK wK haugK hposK hK n q x) := by |
| 82 | induction n generalizing q with |
| 83 | | zero => |
| 84 | exact resolutionCycleCohomologyShift_naturality_zero |
| 85 | eK wK eL wL haugK haugL hposK hposL hK hL f ψ hψ q x |
| 86 | | succ n ih => |
| 87 | have hd := ResolutionCycleMaps.IntrinsicCech.acyclicMiddleCohomologyShift_naturality |
| 88 | (AcyclicSheafResolution.IntrinsicCech.successiveResolutionCycleSequence_shortExact K hposK n) |
| 89 | (AcyclicSheafResolution.IntrinsicCech.successiveResolutionCycleSequence_shortExact L hposL n) |
| 90 | (ResolutionCycleMaps.IntrinsicCech.successiveResolutionCycleSequenceMap ψ n) (q + 1) |
| 91 | (hK (n + 1) q) (hK (n + 1) (q + 1)) |
| 92 | (hL (n + 1) q) (hL (n + 1) (q + 1)) x |
| 93 | dsimp only [ResolutionCycleMaps.IntrinsicCech.successiveResolutionCycleSequenceMap] at hd |
| 94 | have hi := ih (q + 1) |
| 95 | (AcyclicResolutionDimensionShift.IntrinsicCech.acyclicMiddleCohomologyShift |
| 96 | (AcyclicSheafResolution.IntrinsicCech.successiveResolutionCycleSequence_shortExact K hposK n) (q + 1) |
| 97 | (hK (n + 1) q) (hK (n + 1) (q + 1)) x) |
| 98 | have hh := (congrArg |
| 99 | (AcyclicResolutionDimensionShift.IntrinsicCech.resolutionCycleCohomologyShift L eL wL haugL hposL hL n (q + 1)) hd).trans hi |
| 100 | let eKn := ((AcyclicResolutionDimensionShift.IntrinsicCech.acyclicMiddleCohomologyShift (AcyclicSheafResolution.IntrinsicCech.successiveResolutionCycleSequence_shortExact K hposK n) |
| 101 | (q + 1) (hK (n + 1) q) (hK (n + 1) (q + 1))).trans |
| 102 | (AcyclicResolutionDimensionShift.IntrinsicCech.resolutionCycleCohomologyShift K eK wK haugK hposK hK n (q + 1))) |
| 103 | let eLn := ((AcyclicResolutionDimensionShift.IntrinsicCech.acyclicMiddleCohomologyShift (AcyclicSheafResolution.IntrinsicCech.successiveResolutionCycleSequence_shortExact L hposL n) |
| 104 | (q + 1) (hL (n + 1) q) (hL (n + 1) (q + 1))).trans |
| 105 | (AcyclicResolutionDimensionShift.IntrinsicCech.resolutionCycleCohomologyShift L eL wL haugL hposL hL n (q + 1))) |
| 106 | have hs := castShift_naturality |
| 107 | (CategoryTheory.Sheaf.H (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K (n + 1)).cycles (q + 1)) |
| 108 | (CategoryTheory.Sheaf.H (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex L (n + 1)).cycles (q + 1)) |
| 109 | (fun n => CategoryTheory.Sheaf.H F n) |
| 110 | (fun n => CategoryTheory.Sheaf.H G n) |
| 111 | (CategoryTheory.Sheaf.H.map (ShortComplex.cyclesMap (ResolutionCycleMaps.IntrinsicCech.resolutionDifferentialShortComplexMap ψ (n + 1))) (q + 1)) |
| 112 | (fun m => CategoryTheory.Sheaf.H.map f m) |
| 113 | (by omega : n + (q + 1) + 2 = (n + 1) + q + 2) |
| 114 | eKn eLn x (by exact hh) |
| 115 | simp only [eKn, eLn, AcyclicResolutionDimensionShift.IntrinsicCech.resolutionCycleCohomologyShift, Nat.recAux] at hs ⊢ |
| 116 | exact hs |
| 117 | |
| 118 | end IntrinsicCech |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ResolutionShiftNaturality |