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.HilbertScheme.Presentations.SubfunctorRepresentations |
| 2 | import Mathlib.CategoryTheory.Subfunctor.Image |
| 3 | |
| 4 | /-! # Represented Intersection Transfer -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.RepresentedIntersectionTransfer |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Transfer a represented intersection between two monic natural |
| 11 | transformations, retaining the exact inclusion compatibility. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {B M : Over S} |
| 17 | variable {F G : (Over S)ᵒᵖ ⥤ Type u} |
| 18 | |
| 19 | theorem representedIntersectionTransfer |
| 20 | (t : yoneda.obj B ⟶ F) [Mono t] (g : G ⟶ F) [Mono g] |
| 21 | (j : M ⟶ B) [Mono j] |
| 22 | (h : ∀ (T : Over S) (a : T ⟶ B), |
| 23 | (∃ v : G.obj (.op T), g.app (.op T) v = t.app (.op T) a) ↔ |
| 24 | ∃ b : T ⟶ M, b ≫ j = a) : |
| 25 | ∃ e : yoneda.obj M ≅ ((Subfunctor.range t).preimage g).toFunctor, |
| 26 | e.hom ≫ ((Subfunctor.range t).preimage g).ι ≫ g = yoneda.map j ≫ t := by |
| 27 | have hv (T : Over S) (b : T ⟶ M) : |
| 28 | ∃ v : G.obj (.op T), g.app (.op T) v = t.app (.op T) (b ≫ j) := |
| 29 | (h T (b ≫ j)).mpr ⟨b, rfl⟩ |
| 30 | choose v hv using hv |
| 31 | have hg (T : (Over S)ᵒᵖ) : Function.Injective (g.app T) := |
| 32 | (CategoryTheory.mono_iff_injective _).mp inferInstance |
| 33 | have ht (T : (Over S)ᵒᵖ) : Function.Injective (t.app T) := |
| 34 | (CategoryTheory.mono_iff_injective _).mp inferInstance |
| 35 | let k : yoneda.obj M ⟶ ((Subfunctor.range t).preimage g).toFunctor := { |
| 36 | app T := ↾fun b => ⟨v T.unop b, ⟨b ≫ j, (hv T.unop b).symm⟩⟩ |
| 37 | naturality T U a := by |
| 38 | apply ConcreteCategory.hom_ext |
| 39 | intro b |
| 40 | apply Subtype.ext |
| 41 | apply hg U |
| 42 | change g.app U (v U.unop (a.unop ≫ b)) = g.app U (G.map a (v T.unop b)) |
| 43 | rw [hv, NatTrans.naturality_apply g a, hv] |
| 44 | have hn := ConcreteCategory.congr_hom (t.naturality a) (show T.unop ⟶ B from b ≫ j) |
| 45 | change t.app U (a.unop ≫ (b ≫ j)) = F.map a (t.app T (b ≫ j)) at hn |
| 46 | simpa only [Category.assoc] using hn } |
| 47 | have hk : IsIso k := by |
| 48 | apply (NatTrans.isIso_iff_isIso_app _).mpr |
| 49 | intro T |
| 50 | apply (isIso_iff_bijective _).mpr |
| 51 | constructor |
| 52 | · intro b c he |
| 53 | apply (cancel_mono j).mp |
| 54 | apply ht T |
| 55 | rw [← hv, ← hv] |
| 56 | exact congrArg (fun x => g.app T x.val) he |
| 57 | · intro z |
| 58 | obtain ⟨a, ha⟩ := z.property |
| 59 | obtain ⟨b, hb⟩ := (h T.unop a).mp ⟨z.val, ha.symm⟩ |
| 60 | refine ⟨b, Subtype.ext (hg T ?_)⟩ |
| 61 | change g.app T (v T.unop b) = g.app T z.val |
| 62 | rw [hv, hb] |
| 63 | exact ha |
| 64 | let := hk |
| 65 | refine ⟨asIso k, ?_⟩ |
| 66 | ext T b |
| 67 | exact hv T.unop b |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.RepresentedIntersectionTransfer |