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.Contravariant.ResolutionShift |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionCycleMaps |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.SourceConnectingNaturality |
| 4 | |
| 5 | /-! # Shift Naturality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ShiftNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: source dimension shifting in the original Ext groups respects augmented resolution maps |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory |
| 16 | |
| 17 | open Abelian OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionCycles OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionCycleMaps |
| 18 | |
| 19 | universe u v z t |
| 20 | |
| 21 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 22 | (R : Type t) [CommRing R] [Linear R C] (Y : C) |
| 23 | |
| 24 | private theorem transport {Z W : Cᵒᵖ} (f : Z ⟶ W) {d d' : ℕ} (hd : d = d') |
| 25 | {U V : Type z} [AddCommGroup U] [Module R U] [AddCommGroup V] [Module R V] |
| 26 | (e : U ≃ₗ[R] Ext.{z} Z.unop Y d) (e' : V ≃ₗ[R] Ext.{z} W.unop Y d) |
| 27 | (x : U) (y : V) (h : e' y = (Ext.mk₀ f.unop).precomp Y (zero_add d) (e x)) : |
| 28 | (hd ▸ e') y = (Ext.mk₀ f.unop).precomp Y (zero_add d') ((hd ▸ e) x) := by |
| 29 | subst d' |
| 30 | exact h |
| 31 | |
| 32 | variable {K L : CochainComplex Cᵒᵖ ℕ} {Z W : Cᵒᵖ} |
| 33 | (ι : (CochainComplex.single₀ Cᵒᵖ).obj Z ⟶ K) (κ : (CochainComplex.single₀ Cᵒᵖ).obj W ⟶ L) |
| 34 | [QuasiIso ι] [QuasiIso κ] |
| 35 | (hK : ∀ a q, Subsingleton (Ext.{z} (K.X a).unop Y (q + 1))) |
| 36 | (hL : ∀ a q, Subsingleton (Ext.{z} (L.X a).unop Y (q + 1))) |
| 37 | (φ : K ⟶ L) (f : Z ⟶ W) (hφ : ι ≫ φ = (CochainComplex.single₀ Cᵒᵖ).map f ≫ κ) |
| 38 | |
| 39 | include hφ |
| 40 | |
| 41 | theorem cycles (n q : ℕ) (α : Ext.{z} (Augmented.ResolutionCycles.differentialSequence K n).cycles.unop Y (q + 1)) : |
| 42 | ResolutionShift.cycleExtEquiv R Y L κ hL n q |
| 43 | ((Ext.mk₀ (ShortComplex.cyclesMap (Augmented.ResolutionCycleMaps.differential φ n)).unop).precomp Y (zero_add (q + 1)) α) = |
| 44 | (Ext.mk₀ f.unop).precomp Y (zero_add (n + q + 2)) |
| 45 | (ResolutionShift.cycleExtEquiv R Y K ι hK n q α) := by |
| 46 | induction n generalizing q with |
| 47 | | zero => |
| 48 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.initialSequence K ι).unop.X₂ Y (q + 1)) := hK 0 q |
| 49 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.initialSequence K ι).unop.X₂ Y (q + 1 + 1)) := hK 0 (q + 1) |
| 50 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.initialSequence L κ).unop.X₂ Y (q + 1)) := hL 0 q |
| 51 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.initialSequence L κ).unop.X₂ Y (q + 1 + 1)) := hL 0 (q + 1) |
| 52 | apply transport R Y f (show q + 1 + 1 = 0 + q + 2 by omega) |
| 53 | (IntegralComparison.Ext.SourceDimensionShift.linearEquivalence (Augmented.ResolutionCycles.initialSequence_shortExact K ι).unop Y (q + 1) R) |
| 54 | (IntegralComparison.Ext.SourceDimensionShift.linearEquivalence (Augmented.ResolutionCycles.initialSequence_shortExact L κ).unop Y (q + 1) R) |
| 55 | exact IntegralComparison.Ext.SourceConnectingNaturality.connecting Y |
| 56 | (Augmented.ResolutionCycles.initialSequence_shortExact K ι) (Augmented.ResolutionCycles.initialSequence_shortExact L κ) |
| 57 | (Augmented.ResolutionCycleMaps.initial φ ι κ f hφ) (q + 1) α |
| 58 | | succ n ih => |
| 59 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.successiveSequence K n).unop.X₂ Y (q + 1)) := hK (n + 1) q |
| 60 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.successiveSequence K n).unop.X₂ Y (q + 1 + 1)) := hK (n + 1) (q + 1) |
| 61 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.successiveSequence L n).unop.X₂ Y (q + 1)) := hL (n + 1) q |
| 62 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.successiveSequence L n).unop.X₂ Y (q + 1 + 1)) := hL (n + 1) (q + 1) |
| 63 | apply transport R Y f (show n + (q + 1) + 2 = n + 1 + q + 2 by omega) |
| 64 | ((IntegralComparison.Ext.SourceDimensionShift.linearEquivalence (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n).unop Y (q + 1) R).trans |
| 65 | (ResolutionShift.cycleExtEquiv R Y K ι hK n (q + 1))) |
| 66 | ((IntegralComparison.Ext.SourceDimensionShift.linearEquivalence (Augmented.ResolutionCycles.successiveSequence_shortExact L κ n).unop Y (q + 1) R).trans |
| 67 | (ResolutionShift.cycleExtEquiv R Y L κ hL n (q + 1))) |
| 68 | have h := IntegralComparison.Ext.SourceConnectingNaturality.connecting Y |
| 69 | (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n) (Augmented.ResolutionCycles.successiveSequence_shortExact L κ n) |
| 70 | (Augmented.ResolutionCycleMaps.successive φ n) (q + 1) α |
| 71 | exact (congrArg (ResolutionShift.cycleExtEquiv R Y L κ hL n (q + 1)) h).trans |
| 72 | (ih (q + 1) (IntegralComparison.Ext.SourceDimensionShift.connecting (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n).unop Y (q + 1) α)) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ShiftNaturality |