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.Comparison.Betti.ExtVanishing |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.HomologicalComplex |
| 3 | |
| 4 | /-! # Resolution Cycles -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.ResolutionCycles.Ext |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Cycle sequences and dimension shifting for an actual augmented acyclic resolution. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{w} C] |
| 17 | (A : C) (K : CochainComplex C ℕ) |
| 18 | |
| 19 | abbrev resolutionSequence (n : ℕ) : ShortComplex C := |
| 20 | ShortComplex.mk (K.d n (n + 1)) (K.d (n + 1) (n + 2)) (K.d_comp_d n (n + 1) (n + 2)) |
| 21 | |
| 22 | variable {F : C} (e : F ⟶ K.X 0) (w : e ≫ K.d 0 1 = 0) |
| 23 | |
| 24 | abbrev initialCycleSequence : ShortComplex C := |
| 25 | let T := resolutionSequence K 0 |
| 26 | ShortComplex.mk e T.toCycles (by |
| 27 | rw [← cancel_mono T.iCycles, Category.assoc, T.toCycles_i, zero_comp] |
| 28 | exact w) |
| 29 | |
| 30 | omit [HasExt C] in |
| 31 | theorem initialCycleSequence_shortExact [Mono e] |
| 32 | (haug : (ShortComplex.mk e (K.d 0 1) w).Exact) |
| 33 | (hpos : ∀ n, (resolutionSequence K n).Exact) : |
| 34 | (initialCycleSequence K e w).ShortExact := by |
| 35 | let T := resolutionSequence K 0 |
| 36 | let S := initialCycleSequence K e w |
| 37 | have hk : IsLimit (KernelFork.ofι S.f S.zero) := |
| 38 | isKernelOfComp T.iCycles T.f haug.fIsKernel S.zero T.toCycles_i |
| 39 | have : Epi S.g := (hpos 0).epi_toCycles |
| 40 | exact { exact := ShortComplex.exact_of_f_is_kernel S hk } |
| 41 | |
| 42 | abbrev successiveCycleSequence (n : ℕ) : ShortComplex C := |
| 43 | let T := resolutionSequence K n |
| 44 | let T' := resolutionSequence K (n + 1) |
| 45 | ShortComplex.mk T.iCycles T'.toCycles (by |
| 46 | rw [← cancel_mono T'.iCycles, Category.assoc, T'.toCycles_i, zero_comp] |
| 47 | exact T.iCycles_g) |
| 48 | |
| 49 | omit [HasExt C] in |
| 50 | theorem successiveCycleSequence_shortExact (hpos : ∀ n, (resolutionSequence K n).Exact) (n : ℕ) : |
| 51 | (successiveCycleSequence K n).ShortExact := by |
| 52 | let T := resolutionSequence K n |
| 53 | let T' := resolutionSequence K (n + 1) |
| 54 | let S := successiveCycleSequence K n |
| 55 | have hk : IsLimit (KernelFork.ofι S.f S.zero) := |
| 56 | isKernelOfComp T'.iCycles T'.f T.cyclesIsKernel S.zero T'.toCycles_i |
| 57 | have : Epi S.g := (hpos (n + 1)).epi_toCycles |
| 58 | exact { exact := ShortComplex.exact_of_f_is_kernel S hk } |
| 59 | |
| 60 | theorem resolutionCycles_ext_vanish [Mono e] |
| 61 | (haug : (ShortComplex.mk e (K.d 0 1) w).Exact) |
| 62 | (hpos : ∀ n, (resolutionSequence K n).Exact) |
| 63 | (hF : ∀ q, Subsingleton (Ext A F (q + 1))) |
| 64 | (hK : ∀ p q, Subsingleton (Ext A (K.X p) (q + 1))) (n q : ℕ) : |
| 65 | Subsingleton (Ext A (resolutionSequence K n).cycles (q + 1)) := by |
| 66 | induction n generalizing q with |
| 67 | | zero => |
| 68 | have : Subsingleton (Ext A (K.X 0) (q + 1)) := hK 0 q |
| 69 | have : Subsingleton (Ext A F ((q + 1) + 1)) := hF (q + 1) |
| 70 | exact ExtVanishing.right_ext_subsingleton A (initialCycleSequence_shortExact K e w haug hpos) (q + 1) |
| 71 | | succ n ih => |
| 72 | have : Subsingleton (Ext A (K.X (n + 1)) (q + 1)) := hK (n + 1) q |
| 73 | have : Subsingleton (Ext A (resolutionSequence K n).cycles ((q + 1) + 1)) := ih (q + 1) |
| 74 | exact ExtVanishing.right_ext_subsingleton A (successiveCycleSequence_shortExact K hpos n) (q + 1) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.Comparison.Betti.Acyclic.ResolutionCycles.Ext |