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.Sheafified.PairingNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.LaxPairing |
| 3 | import Mathlib.CategoryTheory.Sites.Abelian |
| 4 | import Mathlib.Algebra.Category.ModuleCat.Abelian |
| 5 | |
| 6 | /-! # Bilinear Differential -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Sheafified.BilinearDifferential |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual pointwise sheafified pairing satisfies every Leibniz |
| 13 | identity satisfied by the original presheaf pairing. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits MonoidalCategory |
| 16 | open Functor.LaxMonoidal |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | universe u v w |
| 20 | |
| 21 | variable {C : Type u} [Category.{v} C] (J : GrothendieckTopology C) |
| 22 | (R : Type w) [CommRing R] |
| 23 | [HasSheafify J (ModuleCat.{w} R)] |
| 24 | [(J.W (A := ModuleCat.{w} R)).IsMonoidal] |
| 25 | |
| 26 | attribute [local instance] Sheaf.monoidalCategory |
| 27 | |
| 28 | local notation "S" => presheafToSheaf J (ModuleCat R) |
| 29 | local notation "U" => sheafToPresheaf J (ModuleCat R) |
| 30 | |
| 31 | local instance underlyingLax : (U).LaxMonoidal := |
| 32 | (sheafificationAdjunction J (ModuleCat R)).rightAdjointLaxMonoidal |
| 33 | |
| 34 | private theorem underlying_eq {M N P : Cᵒᵖ ⥤ ModuleCat.{w} R} |
| 35 | (m : M ⊗ N ⟶ P) : TensorPairing.underlyingPairing J R m = |
| 36 | μ (S ⋙ U) M N ≫ (S ⋙ U).map m := by |
| 37 | change μ U ((S).obj M) ((S).obj N) ≫ (U).map (μ S M N ≫ (S).map m) = |
| 38 | (μ U ((S).obj M) ((S).obj N) ≫ (U).map (μ S M N)) ≫ (U).map ((S).map m) |
| 39 | rw [(U).map_comp, Category.assoc] |
| 40 | |
| 41 | variable (M N P M' N' P' : Cᵒᵖ ⥤ ModuleCat.{w} R) |
| 42 | (a : M ⟶ M') (b : N ⟶ N') (c : P ⟶ P') |
| 43 | (μ₀ : ∀ V, M.obj V →ₗ[R] N.obj V →ₗ[R] P.obj V) |
| 44 | (μ₁ : ∀ V, M'.obj V →ₗ[R] N.obj V →ₗ[R] P'.obj V) |
| 45 | (μ₂ : ∀ V, M.obj V →ₗ[R] N'.obj V →ₗ[R] P'.obj V) |
| 46 | (h₀ : ∀ {V W} (f : V ⟶ W) x y, P.map f (μ₀ V x y) = μ₀ W (M.map f x) (N.map f y)) |
| 47 | (h₁ : ∀ {V W} (f : V ⟶ W) x y, P'.map f (μ₁ V x y) = μ₁ W (M'.map f x) (N.map f y)) |
| 48 | (h₂ : ∀ {V W} (f : V ⟶ W) x y, P'.map f (μ₂ V x y) = μ₂ W (M.map f x) (N'.map f y)) |
| 49 | (z : ℤ) (hd : ∀ V x y, c.app V (μ₀ V x y) = |
| 50 | μ₁ V (a.app V x) y + z • μ₂ V x (b.app V y)) |
| 51 | |
| 52 | include hd in |
| 53 | theorem differential (V : Cᵒᵖ) (x : ((S).obj M).obj.obj V) (y : ((S).obj N).obj.obj V) : |
| 54 | (((S).map c).hom.app V) (BilinearPairing.pairing R M N P μ₀ h₀ J V x y) = |
| 55 | BilinearPairing.pairing R M' N P' μ₁ h₁ J V (((S).map a).hom.app V x) y + |
| 56 | z • BilinearPairing.pairing R M N' P' μ₂ h₂ J V x (((S).map b).hom.app V y) := by |
| 57 | let m₀ := BilinearPairing.tensorPairing R M N P μ₀ h₀ |
| 58 | let m₁ := BilinearPairing.tensorPairing R M' N P' μ₁ h₁ |
| 59 | let m₂ := BilinearPairing.tensorPairing R M N' P' μ₂ h₂ |
| 60 | have hs : m₀ ≫ c = (a ⊗ₘ 𝟙 N) ≫ m₁ + z • ((𝟙 M ⊗ₘ b) ≫ m₂) := by |
| 61 | apply NatTrans.ext |
| 62 | funext W |
| 63 | apply ModuleCat.hom_ext |
| 64 | apply TensorProduct.ext |
| 65 | apply LinearMap.ext |
| 66 | intro s |
| 67 | apply LinearMap.ext |
| 68 | intro t |
| 69 | exact hd W s t |
| 70 | have h := Additive.LaxPairing.differential (S ⋙ U) a b c m₀ m₁ m₂ z hs |
| 71 | rw [← underlying_eq J R m₀, ← underlying_eq J R m₁, ← underlying_eq J R m₂] at h |
| 72 | have hv : _ = _ := NatTrans.congr_app h V |
| 73 | exact congrArg (fun f : ((S).obj M).obj.obj V ⊗ ((S).obj N).obj.obj V ⟶ |
| 74 | ((S).obj P').obj.obj V => f (x ⊗ₜ[R] y)) hv |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Sheafified.BilinearDifferential |