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.Closed.SubschemeDescent |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.FamilyLocality |
| 3 | |
| 4 | /-! # Family Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.FamilyDescent |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible native Hilbert families on an open cover descend to an |
| 11 | actual global ideal-sheaf family with flat, proper, finitely presented projection. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} (X : Over S) {T : Over S} {J : Type u} |
| 17 | variable (U : J → Over S) (f : ∀ i, U i ⟶ T) [∀ i, IsOpenImmersion (f i).left] |
| 18 | variable (hcover : ∀ t : T.left, ∃ i, ∃ y : (U i).left, (f i).left y = t) |
| 19 | variable (F : ∀ i, Functor.Family X (U i)) |
| 20 | variable (hc : ∀ i j, Functor.pullbackFamily X (pullback.fst (f i) (f j)) (F i) = |
| 21 | Functor.pullbackFamily X (pullback.snd (f i) (f j)) (F j)) |
| 22 | |
| 23 | include hc in |
| 24 | omit [∀ i, IsOpenImmersion (f i).left] in |
| 25 | theorem familyDescent_closed_compatibility (i j : J) : |
| 26 | (F i).val.subschemeι.ker.comap (pullback.fst (Functor.ambientMap X (f i)) (Functor.ambientMap X (f j))) = |
| 27 | (F j).val.subschemeι.ker.comap (pullback.snd (Functor.ambientMap X (f i)) (Functor.ambientMap X (f j))) := by |
| 28 | rw [Scheme.IdealSheafData.ker_subschemeι, Scheme.IdealSheafData.ker_subschemeι] |
| 29 | exact AmbientCover.ambient_overlap_ideal_compatibility X (f i) (f j) (F i).val (F j).val |
| 30 | (congrArg Subtype.val (hc i j)) |
| 31 | |
| 32 | def descendedFamilyIdeal : (Functor.ambient X T).IdealSheafData := by |
| 33 | let C := AmbientCover.ambientOpenCover X U f hcover |
| 34 | let Z : C.I₀ → Scheme.{u} := fun i => (F i).val.subscheme |
| 35 | let c : ∀ i, Z i ⟶ C.X i := fun i => (F i).val.subschemeι |
| 36 | have hclosed : ∀ i, IsClosedImmersion (c i) := fun i => |
| 37 | inferInstanceAs (IsClosedImmersion (F i).val.subschemeι) |
| 38 | exact @Closed.SubschemeDescent.descendedClosedIdeal (Functor.ambient X T) C Z c hclosed (familyDescent_closed_compatibility X U f F hc) |
| 39 | |
| 40 | theorem descendedFamilyIdeal_comap (i : J) : |
| 41 | (descendedFamilyIdeal X U f hcover F hc).comap (Functor.ambientMap X (f i)) = (F i).val := by |
| 42 | let C := AmbientCover.ambientOpenCover X U f hcover |
| 43 | let Z : C.I₀ → Scheme.{u} := fun i => (F i).val.subscheme |
| 44 | let c : ∀ i, Z i ⟶ C.X i := fun i => (F i).val.subschemeι |
| 45 | have hclosed : ∀ i, IsClosedImmersion (c i) := fun i => |
| 46 | inferInstanceAs (IsClosedImmersion (F i).val.subschemeι) |
| 47 | have H := @Closed.SubschemeDescent.descendedClosedIdeal_comap (Functor.ambient X T) C Z c hclosed |
| 48 | (familyDescent_closed_compatibility X U f F hc) i |
| 49 | exact H.trans (Scheme.IdealSheafData.ker_subschemeι _) |
| 50 | |
| 51 | def descendedFamily : Functor.Family X T := |
| 52 | ⟨descendedFamilyIdeal X U f hcover F hc, FamilyLocality.isFamily_of_openCover X U f hcover _ (fun i => by |
| 53 | rw [descendedFamilyIdeal_comap] |
| 54 | exact (F i).property)⟩ |
| 55 | |
| 56 | theorem descendedFamily_restriction (i : J) : |
| 57 | Functor.pullbackFamily X (f i) (descendedFamily X U f hcover F hc) = F i := by |
| 58 | apply Subtype.ext |
| 59 | exact descendedFamilyIdeal_comap X U f hcover F hc i |
| 60 | |
| 61 | include hcover hc in |
| 62 | theorem family_descent : ∃ G : Functor.Family X T, ∀ i, Functor.pullbackFamily X (f i) G = F i := |
| 63 | ⟨descendedFamily X U f hcover F hc, descendedFamily_restriction X U f hcover F hc⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.FamilyDescent |