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 Subfunctor Range -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.RepresentedSubfunctorRange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact ranges of represented subfunctors, including transport of a |
| 11 | representation along equality without losing the inclusion compatibility. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} {F : (Over S)ᵒᵖ ⥤ Type u} {M : Over S} |
| 17 | |
| 18 | theorem representedSubfunctor_range (G : Subfunctor F) (e : yoneda.obj M ≅ G.toFunctor) : |
| 19 | Subfunctor.range (e.hom ≫ G.ι) = G := by |
| 20 | rw [Subfunctor.range_comp, Subfunctor.range_eq_top, Subfunctor.image_top, Subfunctor.range_ι] |
| 21 | |
| 22 | theorem subfunctor_representation_of_monic_range |
| 23 | (t : yoneda.obj M ⟶ F) [Mono t] (G : Subfunctor F) (h : Subfunctor.range t = G) : |
| 24 | ∃ e : yoneda.obj M ≅ G.toFunctor, e.hom ≫ G.ι = t := by |
| 25 | subst G |
| 26 | exact ⟨asIso (Subfunctor.toRange t), Subfunctor.toRange_ι t⟩ |
| 27 | |
| 28 | theorem representedSubfunctor_transport {G H : Subfunctor F} (h : G = H) |
| 29 | (t : yoneda.obj M ⟶ F) (e : yoneda.obj M ≅ G.toFunctor) (he : e.hom ≫ G.ι = t) : |
| 30 | ∃ e' : yoneda.obj M ≅ H.toFunctor, e'.hom ≫ H.ι = t := by |
| 31 | subst H |
| 32 | exact ⟨e, he⟩ |
| 33 | |
| 34 | theorem representedSubfunctor_restrict {Z : Over S} |
| 35 | (G H : Subfunctor F) (e : yoneda.obj M ≅ G.toFunctor) |
| 36 | (j : Z ⟶ M) [Mono j] |
| 37 | (h : ∀ (T : Over S) (x : T ⟶ M), |
| 38 | (e.hom.app (.op T) x).val ∈ H.obj (.op T) ↔ ∃ y : T ⟶ Z, y ≫ j = x) : |
| 39 | ∃ e' : yoneda.obj Z ≅ (G ⊓ H).toFunctor, |
| 40 | e'.hom ≫ (G ⊓ H).ι = yoneda.map j ≫ e.hom ≫ G.ι := by |
| 41 | let t : yoneda.obj M ⟶ F := e.hom ≫ G.ι |
| 42 | let k : yoneda.obj Z ⟶ F := yoneda.map j ≫ t |
| 43 | have hk : Subfunctor.range k = G ⊓ H := by |
| 44 | ext T v |
| 45 | constructor |
| 46 | · rintro ⟨z, rfl⟩ |
| 47 | change (e.hom.app T (z ≫ j)).val ∈ G.obj T ∧ |
| 48 | (e.hom.app T (z ≫ j)).val ∈ H.obj T |
| 49 | exact ⟨(e.hom.app T (z ≫ j)).property, (h T.unop (z ≫ j)).mpr ⟨z, rfl⟩⟩ |
| 50 | · rintro ⟨hvG, hvH⟩ |
| 51 | let x := e.inv.app T ⟨v, hvG⟩ |
| 52 | have hx : (e.hom.app T x).val = v := |
| 53 | congrArg Subtype.val ((e.app T).inv_hom_id_apply ⟨v, hvG⟩) |
| 54 | obtain ⟨z, hz⟩ := (h T.unop x).mp (hx.symm ▸ hvH) |
| 55 | refine ⟨z, ?_⟩ |
| 56 | change (e.hom.app T (z ≫ j)).val = v |
| 57 | rw [hz, hx] |
| 58 | exact subfunctor_representation_of_monic_range k (G ⊓ H) hk |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.RepresentedSubfunctorRange |