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.Closed.CyclePushforward |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.CycleRestriction |
| 3 | |
| 4 | /-! # Cycle Localization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.CycleLocalization.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: exact localization of dimension-graded finite cycles |
| 12 | |
| 13 | For an actual closed immersion whose range is the complement of an open |
| 14 | immersion, precisely the cycles restricting to zero are pushed from the |
| 15 | closed part. The proof uses all coefficients and the actual point maps. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 19 | |
| 20 | variable {U X Z : Scheme} [AlgebraicGeometry.IsNoetherian U] |
| 21 | (i : U ⟶ X) [IsOpenImmersion i] (j : Z ⟶ X) [IsClosedImmersion j] |
| 22 | (hcomp : Set.range j = (Set.range i)ᶜ) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 23 | |
| 24 | include hcomp |
| 25 | |
| 26 | /-- A cycle pushed from the closed complement restricts to zero on the open. -/ |
| 27 | theorem openDimensionCycleRestriction_closed (d : ℕ) |
| 28 | (z : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint (j ≫ f) d →₀ ℚ) : |
| 29 | Open.CycleRestriction.BundleCycles.openDimensionCycleRestriction i f d (Closed.CyclePushforward.BundleCycles.closedDimensionCyclePushforward j f d z) = 0 := by |
| 30 | ext x |
| 31 | change Finsupp.mapDomain (Closed.CyclePushforward.BundleCycles.closedDimensionPointMap j f d) z (Open.CycleRestriction.BundleCycles.openDimensionPointEmbedding i f d x) = 0 |
| 32 | apply Finsupp.mapDomain_of_notMem_range z _ |
| 33 | rintro ⟨y, hy⟩ |
| 34 | have hp : j y.1 = i x.1 := congrArg Subtype.val hy |
| 35 | have hn : j y.1 ∉ Set.range i := |
| 36 | (congrArg (fun s : Set X => j y.1 ∈ s) hcomp).mp ⟨y.1, rfl⟩ |
| 37 | exact hn ⟨x.1, hp.symm⟩ |
| 38 | |
| 39 | /-- All coefficients of a cycle vanishing on the open lift to the actual closed complement. -/ |
| 40 | theorem exists_closedDimensionCycle_of_zero_restriction (d : ℕ) |
| 41 | (z : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d →₀ ℚ) (hz : Open.CycleRestriction.BundleCycles.openDimensionCycleRestriction i f d z = 0) : |
| 42 | ∃ w : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint (j ≫ f) d →₀ ℚ, Closed.CyclePushforward.BundleCycles.closedDimensionCyclePushforward j f d w = z := by |
| 43 | let e : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint (j ≫ f) d ↪ Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d := |
| 44 | ⟨Closed.CyclePushforward.BundleCycles.closedDimensionPointMap j f d, Closed.CyclePushforward.BundleCycles.closedDimensionPointMap_injective j f d⟩ |
| 45 | have hs : ((z.support : Finset (Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d)) : Set (Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d)) ⊆ |
| 46 | Set.range e := by |
| 47 | intro q hq |
| 48 | have hqz : z q ≠ 0 := Finsupp.mem_support_iff.mp hq |
| 49 | have hnot : q.1 ∉ Set.range i := by |
| 50 | rintro ⟨x, hx⟩ |
| 51 | have hd : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) (i ≫ f) = d := |
| 52 | (ImmersionDimension.BundleCycles.pointClosure_dimension_immersion i f x).symm.trans |
| 53 | ((congrArg (fun y => Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm y) f) hx).trans q.2) |
| 54 | let p : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint (i ≫ f) d := ⟨x, hd⟩ |
| 55 | have he : Open.CycleRestriction.BundleCycles.openDimensionPointEmbedding i f d p = q := Subtype.ext hx |
| 56 | have hzero := congrArg (fun a => a p) hz |
| 57 | change z (Open.CycleRestriction.BundleCycles.openDimensionPointEmbedding i f d p) = 0 at hzero |
| 58 | exact hqz ((congrArg z he.symm).trans hzero) |
| 59 | have hr : q.1 ∈ Set.range j := |
| 60 | (congrArg (fun s : Set X => q.1 ∈ s) hcomp).mpr hnot |
| 61 | obtain ⟨y, hy⟩ := hr |
| 62 | have hd : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm y) (j ≫ f) = d := |
| 63 | (Point.SupportDimension.BundleCycles.pointClosure_dimension_closedImmersion j f y).symm.trans |
| 64 | ((congrArg (fun x => Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f) hy).trans q.2) |
| 65 | exact ⟨⟨y, hd⟩, Subtype.ext hy⟩ |
| 66 | refine ⟨Finsupp.comapDomain e z e.injective.injOn, ?_⟩ |
| 67 | exact (Finsupp.embDomain_eq_mapDomain e (Finsupp.comapDomain e z e.injective.injOn)).symm.trans |
| 68 | (Finsupp.embDomain_comapDomain hs) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.Divisors.LineBundles.CycleLocalization.BundleCycles |