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.GeometricComparison.CechCone.TotalSquare |
| 2 | import Mathlib.Algebra.Homology.Functor |
| 3 | import Mathlib.Algebra.Homology.QuasiIso |
| 4 | |
| 5 | /-! # Section Cech Naturality -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SectionCechNaturality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A genuine global-to-open restriction is natural on Čech totals. |
| 12 | The injective open Čech edge detects quasi-isomorphisms of the original |
| 13 | global-section maps without any acyclicity assertion for the source. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | universe u v w z a b |
| 18 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 19 | {A : Type w} [Category.{z} A] [Abelian A] |
| 20 | {B : Type a} [Category.{b} B] [Abelian B] |
| 21 | [HasProducts.{0} B] [HasCoproducts.{0} B] |
| 22 | (F : A ⥤ B) [F.Additive] (G : A ⥤ Cᵒᵖ ⥤ B) [G.Additive] |
| 23 | (r : F ⋙ Functor.const Cᵒᵖ ⟶ G) |
| 24 | {ι : Type} [Finite ι] (U : ι → C) |
| 25 | |
| 26 | local notation "D" => HomologicalComplex.complexOfFunctorsToFunctorToComplex |
| 27 | |
| 28 | def global (K : CochainComplex A ℕ) := (F.mapHomologicalComplex (.up ℕ)).obj K |
| 29 | |
| 30 | def diagram (K : CochainComplex A ℕ) := |
| 31 | (D).obj ((G.mapHomologicalComplex (.up ℕ)).obj K) |
| 32 | |
| 33 | def cone (K : CochainComplex A ℕ) : |
| 34 | (Functor.const Cᵒᵖ).obj (global F K) ⟶ diagram G K := |
| 35 | (D).map ((r.mapHomologicalComplex (.up ℕ)).app K) |
| 36 | |
| 37 | def edge (K : CochainComplex A ℕ) := |
| 38 | GeometricComparison.CechCone.Total.CechConeTotal.augmentation U (diagram G K) (global F K) (cone F G r K) |
| 39 | |
| 40 | def map {K L : CochainComplex A ℕ} (f : K ⟶ L) : |
| 41 | GeometricComparison.CechCone.Total.CechConeTotal.total U (diagram G K) ⟶ GeometricComparison.CechCone.Total.CechConeTotal.total U (diagram G L) := |
| 42 | (GeometricComparison.CechCone.TotalFunctor.CechConeTotalFunctor.functor U).map |
| 43 | ((D).map ((G.mapHomologicalComplex (.up ℕ)).map f)) |
| 44 | |
| 45 | variable {K L : CochainComplex A ℕ} (f : K ⟶ L) |
| 46 | |
| 47 | omit [HasBinaryProducts C] [HasProducts.{0} B] [HasCoproducts.{0} B] in |
| 48 | theorem cone_natural : cone F G r K ≫ |
| 49 | (D).map ((G.mapHomologicalComplex (.up ℕ)).map f) = |
| 50 | (Functor.const Cᵒᵖ).map ((F.mapHomologicalComplex (.up ℕ)).map f) ≫ |
| 51 | cone F G r L := by |
| 52 | exact (congrArg (D).map ((r.mapHomologicalComplex (.up ℕ)).naturality f).symm).trans |
| 53 | (by rw [Functor.map_comp]; rfl) |
| 54 | |
| 55 | omit [Finite ι] in |
| 56 | theorem natural : edge F G r U K ≫ SectionCechNaturality.map G U f = |
| 57 | (F.mapHomologicalComplex (.up ℕ)).map f ≫ edge F G r U L := |
| 58 | GeometricComparison.CechCone.TotalSquare.CechConeTotalConeSquare.natural U (cone F G r K) (cone F G r L) |
| 59 | ((D).map ((G.mapHomologicalComplex (.up ℕ)).map f)) |
| 60 | ((F.mapHomologicalComplex (.up ℕ)).map f) (cone_natural F G r f) |
| 61 | |
| 62 | variable {M : CochainComplex B ℕ} (s : M ⟶ global F K) |
| 63 | (hsource : QuasiIso (s ≫ edge F G r U K)) |
| 64 | (hmap : QuasiIso (SectionCechNaturality.map G U f)) (hedge : QuasiIso (edge F G r U L)) |
| 65 | |
| 66 | include hsource hmap hedge in |
| 67 | omit [Finite ι] in |
| 68 | theorem quasiIso : QuasiIso (s ≫ (F.mapHomologicalComplex (.up ℕ)).map f) := by |
| 69 | let := hsource |
| 70 | let := hmap |
| 71 | let := hedge |
| 72 | apply (quasiIso_iff_comp_right _ (edge F G r U L)).mp |
| 73 | have h : (s ≫ edge F G r U K) ≫ SectionCechNaturality.map G U f = |
| 74 | (s ≫ (F.mapHomologicalComplex (.up ℕ)).map f) ≫ edge F G r U L := by |
| 75 | exact (Category.assoc _ _ _).trans |
| 76 | ((congrArg (fun t => s ≫ t) (natural F G r U f)).trans |
| 77 | (Category.assoc _ _ _).symm) |
| 78 | exact h ▸ inferInstanceAs (QuasiIso ((s ≫ edge F G r U K) ≫ SectionCechNaturality.map G U f)) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SectionCechNaturality |