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.AcyclicSheafResolution |
| 2 | |
| 3 | /-! # Acyclic Resolution Dimension Shift -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AcyclicResolutionDimensionShift.IntrinsicCech |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual connecting maps identify the positive cohomology of the cycle sheaves in an acyclic resolution with shifted cohomology of the resolved sheaf. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 11 | universe u |
| 12 | variable {X : TopCat.{u}} |
| 13 | |
| 14 | def acyclicMiddleCohomologyShift |
| 15 | {S : ShortComplex (TopCat.Sheaf AddCommGrpCat.{u} X)} |
| 16 | (hS : S.ShortExact) (n : ℕ) |
| 17 | (h₀ : Subsingleton (CategoryTheory.Sheaf.H S.X₂ n)) |
| 18 | (h₁ : Subsingleton (CategoryTheory.Sheaf.H S.X₂ (n + 1))) : |
| 19 | ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) n : |
| 20 | _ ⥤ AddCommGrpCat.{u}).obj S.X₃) ≃+ |
| 21 | ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + 1) : |
| 22 | _ ⥤ AddCommGrpCat.{u}).obj S.X₁) := by |
| 23 | letI : Subsingleton (CategoryTheory.Sheaf.H S.X₂ n) := h₀ |
| 24 | letI : Subsingleton (CategoryTheory.Sheaf.H S.X₂ (n + 1)) := h₁ |
| 25 | let d := HilbertConstruction.Sheaf.CohomologyExact.SheafCohomologyExact.Cohomology.δ hS n (n + 1) rfl |
| 26 | apply AddEquiv.ofBijective d |
| 27 | constructor |
| 28 | · intro x y hxy |
| 29 | have hzero : d (x - y) = 0 := by rw [map_sub, hxy, sub_self] |
| 30 | obtain ⟨z, hz⟩ := HilbertConstruction.Sheaf.CohomologyExact.SheafCohomologyExact.Cohomology.longSequence_exact₃_explicit hS n (n + 1) rfl (x - y) hzero |
| 31 | have hz0 : z = 0 := Subsingleton.elim _ _ |
| 32 | rw [hz0, map_zero] at hz |
| 33 | exact sub_eq_zero.mp hz.symm |
| 34 | · intro y |
| 35 | exact HilbertConstruction.Sheaf.CohomologyExact.SheafCohomologyExact.Cohomology.longSequence_exact₁_explicit hS n (n + 1) rfl y (Subsingleton.elim _ _) |
| 36 | |
| 37 | variable (K : CochainComplex (TopCat.Sheaf AddCommGrpCat.{u} X) ℕ) |
| 38 | {F : TopCat.Sheaf AddCommGrpCat.{u} X} (e : F ⟶ K.X 0) |
| 39 | (w : e ≫ K.d 0 1 = 0) [he : Mono e] |
| 40 | (haug : (ShortComplex.mk e (K.d 0 1) w).Exact) |
| 41 | (hpos : ∀ n, (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K n).Exact) |
| 42 | (hK : ∀ p q, Subsingleton (CategoryTheory.Sheaf.H (K.X p) (q + 1))) |
| 43 | |
| 44 | include he in |
| 45 | def resolutionCycleCohomologyShift (n q : ℕ) : |
| 46 | ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (q + 1) : |
| 47 | _ ⥤ AddCommGrpCat.{u}).obj (AcyclicSheafResolution.IntrinsicCech.resolutionDifferentialShortComplex K n).cycles) ≃+ |
| 48 | ((CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology X) (n + q + 2) : |
| 49 | _ ⥤ AddCommGrpCat.{u}).obj F) := by |
| 50 | induction n generalizing q with |
| 51 | | zero => |
| 52 | have hq : 0 + q + 2 = (q + 1) + 1 := by omega |
| 53 | rw [hq] |
| 54 | exact acyclicMiddleCohomologyShift |
| 55 | (@AcyclicSheafResolution.IntrinsicCech.initialResolutionCycleSequence_shortExact X K F e w he haug hpos) (q + 1) |
| 56 | (hK 0 q) (hK 0 (q + 1)) |
| 57 | | succ n ih => |
| 58 | let d := acyclicMiddleCohomologyShift |
| 59 | (AcyclicSheafResolution.IntrinsicCech.successiveResolutionCycleSequence_shortExact K hpos n) (q + 1) |
| 60 | (hK (n + 1) q) (hK (n + 1) (q + 1)) |
| 61 | have hn : n + (q + 1) + 2 = (n + 1) + q + 2 := by omega |
| 62 | rw [← hn] |
| 63 | exact d.trans (ih (q + 1)) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AcyclicResolutionDimensionShift.IntrinsicCech |