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.Divisors.LineBundles.AffineBundle.FiberRank |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.AffineSource.RankCommonOpen |
| 3 | |
| 4 | /-! # Fiber Rank Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.AffineBundle.FiberRankOpen.Cycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Actual fiber rank is preserved on open cartesian charts, and can |
| 13 | be computed on a projective chart of the same integral ambient fiber. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | theorem affineBundleFiberRank_openSquare {E X E' U : Scheme.{0}} |
| 18 | [AlgebraicGeometry.IsNoetherian U] [AlgebraicGeometry.IsNoetherian E'] |
| 19 | (p : E ⟶ X) (q : E' ⟶ U) [GeometricallyIntegral p] [GeometricallyIntegral q] |
| 20 | (i : U ⟶ X) (j : E' ⟶ E) [IsOpenImmersion i] [IsOpenImmersion j] |
| 21 | (hs : q ≫ i = j ≫ p) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (u : U) : |
| 22 | FiberRank.Cycles.affineBundleFiberRank p f (i u) = FiberRank.Cycles.affineBundleFiberRank q (i ≫ f) u := by |
| 23 | unfold FiberRank.Cycles.affineBundleFiberRank |
| 24 | rw [← Integral.FiberOpen.BundleCycles.integralFiberGenericPoint_openSquare p q i j hs u, |
| 25 | ImmersionDimension.BundleCycles.pointClosure_dimension_immersion j, ImmersionDimension.BundleCycles.pointClosure_dimension_immersion i] |
| 26 | have he : j ≫ (p ≫ f) = q ≫ (i ≫ f) := by rw [← Category.assoc, ← hs, Category.assoc] |
| 27 | rw [he] |
| 28 | |
| 29 | theorem affineBundleFiberRank_commonOpen {E A B X U : Scheme.{0}} |
| 30 | [AlgebraicGeometry.IsNoetherian A] [AlgebraicGeometry.IsNoetherian B] |
| 31 | [AlgebraicGeometry.IsNoetherian U] |
| 32 | (p : E ⟶ X) (q : A ⟶ X) (t : B ⟶ U) |
| 33 | [GeometricallyIntegral p] [GeometricallyIntegral q] [GeometricallyIntegral t] |
| 34 | (j : A ⟶ E) (k : B ⟶ E) (i : U ⟶ X) |
| 35 | [IsOpenImmersion j] [IsOpenImmersion k] [IsOpenImmersion i] |
| 36 | (hj : j ≫ p = q) (hk : t ≫ i = k ≫ p) |
| 37 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 38 | (r : ℕ) (ht : AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank t r) (u : U) : |
| 39 | FiberRank.Cycles.affineBundleFiberRank q f (i u) = r := by |
| 40 | have ha : j (Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint q (i u)) = Integral.FiberGenericPoint.BundleCycles.integralFiberGenericPoint p (i u) := |
| 41 | Integral.FiberOpen.BundleCycles.integralFiberGenericPoint_openSquare p q (𝟙 X) j (by rw [Category.comp_id, hj]) (i u) |
| 42 | have hb := Integral.FiberOpen.BundleCycles.integralFiberGenericPoint_openSquare p t i k hk u |
| 43 | have H := congrArg (fun z : E => |
| 44 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm z) (p ≫ f)) (ha.trans hb.symm) |
| 45 | rw [ImmersionDimension.BundleCycles.pointClosure_dimension_immersion j, ImmersionDimension.BundleCycles.pointClosure_dimension_immersion k] at H |
| 46 | have hjf : j ≫ (p ≫ f) = q ≫ f := by rw [← Category.assoc, hj] |
| 47 | have hkf : k ≫ (p ≫ f) = t ≫ (i ≫ f) := by rw [← Category.assoc, ← hk, Category.assoc] |
| 48 | rw [hjf, hkf, AffineSpace.SourceRank.BundleCycles.affineSpaceSourceFiberGenericPoint_dimension t (i ≫ f) r ht] at H |
| 49 | unfold FiberRank.Cycles.affineBundleFiberRank |
| 50 | rw [H, ImmersionDimension.BundleCycles.pointClosure_dimension_immersion i] |
| 51 | omega |
| 52 | |
| 53 | end |
| 54 | |
| 55 | /-! The rank strata of an actual affine-space bundle are open and |
| 56 | closed, and their actual pullbacks have the specified constant rank. -/ |
| 57 | |
| 58 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 59 | |
| 60 | variable {E X : Scheme.{0}} [AlgebraicGeometry.IsNoetherian X] |
| 61 | (p : E ⟶ X) [GeometricallyIntegral p] (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 62 | (h : Affine.SpaceChartBaseChange.BundleCycles.HasAffineSpaceCharts p) (r : ℕ) |
| 63 | |
| 64 | def affineBundleRankOpen : X.Opens := |
| 65 | ⟨{x | FiberRank.Cycles.affineBundleFiberRank p f x = r}, (FiberRank.Cycles.affineBundleFiberRank_locallyConstant p f h).isOpen_fiber r⟩ |
| 66 | |
| 67 | theorem affineBundleRankOpen_isClosed : IsClosed (affineBundleRankOpen p f h r : Set X) := |
| 68 | (FiberRank.Cycles.affineBundleFiberRank_locallyConstant p f h).isClosed_fiber r |
| 69 | |
| 70 | instance affineBundleRankOpen_isNoetherian : |
| 71 | AlgebraicGeometry.IsNoetherian (affineBundleRankOpen p f h r).toScheme := |
| 72 | Open.ImmersionNoetherian.BundleCycles.openImmersion_isNoetherian (affineBundleRankOpen p f h r).ι |
| 73 | |
| 74 | instance affineBundleRankOpen_isClosedImmersion : IsClosedImmersion (affineBundleRankOpen p f h r).ι := |
| 75 | IsClosedImmersion.of_isPreimmersion _ (by rw [Scheme.Opens.range_ι]; exact affineBundleRankOpen_isClosed p f h r) |
| 76 | |
| 77 | theorem affineBundleRankOpen_mem (x : X) : |
| 78 | x ∈ affineBundleRankOpen p f h (FiberRank.Cycles.affineBundleFiberRank p f x) := rfl |
| 79 | |
| 80 | theorem affineBundleRankOpen_disjoint (s : ℕ) (hrs : r ≠ s) : |
| 81 | Disjoint (affineBundleRankOpen p f h r) (affineBundleRankOpen p f h s) := by |
| 82 | apply TopologicalSpace.Opens.coe_disjoint.mp |
| 83 | apply Set.disjoint_left.mpr |
| 84 | intro x hx hy |
| 85 | exact hrs (hx.symm.trans hy) |
| 86 | |
| 87 | variable [AlgebraicGeometry.IsNoetherian E] |
| 88 | |
| 89 | instance affineBundleRankPullback_isNoetherian : |
| 90 | AlgebraicGeometry.IsNoetherian (pullback p (affineBundleRankOpen p f h r).ι : Scheme) := |
| 91 | Open.ImmersionNoetherian.BundleCycles.openImmersion_isNoetherian (pullback.fst p (affineBundleRankOpen p f h r).ι) |
| 92 | |
| 93 | theorem affineBundleRankOpen_charts : |
| 94 | AffineSpace.BundleRankZero.Cycles.HasAffineSpaceChartsOfRank (pullback.snd p (affineBundleRankOpen p f h r).ι) r := by |
| 95 | let i := (affineBundleRankOpen p f h r).ι |
| 96 | let : AlgebraicGeometry.IsNoetherian (affineBundleRankOpen p f h r).toScheme := Open.ImmersionNoetherian.BundleCycles.openImmersion_isNoetherian i |
| 97 | let : AlgebraicGeometry.IsNoetherian (pullback p i : Scheme) := Open.ImmersionNoetherian.BundleCycles.openImmersion_isNoetherian (pullback.fst p i) |
| 98 | apply FiberRank.Cycles.affineBundle_hasChartsOfRank_of_fiberRank (pullback.snd p i) (i ≫ f) (h.baseChange i) r |
| 99 | intro u |
| 100 | rw [← affineBundleFiberRank_openSquare p (pullback.snd p i) i (pullback.fst p i) |
| 101 | (pullback.condition.symm) f u] |
| 102 | exact u.property |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.Divisors.LineBundles.AffineBundle.FiberRankOpen.Cycles |