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.Mapped.AugmentedCycleMaps |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Contravariant.ResolutionShift |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.SourceMappedSequenceConnecting |
| 4 | |
| 5 | /-! # Mixed Resolution Dimension Shift -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.MixedResolutionDimensionShift |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Dimension shifting is natural for a map from an exactly transported |
| 12 | resolution to a second acyclic resolution. Only the endpoint terms need be |
| 13 | acyclic for their respective coefficients. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | attribute [local instance] preservesFiniteLimits_op preservesFiniteColimits_op |
| 18 | |
| 19 | open Abelian OAI.NumberTheory.PadicHodge.IntegralComparison.Augmented.ResolutionCycles |
| 20 | |
| 21 | universe u v u' v' z t |
| 22 | |
| 23 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 24 | {D : Type u'} [Category.{v'} D] [Abelian D] [HasExt.{z} D] |
| 25 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 26 | (R : Type t) [CommRing R] [Linear R C] [Linear R D] (Y : C) |
| 27 | |
| 28 | private theorem transport {Z : Cᵒᵖ} {W : Dᵒᵖ} (g : F.op.obj Z ⟶ W) |
| 29 | {d d' : ℕ} (hd : d = d') |
| 30 | {U V : Type z} [AddCommGroup U] [Module R U] [AddCommGroup V] [Module R V] |
| 31 | (e : U ≃ₗ[R] Ext.{z} Z.unop Y d) (e' : V ≃ₗ[R] Ext.{z} W.unop (F.obj Y) d) |
| 32 | (x : U) (y : V) |
| 33 | (h : e' y = (Ext.mk₀ g.unop).precomp (F.obj Y) (zero_add d) ((e x).mapExactFunctor F)) : |
| 34 | (hd ▸ e') y = (Ext.mk₀ g.unop).precomp (F.obj Y) (zero_add d') (((hd ▸ e) x).mapExactFunctor F) := by |
| 35 | subst d' |
| 36 | exact h |
| 37 | |
| 38 | variable {K : CochainComplex Cᵒᵖ ℕ} {L : CochainComplex Dᵒᵖ ℕ} |
| 39 | (φ : (F.op.mapHomologicalComplex (.up ℕ)).obj K ⟶ L) |
| 40 | |
| 41 | def cycleMap (n q : ℕ) (α : Ext.{z} (Augmented.ResolutionCycles.differentialSequence K n).cycles.unop Y (q + 1)) : |
| 42 | Ext.{z} (Augmented.ResolutionCycles.differentialSequence L n).cycles.unop (F.obj Y) (q + 1) := |
| 43 | (Ext.mk₀ (Mapped.AugmentedCycleMaps.cycles F.op φ n).unop).precomp |
| 44 | (F.obj Y) (zero_add (q + 1)) (α.mapExactFunctor F) |
| 45 | |
| 46 | variable {Z : Cᵒᵖ} {W : Dᵒᵖ} (ι : (CochainComplex.single₀ Cᵒᵖ).obj Z ⟶ K) |
| 47 | (κ : (CochainComplex.single₀ Dᵒᵖ).obj W ⟶ L) (g : F.op.obj Z ⟶ W) |
| 48 | (h : g ≫ κ.f 0 = F.op.map (ι.f 0) ≫ φ.f 0) |
| 49 | [QuasiIso ι] [QuasiIso κ] |
| 50 | (hK : ∀ a q, Subsingleton (Ext.{z} (K.X a).unop Y (q + 1))) |
| 51 | (hL : ∀ a q, Subsingleton (Ext.{z} (L.X a).unop (F.obj Y) (q + 1))) |
| 52 | |
| 53 | include h in |
| 54 | theorem cycles (n q : ℕ) (α : Ext.{z} (Augmented.ResolutionCycles.differentialSequence K n).cycles.unop Y (q + 1)) : |
| 55 | Contravariant.ResolutionShift.cycleExtEquiv R (F.obj Y) L κ hL n q (cycleMap F Y φ n q α) = |
| 56 | (Ext.mk₀ g.unop).precomp (F.obj Y) (zero_add (n + q + 2)) |
| 57 | ((Contravariant.ResolutionShift.cycleExtEquiv R Y K ι hK n q α).mapExactFunctor F) := by |
| 58 | induction n generalizing q with |
| 59 | | zero => |
| 60 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.initialSequence K ι).unop.X₂ Y (q + 1)) := hK 0 q |
| 61 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.initialSequence K ι).unop.X₂ Y (q + 1 + 1)) := hK 0 (q + 1) |
| 62 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.initialSequence L κ).unop.X₂ (F.obj Y) (q + 1)) := hL 0 q |
| 63 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.initialSequence L κ).unop.X₂ (F.obj Y) (q + 1 + 1)) := hL 0 (q + 1) |
| 64 | apply transport F R Y g (show q + 1 + 1 = 0 + q + 2 by omega) |
| 65 | (IntegralComparison.Ext.SourceDimensionShift.linearEquivalence (Augmented.ResolutionCycles.initialSequence_shortExact K ι).unop Y (q + 1) R) |
| 66 | (IntegralComparison.Ext.SourceDimensionShift.linearEquivalence (Augmented.ResolutionCycles.initialSequence_shortExact L κ).unop (F.obj Y) (q + 1) R) |
| 67 | exact IntegralComparison.Ext.SourceMappedSequenceConnecting.connecting F Y (Augmented.ResolutionCycles.initialSequence_shortExact K ι) |
| 68 | (Augmented.ResolutionCycles.initialSequence_shortExact L κ) (Mapped.AugmentedCycleMaps.initial F.op φ ι κ g h) (q + 1) α |
| 69 | | succ n ih => |
| 70 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.successiveSequence K n).unop.X₂ Y (q + 1)) := hK (n + 1) q |
| 71 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.successiveSequence K n).unop.X₂ Y (q + 1 + 1)) := hK (n + 1) (q + 1) |
| 72 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.successiveSequence L n).unop.X₂ (F.obj Y) (q + 1)) := hL (n + 1) q |
| 73 | let : Subsingleton (Ext.{z} (Augmented.ResolutionCycles.successiveSequence L n).unop.X₂ (F.obj Y) (q + 1 + 1)) := hL (n + 1) (q + 1) |
| 74 | apply transport F R Y g (show n + (q + 1) + 2 = n + 1 + q + 2 by omega) |
| 75 | ((IntegralComparison.Ext.SourceDimensionShift.linearEquivalence (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n).unop Y (q + 1) R).trans |
| 76 | (Contravariant.ResolutionShift.cycleExtEquiv R Y K ι hK n (q + 1))) |
| 77 | ((IntegralComparison.Ext.SourceDimensionShift.linearEquivalence (Augmented.ResolutionCycles.successiveSequence_shortExact L κ n).unop (F.obj Y) (q + 1) R).trans |
| 78 | (Contravariant.ResolutionShift.cycleExtEquiv R (F.obj Y) L κ hL n (q + 1))) |
| 79 | have hc := IntegralComparison.Ext.SourceMappedSequenceConnecting.connecting F Y (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n) |
| 80 | (Augmented.ResolutionCycles.successiveSequence_shortExact L κ n) (Mapped.AugmentedCycleMaps.successive F.op φ n) (q + 1) α |
| 81 | exact (congrArg (Contravariant.ResolutionShift.cycleExtEquiv R (F.obj Y) L κ hL n (q + 1)) hc).trans |
| 82 | (ih (q + 1) (IntegralComparison.Ext.SourceDimensionShift.connecting (Augmented.ResolutionCycles.successiveSequence_shortExact K ι n).unop Y (q + 1) α)) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.IntegralComparison.MixedResolutionDimensionShift |