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.LocallyInjective |
| 2 | |
| 3 | /-! # Sheafified Binary Congruence -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.SheafifiedBinaryCongruence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A natural binary operation respects equality after sheafification, by local injectivity. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory Opposite |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] (J : GrothendieckTopology C) |
| 16 | {F : Cᵒᵖ ⥤ Type w} (G : Sheaf J (Type w)) (η : F ⟶ G.obj) |
| 17 | [Presheaf.IsLocallyInjective J η] |
| 18 | (μ : ∀ X, F.obj X → F.obj X → F.obj X) |
| 19 | (hμ : ∀ {X Y} (f : X ⟶ Y) (x y : F.obj X), F.map f (μ X x y) = μ Y (F.map f x) (F.map f y)) |
| 20 | |
| 21 | include hμ |
| 22 | |
| 23 | /-- Equality in a sheaf is preserved by every natural presheaf binary operation. -/ |
| 24 | theorem binary_congr {X : Cᵒᵖ} {x x' y y' : F.obj X} |
| 25 | (hx : η.app X x = η.app X x') (hy : η.app X y = η.app X y') : |
| 26 | η.app X (μ X x y) = η.app X (μ X x' y') := by |
| 27 | let K : J.Cover X.unop := ⟨Presheaf.equalizerSieve (F := F) x x' ⊓ Presheaf.equalizerSieve (F := F) y y', |
| 28 | J.intersection_covering (Presheaf.equalizerSieve_mem J η x x' hx) |
| 29 | (Presheaf.equalizerSieve_mem J η y y' hy)⟩ |
| 30 | let a : PUnit.{w + 1} ⟶ G.obj.obj X := ↾(fun _ => η.app X (μ X x y)) |
| 31 | let b : PUnit.{w + 1} ⟶ G.obj.obj X := ↾(fun _ => η.app X (μ X x' y')) |
| 32 | have hab : a = b := G.property.hom_ext K a b (by |
| 33 | intro I |
| 34 | apply ConcreteCategory.ext_apply |
| 35 | intro z |
| 36 | change G.obj.map I.f.op (η.app X (μ X x y)) = G.obj.map I.f.op (η.app X (μ X x' y')) |
| 37 | rw [← η.naturality_apply, ← η.naturality_apply, hμ, hμ] |
| 38 | have h₁ : F.map I.f.op x = F.map I.f.op x' := I.hf.1 |
| 39 | have h₂ : F.map I.f.op y = F.map I.f.op y' := I.hf.2 |
| 40 | rw [h₁, h₂]) |
| 41 | exact congrArg (fun c => c PUnit.unit) hab |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.SheafifiedBinaryCongruence |