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