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.Ext.SourceModule |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ResolutionShift |
| 3 | |
| 4 | /-! # Source Shift -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.SourceShift |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native dimension shifting commutes with precomposition in the source of Ext. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | open Abelian OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionCycles |
| 15 | |
| 16 | universe u v z t |
| 17 | |
| 18 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 19 | (R : Type t) [CommRing R] [Linear R C] {X X' : C} (f : X' ⟶ X) |
| 20 | |
| 21 | private theorem transport {Z : C} {d d' : ℕ} (hd : d = d') |
| 22 | {U V : Type z} [AddCommGroup U] [Module R U] [AddCommGroup V] [Module R V] |
| 23 | (e : U ≃ₗ[R] Ext.{z} X Z d) (e' : V ≃ₗ[R] Ext.{z} X' Z d) |
| 24 | (x : U) (y : V) (h : e' y = IntegralComparison.Ext.SourceModule.component R f d Z (e x)) : |
| 25 | (hd ▸ e') y = IntegralComparison.Ext.SourceModule.component R f d' Z ((hd ▸ e) x) := by |
| 26 | subst d' |
| 27 | exact h |
| 28 | |
| 29 | variable (K : CochainComplex C ℕ) {Z : C} (ι : (CochainComplex.single₀ C).obj Z ⟶ K) |
| 30 | [QuasiIso ι] |
| 31 | (hK : ∀ a q, Subsingleton (Ext.{z} X (K.X a) (q + 1))) |
| 32 | (hK' : ∀ a q, Subsingleton (Ext.{z} X' (K.X a) (q + 1))) |
| 33 | |
| 34 | theorem cycles (n q : ℕ) (α : Ext.{z} X (Augmented.ResolutionCycles.differentialSequence K n).cycles (q + 1)) : |
| 35 | ResolutionShift.cycleExtEquiv R X' K ι hK' n q |
| 36 | (IntegralComparison.Ext.SourceModule.component R f (q + 1) (Augmented.ResolutionCycles.differentialSequence K n).cycles α) = |
| 37 | IntegralComparison.Ext.SourceModule.component R f (n + q + 2) Z |
| 38 | (ResolutionShift.cycleExtEquiv R X K ι hK n q α) := by |
| 39 | induction n generalizing q with |
| 40 | | zero => |
| 41 | let : Subsingleton (Ext.{z} X (K.X 0) (q + 1)) := hK 0 q |
| 42 | let : Subsingleton (Ext.{z} X (K.X 0) (q + 1 + 1)) := hK 0 (q + 1) |
| 43 | let : Subsingleton (Ext.{z} X' (K.X 0) (q + 1)) := hK' 0 q |
| 44 | let : Subsingleton (Ext.{z} X' (K.X 0) (q + 1 + 1)) := hK' 0 (q + 1) |
| 45 | apply transport R f (show q + 1 + 1 = 0 + q + 2 by omega) |
| 46 | (IntegralComparison.Ext.DimensionShift.linearEquivalence X (Augmented.ResolutionCycles.initialSequence_shortExact K ι) (q + 1) R) |
| 47 | (IntegralComparison.Ext.DimensionShift.linearEquivalence X' (Augmented.ResolutionCycles.initialSequence_shortExact K ι) (q + 1) R) |
| 48 | exact IntegralComparison.Ext.SourceModule.connecting R f (Augmented.ResolutionCycles.initialSequence_shortExact K ι) (q + 1) α |
| 49 | | succ n ih => |
| 50 | let : Subsingleton (Ext.{z} X (K.X (n + 1)) (q + 1)) := hK (n + 1) q |
| 51 | let : Subsingleton (Ext.{z} X (K.X (n + 1)) (q + 1 + 1)) := hK (n + 1) (q + 1) |
| 52 | let : Subsingleton (Ext.{z} X' (K.X (n + 1)) (q + 1)) := hK' (n + 1) q |
| 53 | let : Subsingleton (Ext.{z} X' (K.X (n + 1)) (q + 1 + 1)) := hK' (n + 1) (q + 1) |
| 54 | apply transport R f (show n + (q + 1) + 2 = n + 1 + q + 2 by omega) |
| 55 | ((IntegralComparison.Ext.DimensionShift.linearEquivalence X (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n) (q + 1) R).trans |
| 56 | (ResolutionShift.cycleExtEquiv R X K ι hK n (q + 1))) |
| 57 | ((IntegralComparison.Ext.DimensionShift.linearEquivalence X' (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n) (q + 1) R).trans |
| 58 | (ResolutionShift.cycleExtEquiv R X' K ι hK' n (q + 1))) |
| 59 | have h := IntegralComparison.Ext.SourceModule.connecting R f (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n) (q + 1) α |
| 60 | exact (congrArg (ResolutionShift.cycleExtEquiv R X' K ι hK' n (q + 1)) h).trans |
| 61 | (ih (q + 1) (IntegralComparison.Ext.DimensionShift.connecting X (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n) (q + 1) α)) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.SourceShift |