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.PELModuli.IntegralModel.Finite.CoverProjectivity |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Projective.PartitionPresentation |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.Parameter |
| 4 | import OAI.ArithmeticGeometry.Models.SpreadingOut.SmoothComponents |
| 5 | import OAI.ArithmeticGeometry.Models.SpreadingOut.OpenPartitionIso |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.ProjectiveAdapter |
| 7 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.DisjointOpenCoverFinite |
| 8 | |
| 9 | /-! # Cover Complex Projectivity -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.CoverComplexProjectivity |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! A smooth proper complex target of a finite faithfully flat |
| 16 | projective cover is projective. Its integral components have constructed |
| 17 | Hilbert embeddings, which are assembled in disjoint projective blocks. -/ |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 22 | |
| 23 | theorem complex_target_projective_of_finite_flat_cover |
| 24 | {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (q : X ⟶ Y) |
| 25 | [IsFinite q.left] [Flat q.left] [Surjective q.left] [LocallyOfFinitePresentation q.left] |
| 26 | [Smooth Y.hom] [IsProper Y.hom] |
| 27 | (BX : Foundations.Scheme.SmoothProjective.ProjectivePresentation X.left X.hom) : |
| 28 | Nonempty (Foundations.Scheme.SmoothProjective.ProjectivePresentation Y.left Y.hom) := by |
| 29 | have : IsLocallyNoetherian Y.left := LocallyOfFiniteType.isLocallyNoetherian Y.hom |
| 30 | have : CompactSpace Y.left := QuasiCompact.compactSpace_of_compactSpace Y.hom |
| 31 | have : IsNoetherian Y.left := ⟨⟩ |
| 32 | let I := irreducibleComponents Y.left |
| 33 | have : Finite I := finite_irreducibleComponents_of_isNoetherian.to_subtype |
| 34 | let U (i : I) := ArithmeticGeometry.Models.SpreadingOut.SmoothComponents.Construction.smoothComponentOpen Y.hom i |
| 35 | let C (i : I) := ArithmeticGeometry.Models.SpreadingOut.OpenOver.Construction.overOpen Y (U i) |
| 36 | let c (i : I) : C i ⟶ Y := ArithmeticGeometry.Models.SpreadingOut.OpenOver.Construction.overOpenInclusion Y (U i) |
| 37 | have hi (i : I) : IsIntegral (C i).left := ArithmeticGeometry.Models.SpreadingOut.SmoothComponents.Construction.smoothComponentOpen_integral Y.hom i |
| 38 | have hc (i : I) : IsClosedImmersion (c i).left := ArithmeticGeometry.Models.SpreadingOut.SmoothComponents.Construction.smoothComponentOpen_closedImmersion Y.hom i |
| 39 | have hs (i : I) : Smooth (C i).hom := (ArithmeticGeometry.Models.SpreadingOut.SmoothComponents.Construction.smoothComponentOpen_smooth_proper Y.hom i).1 |
| 40 | have hp (i : I) : IsProper (C i).hom := (ArithmeticGeometry.Models.SpreadingOut.SmoothComponents.Construction.smoothComponentOpen_smooth_proper Y.hom i).2 |
| 41 | let B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation X := |
| 42 | Presentations.Parameter.e34ProjectivePresentationOfNative (Classical.choice (Projective.PartitionPresentation.native_projective_relative_presentation BX)) |
| 43 | have hP (i : I) : HilbertScheme.Presentations.Has.Core.IsProjectiveOver (C i) := by |
| 44 | let Z := pullback q (c i) |
| 45 | let a : Z ⟶ X := pullback.fst q (c i) |
| 46 | let b : Z ⟶ C i := pullback.snd q (c i) |
| 47 | have h := (IsPullback.of_hasPullback q (c i)).map (Over.forget Foundations.Scheme.ProjectiveSpace.complexBase) |
| 48 | have : IsClosedImmersion a.left := MorphismProperty.of_isPullback h.flip (hc i) |
| 49 | have : IsFinite b.left := MorphismProperty.of_isPullback h (inferInstanceAs (IsFinite q.left)) |
| 50 | have : Flat b.left := MorphismProperty.of_isPullback h (inferInstanceAs (Flat q.left)) |
| 51 | have : Surjective b.left := MorphismProperty.of_isPullback h (inferInstanceAs (Surjective q.left)) |
| 52 | have : LocallyOfFinitePresentation b.left := |
| 53 | MorphismProperty.of_isPullback h (inferInstanceAs (LocallyOfFinitePresentation q.left)) |
| 54 | have : IsIntegral (C i).left := hi i |
| 55 | have : IsProper (C i).hom := hp i |
| 56 | exact CoverProjectivity.integral_target_projective_of_finite_flat_cover b (B.precompose a) |
| 57 | let P (i : I) : Foundations.Scheme.SmoothProjective.ProjectivePresentation (C i).left (C i).hom := |
| 58 | AbelianModuli.ReferenceFamily.Intrinsic.ProjectiveAdapter.ProjectiveCoefficients.nativeProjectivePresentation |
| 59 | (Presentations.Parameter.nativeProjectivePresentationOfPresentations (Classical.choice (hP i))) |
| 60 | let V (i : I) : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety := |
| 61 | ⟨⟨(C i).left, (C i).hom, P i, hs i⟩, hi i⟩ |
| 62 | let f (i : I) : (V i).toOver ⟶ Y := c i |
| 63 | have : ∀ i, IsOpenImmersion (f i).left := fun i => inferInstanceAs (IsOpenImmersion (U i).ι) |
| 64 | have hd : Pairwise (fun i j => Disjoint (Set.range (f i).left) (Set.range (f j).left)) := by |
| 65 | intro i j hij |
| 66 | change Disjoint (Set.range (U i).ι) (Set.range (U j).ι) |
| 67 | rw [Scheme.Opens.range_ι, Scheme.Opens.range_ι, Opens.coe_disjoint] |
| 68 | exact ArithmeticGeometry.Models.SpreadingOut.SmoothComponents.Construction.smoothComponentOpen_disjoint Y.hom i j hij |
| 69 | have hcover : (⋃ i, Set.range (f i).left) = Set.univ := by |
| 70 | apply Set.eq_univ_iff_forall.mpr |
| 71 | intro y |
| 72 | have hy : y ∈ ⨆ i, U i := by rw [ArithmeticGeometry.Models.SpreadingOut.SmoothComponents.Construction.smoothComponentOpen_cover]; trivial |
| 73 | obtain ⟨i, hi⟩ := Opens.mem_iSup.mp hy |
| 74 | exact Set.mem_iUnion.mpr ⟨i, ⟨⟨y, hi⟩, rfl⟩⟩ |
| 75 | have : IsIso (ArithmeticGeometry.Models.SpreadingOut.ProperCoproducts.Construction.overSigmaDesc f).left := |
| 76 | DisjointOpenCoverFinite.disjoint_open_cover_sigma_isIso (fun i => (V i).carrier) (fun i => (f i).left) hd hcover |
| 77 | exact Projective.PartitionPresentation.projective_partition_native_presentation V f |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.CoverComplexProjectivity |