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 Mathlib.CategoryTheory.Sites.Monoidal |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Monoidal.Closed |
| 3 | |
| 4 | /-! # Tensor Pairing -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Sheafified.TensorPairing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual sheafification unit preserves the pairing obtained by |
| 11 | sheafifying a presheaf tensor pairing. This records the normalization |
| 12 | needed by the native crystalline coefficient augmentation. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits MonoidalCategory |
| 15 | open Functor.LaxMonoidal Functor.OplaxMonoidal Functor.Monoidal |
| 16 | |
| 17 | private theorem adjunction_pairing {C D : Type*} [Category C] [Category D] |
| 18 | [MonoidalCategory C] [MonoidalCategory D] |
| 19 | {F : C ⥤ D} [F.Monoidal] {G : D ⥤ C} |
| 20 | (adj : F ⊣ G) [G.LaxMonoidal] [adj.IsMonoidal] |
| 21 | {M N P : C} (m : M ⊗ N ⟶ P) : |
| 22 | (adj.unit.app M ⊗ₘ adj.unit.app N) ≫ μ G (F.obj M) (F.obj N) ≫ |
| 23 | G.map (μ F M N ≫ F.map m) = m ≫ adj.unit.app P := by |
| 24 | rw [← Category.assoc, ← adj.unit_app_tensor_comp_map_δ, |
| 25 | Category.assoc, G.map_comp, ← Category.assoc (G.map (δ F M N)), |
| 26 | map_δ_μ, Category.id_comp] |
| 27 | exact (adj.unit.naturality m).symm |
| 28 | |
| 29 | universe u v w |
| 30 | |
| 31 | variable {C : Type u} [Category.{v} C] (J : GrothendieckTopology C) |
| 32 | (R : Type w) [CommRing R] |
| 33 | [HasWeakSheafify J (ModuleCat.{w} R)] |
| 34 | [(J.W (A := ModuleCat.{w} R)).IsMonoidal] |
| 35 | |
| 36 | attribute [local instance] Sheaf.monoidalCategory |
| 37 | |
| 38 | local notation "S" => presheafToSheaf J (ModuleCat R) |
| 39 | local notation "U" => sheafToPresheaf J (ModuleCat R) |
| 40 | local notation "adj" => sheafificationAdjunction J (ModuleCat R) |
| 41 | |
| 42 | local instance underlyingLax : (U).LaxMonoidal := (adj).rightAdjointLaxMonoidal |
| 43 | |
| 44 | variable {M N P : Cᵒᵖ ⥤ ModuleCat.{w} R} (m : M ⊗ N ⟶ P) |
| 45 | |
| 46 | def sheafPairing : (S).obj M ⊗ (S).obj N ⟶ (S).obj P := |
| 47 | μ S M N ≫ (S).map m |
| 48 | |
| 49 | def underlyingPairing : ((S).obj M).obj ⊗ ((S).obj N).obj ⟶ ((S).obj P).obj := |
| 50 | μ U ((S).obj M) ((S).obj N) ≫ (U).map (sheafPairing J R m) |
| 51 | |
| 52 | theorem unit_pairing : |
| 53 | ((adj).unit.app M ⊗ₘ (adj).unit.app N) ≫ underlyingPairing J R m = |
| 54 | m ≫ (adj).unit.app P := |
| 55 | adjunction_pairing adj m |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Sheafified.TensorPairing |