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.AmbientCover |
| 2 | |
| 3 | /-! # Family Locality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.FamilyLocality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual Hilbert-family conditions are local on the test scheme. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | variable {S : Scheme.{u}} (X : Over S) {T : Over S} {J : Type u} |
| 15 | variable (U : J → Over S) (f : ∀ i, U i ⟶ T) [∀ i, IsOpenImmersion (f i).left] |
| 16 | variable (hcover : ∀ t : T.left, ∃ i, ∃ y : (U i).left, (f i).left y = t) |
| 17 | |
| 18 | def testOpenCover : T.left.OpenCover.{u} where |
| 19 | I₀ := J |
| 20 | X i := (U i).left |
| 21 | f i := (f i).left |
| 22 | mem₀ := by |
| 23 | rw [Scheme.presieve₀_mem_precoverage_iff] |
| 24 | exact ⟨hcover, inferInstance⟩ |
| 25 | |
| 26 | include hcover in |
| 27 | theorem familyProjection_property_of_openCover |
| 28 | (P : MorphismProperty Scheme.{u}) [IsZariskiLocalAtTarget P] |
| 29 | (I : (Functor.ambient X T).IdealSheafData) |
| 30 | (h : ∀ i, P (Functor.familyProjection X (I.comap (Functor.ambientMap X (f i))))) : P (Functor.familyProjection X I) := by |
| 31 | apply (IsZariskiLocalAtTarget.iff_of_openCover (P := P) (testOpenCover U f hcover)).mpr |
| 32 | intro i |
| 33 | change J at i |
| 34 | change P (pullback.snd (Functor.familyProjection X I) (f i).left) |
| 35 | let hp := (Functor.family_isPullback X (f i) I).flip |
| 36 | rw [← hp.isoPullback_inv_snd, P.cancel_left_of_respectsIso] |
| 37 | exact h i |
| 38 | |
| 39 | include hcover in |
| 40 | theorem isFamily_of_openCover (I : (Functor.ambient X T).IdealSheafData) |
| 41 | (h : ∀ i, Functor.IsFamily X (I.comap (Functor.ambientMap X (f i)))) : Functor.IsFamily X I := by |
| 42 | have : IsZariskiLocalAtTarget @Flat.{u} := |
| 43 | HasRingHomProperty.instIsZariskiLocalAtTarget (P := @Flat.{u}) (Q := RingHom.Flat) |
| 44 | have : IsZariskiLocalAtTarget @LocallyOfFinitePresentation.{u} := |
| 45 | HasRingHomProperty.instIsZariskiLocalAtTarget (P := @LocallyOfFinitePresentation.{u}) (Q := RingHom.FinitePresentation) |
| 46 | exact ⟨familyProjection_property_of_openCover X U f hcover (@Flat) I (fun i => (h i).1), |
| 47 | familyProjection_property_of_openCover X U f hcover (@IsProper) I (fun i => (h i).2.1), |
| 48 | familyProjection_property_of_openCover X U f hcover (@LocallyOfFinitePresentation) I (fun i => (h i).2.2)⟩ |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.FamilyLocality |