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.AlgebraicGeometry.AbelianScheme.CartierDuality.SheafEvaluation |
| 2 | import Mathlib.CategoryTheory.Adjunction.Limits |
| 3 | |
| 4 | /-! # Sheaf Transpose -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # CartierDuality: transposition and the self-adjunction of the actual Cartier character functor |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | namespace SheafTranspose.Construction.SelfDuality |
| 19 | |
| 20 | variable {C : Type u} [Category.{v} C] (D : Cᵒᵖ ⥤ C) |
| 21 | (β : ∀ X : C, X ⟶ D.obj (Opposite.op (D.obj (Opposite.op X)))) |
| 22 | (hn : ∀ {X Y : C} (f : X ⟶ Y), |
| 23 | β X ≫ D.map (D.map f.op).op = f ≫ β Y) |
| 24 | (ht : ∀ X : C, β (D.obj (Opposite.op X)) ≫ D.map (β X).op = 𝟙 (D.obj (Opposite.op X))) |
| 25 | |
| 26 | /-- Natural evaluation satisfying the triangle identity makes a |
| 27 | contravariant dual functor adjoint to its opposite. -/ |
| 28 | def adjunction : D.rightOp ⊣ D where |
| 29 | unit := |
| 30 | { app X := β X |
| 31 | naturality := fun X Y f => (hn f).symm } |
| 32 | counit := |
| 33 | { app X := (β X.unop).op |
| 34 | naturality := by |
| 35 | intro X Y f |
| 36 | apply Quiver.Hom.unop_inj |
| 37 | exact hn f.unop } |
| 38 | left_triangle_components X := by |
| 39 | apply Quiver.Hom.unop_inj |
| 40 | exact ht X |
| 41 | right_triangle_components X := ht X.unop |
| 42 | |
| 43 | /-- Transposition of a map into a character object. -/ |
| 44 | def transpose {X Y : C} (a : X ⟶ D.obj (Opposite.op Y)) : Y ⟶ D.obj (Opposite.op X) := |
| 45 | β Y ≫ D.map a.op |
| 46 | |
| 47 | include hn ht in |
| 48 | /-- Transposing twice recovers the original map, without requiring |
| 49 | the evaluation maps to be isomorphisms. -/ |
| 50 | theorem transpose_transpose {X Y : C} (a : X ⟶ D.obj (Opposite.op Y)) : |
| 51 | transpose D β (transpose D β a) = a := by |
| 52 | change β X ≫ D.map (β Y ≫ D.map a.op).op = a |
| 53 | rw [op_comp, D.map_comp, ← Category.assoc, hn a, Category.assoc, ht Y, Category.comp_id] |
| 54 | |
| 55 | /-- The two descriptions of a pairing as an adjoint map are equivalent. -/ |
| 56 | def transposeEquiv (X Y : C) : |
| 57 | (X ⟶ D.obj (Opposite.op Y)) ≃ (Y ⟶ D.obj (Opposite.op X)) where |
| 58 | toFun := transpose D β |
| 59 | invFun := transpose D β |
| 60 | left_inv := transpose_transpose D β hn ht |
| 61 | right_inv := transpose_transpose D β hn ht |
| 62 | |
| 63 | end SheafTranspose.Construction.SelfDuality |
| 64 | |
| 65 | /-- The actual Cartier character functor is a right adjoint, with |
| 66 | its opposite as left adjoint, on all commutative fppf sheaves. -/ |
| 67 | def SheafTranspose.Construction.Schemes.cartierSheafAdjunction (S : Scheme.{u}) : |
| 68 | (CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor S).rightOp ⊣ CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor S := |
| 69 | SheafTranspose.Construction.SelfDuality.adjunction (CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor S) SheafEvaluation.Construction.Schemes.sheafBidualEvaluation |
| 70 | (fun a => SheafEvaluation.Construction.Schemes.sheafBidualEvaluation_natural a) SheafEvaluation.Construction.Schemes.sheafBidualEvaluation_triangle |
| 71 | |
| 72 | /-- Transposition is an equivalence between the two adjoint |
| 73 | descriptions of a bilinear pairing of commutative fppf sheaves. -/ |
| 74 | def SheafTranspose.Construction.Schemes.sheafPairingTransposeEquiv {S : Scheme.{u}} (G H : CommutativeSheavesAb.Construction.Schemes.FppfAb S) : |
| 75 | (G ⟶ CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf H) ≃ (H ⟶ CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf G) := |
| 76 | SheafTranspose.Construction.SelfDuality.transposeEquiv (CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor S) SheafEvaluation.Construction.Schemes.sheafBidualEvaluation |
| 77 | (fun a => SheafEvaluation.Construction.Schemes.sheafBidualEvaluation_natural a) SheafEvaluation.Construction.Schemes.sheafBidualEvaluation_triangle G H |
| 78 | |
| 79 | /-- Flipping a pairing transposes its actual adjoint map. -/ |
| 80 | def SheafEvaluation.Construction.Schemes.BilinearPairing.flip {S : Scheme.{u}} {G H : CommutativeSheavesAb.Construction.Schemes.FppfAb S} (e : SheafEvaluation.Construction.Schemes.BilinearPairing G H) : |
| 81 | SheafEvaluation.Construction.Schemes.BilinearPairing H G := ⟨e.rightAdjoint⟩ |
| 82 | |
| 83 | /-- Flipping twice leaves the original bilinear pairing unchanged. -/ |
| 84 | theorem SheafEvaluation.Construction.Schemes.BilinearPairing.flip_flip {S : Scheme.{u}} {G H : CommutativeSheavesAb.Construction.Schemes.FppfAb S} (e : SheafEvaluation.Construction.Schemes.BilinearPairing G H) : |
| 85 | e.flip.flip = e := by |
| 86 | cases e with |
| 87 | | mk a => |
| 88 | apply congrArg SheafEvaluation.Construction.Schemes.BilinearPairing.mk |
| 89 | exact (SheafTranspose.Construction.Schemes.sheafPairingTransposeEquiv G H).symm_apply_apply a |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality |