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.Hilbert.Functor |
| 2 | |
| 3 | /-! # Immersion Family -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.ImmersionFamily.Hilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A flat proper finitely presented closed immersion defines the actual |
| 10 | ideal-sheaf family used by the native Hilbert functor. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {S : Scheme.{u}} (X : Over S) {T : Over S} {Z : Scheme.{u}} |
| 16 | variable (f : Z ⟶ Hilbert.Functor.ambient X T) [IsClosedImmersion f] |
| 17 | |
| 18 | omit [IsClosedImmersion f] in |
| 19 | theorem closedImmersion_image_projection : |
| 20 | f.toImage ≫ Hilbert.Functor.familyProjection X f.ker = f ≫ Hilbert.Functor.ambientProjection X T := by |
| 21 | change f.toImage ≫ (f.imageι ≫ Hilbert.Functor.ambientProjection X T) = _ |
| 22 | rw [← Category.assoc, Scheme.Hom.toImage_imageι] |
| 23 | |
| 24 | theorem closedImmersion_isFamily [Flat (f ≫ Hilbert.Functor.ambientProjection X T)] |
| 25 | [IsProper (f ≫ Hilbert.Functor.ambientProjection X T)] [LocallyOfFinitePresentation (f ≫ Hilbert.Functor.ambientProjection X T)] : |
| 26 | Hilbert.Functor.IsFamily X f.ker := by |
| 27 | have : IsIso f.toImage := inferInstance |
| 28 | have he : Hilbert.Functor.familyProjection X f.ker = inv f.toImage ≫ (f ≫ Hilbert.Functor.ambientProjection X T) := |
| 29 | (Iso.eq_inv_comp (asIso f.toImage)).mpr (closedImmersion_image_projection X f) |
| 30 | change Flat (Hilbert.Functor.familyProjection X f.ker) ∧ IsProper (Hilbert.Functor.familyProjection X f.ker) ∧ |
| 31 | LocallyOfFinitePresentation (Hilbert.Functor.familyProjection X f.ker) |
| 32 | rw [he] |
| 33 | exact ⟨inferInstance, inferInstance, inferInstance⟩ |
| 34 | |
| 35 | def closedImmersionFamily [Flat (f ≫ Hilbert.Functor.ambientProjection X T)] |
| 36 | [IsProper (f ≫ Hilbert.Functor.ambientProjection X T)] [LocallyOfFinitePresentation (f ≫ Hilbert.Functor.ambientProjection X T)] : |
| 37 | Hilbert.Functor.Family X T := ⟨f.ker, closedImmersion_isFamily X f⟩ |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.ImmersionFamily.Hilbert |