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 | |
| 3 | /-! # Parameter Iso Factorization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ParameterIsoFactorization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Parameter conditions and factorization through a representing map |
| 10 | are invariant under isomorphisms of test schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {S : Scheme.{u}} {T U M Z : Over S} |
| 16 | |
| 17 | theorem subfunctor_mem_comp_iso_iff (F : Subfunctor (yoneda.obj M)) (e : U ≅ T) (x : T ⟶ M) : |
| 18 | e.hom ≫ x ∈ F.obj (.op U) ↔ x ∈ F.obj (.op T) := by |
| 19 | constructor |
| 20 | · intro h |
| 21 | have hh := F.map e.inv.op h |
| 22 | change e.inv ≫ (e.hom ≫ x) ∈ F.obj (.op T) at hh |
| 23 | simpa only [Iso.inv_hom_id_assoc] using hh |
| 24 | · intro h |
| 25 | exact F.map e.hom.op h |
| 26 | |
| 27 | theorem exists_lift_comp_iso_iff (e : U ≅ T) (j : Z ⟶ M) (x : T ⟶ M) : |
| 28 | (∃ y : U ⟶ Z, y ≫ j = e.hom ≫ x) ↔ ∃ y : T ⟶ Z, y ≫ j = x := by |
| 29 | constructor |
| 30 | · rintro ⟨y, hy⟩ |
| 31 | refine ⟨e.inv ≫ y, ?_⟩ |
| 32 | rw [Category.assoc, hy, Iso.inv_hom_id_assoc] |
| 33 | · rintro ⟨y, hy⟩ |
| 34 | exact ⟨e.hom ≫ y, (Category.assoc _ _ _).trans (congrArg (fun f => e.hom ≫ f) hy)⟩ |
| 35 | |
| 36 | theorem over_exists_lift_iff_left (j : Z ⟶ M) (x : T ⟶ M) : |
| 37 | (∃ y : T ⟶ Z, y ≫ j = x) ↔ ∃ y : T.left ⟶ Z.left, y ≫ j.left = x.left := by |
| 38 | constructor |
| 39 | · rintro ⟨y, hy⟩ |
| 40 | exact ⟨y.left, congrArg Over.Hom.left hy⟩ |
| 41 | · rintro ⟨y, hy⟩ |
| 42 | have hw : y ≫ Z.hom = T.hom := by |
| 43 | rw [← j.w, ← Category.assoc, hy] |
| 44 | exact x.w |
| 45 | exact ⟨Over.homMk y hw, Over.OverMorphism.ext hy⟩ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ParameterIsoFactorization |