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.SectionZeroLocus |
| 2 | |
| 3 | /-! # Zero Locus Recognition -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ZeroLocusRecognition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Recognizing a morphism as the closed zero locus of given global sections. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem isClosedImmersion_of_section_zero_universal |
| 16 | {S : Scheme.{u}} {V M : Over S} (f : V ⟶ M) [Mono f] |
| 17 | {ι : Type u} (s : ι → Γ(M.left, ⊤)) |
| 18 | (hf : ∀ i, f.left.appTop (s i) = 0) |
| 19 | (hfactor : ∀ (T : Over S) (x : T ⟶ M), |
| 20 | (∀ i, x.left.appTop (s i) = 0) → ∃ v : T ⟶ V, v ≫ f = x) : |
| 21 | IsClosedImmersion f.left := by |
| 22 | obtain ⟨Z, j, hj, eZ, heZ⟩ := SectionZeroLocus.section_zero_locus_representable M s |
| 23 | let t : yoneda.obj V ⟶ (SectionZeroLocus.sectionZeroSubfunctor M s).toFunctor := |
| 24 | { app := fun _T => ↾fun v => ⟨v ≫ f, by |
| 25 | intro i |
| 26 | change v.left.appTop (f.left.appTop (s i)) = 0 |
| 27 | rw [hf i, map_zero]⟩ |
| 28 | naturality := by |
| 29 | intro T U a |
| 30 | apply ConcreteCategory.hom_ext |
| 31 | intro v |
| 32 | exact Subtype.ext (Category.assoc _ _ _) } |
| 33 | have : IsIso t := by |
| 34 | apply (NatTrans.isIso_iff_isIso_app t).mpr |
| 35 | intro T |
| 36 | apply (isIso_iff_bijective (t.app T)).mpr |
| 37 | constructor |
| 38 | · intro v w h |
| 39 | apply (cancel_mono f).mp |
| 40 | exact congrArg Subtype.val h |
| 41 | · intro x |
| 42 | obtain ⟨v, hv⟩ := hfactor T.unop x.val x.property |
| 43 | exact ⟨v, Subtype.ext hv⟩ |
| 44 | let e : V ≅ Z := yoneda.preimageIso (asIso t ≪≫ eZ.symm) |
| 45 | have he : yoneda.map e.hom ≫ eZ.hom = t := by |
| 46 | simp [e] |
| 47 | have hfac : e.hom ≫ j = f := by |
| 48 | apply yoneda.map_injective |
| 49 | rw [Functor.map_comp, ← heZ, ← Category.assoc, he] |
| 50 | rfl |
| 51 | have : IsClosedImmersion j.left := hj |
| 52 | have : IsIso e.hom.left := ((Over.forget S).mapIso e).isIso_hom |
| 53 | have hc : IsClosedImmersion (e.hom.left ≫ j.left) := inferInstance |
| 54 | exact (congrArg (fun g : V ⟶ M => g.left) hfac) ▸ hc |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ZeroLocusRecognition |