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.Balanced.SheafifiedCone |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ComplexNaturality |
| 3 | |
| 4 | /-! # Sheafified Source Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.SheafifiedSourceCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A source-coordinate square for the actual sheafified cone gives the |
| 11 | same coordinate square on canonical Ext-zero sections and on the original |
| 12 | injective-section cohomology comparison. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | private theorem transported_square {C : Type*} [Category C] {A A' K L I : C} |
| 17 | (u : A ⟶ A') (a : A ⟶ K) (b : A' ⟶ L) (t : K ≅ L) (g : K ⟶ I) |
| 18 | (h : a ≫ t.hom = u ≫ b) : u ≫ (b ≫ t.inv ≫ g) = a ≫ g := by |
| 19 | calc |
| 20 | _ = (u ≫ b) ≫ t.inv ≫ g := by simp only [Category.assoc] |
| 21 | _ = (a ≫ t.hom) ≫ t.inv ≫ g := by rw [h] |
| 22 | _ = _ := by simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 23 | |
| 24 | private theorem comparison_coordinates {A B : Type*} [Category A] [Category B] |
| 25 | (H : A ⥤ B) {X Y Z : A} {W : B} |
| 26 | (a : X ⟶ Z) (u : X ⟶ Y) (b : Y ⟶ Z) (v : H.obj Z ⟶ W) |
| 27 | (h : a = u ≫ b) : H.map a ≫ v = (H.map u ≫ H.map b) ≫ v := |
| 28 | (congrArg (fun f => H.map f ≫ v) h).trans |
| 29 | (congrArg (fun f => f ≫ v) (H.map_comp u b)) |
| 30 | |
| 31 | universe u z |
| 32 | variable {C : Type u} [Category.{0} C] (R : Type u) [CommRing R] |
| 33 | (J : GrothendieckTopology C) |
| 34 | [HasExt.{max u z} (Sheaf J (ModuleCat.{u} R))] |
| 35 | {Y : Sheaf J (ModuleCat.{u} R)} (I : InjectiveResolution Y) |
| 36 | (M : CochainComplex (ModuleCat.{u} R) ℕ) |
| 37 | (P : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} R) ℕ) |
| 38 | (a : ((Functor.const Cᵒᵖ).mapHomologicalComplex (.up ℕ)).obj M ⟶ P) |
| 39 | (g : Sheafified.ConstantCochainCoordinates.sheafComplex R J P ⟶ I.cocomplex) |
| 40 | (M' : CochainComplex (ModuleCat.{u} R) ℕ) |
| 41 | (L : CochainComplex (Sheaf J (ModuleCat.{u} R)) ℕ) |
| 42 | (e : M ≅ M') (t : Sheafified.ConstantCochainCoordinates.sheafComplex R J P ≅ L) |
| 43 | (b : ((constantSheaf J (ModuleCat.{u} R)).mapHomologicalComplex (.up ℕ)).obj M' ⟶ L) |
| 44 | (h : Sheafified.ConstantCochainCoordinates.sheafMap R J M P a ≫ t.hom = |
| 45 | ((constantSheaf J (ModuleCat.{u} R)).mapHomologicalComplex (.up ℕ)).map e.hom ≫ b) |
| 46 | |
| 47 | def normalizedSections := ConstantSection.ComplexMap.map R J M' I.cocomplex |
| 48 | (b ≫ t.inv ≫ g) |
| 49 | |
| 50 | abbrev sectionsMap_eq := |
| 51 | ConstantSection.ComplexNaturality.naturality R J e.hom g |
| 52 | (Sheafified.ConstantCochainCoordinates.sheafMap R J M P a) (b ≫ t.inv ≫ g) |
| 53 | (transported_square _ _ b t g h) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Balanced.SheafifiedSourceCoordinates |