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.BifunctorDiagonalEq |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.LocalConeNaturality |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi |
| 4 | |
| 5 | /-! # Diagonal Cone -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.DiagonalCone.SemilatticeDiagonalCone |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical row cones assemble into one cone in the category of |
| 12 | presheaf complexes. This keeps all chart restrictions in the global map. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | section |
| 17 | |
| 18 | universe u v w |
| 19 | variable (C : Type u) [SemilatticeInf C] {A : Type v} [Category.{w} A] |
| 20 | (P : Cᵒᵖ ⥤ Cᵒᵖ ⥤ A) |
| 21 | (h : ∀ I V : C, IsIso ((P.obj (op I)).map (homOfLE (inf_le_left : V ⊓ I ≤ V)).op)) |
| 22 | |
| 23 | def component (V : Cᵒᵖ) : BifunctorDiagonalEq.BifunctorDiagonal.functor P ⟶ P.flip.obj V where |
| 24 | app I := (LocalCone.SemilatticeLocalCone.cone C I.unop (P.obj I) (h I.unop)).app V |
| 25 | naturality I J f := by |
| 26 | let hJI : J.unop ≤ I.unop := leOfHom f.unop |
| 27 | have hf : (homOfLE hJI).op = f := Subsingleton.elim _ _ |
| 28 | have ht := congrArg (fun η => η.app V) |
| 29 | (LocalConeNaturality.SemilatticeLocalConeNaturality.transition C I.unop (P.obj I) (h I.unop) |
| 30 | J.unop hJI (P.obj J) (h J.unop) (P.map f)) |
| 31 | rw [NatTrans.comp_app, NatTrans.comp_app, hf] at ht |
| 32 | rw [BifunctorDiagonalEq.BifunctorDiagonal.map_eq] |
| 33 | exact ht.symm |
| 34 | |
| 35 | def functorCone : (Functor.const Cᵒᵖ).obj (BifunctorDiagonalEq.BifunctorDiagonal.functor P) ⟶ P.flip where |
| 36 | app := component C P h |
| 37 | naturality V W f := by |
| 38 | apply NatTrans.ext |
| 39 | funext I |
| 40 | exact (LocalCone.SemilatticeLocalCone.cone C I.unop (P.obj I) (h I.unop)).naturality f |
| 41 | |
| 42 | end |
| 43 | |
| 44 | universe u v w |
| 45 | variable (C : Type u) [SemilatticeInf C] {A : Type v} [Category.{w} A] [HasZeroMorphisms A] |
| 46 | (P : Cᵒᵖ ⥤ Cᵒᵖ ⥤ CochainComplex A ℕ) |
| 47 | (h : ∀ I V : C, IsIso ((P.obj (op I)).map (homOfLE (inf_le_left : V ⊓ I ≤ V)).op)) |
| 48 | |
| 49 | def source : CochainComplex (Cᵒᵖ ⥤ A) ℕ := |
| 50 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (BifunctorDiagonalEq.BifunctorDiagonal.functor P) |
| 51 | |
| 52 | def diagram : Cᵒᵖ ⥤ CochainComplex (Cᵒᵖ ⥤ A) ℕ := |
| 53 | P.flip ⋙ AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.functor (.up ℕ) |
| 54 | |
| 55 | def cone : (Functor.const Cᵒᵖ).obj (source C P) ⟶ diagram C P := |
| 56 | (Functor.constComp Cᵒᵖ (BifunctorDiagonalEq.BifunctorDiagonal.functor P) (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.functor (.up ℕ))).inv ≫ |
| 57 | Functor.whiskerRight (functorCone C P h) (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.functor (.up ℕ)) |
| 58 | |
| 59 | theorem cone_app_f (V I : Cᵒᵖ) (n : ℕ) : (((cone C P h).app V).f n).app I = |
| 60 | ((LocalCone.SemilatticeLocalCone.cone C I.unop (P.obj I) (h I.unop)).app V).f n := by |
| 61 | change ((𝟙 _ ≫ AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) (component C P h V)).f n).app I = _ |
| 62 | rw [Category.id_comp] |
| 63 | rfl |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.DiagonalCone.SemilatticeDiagonalCone |