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.Finite.ParameterProducts |
| 2 | import Mathlib.CategoryTheory.Limits.FunctorCategory.EpiMono |
| 3 | |
| 4 | /-! # Tuple Representation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.TupleRepresentation.Core |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Represent finite tuples satisfying componentwise subfunctor |
| 11 | conditions by the explicit finite product of their representing schemes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {F : (Over S)ᵒᵖ ⥤ Type u} {n : ℕ} |
| 17 | |
| 18 | def finiteTupleSubfunctor (G : Fin n → Subfunctor F) : Subfunctor (Has.Core.tupleFunctor F n) where |
| 19 | obj T := {f | ∀ i, f i ∈ (G i).obj T} |
| 20 | map a _f hf i := (G i).map a (hf i) |
| 21 | |
| 22 | variable (G : Fin n → Subfunctor F) (H : Fin n → Over S) |
| 23 | variable (e : ∀ i, yoneda.obj (H i) ≅ (G i).toFunctor) |
| 24 | |
| 25 | def finiteTupleRepresentationMap : yoneda.obj (ParameterProducts.Core.finiteParameterProduct n H) ⟶ |
| 26 | (finiteTupleSubfunctor G).toFunctor where |
| 27 | app T := ↾fun f => ⟨fun i => ((e i).hom.app T (f ≫ ParameterProducts.Core.finiteParameterProjection H i)).val, |
| 28 | fun i => ((e i).hom.app T (f ≫ ParameterProducts.Core.finiteParameterProjection H i)).property⟩ |
| 29 | naturality T U a := by |
| 30 | apply ConcreteCategory.hom_ext |
| 31 | intro f |
| 32 | apply Subtype.ext |
| 33 | funext i |
| 34 | have h := congrArg Subtype.val |
| 35 | (ConcreteCategory.congr_hom ((e i).hom.naturality a) |
| 36 | (show T.unop ⟶ H i from f ≫ ParameterProducts.Core.finiteParameterProjection H i)) |
| 37 | change ((e i).hom.app U (a.unop ≫ (f ≫ ParameterProducts.Core.finiteParameterProjection H i))).val = |
| 38 | F.map a ((e i).hom.app T (f ≫ ParameterProducts.Core.finiteParameterProjection H i)).val at h |
| 39 | change ((e i).hom.app U ((a.unop ≫ f) ≫ ParameterProducts.Core.finiteParameterProjection H i)).val = |
| 40 | F.map a ((e i).hom.app T (f ≫ ParameterProducts.Core.finiteParameterProjection H i)).val |
| 41 | exact (congrArg (fun k => ((e i).hom.app U k).val) |
| 42 | (Category.assoc a.unop f (ParameterProducts.Core.finiteParameterProjection H i))).trans h |
| 43 | |
| 44 | instance finiteTupleRepresentationMap_isIso : IsIso (finiteTupleRepresentationMap G H e) := by |
| 45 | apply (NatTrans.isIso_iff_isIso_app _).mpr |
| 46 | intro T |
| 47 | apply (isIso_iff_bijective _).mpr |
| 48 | constructor |
| 49 | · intro f g h |
| 50 | apply ParameterProducts.Core.finiteParameter_hom_ext H |
| 51 | intro i |
| 52 | apply (CategoryTheory.mono_iff_injective ((e i).hom.app T)).mp inferInstance |
| 53 | apply Subtype.ext |
| 54 | exact congrFun (congrArg Subtype.val h) i |
| 55 | · intro z |
| 56 | let f : ∀ i, T.unop ⟶ H i := fun i => (e i).inv.app T ⟨z.val i, z.property i⟩ |
| 57 | refine ⟨ParameterProducts.Core.finiteParameterLift H f, Subtype.ext ?_⟩ |
| 58 | funext i |
| 59 | change ((e i).hom.app T (ParameterProducts.Core.finiteParameterLift H f ≫ ParameterProducts.Core.finiteParameterProjection H i)).val = z.val i |
| 60 | rw [ParameterProducts.Core.finiteParameterLift_projection] |
| 61 | exact congrArg Subtype.val (((e i).app T).inv_hom_id_apply ⟨z.val i, z.property i⟩) |
| 62 | |
| 63 | def finiteTupleRepresentation : yoneda.obj (ParameterProducts.Core.finiteParameterProduct n H) ≅ |
| 64 | (finiteTupleSubfunctor G).toFunctor := asIso (finiteTupleRepresentationMap G H e) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Finite.TupleRepresentation.Core |